Created attachment 625902 [details] Jenkins console output--failed of kitchensink Description of problem: Failed to build Spring apps, with jenkins console output as follows: ----------------------------------------------------------------------- ...... cat: /var/lib/openshift/ee1a045aed354f4d90d61868dc303b9b//jbosseap-6.0/run/jboss.pid: No such file or directory Failed to stop jbosseap-6.0 Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE ----------------------------------------------------------------------- The console output of failed kitchensink app is: ----------------------------------------------------------------------- ...... cat: /var/lib/openshift/85814abfb333494c852723dce7bcb1bf//jbossas-7/run/jboss.pid: No such file or directory Failed to stop jbossas-7 Build step 'Execute shell' marked build as failure Archiving artifacts ERROR: Failed to archive artifacts: deployments/** hudson.util.IOException2: java.io.IOException: Failed to readlink jbossas-7/ci/jenkins/workspace/kit-build/deployments/ROOT.war.undeployed error=2 No such file or directory at hudson.FilePath.copyRecursiveTo(FilePath.java:1745) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1435) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Failed to readlink jbossas-7/ci/jenkins/workspace/kit-build/deployments/ROOT.war.undeployed error=2 No such file or directory at hudson.remoting.Channel$2.adapt(Channel.java:714) at hudson.remoting.Channel$2.adapt(Channel.java:709) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1743) ... 11 more Caused by: java.io.IOException: Failed to readlink jbossas-7/ci/jenkins/workspace/kit-build/deployments/ROOT.war.undeployed error=2 No such file or directory at hudson.Util.resolveSymlink(Util.java:1053) at hudson.Util.resolveSymlink(Util.java:1030) at hudson.util.DirScanner$Glob.scan(DirScanner.java:107) at hudson.FilePath.writeToTar(FilePath.java:1781) at hudson.FilePath.access$1000(FilePath.java:166) at hudson.FilePath$36.invoke(FilePath.java:1722) at hudson.FilePath$36.invoke(FilePath.java:1719) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2154) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Finished: FAILURE ----------------------------------------------------------------------- Seems the jboss.pid was lost in these apps Version-Release number of selected component (if applicable): devenv_2318 How reproducible: always Steps to Reproduce: 1.Create a spring or kitchensink app on website. 2.Enable Jenkins to it. 3.Build Jenkins of the app. Actual results: Build failed with Jenkins output as attachment show. Expected results: Build successfully. Additional info:
When used CLI to create the quickstarts as belows, the jenkins build will success. 1.rhc app create -a spring -t jbosseap-6.0 2.cd spring git remote add upstream -m master git://github.com/openshift/spring-eap6-quickstart.git git pull -s recursive -X theirs upstream master 3.git rm src/main/webapp/index.html git commit -m 'Removed default index.html' 4.git push
Tested this issue on devenv_2327, the kitchensink app can be build successfully now. But the spring app can still not be built successfully with the same error as the description above.
I just tested sprint with success.
Verified on devenv_3539 The kitchensink app and spring app can be build successfully now.