Closed Bug 1688669 Opened 4 years ago Closed 4 years ago

Add a few tests for network markers

Categories

(Core :: Gecko Profiler, task, P3)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: julienw, Assigned: julienw)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

We lack testing coverage for network markers. In this bug I want to add some so that we have a starting point to fix existing bugs.

Depends on D102939

Severity: -- → N/A
Priority: -- → P3
Attachment #9199042 - Attachment description: Bug 1688669 - Clearly write which support files are needed for which tests → Bug 1688669 - Clearly write which support files are needed for which profiler browser tests
Pushed by jwajsberg@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/374be66fa3db Do not sample stacks in marker tests r=canaltinova https://hg.mozilla.org/integration/autoland/rev/c435c2d7badc Clearly write which support files are needed for which profiler browser tests r=canaltinova https://hg.mozilla.org/integration/autoland/rev/923ed7912d59 Add a helper to assert property values in objects r=canaltinova https://hg.mozilla.org/integration/autoland/rev/83f79ed54c65 Add a new test for network markers r=canaltinova https://hg.mozilla.org/integration/autoland/rev/fab4be0d51b3 Add a new test for network markers for requests going through a service worker r=canaltinova

Backed out 5 changesets (bug 1688669) for mochitest failures on browser_test_marker_network_redirect.js.

Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&fromchange=fab4be0d51b38b5683943e01b06afbbac47b228e&test_paths=tools%2Fprofiler%2Ftests%2Fbrowser&tochange=b027da49beda90f296a526a310a38f55cfd3104d&selectedTaskRun=aa7e_IuPT6CZcvMC_PZWHQ.0

Backout link: https://hg.mozilla.org/integration/autoland/rev/b027da49beda90f296a526a310a38f55cfd3104d

Failure log: https://treeherder.mozilla.org/logviewer?job_id=330028606&repo=autoland&lineNumber=13895

