Snap packages do not need a date any more

Bug #1584829 reported by James Jesudason on 2016-05-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Support Library
Paul Larson
Sheila Miguez

Bug Description

The hexr parser is expecting a date for snap packages, but that field has been removed. This is blocking submissions from being processed by C3:

[2016-05-23 15:57:59,285: ERROR/MainProcess] Task uploads.tasks.create_machinereport_task[f4ccbc56-83b0-42b2-9ec2-a95221745ca8] raised exception: KeyError(u'date',)
Traceback (most recent call last):
  File "/srv/", line 228, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/srv/", line 415, in __protected_call__
    return*args, **kwargs)
  File "/srv/", line 31, in create_machinereport_task
  File "/srv/", line 22, in parse_stream, messages=messages)
  File "/srv/", line 1297, in run
    self.parseRoot(result, root)
  File "/srv/", line 1270, in parseRoot
    parser(result, child)
  File "/srv/", line 1227, in parseSoftware
    parser(result, child)
  File "/srv/", line 1124, in parseSnapPackages
  File "/srv/", line 860, in addSnapPackage
    "date": snap_package["properties"]["date"],
KeyError: u'date'

Related branches

James Jesudason (jamesj) on 2016-05-23
information type: Proprietary → Public
Changed in hexr:
assignee: nobody → Sheila Miguez (codersquid)
status: New → In Progress
Changed in checkbox-support:
milestone: none → 0.26
assignee: nobody → Paul Larson (pwlars)
importance: Undecided → Critical
status: New → Fix Committed
Sheila Miguez (codersquid) wrote :

This is released to staging. I created a machine record and submitted the previously failing submission.

Changed in hexr:
status: In Progress → Fix Released
Sheila Miguez (codersquid) wrote :

Forgot to note, with checkbox 0.26.dev0.

Ara Pulido (ara) wrote :

Moving this to Fix Committed until we have this in production

Changed in hexr:
status: Fix Released → Fix Committed
Changed in hexr:
status: Fix Committed → Fix Released
Pierre Equoy (pieq) on 2016-06-20
Changed in checkbox-support:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers