[JIRA] (JENKINS-18958) Expose full name of parent job as an environment variable
Title: Message Title Joshua Tharp reopened an issue This behavior has apparently regressed. Promoted Builds Plugin: 2.27 Jenkins: 1.653 From a job promotion I echoed out the JOB_NAME and PROMOTED_JOB_NAME variables: echo $ {JOB_NAME} ParentFolder/ChildFolder/Project/promotion/PromotionJob echo $ {PROMOTED_JOB_NAME} Project I expected PROMOTED_JOB_NAME to have the value "ParentFolder/ChildFolder/Project". Jenkins / JENKINS-18958 Expose full name of parent job as an environment variable Change By: Joshua Tharp Resolution: Fixed Status: Resolved Reopened Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-13727) FileNotFoundException Can't stat file with slave projects
Joshua Tharp commented on JENKINS-13727 FileNotFoundException Cant stat file with slave projects ?xml version='1.0' encoding='UTF-8'? project actions/ descriptionClasses that support unit testing./description keepDependenciesfalse/keepDependencies properties hudson.plugins.promoted__builds.JobPropertyImpl plugin="promoted-builds@2.8" activeProcessNames string1 Published to Ivy Repository/string /activeProcessNames /hudson.plugins.promoted__builds.JobPropertyImpl /properties scm class="hudson.scm.SubversionSCM" plugin="subversion@1.45" locations hudson.scm.SubversionSCM_-ModuleLocation remotesvn://{mySVNHost}/testutils/remote local./local ignoreExternalsOptionfalse/ignoreExternalsOption /hudson.scm.SubversionSCM_-ModuleLocation /locations excludedRegions/excludedRegions includedRegions/includedRegions excludedUsers/excludedUsers excludedRevprop/excludedRevprop excludedCommitMessages/excludedCommitMessages workspaceUpdater class="hudson.scm.subversion.CheckoutUpdater"/ ignoreDirPropChangesfalse/ignoreDirPropChanges filterChangelogfalse/filterChangelog /scm assignedNodegeneral/assignedNode canRoamfalse/canRoam disabledfalse/disabled blockBuildWhenDownstreamBuildingfalse/blockBuildWhenDownstreamBuilding blockBuildWhenUpstreamBuildingtrue/blockBuildWhenUpstreamBuilding jdk(Default)/jdk triggers class="vector" hudson.triggers.SCMTrigger spec@monthly/spec ignorePostCommitHooksfalse/ignorePostCommitHooks /hudson.triggers.SCMTrigger /triggers concurrentBuildfalse/concurrentBuild builders hudson.tasks.Ant plugin="ant@1.2" targetsboot/targets antNameAnt 1.8.x/antName buildFile/home/hudson/.ant/bootstrap.xml/buildFile propertiesbasedir=${WORKSPACE} ivy.default.ivy.user.dir=${WORKSPACE}/ivy/properties /hudson.tasks.Ant hudson.tasks.Ant plugin="ant@1.2" targetsci/targets antNameAnt 1.8.x/antName propertiesbasedir=${WORKSPACE} ivy.default.ivy.user.dir=${WORKSPACE}/ivy ivy.publish.d=/var/www/html/repository/properties /hudson.tasks.Ant /builders publishers hudson.plugins.tasks.TasksPublisher plugin="tasks@4.35" healthy/healthy unHealthy/unHealthy thresholdLimitlow/thresholdLimit pluginNameTASKS /pluginName defaultEncoding/defaultEncoding canRunOnFailedfalse/canRunOnFailed useStableBuildAsReferencefalse/useStableBuildAsReference useDeltaValuesfalse/useDeltaValues thresholds plugin="analysis-core@1.48" unstableTotalAll/unstableTotalAll unstableTotalHigh/unstableTotalHigh unstableTotalNormal/unstableTotalNormal unstableTotalLow/unstableTotalLow unstableNewAll/unstableNewAll unstableNewHigh/unstableNewHigh unstableNewNormal/unstableNewNormal unstableNewLow/unstableNewLow failedTotalAll/failedTotalAll failedTotalHigh/failedTotalHigh failedTotalNormal/failedTotalNormal failedTotalLow/failedTotalLow failedNewAll/failedNewAll failedNewHigh/failedNewHigh failedNewNormal/failedNewNormal failedNewLow/failedNewLow /thresholds shouldDetectModulesfalse/shouldDetectModules dontComputeNewfalse/dontComputeNew doNotResolveRelativePathsfalse/doNotResolveRelativePaths highFIXME/high normalTODO/normal lowXXX/low ignoreCasefalse/ignoreCase pattern/pattern excludePattern/excludePattern /hudson.plugins.tasks.TasksPublisher hudson.plugins.warnings.WarningsPublisher plugin="warnings@4.21" healthy/healthy unHealthy/unHealthy thresholdLimitlow/thresholdLimit pluginNameWARNINGS /pluginName defaultEncoding/defaultEncoding canRunOnFailedfalse/canRunOnFailed useStableBuildAsReferencefalse/useStableBuildAsReference useDeltaValuesfalse/useDeltaValues thresholds plugin="analysis-core@1.48" unstableTotalAll/unstableTotalAll unstableTotalHigh/unstableTotalHigh unstableTotalNormal/unstableTotalNormal unstableTotalLow/unstableTotalLow unstableNewAll/unstableNewAll unstableNewHigh/unstableNewHigh unstableNewNormal/unstableNewNormal unstableNewLow/unstableNewLow failedTotalAll/failedTotalAll failedTotalHigh/failedTotalHigh failedTotalNormal/failedTotalNormal
[JIRA] (JENKINS-5584) Automatically add -Djava.awt.headless=true on Mac?
Joshua Tharp commented on JENKINS-5584 Automatically add -Djava.awt.headless=true on Mac? I was able to work around this issue by adding the -Djava.awt.headless=true to the JVM Options of the Launch Method section of the build slave configuration. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-5584) Automatically add -Djava.awt.headless=true on Mac?
Joshua Tharp edited a comment on JENKINS-5584 Automatically add -Djava.awt.headless=true on Mac? I was able to work around this issue by adding the -Djava.awt.headless=true to the JVM Options of the (Advanced) Launch Method section of the build slave configuration. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13538) Build hangs at SVN update occasionally
Joshua Tharp commented on JENKINS-13538 Build hangs at SVN update occasionally I have a build job that is hanging the same way (Jenkins 1.466 and 1.474). My Jenkins master is running on RHEL5 and the slave Ubuntu (Linux wookie 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux). Running top on the slave computer shows the build slave process ranging from 190% to 220% CPU. Here's the thread dump on the slave: Thread Dump Channel reader thread: channel "Channel reader thread: channel" Id=9 Group=main RUNNABLE (in native) at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:220) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) locked java.io.BufferedInputStream@268a0600 at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2248) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2541) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2551) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) main "main" Id=1 Group=main WAITING on hudson.remoting.Channel@452bb7e0 at java.lang.Object.wait(Native Method) waiting on hudson.remoting.Channel@452bb7e0 at java.lang.Object.wait(Object.java:485) at hudson.remoting.Channel.join(Channel.java:785) at hudson.remoting.Launcher.main(Launcher.java:420) at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:366) at hudson.remoting.Launcher.run(Launcher.java:206) at hudson.remoting.Launcher.main(Launcher.java:168) Ping thread for channel hudson.remoting.Channel@452bb7e0:channel "Ping thread for channel hudson.remoting.Channel@452bb7e0:channel" Id=10 Group=main TIMED_WAITING at java.lang.Thread.sleep(Native Method) at hudson.remoting.PingThread.run(PingThread.java:86) Pipe writer thread: channel "Pipe writer thread: channel" Id=12 Group=main WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@79fcfede at sun.misc.Unsafe.park(Native Method) waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@79fcfede at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:662) pool-1-svnkit-thread-1 "pool-1-svnkit-thread-1" Id=17 Group=main WAITING on java.util.concurrent.SynchronousQueue$TransferStack@9257e6f at sun.misc.Unsafe.park(Native Method) waiting on java.util.concurrent.SynchronousQueue$TransferStack@9257e6f at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323) at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:662) pool-1-thread-1 "pool-1-thread-1" Id=11 Group=main TIMED_WAITING at java.lang.Thread.sleep(Native Method) at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.sleepForTimestamp(SVNFileUtil.java:1350) at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.sleepForTimeStamp(SVNBasicDelegate.java:316) at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.update(SVNUpdateClient16.java:575) at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:965) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:19) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:8) at
[JIRA] (JENKINS-13538) Build hangs at SVN update occasionally
Joshua Tharp commented on JENKINS-13538 Build hangs at SVN update occasionally I just did a apt-get update on the Ubuntu slave and rebooted it. It seems to have cleared up my hanging build. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13727) FileNotFoundException Can't stat file with slave projects
Joshua Tharp created JENKINS-13727: -- Summary: FileNotFoundException Can't stat file with slave projects Key: JENKINS-13727 URL: https://issues.jenkins-ci.org/browse/JENKINS-13727 Project: Jenkins Issue Type: Bug Components: ivy Affects Versions: current Environment: Jenkins war running in Tomcat 6.0.29 on RHEL. Jenkins ver: 1.463 Ivy Plugin: 1.21 Reporter: Joshua Tharp Assignee: Timothy Bingaman I run a build cluster with most of my build jobs occurring on Jenkins Slaves. I have the SVN local module directory set to .. I get these stack traces in the log. On the build master there is an ivy.xml file at /home/hudson/hudson/jobs/testutils/ivy.xml, but not one at /home/hudson/hudson/jobs/testutils/workspace/ivy.xml as the error indicates. May 9, 2012 12:38:39 PM hudson.ivy.IvyMessageImpl log INFO: :: loading settings :: url = jar:file:/home/hudson/hudson/plugins/ivy/WEB- INF/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger getIvy INFO: Configured Ivy using default 2.1 settings May 9, 2012 12:38:39 PM hudson.ivy.IvyBuildTrigger recomputeModuleDescriptor WARNING: Failed to access the workspace ivy file 'ivy.xml' java.io.FileNotFoundException: Can't stat file /home/hudson/hudson/jobs/testutils/workspace/ivy.xml at hudson.ivy.IvyBuildTrigger.copyFileFromWorkspaceIfNecessary(IvyBuildTrigger.java:289) at hudson.ivy.IvyBuildTrigger.recomputeModuleDescriptor(IvyBuildTrigger.java:352) at hudson.ivy.IvyBuildTrigger.getModuleDescriptor(IvyBuildTrigger.java:264) at hudson.ivy.IvyBuildTrigger.buildDependencyGraph(IvyBuildTrigger.java:449) at hudson.util.DescribableList.buildDependencyGraph(DescribableList.java:194) at hudson.model.Project.buildDependencyGraph(Project.java:174) at hudson.model.DependencyGraph.build(DependencyGraph.java:91) at jenkins.model.Jenkins.rebuildDependencyGraph(Jenkins.java:3420) at hudson.model.AbstractItem.delete(AbstractItem.java:515) at hudson.model.AbstractProject.doDoDelete(AbstractProject.java:1678) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira