Closed Bug 1369452 Opened 7 years ago Closed 7 years ago

Intermittent layout/style/test/test_bug397427.html | uncaught exception - TypeError: ruleList[1] is null at @http://mochi.test:8888/tests/layout/style/test/test_bug397427.html:66:3

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])

Priority: -- → P4
this is a stylo only failure (all flavors)

here is a link to a recent log:
https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=109780991&lineNumber=1962

and here is the data from the log:
[task 2017-06-25T09:15:08.047215Z] 09:15:08     INFO - TEST-START | layout/style/test/test_bug397427.html
[task 2017-06-25T09:15:08.091193Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSets cannot respond to document state changes yet (only matters for chrome documents). See bug 1290285.: file /home/worker/workspace/build/src/layout/base/PresShell.cpp, line 4297
[task 2017-06-25T09:15:08.193823Z] 09:15:08     INFO - GECKO(1157) | ++DOMWINDOW == 46 (0x7fd4cd237000) [pid = 1209] [serial = 157] [outer = 0x7fd4ce40c800]
[task 2017-06-25T09:15:08.239830Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.242053Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.243051Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.244094Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.245575Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.249086Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.250611Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.251406Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.253253Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.253915Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.255404Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.257344Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSheets don't support <style scoped>: file /home/worker/workspace/build/src/dom/base/nsStyleLinkElement.cpp, line 303
[task 2017-06-25T09:15:08.865035Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: Web Components not supported yet: file /home/worker/workspace/build/src/dom/base/nsDocument.cpp, line 6076
[task 2017-06-25T09:15:08.866793Z] 09:15:08     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: Web Components not supported yet: file /home/worker/workspace/build/src/dom/base/nsDocument.cpp, line 6076
[task 2017-06-25T09:15:09.128675Z] 09:15:09     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: ServoStyleSets cannot respond to document state changes yet (only matters for chrome documents). See bug 1290285.: file /home/worker/workspace/build/src/layout/base/PresShell.cpp, line 4297
[task 2017-06-25T09:15:09.165481Z] 09:15:09     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: fail to get child sheet for @import rule: file /home/worker/workspace/build/src/layout/style/ServoCSSRuleList.cpp, line 235
[task 2017-06-25T09:15:09.165816Z] 09:15:09     INFO - GECKO(1157) | [Child 1209] WARNING: stylo: this @import rule was not constructed: file /home/worker/workspace/build/src/layout/style/ServoCSSRuleList.cpp, line 153
[task 2017-06-25T09:15:09.173218Z] 09:15:09     INFO - TEST-INFO | started process screentopng
[task 2017-06-25T09:15:09.715370Z] 09:15:09     INFO - TEST-INFO | screentopng: exit 0
[task 2017-06-25T09:15:09.717140Z] 09:15:09     INFO - Buffered messages logged at 09:15:09
[task 2017-06-25T09:15:09.718427Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | href should be null 
[task 2017-06-25T09:15:09.720316Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | should be actual null 
[task 2017-06-25T09:15:09.721774Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | Redirect 1 did not work 
[task 2017-06-25T09:15:09.723032Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | Redirect 1 did not get right base URI 
[task 2017-06-25T09:15:09.724109Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | Redirect 2 did not work 
[task 2017-06-25T09:15:09.725299Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | Redirect 2 did not get right base URI 
[task 2017-06-25T09:15:09.726527Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | Redirect 3 did not work 
[task 2017-06-25T09:15:09.727757Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | Redirect 3 did not get right base URI 
[task 2017-06-25T09:15:09.728794Z] 09:15:09     INFO - TEST-PASS | layout/style/test/test_bug397427.html | Unexpected href for imported sheet 
[task 2017-06-25T09:15:09.729920Z] 09:15:09     INFO - TEST-FAIL | layout/style/test/test_bug397427.html | Rule href should be absolute - got "redirect.sjs?http://example.org/tests/layout/style/test/post-redirect-1.css", expected "http://mochi.test:8888/tests/layout/style/test/redirect.sjs?http://example.org/tests/layout/style/test/post-redirect-1.css"
[task 2017-06-25T09:15:09.731063Z] 09:15:09     INFO - Buffered messages finished
[task 2017-06-25T09:15:09.732152Z] 09:15:09     INFO - TEST-UNEXPECTED-FAIL | layout/style/test/test_bug397427.html | uncaught exception - TypeError: ruleList[1] is null at @http://mochi.test:8888/tests/layout/style/test/test_bug397427.html:66:3
[task 2017-06-25T09:15:09.733069Z] 09:15:09     INFO - rval@http://mochi.test:8888/tests/SimpleTest/SimpleTest.js:146:17
[task 2017-06-25T09:15:09.733916Z] 09:15:09     INFO - EventHandlerNonNull*this.addLoadEvent@http://mochi.test:8888/tests/SimpleTest/SimpleTest.js:171:13
[task 2017-06-25T09:15:09.734805Z] 09:15:09     INFO - @http://mochi.test:8888/tests/SimpleTest/SimpleTest.js:1441:5
[task 2017-06-25T09:15:09.735622Z] 09:15:09     INFO - 
[task 2017-06-25T09:15:09.736440Z] 09:15:09     INFO -     simpletestOnerror@SimpleTest/SimpleTest.js:1652:11
[task 2017-06-25T09:15:09.737273Z] 09:15:09     INFO -     OnErrorEventHandlerNonNull*@SimpleTest/SimpleTest.js:1632:1
[task 2017-06-25T09:15:09.738295Z] 09:15:09     INFO - GECKO(1157) | JavaScript error: http://mochi.test:8888/tests/layout/style/test/test_bug397427.html, line 66: TypeError: ruleList[1] is null
[task 2017-06-25T09:15:09.739375Z] 09:15:09     INFO - GECKO(1157) | MEMORY STAT | vsize 1813MB | residentFast 136MB | heapAllocated 29MB
[task 2017-06-25T09:15:09.740390Z] 09:15:09     INFO - TEST-OK | layout/style/test/test_bug397427.html | took 1160ms


I assume this is something stylo specific, not a broken test case, :xidorn can you confirm and help resolve this?
Flags: needinfo?(xidorn+moz)
Whiteboard: [stockwell needswork]
It doesn't seem to be an intermittent at all to me... I can reproduce this reliable locally...
is this a perma fail?
It could be intermittent because it may depend on the order of stylesheet being loaded. This is actually the same issue as bug 1368381, although we don't really have idea how to fix it right now.
Depends on: 1368381
Flags: needinfo?(xidorn+moz)
Should be fixed now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [stockwell needswork] → [stockwell fixed]
You need to log in before you can comment on or make changes to this bug.