Closed Bug 1760130 Opened 5 months ago Closed 2 months ago

Intermittent toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | single tracking bug

Categories

(Firefox :: Nimbus Desktop Client, defect, P3)

defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 --- fixed
firefox103 --- fixed

People

(Reporter: jmaher, Assigned: barret)

References

(Depends on 1 open bug, Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [stockwell disabled])

Attachments

(3 files)

No description provided.
./mach test-info failure-report --bugid 1760130
55 errors with:
15:26:03  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | xpcshell return code: 0
15:26:03  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | experiment_and_rollout_enroll_and_cleanup - [experiment_and_rollout_enroll_and_cleanup : 271] A promise chain failed to handle a rejection: Win error 32 during operation removeEmptyDir on file C:\\Users\\task_165288474324967\\AppData\\Local\\Temp\\testdir-690246 (The process cannot access the file because it is being used by another process.

  windows10-64-2004-shippable-qr/opt-xpcshell-spi-nw-fis: 15
  windows10-64-2004-qr/opt-xpcshell-spi-nw-fis: 16
  windows10-64-2004-qr/opt-xpcshell-fis: 10
  windows7-32-shippable-qr/opt-xpcshell-spi-nw-fis: 3
  windows10-64-2004-shippable-qr/opt-xpcshell-fis: 5
  windows7-32-qr/opt-xpcshell-fis: 1
  windows10-64-2004-ccov-qr/opt-xpcshell-fis: 1
  windows10-64-2004-ccov-qr/opt-xpcshell-spi-nw-fis: 2
  windows10-64-2004-qr/debug-test-verify-fis: 1
  windows10-64-2004-ccov-qr/opt-test-coverage-fis: 1
...
Summary: Intermittent toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | single tracking bug → Permafailing toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | single tracking bug

Set release status flags based on info from the regressing bug 1754527

Oops, sorry. I thought I had this resolved (or so my try-pushes seemed to indicate). Yes, will look into this today, thanks for flagging me.

Flags: needinfo?(tlong)
Whiteboard: [stockwell needswork:owner]
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Assignee: nobody → nbeleuzu
Status: NEW → ASSIGNED

There are 170 failures in the last 7 days. Most of them (155) are on Win10.
Travis, I added a patch to disable the test on Win10 if it will take a little bit longer to fix it

Flags: needinfo?(tlong)
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7c8213abea78
Disable test_ExperimentManager_enroll.js on windows 10 opt. r=MasterWayZ DONTBUILD
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Assignee: nbeleuzu → nobody
Status: ASSIGNED → NEW

This is now intermittently failing on windows7 32 bits, opt.

Summary: Permafailing toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | single tracking bug → Intermittent toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | single tracking bug

I'm at a bit of a loss at what is triggering this, :barret, do you have time to take a look at this and give me some advice on what might be happening here? My best guess is that the do_get_profile() is the source of this but I don't have much idea as to why.

Flags: needinfo?(tlong) → needinfo?(brennie)

This was caused by a race condition where JSONFile and TestFileUtils were trying to run their shutdown blocker simultaneously, which lead to attempting to blow away the directory that a JSONFile was saved in while it was saving.

Moving TestFileUtils to clear its file at OS.File.shutdown (instead of profileBeforeChange) fixes this issue.

Assignee: nobody → brennie
Flags: needinfo?(brennie)

Set release status flags based on info from the regressing bug 1754527

Keywords: leave-open
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5562cae92eb5
Run FileTestUtils cleanup at the latest possible phase r=mak
https://hg.mozilla.org/integration/autoland/rev/95e88f6bd6b1
Re-enable test_ExperimentManager_enroll.js on windows on Windows 10 r=emcminn
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

The patch landed in nightly and beta is affected.
:barret, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(brennie)

This is just a test, its not crucial to uplift to beta.

Flags: needinfo?(brennie)

Uplifted to 102 because this version has to be supported for a year as ESR.

You need to log in before you can comment on or make changes to this bug.