ERROR Failed parameter parsing: 'parameterDefinitions'
Bug #1210205 reported by
Chris Johnston
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://
DEBUG Creating JenkinsJob from name cu2d-apps-
ERROR Failed parameter parsing: 'parameterDefin
DEBUG duplicate key value violates unique constraint "ci_jenkinsjob_
Related branches
lp:~fginther/helipad/fix_1210205
- Francis Ginther: Approve
- Allan LeSage: Approve
-
Diff: 208 lines (+19/-74)6 files modifiedmodels.py (+0/-1)
tests/extractor/test_jenkins_build.py (+0/-3)
tests/extractor/test_jenkins_run.py (+0/-5)
util/extractor.py (+0/-36)
util/jenkins_build.py (+12/-15)
util/jenkins_job.py (+7/-14)
Changed in helipad: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in helipad: | |
status: | Confirmed → Fix Committed |
Changed in helipad: | |
status: | Fix Committed → Fix Released |
assignee: | nobody → Francis Ginther (fginther) |
To post a comment you must log in.
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.