Submissions fail due to bad JSON in tarball, seen w/ 14.04 and 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Critical
|
Sylvain Pineau | ||
HEXR |
Invalid
|
Critical
|
Sheila Miguez |
Bug Description
Submissions of test results from runs under Ubuntu 14.04 are failing for me. I've run into this in two cases:
Case 1:
-------
I'm trying to submit two certification-run tarballs using "checkbox-cli submit". The first attempt succeeds:
$ checkbox-cli submit 4BkxQnEwfavu2ef
The second attempt fails with a rather unhelpful error message:
$ checkbox-cli submit 4BkxQnEwfavu2ef
400 Client Error: BAD REQUEST for url: https:/
I'm attaching the problem tarball to this bug report. Note that this tarball was sent to me by a partner. It appears to be valid, but I don't know the details of how it was generated, except that it's for a test run under Ubuntu 14.04.
$ apt-cache policy checkbox-ng
checkbox-ng:
Installed: 1.0.0~ppa~
Candidate: 1.0.0~ppa~
Version table:
*** 1.0.0~ppa~
500 http://
500 http://
100 /var/lib/
0.23-2 500
500 http://
500 http://
Case 2:
-------
To further investigate the above, I deployed a node with Ubuntu 14.04 and ran a few small tests on it using canonical-
Do you want to submit 'upload to certification' report?
y => yes
n => no
[yn]: y
WARNING:
Do you want to retry?
y => yes
n => no
[yn]: y
WARNING:
Do you want to retry?
y => yes
n => no
[yn]: n
I tried running "checkbox-cli submit" on the submission_*.tar.xz file, but it failed in the same way as described in Case 1. This was true both when I tried to submit from the SUT and from my laptop, after transferring the submission_*.tar.xz file to it.
summary: |
- checkbox-cli submit sometimes fails + Submissions fail from runs under Ubuntu 14.04 |
description: | updated |
Changed in checkbox-ng: | |
importance: | Undecided → High |
Changed in hexr: | |
assignee: | nobody → Sheila Miguez (codersquid) |
status: | Confirmed → In Progress |
summary: |
- Submissions fail from runs under Ubuntu 14.04 + Submissions fail due to bad JSON in tarball, seen w/ 14.04 and 18.04 |
affects: | checkbox-ng → plainbox-provider-checkbox |
Changed in plainbox-provider-checkbox: | |
status: | Confirmed → In Progress |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
milestone: | none → 0.43.0 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in hexr: | |
status: | In Progress → Invalid |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
Setting this to Critical and confirming it as this is being reported from multiple sources and it is currently blocking the ability to submit results for active certification work.
I'm also getting pinged on this from a partner who is trying to submit certification results as well. Both they, and I get the 400 errors from C3 when trying to submit the 14.04 tarball, however, the 16.04 results were posted fine.
I have also heard that there were issues submitting 18.04 results too, but I haven't been able to confirm that one yet.