[task 2021-02-15T18:41:44.569Z] 18:41:44     INFO - TEST-START | tools/profiler/tests/browser/browser_test_marker_network_redirect.js
[task 2021-02-15T18:41:45.540Z] 18:41:45     INFO - TEST-INFO | started process screencapture
[task 2021-02-15T18:41:45.817Z] 18:41:45     INFO - TEST-INFO | screencapture: exit 0
[task 2021-02-15T18:41:45.817Z] 18:41:45     INFO - <snipped 67 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-02-15T18:41:45.818Z] 18:41:45     INFO - Buffered messages logged at 18:41:45
[task 2021-02-15T18:41:45.818Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | We should get 4 pairs of network markers in the parent thread. - 8 == 8 - 
[task 2021-02-15T18:41:45.819Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | We should get 4 pairs of network markers in the content thread. - 8 == 8 - 
[task 2021-02-15T18:41:45.819Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/page_with_resources.html?cacheBust=0.5595435391279371 we should get 2 markers in the parent process. - 2 == 2 - 
[task 2021-02-15T18:41:45.819Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg we should get 2 markers in the parent process. - 2 == 2 - 
[task 2021-02-15T18:41:45.819Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/redirect.sjs?firefox-logo-nightly.svg we should get 2 markers in the parent process. - 2 == 2 - 
[task 2021-02-15T18:41:45.820Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg we should get 2 markers in the parent process. - 2 == 2 - 
[task 2021-02-15T18:41:45.820Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/page_with_resources.html?cacheBust=0.5595435391279371 we should get 2 markers in the content process. - 2 == 2 - 
[task 2021-02-15T18:41:45.820Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg we should get 2 markers in the content process. - 2 == 2 - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/redirect.sjs?firefox-logo-nightly.svg we should get 2 markers in the content process. - 2 == 2 - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | For the URL http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg we should get 2 markers in the content process. - 2 == 2 - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "name" with an expected value and type. - "Load 2147483659: http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" matches "/Load \\d+:.*firefox-logo-nightly\\.svg/" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestMethod" with an expected value. - "GET" == "GET" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "startTime" with an expected value and type. - 9062.498265 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "endTime" with an expected value and type. - 9104.315358 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "id" with an expected value and type. - 5482525753355 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "pri" with an expected value and type. - 8 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "status" with an expected value. - "STATUS_STOP" == "STATUS_STOP" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "URI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" includes "/firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "contentType" with an expected value. - "image/svg+xml" == "image/svg+xml" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupStart" with an expected value and type. - 9074.847948 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupEnd" with an expected value and type. - 9076.942637 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectStart" with an expected value and type. - 9077.081116000001 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "tcpConnectEnd" with an expected value and type. - 9078.351095 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectEnd" with an expected value and type. - 9078.351095 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestStart" with an expected value and type. - 9078.50387 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseStart" with an expected value and type. - 9088.744284 has type "number" - 
[task 2021-02-15T18:41:45.821Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseEnd" with an expected value and type. - 9102.993483 has type "number" - 
[task 2021-02-15T18:41:45.822Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "name" with an expected value and type. - "Load 2147483659: http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" matches "/Load \\d+:.*firefox-logo-nightly\\.svg/" - 
[task 2021-02-15T18:41:45.822Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestMethod" with an expected value. - "GET" == "GET" - 
[task 2021-02-15T18:41:45.822Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "startTime" with an expected value and type. - 7897.4585179999995 has type "number" - 
[task 2021-02-15T18:41:45.822Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "endTime" with an expected value and type. - 7956.759216 has type "number" - 
[task 2021-02-15T18:41:45.823Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "id" with an expected value and type. - 5482525753355 has type "number" - 
[task 2021-02-15T18:41:45.823Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "pri" with an expected value and type. - 8 has type "number" - 
[task 2021-02-15T18:41:45.823Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "status" with an expected value. - "STATUS_STOP" == "STATUS_STOP" - 
[task 2021-02-15T18:41:45.823Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "URI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" includes "/firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.823Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "contentType" with an expected value. - "image/svg+xml" == "image/svg+xml" - 
[task 2021-02-15T18:41:45.823Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupStart" with an expected value and type. - 7926.988334 has type "number" - 
[task 2021-02-15T18:41:45.824Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupEnd" with an expected value and type. - 7929.083022999999 has type "number" - 
[task 2021-02-15T18:41:45.824Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectStart" with an expected value and type. - 7929.221501999999 has type "number" - 
[task 2021-02-15T18:41:45.824Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "tcpConnectEnd" with an expected value and type. - 7930.491481 has type "number" - 
[task 2021-02-15T18:41:45.824Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectEnd" with an expected value and type. - 7930.491481 has type "number" - 
[task 2021-02-15T18:41:45.824Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestStart" with an expected value and type. - 7930.644256 has type "number" - 
[task 2021-02-15T18:41:45.824Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseStart" with an expected value and type. - 7940.88467 has type "number" - 
[task 2021-02-15T18:41:45.824Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseEnd" with an expected value and type. - 7955.133869 has type "number" - 
[task 2021-02-15T18:41:45.825Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "name" with an expected value and type. - "Load 2147483660: http://example.com/browser/tools/profiler/tests/browser/redirect.sjs?firefox-logo-nightly.svg" matches "/Load \\d+:.*redirect.sjs\\?firefox-logo-nightly\\.svg/" - 
[task 2021-02-15T18:41:45.825Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestMethod" with an expected value. - "GET" == "GET" - 
[task 2021-02-15T18:41:45.825Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "startTime" with an expected value and type. - 9071.042852 has type "number" - 
[task 2021-02-15T18:41:45.825Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "endTime" with an expected value and type. - 9090.055612 has type "number" - 
[task 2021-02-15T18:41:45.825Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "id" with an expected value and type. - 5482525753356 has type "number" - 
[task 2021-02-15T18:41:45.825Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "pri" with an expected value and type. - 8 has type "number" - 
[task 2021-02-15T18:41:45.825Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "status" with an expected value. - "STATUS_REDIRECT" == "STATUS_REDIRECT" - 
[task 2021-02-15T18:41:45.827Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "URI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/redirect.sjs?firefox-logo-nightly.svg" includes "/redirect.sjs?firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.827Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "RedirectURI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" includes "/firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.828Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "contentType" with an expected value. - null == null - 
[task 2021-02-15T18:41:45.828Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupStart" with an expected value and type. - 9076.916276 has type "number" - 
[task 2021-02-15T18:41:45.828Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupEnd" with an expected value and type. - 9077.012203 has type "number" - 
[task 2021-02-15T18:41:45.835Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectStart" with an expected value and type. - 9077.232413000002 has type "number" - 
[task 2021-02-15T18:41:45.835Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "tcpConnectEnd" with an expected value and type. - 9078.356826000001 has type "number" - 
[task 2021-02-15T18:41:45.835Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectEnd" with an expected value and type. - 9078.356826000001 has type "number" - 
[task 2021-02-15T18:41:45.836Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestStart" with an expected value and type. - 9078.546529000001 has type "number" - 
[task 2021-02-15T18:41:45.836Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseStart" with an expected value and type. - 9088.919829 has type "number" - 
[task 2021-02-15T18:41:45.836Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseEnd" with an expected value and type. - 9089.050065 has type "number" - 
[task 2021-02-15T18:41:45.836Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "name" with an expected value and type. - "Load 2147483660: http://example.com/browser/tools/profiler/tests/browser/redirect.sjs?firefox-logo-nightly.svg" matches "/Load \\d+:.*redirect.sjs\\?firefox-logo-nightly\\.svg/" - 
[task 2021-02-15T18:41:45.837Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestMethod" with an expected value. - "GET" == "GET" - 
[task 2021-02-15T18:41:45.837Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "startTime" with an expected value and type. - 7897.676309 has type "number" - 
[task 2021-02-15T18:41:45.837Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "endTime" with an expected value and type. - 7942.76311 has type "number" - 
[task 2021-02-15T18:41:45.837Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "id" with an expected value and type. - 5482525753356 has type "number" - 
[task 2021-02-15T18:41:45.837Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "pri" with an expected value and type. - 8 has type "number" - 
[task 2021-02-15T18:41:45.837Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "status" with an expected value. - "STATUS_REDIRECT" == "STATUS_REDIRECT" - 
[task 2021-02-15T18:41:45.837Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "URI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/redirect.sjs?firefox-logo-nightly.svg" includes "/redirect.sjs?firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.838Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "RedirectURI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" includes "/firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.838Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "contentType" with an expected value. - null == null - 
[task 2021-02-15T18:41:45.838Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupStart" with an expected value and type. - 7929.056662 has type "number" - 
[task 2021-02-15T18:41:45.838Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "domainLookupEnd" with an expected value and type. - 7929.152589 has type "number" - 
[task 2021-02-15T18:41:45.838Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectStart" with an expected value and type. - 7929.372799000001 has type "number" - 
[task 2021-02-15T18:41:45.838Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "tcpConnectEnd" with an expected value and type. - 7930.497211999999 has type "number" - 
[task 2021-02-15T18:41:45.839Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "connectEnd" with an expected value and type. - 7930.497211999999 has type "number" - 
[task 2021-02-15T18:41:45.839Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestStart" with an expected value and type. - 7930.686915 has type "number" - 
[task 2021-02-15T18:41:45.839Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseStart" with an expected value and type. - 7941.060215 has type "number" - 
[task 2021-02-15T18:41:45.839Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "responseEnd" with an expected value and type. - 7941.1904509999995 has type "number" - 
[task 2021-02-15T18:41:45.839Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "name" with an expected value and type. - "Load 2147483688: http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" matches "/Load \\d+:.*firefox-logo-nightly\\.svg/" - 
[task 2021-02-15T18:41:45.839Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestMethod" with an expected value. - "GET" == "GET" - 
[task 2021-02-15T18:41:45.839Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "startTime" with an expected value and type. - 9091.168844 has type "number" - 
[task 2021-02-15T18:41:45.840Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "endTime" with an expected value and type. - 9111.636905 has type "number" - 
[task 2021-02-15T18:41:45.840Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "id" with an expected value and type. - 5478230786088 has type "number" - 
[task 2021-02-15T18:41:45.840Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "pri" with an expected value and type. - 8 has type "number" - 
[task 2021-02-15T18:41:45.840Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "status" with an expected value. - "STATUS_STOP" == "STATUS_STOP" - 
[task 2021-02-15T18:41:45.840Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "URI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" includes "/firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.840Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "contentType" with an expected value. - "image/svg+xml" == "image/svg+xml" - 
[task 2021-02-15T18:41:45.841Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "name" with an expected value and type. - "Load 2147483688: http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" matches "/Load \\d+:.*firefox-logo-nightly\\.svg/" - 
[task 2021-02-15T18:41:45.841Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "requestMethod" with an expected value. - "GET" == "GET" - 
[task 2021-02-15T18:41:45.842Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "startTime" with an expected value and type. - 7943.741188 has type "number" - 
[task 2021-02-15T18:41:45.843Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "endTime" with an expected value and type. - 7965.7113739999995 has type "number" - 
[task 2021-02-15T18:41:45.843Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "id" with an expected value and type. - 5478230786088 has type "number" - 
[task 2021-02-15T18:41:45.843Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "pri" with an expected value and type. - 8 has type "number" - 
[task 2021-02-15T18:41:45.844Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "status" with an expected value. - "STATUS_STOP" == "STATUS_STOP" - 
[task 2021-02-15T18:41:45.844Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "URI" with an expected value and type. - "http://example.com/browser/tools/profiler/tests/browser/firefox-logo-nightly.svg" includes "/firefox-logo-nightly.svg" - 
[task 2021-02-15T18:41:45.850Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "contentType" with an expected value. - "image/svg+xml" == "image/svg+xml" - 
[task 2021-02-15T18:41:45.850Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "cache" with an expected value and type. - "Unresolved" matches "/^(Missed|Unresolved)$/" - 
[task 2021-02-15T18:41:45.850Z] 18:41:45     INFO - TEST-PASS | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "cache" with an expected value and type. - "Unresolved" matches "/^(Missed|Unresolved)$/" - 
[task 2021-02-15T18:41:45.850Z] 18:41:45     INFO - Buffered messages finished
[task 2021-02-15T18:41:45.851Z] 18:41:45     INFO - TEST-UNEXPECTED-FAIL | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | The object should contain the property "cache" with an expected value. - "Unresolved" == "Hit" - JS frame :: chrome://mochitests/content/browser/tools/profiler/tests/browser/shared-head.js :: objectContains :: line 376
[task 2021-02-15T18:41:45.851Z] 18:41:45     INFO - Stack trace:
[task 2021-02-15T18:41:45.851Z] 18:41:45     INFO - chrome://mochitests/content/browser/tools/profiler/tests/browser/shared-head.js:objectContains:376
[task 2021-02-15T18:41:45.851Z] 18:41:45     INFO - chrome://mochitests/content/browser/tools/profiler/tests/browser/browser_test_marker_network_redirect.js:test_network_markers_redirect_resources/<:300
[task 2021-02-15T18:41:45.851Z] 18:41:45     INFO - Leaving test bound test_network_markers_redirect_resources
[task 2021-02-15T18:41:45.851Z] 18:41:45     INFO - GECKO(2551) | MEMORY STAT | vsize 7678MB | residentFast 313MB | heapAllocated 112MB
[task 2021-02-15T18:41:45.852Z] 18:41:45     INFO - TEST-OK | tools/profiler/tests/browser/browser_test_marker_network_redirect.js | took 959ms
Flags: needinfo?(felash)

Relanded with a fix for the failure. This failure wasn't seen in previous try runs so I didn't run a new one, but the failure is pretty obvious. Hopefully that will fix it for good.

Flags: needinfo?(felash)
Pushed by jwajsberg@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7df07e97d9d Do not sample stacks in marker tests r=canaltinova https://hg.mozilla.org/integration/autoland/rev/142b0654226e Clearly write which support files are needed for which profiler browser tests r=canaltinova https://hg.mozilla.org/integration/autoland/rev/79fd223cea77 Add a helper to assert property values in objects r=canaltinova https://hg.mozilla.org/integration/autoland/rev/b08a44ed5e93 Add a new test for network markers r=canaltinova https://hg.mozilla.org/integration/autoland/rev/6d3357db1ac1 Add a new test for network markers for requests going through a service worker r=canaltinova
Regressions: 1692922
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: