Paul Robinson created JBTM-1233:
Summary: Corrupt files apearing during concurrent Hudson runs
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Paul Robinson
Assignee: Paul Robinson
Fix For: 4.17.0, 5.0.0.M2
The narayana.sh build script builds narayana and jbossas each time it's run. Artefacts
are installed to a maven repo that is shared among all Hudson jobs. This can cause corrupt
files if multiple jobs write to the same location in the repo at the same time. This is a
common occurrence as the Hudson QE cluster has many jobs that execute the narayana.sh
script and it is not uncommon for these jobs to run at the same time.
A simple solution would be to have the script use a maven repo that is local to the Hudson
slave, rather than the shared one that is used at the moment. This maven repo would need
to defer to the shared maven repo for unavailable artefacts. New artefacts would be
installed to the local repo. This would ensure no shared access occurs as the Hudson slave
will only be used by one job at a time.
This configuration would need to be option (and non-default) as it would not be desirable
for developer or Newcastle-Hudson use.
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