-
Bug
-
Resolution: Duplicate
-
Major
-
Hardware setup: 1 Masterplattform - 3 Slaveplatforms
Software setup: 10 instance of Jenkins running - 15 executors
System Properties
file.encoding Cp1252
hudson.DNSMultiCast.disabled true
hudson.diyChunking true
hudson.lifecycle hudson.lifecycle.WindowsServiceLifecycle
java.awt.headless true
java.home C:\Program Files\Java\jre6
java.io.tmpdir C:\WINDOWS\TEMP\
java.runtime.version 1.6.0_23-b05
java.version 1.6.0_23
java.vm.info mixed mode, sharing
os.arch x86
os.name Windows XP
os.version 5.1
sun.arch.data.model 32
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
svnkit.symlinks false
user.country DE
user.language de
user.name SYSTEM
user.timezone Europe/Berlin
Plugins
ant 1.1 true false
javadoc 1.0 true false
active-directory 1.26 true false
token-macro 1.5.1 true false
maven-plugin 1.458 true false
dashboard-view 2.2 true false
analysis-core 1.38 true false
findbugs 4.37 true false
pmd 3.25 true false
analysis-collector 1.24 true false
ansicolor 0.2.1 true false
artifactdeployer 0.16 true false
backup 1.6.1 true false
batch-task 1.14 true false
BlameSubversion 1.25 true false
build-pipeline-plugin 1.2.3 true false
build-timeout 1.8 true false
buildnownotifier 1.1 true false
buildresult-trigger 0.6 true false
bulk-builder 1.5 true false
cvs 2.2 true false
chucknorris 0.4 true false
promoted-builds 2.4 true false
subversion 1.39 true false
collabnet 1.1.6 true false
collapsing-console-sections 1.3 true false
run-condition 0.7 true false
conditional-buildstep 1.0 true false
email-ext 2.19 true false
configurationslicing 1.28.1 true false
copyartifact 1.22 true false
cron_column 1.003 true false
description-setter 1.8 true false
disk-usage 0.15 true false
downstream-buildview 1.7 true false
downstream-ext 1.7 true false
envfile 1.2 true false
exclusive-execution 0.7 true false
extra-columns 1.2 true false
hgca 1.3 true false
htmlpublisher 0.7 true false
parameterized-trigger 2.13 true false
join 1.13 true false
locale 1.2 true false
locks-and-latches 0.6 true false
log-parser 1.0.8 true false
multi-slave-config-plugin 1.0.0 true false
nodelabelparameter 1.1.2 true false
PerfPublisher 7.98 true false
polarion 1.3 true false
postbuild-task 1.8 true false
PrioritySorter 1.3 true false
python 1.2 true false
rebuild 1.10 true false
regexemail 0.3 true false
role-strategy 1.1.2 true false
scis-ad 1.2 true false
shelve-project-plugin 1.3 true false
sidebar-link 1.6 true false
sonar 1.8 true false
ssh 1.3 true false
ssh-slaves 0.21 true false
startup-trigger-plugin 1.1 true false
svn-release-mgr 1.2 true false
svn-tag 1.16 true false
testlink 3.1.2 true false
timestamper 1.2.2 true false
tracking-svn 1.1 true false
ws-cleanup 0.8 true false
translation 1.8 true falseHardware setup: 1 Masterplattform - 3 Slaveplatforms Software setup: 10 instance of Jenkins running - 15 executors System Properties file.encoding Cp1252 hudson.DNSMultiCast.disabled true hudson.diyChunking true hudson.lifecycle hudson.lifecycle.WindowsServiceLifecycle java.awt.headless true java.home C:\Program Files\Java\jre6 java.io.tmpdir C:\WINDOWS\TEMP\ java.runtime.version 1.6.0_23-b05 java.version 1.6.0_23 java.vm.info mixed mode, sharing os.arch x86 os.name Windows XP os.version 5.1 sun.arch.data.model 32 svnkit.http.methods Digest,Basic,NTLM,Negotiate svnkit.ssh2.persistent false svnkit.symlinks false user.country DE user.language de user.name SYSTEM user.timezone Europe/Berlin Plugins ant 1.1 true false javadoc 1.0 true false active-directory 1.26 true false token-macro 1.5.1 true false maven-plugin 1.458 true false dashboard-view 2.2 true false analysis-core 1.38 true false findbugs 4.37 true false pmd 3.25 true false analysis-collector 1.24 true false ansicolor 0.2.1 true false artifactdeployer 0.16 true false backup 1.6.1 true false batch-task 1.14 true false BlameSubversion 1.25 true false build-pipeline-plugin 1.2.3 true false build-timeout 1.8 true false buildnownotifier 1.1 true false buildresult-trigger 0.6 true false bulk-builder 1.5 true false cvs 2.2 true false chucknorris 0.4 true false promoted-builds 2.4 true false subversion 1.39 true false collabnet 1.1.6 true false collapsing-console-sections 1.3 true false run-condition 0.7 true false conditional-buildstep 1.0 true false email-ext 2.19 true false configurationslicing 1.28.1 true false copyartifact 1.22 true false cron_column 1.003 true false description-setter 1.8 true false disk-usage 0.15 true false downstream-buildview 1.7 true false downstream-ext 1.7 true false envfile 1.2 true false exclusive-execution 0.7 true false extra-columns 1.2 true false hgca 1.3 true false htmlpublisher 0.7 true false parameterized-trigger 2.13 true false join 1.13 true false locale 1.2 true false locks-and-latches 0.6 true false log-parser 1.0.8 true false multi-slave-config-plugin 1.0.0 true false nodelabelparameter 1.1.2 true false PerfPublisher 7.98 true false polarion 1.3 true false postbuild-task 1.8 true false PrioritySorter 1.3 true false python 1.2 true false rebuild 1.10 true false regexemail 0.3 true false role-strategy 1.1.2 true false scis-ad 1.2 true false shelve-project-plugin 1.3 true false sidebar-link 1.6 true false sonar 1.8 true false ssh 1.3 true false ssh-slaves 0.21 true false startup-trigger-plugin 1.1 true false svn-release-mgr 1.2 true false svn-tag 1.16 true false testlink 3.1.2 true false timestamper 1.2.2 true false tracking-svn 1.1 true false ws-cleanup 0.8 true false translation 1.8 true false
Copy artifact cannot find the artifacts of a build if "Which build" is set to "Upstream build that triggered this job".
The configuration is ok. The copy job works fine until I change the "Which build".
It is always reproducible.
I learned as I ran some reproductions that this error just happens if the builds history is not located on the same machine AND not in the same instance of Jenkins.
I have asides of a normal master/slave setup also tested what happens if the slave is on the same machine as the master (1 system, 2 different disks). Same bug.
So a simple master installation will never run into this error. All other setups should face this issue
The paths used are fine when looking them up on the master.
This is unfortunately no simple fixing because the option does not address it to the master but locally
The error also happens on 1 machine with master/slave running on it.
It should then work if it just where about the paths as drive letter is correct and pointing to the other disc.
There are 2 types of error messages depending on if the build containing the copy job is spawned as triggered build or via promotion.
Output as triggered build:
13:02:22 Deleting project workspace... [UPLOAD_Amsterdam] $ cmd /c call C:\WINDOWS\TEMP\hudson7965883506038473117.bat
13:02:22 ReleaseLabel: 12160
13:02:23 ERROR: Failed to copy artifacts from RB_Amsterdam with filter: zzzBuild/.zip, zzzMetaData/src/resources/IRCPanelMapping.txt
13:02:23 hudson.util.IOException2: Failed to copy c:\Jenkins\jobs\RB_Amsterdam\builds\2012-04-20_12-39-20\archive\zzzBuild\BY_NAR_SOP8_Front.zip to c:\Jenkins_slave\workspace\UPLOAD_Amsterdam\zzzBuild\BY_NAR_SOP8_Front.zip
13:02:23 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91)
13:02:23 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63)
13:02:23 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243)
13:02:23 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215)
13:02:23 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
13:02:23 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
13:02:23 at hudson.model.Build$RunnerImpl.build(Build.java:178)
13:02:23 at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
13:02:23 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:473)
13:02:23 at hudson.model.Run.run(Run.java:1413)
13:02:23 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
13:02:23 at hudson.model.ResourceController.execute(ResourceController.java:88)
13:02:23 at hudson.model.Executor.run(Executor.java:238)
13:02:23 Caused by: hudson.util.IOException2: remote file operation failed: c:\Jenkins_slave\workspace\UPLOAD_Amsterdam\zzzBuild\BY_NAR_SOP8_Front.zip at hudson.remoting.Channel@15f9a23:B00015
13:02:23 at hudson.FilePath.act(FilePath.java:828)
13:02:23 at hudson.FilePath.act(FilePath.java:814)
13:02:23 at hudson.FilePath.touch(FilePath.java:1160)
13:02:23 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:79)
13:02:23 ... 12 more
13:02:23 Caused by: java.io.IOException: Failed to set the timestamp of c:\Jenkins_slave\workspace\UPLOAD_Amsterdam\zzzBuild\BY_NAR_SOP8_Front.zip to 1334919183000
13:02:23 at hudson.FilePath$19.invoke(FilePath.java:1166)
13:02:23 at hudson.FilePath$19.invoke(FilePath.java:1160)
13:02:23 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2154)
13:02:23 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
13:02:23 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
13:02:23 at hudson.remoting.Request$2.run(Request.java:287)
13:02:23 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
13:02:23 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
13:02:23 at java.util.concurrent.FutureTask.run(Unknown Source)
13:02:23 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
13:02:23 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
13:02:23 at java.lang.Thread.run(Unknown Source)
13:02:23 Build step 'Copy artifacts from another project' marked build as failure
Output as promotion:
Legacy code started this job. No cause information is available
Building remotely on B00015_2 in workspace y:\Jenkins_slave\workspace\SEND_MAIL_AMSTERDAM_ASIA
Unable to find a build for artifact copy from: RB_Amsterdam
Build step 'Copy artifacts from another project' marked build as failure
Notifying upstream projects of job completion
Finished: FAILURE
- is related to
-
JENKINS-11073 copy artifact fails on windows XP slaves due to failing to set a timestamp
- Closed
-
JENKINS-13515 Copy failed on windows machine because of timestamp
- Closed