Jobs generated by jenkins job builder are not registered
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jenkins Gearman Plugin |
Fix Released
|
Undecided
|
Khai Do |
Bug Description
When creating jobs with Jenkins job builder, they are created and runnable in Jenkins but the new job are not registered with the Gearman server.
My setup is:
- a single Jenkins master (with several slaves)
- LTS version 1.565.1 (1.554.x serie was affected as well)
- Gearman Plugin 0.0.7 from Jenkins update center
I use Jenkins Job Builder from master.
Querying Gearman server using the 'worker' and 'status' commands yield no result for the jobs created. Triggering a change in Gerrit ends up with Zuul complaining about the job not being registered (not surprising).
Jenkins log shows nothing, but then I am not sure I have proper log setup for the Gearman plugin (any tip welcome).
From the access log:
[07/
[07/
[07/
[07/
[07/
I suspect the Jenkins API createItem uses a slightly different code path than the one used to save a configuration from the web interface.
If I head to the job configuration page and save the config. That triggers a re-registration of all the jobs and the job shows up in the 'status':
$ echo status|nc -q 2 localhost 4730|fgrep mwext-Vine-lint
build:
build:
build:
$
Changed in gearman-plugin: | |
assignee: | nobody → Khai Do (zaro0508) |
Changed in gearman-plugin: | |
status: | New → In Progress |
Changed in gearman-plugin: | |
status: | Fix Committed → Fix Released |
Openstack is still using the gearman plugin with Jenkins LTS 1.532.2 so not surprising that it's not working with later versions. My guess is that the Jenkins events have changed somehow, maybe an event that the gearman plugin relies on is no longer being fired :(
Instructions on how to setup Logging: host:8080/ log/levels session. logger" with level "WARNING" host:8080/ log/all
1. goto http://
2. add "org.gearman.
3. goto http://
now you should see logs from gearman plugin.