dkms info is malformed in submission.json

Bug #1736810 reported by Sheila Miguez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Critical
Sylvain Pineau

Bug Description

This was found by bladernr when reporting a hexr/c3 bug, lp:1736268:

"First, I have two tarballs. One came from hyperscale team who did testing using the dev PPA versions of checkbox-ng. The other is testing I did locally also using the current dev PPA versions of checkbox-ng. One I was able to submit using checkbox-cli, the other gives me a 500 error."

The submissions that were rejected by c3 had invalid entries for dkms_info:

"dkms_info": ,

I've attached one of the submissions that failed.

Revision history for this message
Sheila Miguez (codersquid) wrote :
affects: canonical-hw-collection → checkbox
Revision history for this message
Jeff Lane  (bladernr) wrote :

This blocks successful submissions both internally and externally, hence the severity...

Changed in checkbox:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

        {
            "id": "miscellanea/submission-resources",
            "name": "Check that data for a complete result are present",
            "certification_status": "unspecified",
            "category": "com.canonical.plainbox::miscellanea",
            "status": "skip",
            "comments": "job cannot be started: required dependency 'com.canonical.certification::dkms_info_json' has failed",
            "io_log": "",
            "type": "test",
            "project": "certification"
        },

We would need someone to run the following command on the system which failed to submit:

dkms_info --format json | plainbox dev parse dkms-info | jq --indent 4 '.dkms_info'

Since it's an attachment job, unfortunately the tarball does not contain the corresponding files that could help knowing what happened.

@Jeff, do you think you can get access to this system?

affects: checkbox → plainbox-provider-checkbox
Changed in plainbox-provider-checkbox:
assignee: nobody → Jeff Lane (bladernr)
status: Confirmed → Incomplete
Changed in plainbox-provider-checkbox:
assignee: Jeff Lane (bladernr) → Sylvain Pineau (sylvain-pineau)
status: Incomplete → In Progress
milestone: none → 0.43.0
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Revision history for this message
Jeff Lane  (bladernr) wrote :

Oh geez... Sylvain, if you ever have questions for me on bugs and I fail to answer in a reasonable time, please ping me directly. Unfortunately, I get so much mail from launchpad that these things sometimes get buried or filtered out of sight :(

I'm sorry I missed your request completely. But thanks for solving it despite that!

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

no problem Jeff, I've been looking at this bug many time since January and I've finally found why...today. the system was just missing dkms (the package) and the job does not really depend on it so I've removed its req.

Changed in plainbox-provider-checkbox:
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.