lander attempts to get binaries crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
Critical
|
Francis Ginther | ||
Ubuntu CI Services |
Fix Released
|
Critical
|
Francis Ginther |
Bug Description
After submitting a successful ticket with binaries, the next ticket fails with the crash seen below. The lander is expecting the ticket binaries API to return a list, but it's a dict.
[Actual API return]
{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null, "total_count": 1}, "objects": [{"id": 1, "name": "libgsl0ldbl", "resource_uri": "/api/v1/
[lander_
Started by upstream project "lander_master" build number 2
originally caused by:
Started by remote host 10.0.0.55
Building in workspace /var/lib/
[workspace] $ /bin/bash /tmp/hudson6492
+ '[' -d results ']'
+ rm -rf results
+ mkdir results
+ sed 's/\\/\\\\/g'
+ echo '{"bsbuilder":' '{"ppa":' '"ppa:fginther/
+ cat
++ cat params.json
++ sed 's/"//g'
++ grep -Po '(?<=ts_url": )"http:.*?"'
+ /srv/lander_
21:58:57 DEBUG lander_
21:58:58 ERROR root: Unexpected error: unhashable type: 'dict'
Traceback (most recent call last):
File "/srv/lander_
results = handler(args)
File "/srv/lander_
'package_list': _get_binary_
File "/srv/lander_
package_list = set(ticket.
TypeError: unhashable type: 'dict'
Build step 'Execute shell' marked build as failure
Archiving artifacts
Triggering a new build of lander_archiver #9
Finished: FAILURE
Related branches
- Chris Johnston (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Francis Ginther: Needs Resubmitting
- Andy Doan (community): Approve
-
Diff: 64 lines (+15/-6)2 files modifiedlander/bin/lander_service_wrapper.py (+1/-1)
lander/lander/tests/test_service_wrapper.py (+14/-5)
Changed in ubuntu-ci-services-itself: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ci-services-itself: | |
status: | In Progress → Fix Released |
Changed in uci-engine: | |
assignee: | nobody → Francis Ginther (fginther) |
importance: | Undecided → Critical |
milestone: | none → phase-0 |
status: | New → Fix Released |