org.apache.maven.BuildFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)

Jenkins JIRA | chenglee | 7 years ago
  1. 0

    when I tried to also use the Hudson Maven Release Plug-in Plug-in with it, it always failed to authenticate... [INFO] Checking in modified POMs... [INFO] Executing: cmd.exe /X /C "svn --username cheng.lee --password ***** --non-interactive commit --file C:\DOCUME~1\SG0911~1\LOCALS~1\Temp\maven-scm-418604701.commit --targets C:\DOCUME~1\SG0911~1\LOCALS~1\Temp\maven-scm-4679798912759164772-targets" [INFO] Working directory: C:\Documents and Settings\sg0911238\.hudson\jobs\lucene-log4j\workspace\. [HUDSON] Archiving C:\Documents and Settings\sg0911238\.hudson\jobs\lucene-log4j\workspace\.\pom.xml to C:\Documents and Settings\sg0911238\.hudson\jobs\lucene-log4j\modules\com.googlecode.lucene-log4j$lucene-log4j\builds\2009-11-20_21-08-12\archive\com.googlecode.lucene-log4j\lucene-log4j\1.0.0-SNAPSHOT\pom.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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 hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:688) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:634) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:244) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.maven.plugin.MojoFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) ... 28 more This was because it was using http instead of https to do the checkout. I had set "Google Code (Automatic Configuration)" on Source Code Management of the hudson project. Instead of relying on Hudson GoogleCode plugin, I used Malachi's workaround posted at http://malsserver.blogspot.com/2009/04/hudson-maven-release-plug-in-plug-in.html which use Subversion as Source Code Management and entered the https url for my project. Would it be possible for you to fix this? Many thanks!

    Jenkins JIRA | 7 years ago | chenglee
    org.apache.maven.BuildFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
  2. 0

    when I tried to also use the Hudson Maven Release Plug-in Plug-in with it, it always failed to authenticate... [INFO] Checking in modified POMs... [INFO] Executing: cmd.exe /X /C "svn --username cheng.lee --password ***** --non-interactive commit --file C:\DOCUME~1\SG0911~1\LOCALS~1\Temp\maven-scm-418604701.commit --targets C:\DOCUME~1\SG0911~1\LOCALS~1\Temp\maven-scm-4679798912759164772-targets" [INFO] Working directory: C:\Documents and Settings\sg0911238\.hudson\jobs\lucene-log4j\workspace\. [HUDSON] Archiving C:\Documents and Settings\sg0911238\.hudson\jobs\lucene-log4j\workspace\.\pom.xml to C:\Documents and Settings\sg0911238\.hudson\jobs\lucene-log4j\modules\com.googlecode.lucene-log4j$lucene-log4j\builds\2009-11-20_21-08-12\archive\com.googlecode.lucene-log4j\lucene-log4j\1.0.0-SNAPSHOT\pom.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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 hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:688) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:634) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:244) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.maven.plugin.MojoFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) ... 28 more This was because it was using http instead of https to do the checkout. I had set "Google Code (Automatic Configuration)" on Source Code Management of the hudson project. Instead of relying on Hudson GoogleCode plugin, I used Malachi's workaround posted at http://malsserver.blogspot.com/2009/04/hudson-maven-release-plug-in-plug-in.html which use Subversion as Source Code Management and entered the https url for my project. Would it be possible for you to fix this? Many thanks!

    Jenkins JIRA | 7 years ago | chenglee
    org.apache.maven.BuildFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
  3. 0

    I'm using version 1.322. When using the http://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin or just creating a new job that performs a maven release, the command "/bin/sh -c cd <full path to workspace> && svn --non-interactive status" is failing, with the following message "/bin/sh: svn: command not found". I'm not sure where Hudson is trying to run this command relative to the workspace, but I navigated to the workspace location from the command line and ran "mvn -e -B release:clean release:prepare release:perform" and everything worked perfectly fine. Console output after project was successfully checked out. ########################################################################### Parsing POMs [trunk] $ /usr/java/latest/bin/java -cp /apps/hudson/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.322.jar:/apps/hudson/applications/apache-maven-2.1.0/boot/classworlds-1.1.jar hudson.maven.agent.Main /apps/hudson/applications/apache-maven-2.1.0 /apps/hudson/applications/apache-tomcat-6.0.18/work/Catalina/localhost/hudson/WEB-INF/lib/remoting-1.322.jar /apps/hudson/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.322.jar 34758 /apps/hudson/.hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar ���channel started Executing Maven: -B -f /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk/pom.xml -e release:prepare release:perform+ Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Multi-Module [INFO] Multi-Module [Module 1] [INFO] Multi-Module [Module 2] [INFO] Multi-Module [Module 3] [INFO] Multi-Module [Module 3 - Sub Module 1] [INFO] Multi-Module [Module 3 - Sub Module 2] [INFO] Multi-Module [Module 3 - Sub Module 3] [INFO] ------------------------------------------------------------------------ [INFO] Building Multi-Module [INFO] task-segment: [release:prepare, release:perform] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: /bin/sh -c cd /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk && svn --non-interactive status [INFO] Working directory: /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk [HUDSON] Archiving /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk/pom.xml to /apps/hudson/.hudson/jobs/Sample-Multi-Module/modules/dte.sandbox.multi.module$multi-module/builds/2009-08-31_15-19-21/archive/dte.sandbox.multi.module/multi-module/1.0.3-SNAPSHOT/pom.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found[INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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 hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:685) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:631) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.maven.plugin.MojoFailureException: Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) ... 28 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Mon Aug 31 15:48:36 MST 2009 [INFO] Final Memory: 13M/25M [INFO] ------------------------------------------------------------------------

    Jenkins JIRA | 7 years ago | Brian Mericle
    org.apache.maven.BuildFailureException: Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm using version 1.322. When using the http://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin or just creating a new job that performs a maven release, the command "/bin/sh -c cd <full path to workspace> && svn --non-interactive status" is failing, with the following message "/bin/sh: svn: command not found". I'm not sure where Hudson is trying to run this command relative to the workspace, but I navigated to the workspace location from the command line and ran "mvn -e -B release:clean release:prepare release:perform" and everything worked perfectly fine. Console output after project was successfully checked out. ########################################################################### Parsing POMs [trunk] $ /usr/java/latest/bin/java -cp /apps/hudson/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.322.jar:/apps/hudson/applications/apache-maven-2.1.0/boot/classworlds-1.1.jar hudson.maven.agent.Main /apps/hudson/applications/apache-maven-2.1.0 /apps/hudson/applications/apache-tomcat-6.0.18/work/Catalina/localhost/hudson/WEB-INF/lib/remoting-1.322.jar /apps/hudson/.hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.322.jar 34758 /apps/hudson/.hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar ���channel started Executing Maven: -B -f /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk/pom.xml -e release:prepare release:perform+ Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Multi-Module [INFO] Multi-Module [Module 1] [INFO] Multi-Module [Module 2] [INFO] Multi-Module [Module 3] [INFO] Multi-Module [Module 3 - Sub Module 1] [INFO] Multi-Module [Module 3 - Sub Module 2] [INFO] Multi-Module [Module 3 - Sub Module 3] [INFO] ------------------------------------------------------------------------ [INFO] Building Multi-Module [INFO] task-segment: [release:prepare, release:perform] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: /bin/sh -c cd /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk && svn --non-interactive status [INFO] Working directory: /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk [HUDSON] Archiving /apps/hudson/.hudson/jobs/Sample-Multi-Module/workspace/trunk/pom.xml to /apps/hudson/.hudson/jobs/Sample-Multi-Module/modules/dte.sandbox.multi.module$multi-module/builds/2009-08-31_15-19-21/archive/dte.sandbox.multi.module/multi-module/1.0.3-SNAPSHOT/pom.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found[INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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 hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:685) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:631) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.maven.plugin.MojoFailureException: Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) ... 28 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Mon Aug 31 15:48:36 MST 2009 [INFO] Final Memory: 13M/25M [INFO] ------------------------------------------------------------------------

    Jenkins JIRA | 7 years ago | Brian Mericle
    org.apache.maven.BuildFailureException: Unable to check for local modifications Provider message: The svn command failed. Command output: /bin/sh: svn: command not found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
  6. 0

    Re: Problems wtih TestNG / JBossSeam / surefire plugin / partially OT

    Google Groups | 1 decade ago | Marco Mistroni
    org.apache.maven.BuildFailureException: There are test failures.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.BuildFailureException

      Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/!svn/act/63efbb1b-df19-b649-8847-d44cd30f4d79': authorization failed: Could not authenticate to server: rejected Basic challenge (http://lucene-log4j.googlecode.com) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)

      at org.apache.maven.DefaultMaven.doExecute()
    2. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
      2. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
      2 frames
    3. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
      1 frame
    4. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2 frames