Samu Wikstedt
created JENKINS-22480
copyartifact plugin does not properly check files it has transferred
Issue Type:
Bug
Affects Versions:
current
Assignee:
Unassigned
Components:
copyartifact
Created:
03/Apr/14 6:21 AM
Description:
We have following kind of scenario:
Artifacts (text files containing SVN revision info) are transferred to matrix project(s), which are executed on Win7 slave nodes that are virtualmachines.
Project read version info files as system variables and uses variable when executing svn checkout from command line
Problem:
Occasionally (not always) variable is empty -because file is still empty while it is read, when checking file content afterwards from workspace, content is OK. I presume that root cause is file-system buffer etc.
Workaround:
We added step that delays file reading couple of seconds, and problem was gone.
Suggesting:
Add file checksum test to copyartifacts plugin, or some other test that verifies that files really are written to file-system and can be used before plugin finishes its task.
Filing this as a bug, but it might be more improvement idea. Change status how you feel appropriate.
Environment:
RHEL 6.3
os.arch amd64
os.name Linux
os.version 2.6.32-279.el6.x86_64
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.6.0_24-b24
Jenkins 1.509.4
Fix Versions:
current
Project:
Jenkins
Priority:
Major
Reporter:
Samu Wikstedt
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
--
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.