ERROR Failed parameter parsing: 'parameterDefinitions'

Bug #1210205 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Helipad
Fix Released
Critical
Francis Ginther

Bug Description

I'm seeing a bunch of these when doing a -I. This needs to be investigated.

INFO Duplicate Jenkins build found at http://jenkins.qa.ubuntu.com/job/cu2d-apps-head-2.1build/128/
DEBUG Creating JenkinsJob from name cu2d-apps-head-2.2check.
ERROR Failed parameter parsing: 'parameterDefinitions'
DEBUG duplicate key value violates unique constraint "ci_jenkinsjob_name_key"

Related branches

Revision history for this message
Francis Ginther (fginther) wrote :

This is caused by having two different job and build discovery paths that can overlap. The first path starts from the parent job and recursively scans for child jobs. Inside this, the code is scanning the builds and recursively scanning for child builds. When a child build is found that does not have a job, the job is created. The job based recursion will then attempt to create this job again. Both algorithms are needed as we can't assume that all jobs and builds have been deployed with the same children (these associations change over time).

The error messages are caused by the code using the exception path to handle this duplication.

Changed in helipad:
importance: Undecided → Critical
status: New → Confirmed
Changed in helipad:
status: Confirmed → Fix Committed
Revision history for this message
Francis Ginther (fginther) wrote :

Correction:

ERROR Failed parameter parsing: 'parameterDefinitions'

Is caused by unreliable parsing of the parameter block from the jenkins json data. Rather then debug, the parameter parsing code can be removed. The parameters are not consumed by the dashboard.

Changed in helipad:
status: Fix Committed → Fix Released
assignee: nobody → Francis Ginther (fginther)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.