Closed Bug 1405338 Opened 7 years ago Closed 7 years ago

Test browser_source_map-reload.js fails when run with --repeat 2

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(firefox58 fixed)

RESOLVED FIXED
Firefox 58
Tracking Status
firefox58 --- fixed

People

(Reporter: jdescottes, Assigned: tromey)

References

Details

Attachments

(1 file)

STRs:
- run ./mach test devtools/client/framework/test/browser_source_map-reload.js --repeat 2
-> Second iteration fails and test times out

This makes the test harder to debug in case it becomes intermittent, and also triggers a false positive if it happens to be run in a TV (test-verify) suite on try.
Geoff: a bit off-topic, but this kind of tests are wrongly flagged as intermittent by the TV test suite. Maybe it could be interesting to run the TV test suite once for all tests in order to identify all the tests that fail TV even though they were never logged as intermittents before?
Flags: needinfo?(gbrown)
Assignee: nobody → ttromey
Comment on attachment 8914770 [details]
Bug 1405338 - change source-map reloading test to work with --repeat;

https://reviewboard.mozilla.org/r/186048/#review191060

Fixes the issue, thanks Tom!
Attachment #8914770 - Flags: review?(jdescottes) → review+
Pushed by ttromey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89ffef35daad
change source-map reloading test to work with --repeat; r=jdescottes
(In reply to Julian Descottes [:jdescottes] from comment #1)
> Geoff: a bit off-topic, but this kind of tests are wrongly flagged as
> intermittent by the TV test suite. Maybe it could be interesting to run the
> TV test suite once for all tests in order to identify all the tests that
> fail TV even though they were never logged as intermittents before?

Julian, thanks for the ping, and for following up on this (you too Tom!). 

There are so many tests that trying to verify all of them is a big undertaking, both in machine time and in human follow-up/investigation of failures. I have run 100 or so tests through verify on try, and I have been watching TV as a tier-3 task for a couple of weeks; most tests pass and most failures seem to correspond to existing intermittent bugs, so I am hopeful that  issues like this one are infrequent...but that hope is tempered by the fact that this bug was found within hours of going to tier 2! I have filed bug 1405428.

I am also going to update the test-verify doc to note that:
 - test-verify failures sometimes confirm pre-existing conditions (rather than finding new problems)
 - test-verify failures sometimes indicate a test's vulnerability to --repeat or other conditions not found in "normal" automation runs
Flags: needinfo?(gbrown)
https://hg.mozilla.org/mozilla-central/rev/89ffef35daad
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: