Jenkins slave not working on mesos -


i'm using jenkins mesos plugin ci. initially, followed following tutorial: http://www.ebaytechblog.com/2014/05/12/delivering-ebays-ci-solution-with-apache-mesos-part-ii/

but jenkins not being setup via this. (i got error not load config.xml file, there one)

then followed https://rogerignazio.com/blog/scaling-jenkins-mesos-marathon/ , , able run jenkins master (jenkin framework/scheduler), when define scripts run, jenkins-slaves not being created. think i'm missing configuration regarding slaves. can tell me, what's reason slaves not being created run jobs.

on jenkins build page, i'm getting :

(pending—waiting next available executor) 

and in jenkins-logs, i'm getting following error:

info: provisioning jenkins slave on mesos 1 executors. remaining excess workload: 0 executors) jun 19, 2015 4:02:55 pm hudson.slaves.nodeprovisioner$standardstrategyimpl apply info: started provisioning mesoscloud mesoscloud 1 executors. remaining excess workload: 0 jun 19, 2015 4:02:55 pm org.jenkinsci.plugins.mesos.mesoscomputerlauncher <init> info: constructing mesoscomputerlauncher jun 19, 2015 4:02:55 pm org.jenkinsci.plugins.mesos.mesosslave <init> info: constructing mesos slave mesos-jenkins-1f8691df-9918-4175-87b3-bcc3de80b258 cloud  jun 19, 2015 4:03:05 pm org.jenkinsci.plugins.mesos.mesoscomputerlauncher launch info: launching slave computer mesos-jenkins-1f8691df-9918-4175-87b3-bcc3de80b258 jun 19, 2015 4:03:05 pm org.jenkinsci.plugins.mesos.mesoscomputerlauncher launch info: sending request start jenkins slave mesos-jenkins-1f8691df-9918-4175-87b3-bcc3de80b258 jun 19, 2015 4:03:05 pm org.jenkinsci.plugins.mesos.jenkinsscheduler requestjenkinsslave info: enqueuing jenkins slave request jun 19, 2015 4:03:05 pm hudson.slaves.nodeprovisioner update info: mesoscloud provisioning completed. have 2 computer(s) java.lang.nullpointerexception     @ org.jenkinsci.plugins.mesos.jenkinsscheduler.matches(jenkinsscheduler.java:306)     @ org.jenkinsci.plugins.mesos.jenkinsscheduler.resourceoffers(jenkinsscheduler.java:252) jun 19, 2015 4:03:06 pm org.jenkinsci.plugins.mesos.jenkinsscheduler$1 run severe: mesos driver aborted! status code: 3 

edit: think i'm getting error, because i've not defined container port mappings. can tell me how so?

update : there many problems 0.7 version of mesos plugin. so, downgraded 0.6 version.

for port mappings on marathon have here.

hope helps!


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -