Closed Bug 1773906 Opened 2 years ago Closed 2 years ago

Remove osfile.jsm usage from toolkit/components/telemetry/tests/

Categories

(Toolkit :: Telemetry, task)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: mathew.hodson, Assigned: beth)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

This fixes the lint warnings in the modified files.
The only remaining use of osfile.jsm is for OS.Constants.Path.libxul,
which doesn't have an equivalent in PathUtils.

Assignee: nobody → mathew.hodson
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Blocks: 1772938
Component: OS.File → Telemetry
Attachment #9280890 - Attachment description: Bug 1773906 - Replace `OS.Path` and `OS.File` in telemetry tests. r?barret → Bug 1773906 - Replace osfile.jsm usage in telemetry tests. r?barret
Attachment #9280890 - Attachment description: Bug 1773906 - Replace osfile.jsm usage in telemetry tests. r?barret → WIP: Bug 1773906 - Replace osfile.jsm usage in telemetry tests. r?barret

Sorry, there was a problem with the detection of inactive users. I'm reverting the change.

Assignee: nobody → mathew.hodson
Status: NEW → ASSIGNED
Depends on: 1783099
Attachment #9280890 - Attachment description: WIP: Bug 1773906 - Replace osfile.jsm usage in telemetry tests. r?barret → Bug 1773906 - Replace osfile.jsm usage in telemetry tests. r?barret
Attachment #9280890 - Attachment description: Bug 1773906 - Replace osfile.jsm usage in telemetry tests. r?barret → Bug 1773906 - Replace osfile.jsm usage in telemetry tests. r?chutten
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/328d4513c802 Replace osfile.jsm usage in telemetry tests. r=chutten

Backed out for causing failures on test_TelemetrySession.js . CLOSED TREE
Backout link
Push with failures
Link to failure log
Failure line :
TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetrySession.js | xpcshell return code: 0
TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetrySession.js | test_abortedDailyCoalescing - [test_abortedDailyCoalescing : 1578] There must be an aborted session ping. - false == true

Flags: needinfo?(mathew.hodson)

The test passes on my Windows 10 computer with an artifact build. I use: .\mach test toolkit/components/telemetry/tests/unit/test_TelemetrySession.js

test_abortedDailyCoalescing is intermittent I guess. I see failures in the test-verify runs as well as the reported Windows 7 opt build.

Flags: needinfo?(mathew.hodson) → needinfo?(chutten)

It could be intermittent, it'll take me a while to build on my win10 and find out (I've got to send my laptop in for repairs). The one that draws my attention is the test_PingSender.js failures on OSX which I can reproduce on Linux x64 opt.

Flags: needinfo?(chutten)
Assignee: mathew.hodson → brennie

There's three places in this patch where I didn't update noOverwrite. I noticed now that this option was changed in IOUtils and the migration doc is outdated. I created bug 1818923 for that.

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:barret, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(chutten)
Flags: needinfo?(brennie)
Flags: needinfo?(chutten)
Flags: needinfo?(brennie)
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/80cacf030f1b Replace osfile.jsm usage in telemetry tests. r=chutten
Regressions: 1830009
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: