still getting 400 errors whne submitting packages

Bug #1763415 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Fix Released
Critical
Sylvain Pineau

Bug Description

Trying to submit results from Bionic on a z13 LPAR. I'm running all the current packages from the dev PPA on a bionic install.

ubuntu@s1lp10-jefflane:~$ apt-cache policy checkbox-ng
checkbox-ng:
  Installed: 1.1.0+git201804101036+pkg89~ubuntu18.04.1
  Candidate: 1.1.0+git201804101036+pkg89~ubuntu18.04.1
  Version table:
 *** 1.1.0+git201804101036+pkg89~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/checkbox-dev/ppa/ubuntu bionic/main s390x Packages
        100 /var/lib/dpkg/status
     0.23-2 500
        500 http://us.ports.ubuntu.com/ubuntu-ports bionic/main s390x Packages

Do you want to submit 'upload to certification' report?
  y => yes
  n => no
[yn]: y
Enter secure-id:a00D000000feNuTIAU
WARNING:checkbox-ng.launcher.stages:Problem occured when submitting upload to certification report: 400 Client Error: BAD REQUEST for url: https://certification.canonical.com/api/v1/submission/a00D000000feNuTIAU/
Do you want to retry?
  y => yes
  n => no
[yn]: y
Enter secure-id:a00D000000feNuTIAU
WARNING:checkbox-ng.launcher.stages:Problem occured when submitting upload to certification report: 400 Client Error: BAD REQUEST for url: https://certification.canonical.com/api/v1/submission/a00D000000feNuTIAU/

There appears to still be bad json in the results:
ubuntu@s1lp10-jefflane:~/result$ python3 -mjson.tool submission.json
Expecting value: line 3686 column 24 (char 116843)

the offending line is:

 "raw-devices-dmi": ,

Once modified to "raw-devices-dmi": "",

the json check is successful and once I rebuild the tarball and submit it, the submission is successful:

ubuntu@s1lp10-jefflane:~/result$ canonical-certification-submit a00D000000feNuTIAU submission_2018-04-12T15.06.57.515381-fixed.tar.xz
Successfully sent, submission status at https://certification.canonical.com/submissions/status/12c6f6b0-307b-4422-abef-fed77345b0cd

Revision history for this message
Jeff Lane  (bladernr) wrote :

ubuntu@s1lp10-jefflane:~$ dpkg -l |grep checkbox
ii checkbox-ng 1.1.0+git201804101036+pkg89~ubuntu18.04.1 all CheckBoxNG test runner
ii plainbox-provider-checkbox 0.43.0+git201804111340+pkg79~ubuntu18.04.1 s390x CheckBox provider for PlainBox
ii python3-checkbox-ng 1.1.0+git201804101036+pkg89~ubuntu18.04.1 all CheckBoxNG test runner (Python 3 library)
ii python3-checkbox-support 0.37.0+git201803191445+pkg75~ubuntu18.04.1 all collection of Python modules used by PlainBox providers

Changed in checkbox-ng:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
status: Confirmed → Fix Committed
Changed in checkbox-ng:
status: Fix Committed → Fix Released
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.