Closed
Bug 1667282
Opened 4 years ago
Closed 4 years ago
Intermittent devtools/shared/resources/tests/browser_resources_network_events.js | The number of updates is correct - Got 7, expected 8
Categories
(DevTools :: General, defect, P5)
DevTools
General
Tracking
(firefox-esr78 unaffected, firefox81 unaffected, firefox82 unaffected, firefox83 fixed)
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox81 | --- | unaffected |
firefox82 | --- | unaffected |
firefox83 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: ochameau)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
Filed by: apavel [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=316656990&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OU6c-ycVQ3WTIJPvkdLdHg/runs/0/artifacts/public/logs/live_backing.log
[task 2020-09-25T00:09:59.685Z] 00:09:59 INFO - TEST-START | devtools/shared/resources/tests/browser_resources_network_events.js
[task 2020-09-25T00:10:01.332Z] 00:10:01 INFO - TEST-INFO | started process screenshot
[task 2020-09-25T00:10:01.582Z] 00:10:01 INFO - TEST-INFO | screenshot: exit 0
[task 2020-09-25T00:10:01.583Z] 00:10:01 INFO - Buffered messages logged at 00:09:59
[task 2020-09-25T00:10:01.583Z] 00:10:01 INFO - Entering test bound
[task 2020-09-25T00:10:01.584Z] 00:10:01 INFO - Test network events legacy listener
[task 2020-09-25T00:10:01.584Z] 00:10:01 INFO - Tests for network event resources with the existing resources
[task 2020-09-25T00:10:01.584Z] 00:10:01 INFO - Adding a new tab with URL: https://example.com/browser/devtools/shared/resources/tests/network_document.html
[task 2020-09-25T00:10:01.584Z] 00:10:01 INFO - Tab added and finished loading
[task 2020-09-25T00:10:01.585Z] 00:10:01 INFO - Buffered messages logged at 00:10:00
[task 2020-09-25T00:10:01.585Z] 00:10:01 INFO - Trigger some network requests *before* calling ResourceWatcher.watchResources
[task 2020-09-25T00:10:01.586Z] 00:10:01 INFO - in order to assert the behavior of already existing network events.
[task 2020-09-25T00:10:01.586Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network event resource -
[task 2020-09-25T00:10:01.587Z] 00:10:01 INFO - Trigger the rest of the requests *after* calling ResourceWatcher.watchResources
[task 2020-09-25T00:10:01.587Z] 00:10:01 INFO - in order to assert the behavior of live network events.
[task 2020-09-25T00:10:01.587Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network event resource -
[task 2020-09-25T00:10:01.588Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.588Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.589Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.589Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.589Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.589Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.589Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.590Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.590Z] 00:10:01 INFO - Check the resources on available
[task 2020-09-25T00:10:01.591Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Got the expected number of network events fired onAvailable -
[task 2020-09-25T00:10:01.591Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The resource id's are the same -
[task 2020-09-25T00:10:01.592Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The resource type is correct -
[task 2020-09-25T00:10:01.592Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The url is correct -
[task 2020-09-25T00:10:01.592Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The method is correct -
[task 2020-09-25T00:10:01.593Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The number of updates is correct -
[task 2020-09-25T00:10:01.594Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The resource type is correct -
[task 2020-09-25T00:10:01.594Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The url is correct -
[task 2020-09-25T00:10:01.594Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The method is correct -
[task 2020-09-25T00:10:01.595Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The number of updates is correct -
[task 2020-09-25T00:10:01.595Z] 00:10:01 INFO - Check the resources on updated
[task 2020-09-25T00:10:01.596Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Got the expected number of network events fired onUpdated -
[task 2020-09-25T00:10:01.596Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The resource type is correct -
[task 2020-09-25T00:10:01.597Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The url is correct -
[task 2020-09-25T00:10:01.597Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The method is correct -
[task 2020-09-25T00:10:01.598Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The number of updates is correct -
[task 2020-09-25T00:10:01.598Z] 00:10:01 INFO - Tests for network event resources without the existing resources
[task 2020-09-25T00:10:01.598Z] 00:10:01 INFO - Adding a new tab with URL: https://example.com/browser/devtools/shared/resources/tests/network_document.html
[task 2020-09-25T00:10:01.598Z] 00:10:01 INFO - Tab added and finished loading
[task 2020-09-25T00:10:01.598Z] 00:10:01 INFO - Trigger some network requests *before* calling ResourceWatcher.watchResources
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - in order to assert the behavior of already existing network events.
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - Buffered messages logged at 00:10:01
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - Trigger the rest of the requests *after* calling ResourceWatcher.watchResources
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - in order to assert the behavior of live network events.
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network event resource -
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.599Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Received a network update event resource -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - Check the resources on available
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Got the expected number of network events fired onAvailable -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The resource id's are the same -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The resource type is correct -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The url is correct -
[task 2020-09-25T00:10:01.600Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The method is correct -
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - Buffered messages finished
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - TEST-UNEXPECTED-FAIL | devtools/shared/resources/tests/browser_resources_network_events.js | The number of updates is correct - Got 7, expected 8
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - Stack trace:
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_network_events.js:assertResources:314
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_network_events.js:testNetworkEventResources:267
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_network_events.js:testNetworkEventResourcesWithoutExistingResources:84
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_resources_network_events.js:null:19
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1069
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1109
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:932
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:1037
[task 2020-09-25T00:10:01.601Z] 00:10:01 INFO - Check the resources on updated
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | Got the expected number of network events fired onUpdated -
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The resource type is correct -
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The url is correct -
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The method is correct -
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The number of updates is correct -
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - Leaving test bound
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - TEST-PASS | devtools/shared/resources/tests/browser_resources_network_events.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - GECKO(10200) | MEMORY STAT | vsize 19406271MB | vsizeMaxContiguous 65048026MB | residentFast 1208MB
[task 2020-09-25T00:10:01.602Z] 00:10:01 INFO - TEST-OK | devtools/shared/resources/tests/browser_resources_network_events.js | took 1861ms```
Updated•4 years ago
|
Has Regression Range: --- → yes
Keywords: regression
Comment hidden (Intermittent Failures Robot) |
Comment 2•4 years ago
|
||
Set release status flags based on info from the regressing bug 1663614
status-firefox81:
--- → unaffected
status-firefox82:
--- → unaffected
status-firefox83:
--- → affected
status-firefox-esr78:
--- → unaffected
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 5•4 years ago
|
||
Alexandre, can you take a look at the bug? It's a frequent failure.
Flags: needinfo?(poirot.alex)
Assignee | ||
Comment 6•4 years ago
|
||
We should only assert updates
attribute on resource-updated,
as we aren't guaranteed how many updates we will have in resource-available.
That's because of resource throttling. Updates may be coalesced into available,
but we can't predict how many.
Updated•4 years ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•4 years ago
|
||
Flags: needinfo?(poirot.alex)
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Attachment #9181271 -
Attachment description: Bug 1667282 - Fix browser_resources_network_events.js intermittent. → Bug 1667282 - [devtools] Fix browser_resources_network_events.js intermittent.
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4dfcc8b51c51
[devtools] Fix browser_resources_network_events.js intermittent. r=bomsy
Comment 10•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•