workflow shell commands on a freebsd host consistently fail

44 views
Skip to first unread message

Nick Witkowski

unread,
Nov 6, 2015, 4:14:45 AM11/6/15
to Jenkins Users
Hello,

I'm trying to test the workflow plugin on a freebsd node. The following fails consistently:

node('freebsd10-slave')

{

   sh "sleep 30"

}

Here is the output:
Started by user Witkowski, Nicolas
Running: Allocate node : Start
Running on freebsd10-slave in /app/jenkins/workspace/cif-workflow
Running: Allocate node : Body : Start
Running: Shell Script
[cif-workflow] Running shell script
+ sleep 30
Running: Allocate node : Body : End
Running: Allocate node : End
Running: End of Workflow
ERROR: script returned exit code -1 
Finished: FAILURE
 
I'm using the swarm plugin version: 2.0
Workflow plugin: 1.10.1
Jenkins ver. 1.634
JDK 1.7

It does not fail right away, but a couple seconds after the command has started. Before my test consisted of a build script that got interrupted a few seconds in.
Am I missing anything in terms of configuration? Is this a bug?

Cheers,

Nick

mstu...@perseus.co

unread,
Nov 7, 2015, 11:46:59 AM11/7/15
to Jenkins Users
I know this is unhelpful, but I just wanted to let you know I've run into the same issue.

I have a very basic Jenkins setup with a fairly complex multi-platform C++ build/package/deploy setup that I've tried to convert to a workflow script.  Everything was going well until I added the freebsd build platform and I kept having this same problem where the freebsd build will unexpectedly exist.  I just didn't have the time to continue investigating since I have a basic build pipeline working.

-mark

Nick Witkowski

unread,
Nov 9, 2015, 5:48:07 AM11/9/15
to jenkins...@googlegroups.com
Well at least I know I'm not alone. Thanks for the feedback.
I'll be sure to post back if I find a solution.

Nick

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/vZC-mdzlejI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/25540a03-8257-4034-850c-860a2094efdc%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages