Closed Bug 1672725 Opened 4 years ago Closed 3 years ago

Intermittent accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[DOM node id: p1, role: paragraph, ad

Categories

(Core :: Disability Access APIs, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=319354075&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BhVflI-iSkqOA87q39plJQ/runs/0/artifacts/public/logs/live_backing.log


"INFO - TEST-START | accessible/tests/browser/hittest/browser_test_zoom.js
[task 2020-10-22T11:16:16.447Z] 11:16:16     INFO - TEST-INFO | started process screenshot
[task 2020-10-22T11:16:16.507Z] 11:16:16     INFO - TEST-INFO | screenshot: exit 0
[task 2020-10-22T11:16:16.509Z] 11:16:16     INFO - Buffered messages logged at 11:16:15
[task 2020-10-22T11:16:16.509Z] 11:16:16     INFO - Entering test bound 
[task 2020-10-22T11:16:16.510Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Recieved document load complete event - 
[task 2020-10-22T11:16:16.510Z] 11:16:16     INFO - Buffered messages logged at 11:16:16
[task 2020-10-22T11:16:16.510Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Actually remote browser - 
[task 2020-10-22T11:16:16.510Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.510Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.510Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.511Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.511Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.512Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.512Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.512Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - true == true - 
[task 2020-10-22T11:16:16.513Z] 11:16:16     INFO - Leaving test bound 
[task 2020-10-22T11:16:16.513Z] 11:16:16     INFO - Entering test bound 
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Recieved document load complete event - 
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | Actually remote browser - 
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_zoom.js | IFRAME is in the same process. - 
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - Buffered messages finished
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[DOM node id: p1, role: paragraph, address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:78
[task 2020-10-22T11:16:16.514Z] 11:16:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[role: text leaf, name: "para 1", address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:84
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[DOM node id: p2, role: paragraph, address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:78
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[role: text leaf, name: "para 2", address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:84
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-22T11:16:16.515Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[DOM node id: p1, role: paragraph, address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:78
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[role: text leaf, name: "para 1", address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:84
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong direct child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[DOM node id: p2, role: paragraph, address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:78
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-22T11:16:16.516Z] 11:16:16     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_zoom.js | Wrong deepest child of [role: document, address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]] - got " "null" ", expected "[role: text leaf, name: "para 2", address: [xpconnect wrapped nsIAccessible]]" - false == true - JS frame :: chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm :: isObject :: line 449
[task 2020-10-22T11:16:16.517Z] 11:16:16     INFO - Stack trace:
[task 2020-10-22T11:16:16.517Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/Common.jsm:isObject:449
[task 2020-10-22T11:16:16.517Z] 11:16:16     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:hitTest:84
[task 2020-10-22T11:16:16.517Z] 11:16:16     INFO - Leaving test bound 
[task 2020-10-22T11:16:16.522Z] 11:16:16     INFO - GECKO(5516) | MEMORY STAT | vsize 2104139MB | vsizeMaxContiguous 65752581MB | residentFast 240MB | heapAllocated 96MB
[task 2020-10-22T11:16:16.522Z] 11:16:16     INFO - TEST-OK | accessible/tests/browser/hittest/browser_test_zoom.js | took 768ms
[task 2020-10-22T11:16:16.532Z] 11:16:16     INFO - checking window state
[task 2020-10-22T11:16:16.542Z] 11:16:16     INFO - TEST-START | accessible/tests/browser/hittest/browser_test_zoom_text.js"```

This test fails on my machine every time.

Here is what I tried:

#/bin/bash
set -eux

if ! type jq &> /dev/null; then
        echo this script requires jq https://stedolan.github.io/jq/
        exit 1
fi

cd ~/mozilla-central

# 09f41b630294 is the revision where accessible/tests/browser/hittest/browser_test_zoom.js was first introduced.
# c00d2b6acd3f is the latest commit in mozilla-central at the time of writing.
for REV in 09f41b630294 c00d2b6acd3f; do
        hg up $REV
        ./mach bootstrap
        ./mach clobber
        ./mach build
        ./mach test --log-raw ~/$REV.raw --log-mach ~/$REV-mach.txt accessible/tests/browser/hittest/browser_test_zoom.js || true
        jq -r 'select(.status == "FAIL") | .subtest' < ~/$REV.raw
done

On 09f41b630294

Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x7c0b1df89790] - got "[DOM node id: p1, role: paragraph, address: 0x7c0b1f2920a0]", expected "[role: text leaf, name: "para 1", address: 0x7c0b236f71c0]" - false == true
Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x7c0b1df89790] - got "[DOM node id: p2, role: paragraph, address: 0x7c0b1f292100]", expected "[role: text leaf, name: "para 2", address: 0x7c0b17654600]" - false == true
Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x7c0b1df89790] - got "[DOM node id: p1, role: paragraph, address: 0x7c0b1f2920a0]", expected "[role: text leaf, name: "para 1", address: 0x7c0b236f71c0]" - false == true
Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x7c0b1df89790] - got "[DOM node id: p2, role: paragraph, address: 0x7c0b1f292100]", expected "[role: text leaf, name: "para 2", address: 0x7c0b17654600]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x7c0b16b124c0] - got "[DOM node id: p1, role: paragraph, address: 0x7c0b16d46700]", expected "[role: text leaf, name: "para 1", address: 0x7c0b15b5e740]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x7c0b16b124c0] - got "[DOM node id: p2, role: paragraph, address: 0x7c0b16dac880]", expected "[role: text leaf, name: "para 2", address: 0x7c0b15b5ec80]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x7c0b16b124c0] - got "[DOM node id: p1, role: paragraph, address: 0x7c0b16d46700]", expected "[role: text leaf, name: "para 1", address: 0x7c0b15b5e740]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x7c0b16b124c0] - got "[DOM node id: p2, role: paragraph, address: 0x7c0b16dac880]", expected "[role: text leaf, name: "para 2", address: 0x7c0b15b5ec80]" - false == true

On c00d2b6acd3f

Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x73e79a12b700] - got "[DOM node id: p1, role: paragraph, address: 0x73e79ecaf820]", expected "[role: text leaf, name: "para 1", address: 0x73e79ae53e80]" - false == true
Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x73e79a12b700] - got "[DOM node id: p2, role: paragraph, address: 0x73e79ecafb20]", expected "[role: text leaf, name: "para 2", address: 0x73e79bb40f00]" - false == true
Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x73e79a12b700] - got "[DOM node id: p1, role: paragraph, address: 0x73e79ecaf820]", expected "[role: text leaf, name: "para 1", address: 0x73e79ae53e80]" - false == true
Wrong deepest child of [DOM node id: body, role: document, name: 'Accessibility Test', address: 0x73e79a12b700] - got "[DOM node id: p2, role: paragraph, address: 0x73e79ecafb20]", expected "[role: text leaf, name: "para 2", address: 0x73e79bb40f00]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x73e79a53df70] - got "[DOM node id: p1, role: paragraph, address: 0x73e79a1a3b80]", expected "[role: text leaf, name: "para 1", address: 0x73e79aee8680]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x73e79a53df70] - got "[DOM node id: p2, role: paragraph, address: 0x73e79a1a3280]", expected "[role: text leaf, name: "para 2", address: 0x73e79c19d840]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x73e79a53df70] - got "[DOM node id: p1, role: paragraph, address: 0x73e79a1a3b80]", expected "[role: text leaf, name: "para 1", address: 0x73e79aee8680]" - false == true
Wrong deepest child of [DOM node id: default-iframe-body-id, role: document, name: 'data:text/html;charset=utf-8,%3Cbody%20id%3D%22de...%20id%3D%22p2%22%3Epara%202%3C%2Fp%3E%3C%2Fbody%3E', address: 0x73e79a53df70] - got "[DOM node id: p2, role: paragraph, address: 0x73e79a1a3280]", expected "[role: text leaf, name: "para 2", address: 0x73e79c19d840]" - false == true

Was this test ever reliable? I can provide any additional debugging information.

cat /etc/fedora-release
Fedora release 32 (Thirty Two)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: