Closed Bug 1554818 Opened 5 years ago Closed 5 years ago

[mozlog] Update StatusHandler to support known_intermittent field

Categories

(Testing :: Mozbase, task, P3)

Version 3
task

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: nikkis, Assigned: nikkis, Mentored)

References

Details

Attachments

(1 file)

StatusHandler, and by extension mozharness/mozilla/structuredlog, will need to be updated to support the new known_intermittent field. A known_intermittent attribute should be added to the handler, and assertion counts updated to reflect this.

Priority: -- → P3

This patch adds a known_intermittent_statuses attribute to the StatusHandler
class, allowing it to keep a count of expected intermittents for future use.
Additionally, known intermittents are not recorded as unexpected_statuses but
are recorded as expected_statuses.

testing/mozharness/mozharness/mozilla/structuredlog.py is directly affected by
this change and has been updated to also reflect known_intermittent_statuses.
However, it may require a test to be written to check this addition.

The StatusHandler test has been added to, ensuring this patch works as expected.

Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/4ea5c4fd7777
[mozlog] Update StatusHandler to support known_intermittent field r=jgraham
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: