jobs requirements are not taken into account

Bug #798200 reported by Sylvain Pineau
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Undecided
Marc Tardif
OEM QA Checkbox additions
Invalid
Critical
Sylvain Pineau

Bug Description

All non-matching requirements return a None value that is now missing in the mask to evaluate the job requirements.
This is a regression in checkbox since rev 917.

File to fix: plugins/resource_info.py

Fix:
            mask.append(bool(new_values))
            if new_values is not None:
                values.extend(new_values)

Related branches

Changed in oem-qa-checkbox:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Sylvain Pineau (sylvain-pineau)
milestone: none → 0.38
Marc Tardif (cr3)
Changed in oem-qa-checkbox:
status: Confirmed → Invalid
Changed in checkbox:
status: New → Confirmed
visibility: private → public
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
status: Confirmed → Fix Committed
Marc Tardif (cr3)
Changed in 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.