-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
windows 10.
the following pipeline hung indefinable and could not be aborted correctly on windows (needed a hard kill)
windows master (no executors), one windows agents launched using a command on the master (java -jar ..../slave.jar)
node { withMaven(maven: 'default') { git changelog: false, poll: false, url: 'https://github.com/jtnord/maven-test-project.git' bat "mvn package" writeFile file: '.archive-jenkins-maven-event-spy-logs', text: '' } }
thread dump from pipeline is
Thread #4 at WorkflowScript.run(WorkflowScript:7) at DSL.withMaven(Native Method) at WorkflowScript.run(WorkflowScript:2) at DSL.node(running on agent) at WorkflowScript.run(WorkflowScript:1)
[JENKINS-43654] adding a simple writeFile inside withMaven causes pipeline to hang
Description |
Original:
the following pipeline hung indefinable and could not be aborted correctly on windows (needed a hard kill) windows master (no executors), one windows agents launched using a command on the master (java -jar ..../slave.jar) {code:java} node { withMaven(maven: 'default') { git changelog: false, poll: false, url: 'https://github.com/jtnord/maven-test-project.git' bat "mvn package" writeFile file: '.archive-jenkins-maven-event-spy-logs', text: '' } } {code} |
New:
the following pipeline hung indefinable and could not be aborted correctly on windows (needed a hard kill) windows master (no executors), one windows agents launched using a command on the master (java -jar ..../slave.jar) {code:java} node { withMaven(maven: 'default') { git changelog: false, poll: false, url: 'https://github.com/jtnord/maven-test-project.git' bat "mvn package" writeFile file: '.archive-jenkins-maven-event-spy-logs', text: '' } } {code} thread dump from pipeline is {noformat} Thread #4 at WorkflowScript.run(WorkflowScript:7) at DSL.withMaven(Native Method) at WorkflowScript.run(WorkflowScript:2) at DSL.node(running on agent) at WorkflowScript.run(WorkflowScript:1){noformat} |
Attachment | New: 20170606-JENKINS-43654-console.txt [ 38247 ] |
Attachment | New: 20170606-JENKINS-43654-jenkins-threaddump.txt [ 38248 ] | |
Attachment | New: 20170606-JENKINS-43654-node-threaddump.txt [ 38249 ] |
Assignee | Original: Alvaro Lobato [ alobato ] |
Summary | Original: adding a simple writeFile inside withMaven causes pipeline to hand | New: adding a simple writeFile inside withMaven causes pipeline to hang |
Assignee | New: Benoit [ bguerin ] |