Closed Bug 1620936 Opened 4 years ago Closed 4 years ago

diffoscope tasks always contain failure line: TypeError: hilite() got an unexpected keyword argument 'ok'

Categories

(Firefox Build System :: Task Configuration, defect)

defect
Not set
normal

Tracking

(firefox-esr68 unaffected, firefox73 unaffected, firefox74 unaffected, firefox75 wontfix, firefox76 fixed)

RESOLVED FIXED
mozilla76
Tracking Status
firefox-esr68 --- unaffected
firefox73 --- unaffected
firefox74 --- unaffected
firefox75 --- wontfix
firefox76 --- fixed

People

(Reporter: aryx, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Since bug 1620513 landed, diffoscope tasks always contain the line TypeError: hilite() got an unexpected keyword argument 'ok' which gets detected by Treeherder as an issue due to the TypeError. This will confuse if the Diffoscope task actually fails.

Push: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=8eb13ba05ae5e87be9a2a579298bc6abfd17096b&tochange=04709da169a54345c5add8a6068431a4e60eaa46&fromchange=4922ebe168cc7eea69e73d5dbc48293c8ff0a780&selectedJob=292062628

Flags: needinfo?(mh+mozilla)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Task Configuration

The root cause is a bug in psutil. Filed https://github.com/giampaolo/psutil/issues/1714.

Flags: needinfo?(mh+mozilla)

We can, however, workaround the message on our end.

Creating the virtualenv prints an error message in the diffoscope docker
image because it doesn't have a compiler or the python development
headers, and that triggers an error setting up psutil after bug 1620513,
which in turn leads to a noisy and unrelated error message appearing in
the diffoscope jobs when they fail.

We don't need psutil set up really in those jobs, let alone a full
fledged virtualenv, so we can avoid the psutil error message by
disabling the virtualenv.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/0dfbd1b0d2df
Avoid creating a virtualenv when running unpack for diffoscope. r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

AFAIK we don't run diffoscope on beta.

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: