Closed Bug 1582886 Opened 5 years ago Closed 5 years ago

Intermittent devtools/client/inspector/rules/test/browser_rules_pseudo-visited.js | Rule of a:visited is shown -

Categories

(DevTools :: Inspector: Rules, defect, P5)

defect

Tracking

(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox67 unaffected, firefox68 unaffected, firefox69 unaffected, firefox70 unaffected, firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox67 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- unaffected
firefox71 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: daisuke)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: opoprus [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=267755519&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/SFPsY6WkQdyVARs4uUjIgA/runs/0/artifacts/public/logs/live_backing.log


[task 2019-09-20T22:35:30.436Z] 22:35:30 INFO - TEST-START | devtools/client/inspector/rules/test/browser_rules_pseudo-visited.js
[task 2019-09-20T22:35:30.890Z] 22:35:30 INFO - GECKO(2520) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2019-09-20T22:35:30.890Z] 22:35:30 INFO - GECKO(2520) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2019-09-20T22:35:30.906Z] 22:35:30 INFO - GECKO(2520) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2019-09-20T22:35:30.907Z] 22:35:30 INFO - GECKO(2520) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2019-09-20T22:35:30.965Z] 22:35:30 INFO - TEST-INFO | started process screentopng
[task 2019-09-20T22:35:31.329Z] 22:35:31 INFO - TEST-INFO | screentopng: exit 0
[task 2019-09-20T22:35:31.329Z] 22:35:31 INFO - Buffered messages logged at 22:35:30
[task 2019-09-20T22:35:31.329Z] 22:35:31 INFO - Entering test bound
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Open a particular url to make a visited link
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Adding a new tab with URL: http://example.com/browser/devtools/client/inspector/rules/test/doc_variables_1.html
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Tab added and finished loading
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Loading the helper frame script chrome://mochitests/content/browser/devtools/client/inspector/rules/test/doc_frame_script.js
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Open tested page in the same tab
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Open the inspector
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Opening the inspector
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Opening the toolbox
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/devtools/client/inspector/rules/test/doc_variables_1.html" line: 0}]
[task 2019-09-20T22:35:31.330Z] 22:35:31 INFO - Toolbox opened and focused
[task 2019-09-20T22:35:31.331Z] 22:35:31 INFO - Check whether the rule view is shown correctly for visited element
[task 2019-09-20T22:35:31.331Z] 22:35:31 INFO - Selecting the node for '#visited'
[task 2019-09-20T22:35:31.331Z] 22:35:31 INFO - Buffered messages finished
[task 2019-09-20T22:35:31.333Z] 22:35:31 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_pseudo-visited.js | Rule of a:visited is shown -
[task 2019-09-20T22:35:31.333Z] 22:35:31 INFO - Stack trace:
[task 2019-09-20T22:35:31.333Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:test_ok:1580
[task 2019-09-20T22:35:31.333Z] 22:35:31 INFO - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_pseudo-visited.js:null:37
[task 2019-09-20T22:35:31.333Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1350
[task 2019-09-20T22:35:31.334Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1385
[task 2019-09-20T22:35:31.334Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1213
[task 2019-09-20T22:35:31.334Z] 22:35:31 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:805
[task 2019-09-20T22:35:31.334Z] 22:35:31 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-20T22:35:31.336Z] 22:35:31 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_pseudo-visited.js | Rule of a:link is not shown -
[task 2019-09-20T22:35:31.336Z] 22:35:31 INFO - Stack trace:
[task 2019-09-20T22:35:31.336Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:test_ok:1580
[task 2019-09-20T22:35:31.336Z] 22:35:31 INFO - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_pseudo-visited.js:null:38
[task 2019-09-20T22:35:31.336Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1350
[task 2019-09-20T22:35:31.337Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1385
[task 2019-09-20T22:35:31.337Z] 22:35:31 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1213
[task 2019-09-20T22:35:31.337Z] 22:35:31 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:805
[task 2019-09-20T22:35:31.337Z] 22:35:31 INFO - TEST-PASS | devtools/client/inspector/rules/test/browser_rules_pseudo-visited.js | Rule of a is shown -

This is a new test, and it looks like it's intermittent on linux.
Here's a screenshot of the failure: https://taskcluster-artifacts.net/Q5yQG1otTmS4GDNUp3ayWg/0/public/test_info//mozilla-test-fail-screenshot_p5pQql.png
The test loads a page, then loads another one in the same tab, and then expects a link to the previous page to appear as :visited.
The test fails because the :visited CSS rule does not appear in the inspector, but the screenshot shows that the link does not appear visited in the page either.
Could there be a timing issue here? I have seen in the past that Firefox seems to update the style of visited links only after some kind of delay once you load a page. So maybe this test needs to wait for an event of sorts here.

Hi Daisuke, could you please take a look at this test failure please?

Flags: needinfo?(daisuke)

Sorry for my delay. I'll take a look.

Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Flags: needinfo?(daisuke)
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32d326f04819 Test with a new test page which has a visited and an unvisited link. r=pbro
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: