Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-557

ERROR:gitosis.serve.main:Arguments to command look dangerous (apparently)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.3
    • None
    • None

    Description

      Trying to run the release plugin for a git project http://xircles.codehaus.org/projects/paranamer/repo/git/repo (branch real_asm). In the prepare phase it barfs like so :

      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] BUILD SUCCESSFUL
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] Total time: 11 seconds
      [INFO] [INFO] Finished at: Thu Jun 10 05:21:23 CDT 2010
      [INFO] [INFO] Final Memory: 39M/81M
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] Checking in modified POMs...
      [INFO] Executing: /bin/sh -c cd /scm/oss/paranamer-git/paranamer && git add -- pom.xml
      [INFO] Working directory: /scm/oss/paranamer-git/paranamer
      [INFO] Executing: /bin/sh -c cd /scm/oss/paranamer-git/paranamer && git status
      [INFO] Working directory: /scm/oss/paranamer-git/paranamer
      [DEBUG] # On branch real_asm
      [DEBUG] # Changes to be committed:
      [DEBUG] #   (use "git reset HEAD <file>..." to unstage)
      [DEBUG] #
      [DEBUG] #	modified:   pom.xml
      [DEBUG] #
      [DEBUG] # Untracked files:
      [DEBUG] #   (use "git add <file>..." to include in what will be committed)
      [DEBUG] #
      [DEBUG] #	pom.xml.releaseBackup
      [DEBUG] #	release.properties
      [INFO] Executing: /bin/sh -c cd /scm/oss/paranamer-git/paranamer && git commit --verbose -F /var/folders/qb/qbAjORvlEIKOmBNFQArSs++++TI/-Tmp-/maven-scm-964404670.commit pom.xml
      [INFO] Working directory: /scm/oss/paranamer-git/paranamer
      [INFO] Executing: /bin/sh -c cd /scm/oss/paranamer-git/paranamer && git symbolic-ref HEAD
      [INFO] Working directory: /scm/oss/paranamer-git/paranamer
      [INFO] Executing: /bin/sh -c cd /scm/oss/paranamer-git/paranamer && git push ssh://git@git.codehaus.org/paranamer.git/ real_asm:real_asm
      [INFO] Working directory: /scm/oss/paranamer-git/paranamer
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Unable to commit files
      Provider message:
      The git-push command failed.
      Command output:
      ######################################################################
      Unauthorized access to this system (codehaus01) is forbidden and will
      be prosecuted by law. By accessing this system, you agree that your
      actions may be monitored if unauthorized usage is suspected.
      ######################################################################
      
      ERROR:gitosis.serve.main:Arguments to command look dangerous
      fatal: The remote end hung up unexpectedly
      
      [INFO] ------------------------------------------------------------------------
      [DEBUG] Trace
      org.apache.maven.BuildFailureException: Unable to commit files
      Provider message:
      The git-push command failed.
      Command output:
      ######################################################################
      Unauthorized access to this system (codehaus01) is forbidden and will
      be prosecuted by law. By accessing this system, you agree that your
      actions may be monitored if unauthorized usage is suspected.
      ######################################################################
      
      ERROR:gitosis.serve.main:Arguments to command look dangerous
      fatal: The remote end hung up unexpectedly
      
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.plugin.MojoFailureException: Unable to commit files
      Provider message:
      The git-push command failed.
      Command output:
      ######################################################################
      Unauthorized access to this system (codehaus01) is forbidden and will
      be prosecuted by law. By accessing this system, you agree that your
      actions may be monitored if unauthorized usage is suspected.
      ######################################################################
      
      ERROR:gitosis.serve.main:Arguments to command look dangerous
      fatal: The remote end hung up unexpectedly
      
      	at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:219)
      	at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:181)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	... 17 more
      Caused by: org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to commit files
      Provider message:
      The git-push command failed.
      Command output:
      ######################################################################
      Unauthorized access to this system (codehaus01) is forbidden and will
      be prosecuted by law. By accessing this system, you agree that your
      actions may be monitored if unauthorized usage is suspected.
      ######################################################################
      
      ERROR:gitosis.serve.main:Arguments to command look dangerous
      fatal: The remote end hung up unexpectedly
      
      	at org.apache.maven.shared.release.phase.ScmCommitPhase.checkin(ScmCommitPhase.java:133)
      	at org.apache.maven.shared.release.phase.ScmCommitPhase.execute(ScmCommitPhase.java:109)
      	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:203)
      	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:140)
      	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:103)
      	at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:211)
      	... 20 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 23 seconds
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            paul Paul Hammant
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: