-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
jenkins 2.35
master on rhel7.3
slaves on rhel6.4
using mvn 3.0.3
maven plugin 2.14
I have a build that downloads lots of poms and other artifacts from a nexus sitting on the same server as jenkins master.
Next to this, I have a slave (next = in the same room).
This all said to avoid 'network issues' explanations.
The build runs ... then hangs randomly when trying to download something.
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://my-own-tihng/nexus/content/groups/public/ Downloading: http://my-own-thing/nexus/content/groups/public/thing/ui/swing/gim-swing-texteditor/v3.1.23/gim-swing-texteditor-v3.1.23.pom
it stops there,
if I analyse the network queries : nothing.
A memory dump of java process shows that a thread is waiting.... but didn't evn start to try to do anything.
Note a fun thing :
- this does happen when slave is connected over SSH
- using a JNLP connection did apparently work around the issue (but it causes me other issues not to be exposed here)
- running the maven command manually on the slave always works
- I'd bet using a 'shell' step to run mvn command would work. (will try to move to pipelines for a quick check)
The version 2.15 of the plugin will bundle the latest version of wagon. Let us know if it helps