Closed Bug 1041017 Opened 8 years ago Closed 4 years ago

TEST-UNEXPECTED-FAIL | /tests/layout/style/test/test_animations_omta_start.html | uncaught exception - TypeError: a is null on b2g-desktop in taskcluster docker image only


(Core :: Graphics: Layers, defect)

Not set





(Reporter: gbrown, Assigned: gbrown)



(Whiteboard: [test disabled on b2g desktop])

test_animations_omta_start.html is generally trouble-free and passes consistently on all tbpl test platforms, including b2g-desktop. 

In bug 1005907, I am trying to run b2g-desktop mochitests in a new environment (in a docker image). All tests are passing except for 3 tests -- test_animations_omta_start.html is one of the failing tests:

23:21:58     INFO -  21704 INFO TEST-START | /tests/layout/style/test/test_animations_omta_start.html
23:21:58     INFO -  21705 INFO dumping last 2 message(s)
23:21:58     INFO -  21706 INFO if you need more context, please use SimpleTest.requestCompleteLog() in your test
23:21:58     INFO -  21707 INFO TEST-PASS | /tests/layout/style/test/test_animations_omta_start.html | opacity is set on compositor thread after delayed start
23:21:58     INFO -  21708 INFO TEST-PASS | /tests/layout/style/test/test_animations_omta_start.html | transform is set on compositor thread after delayed start
23:21:58     INFO -  21709 INFO TEST-UNEXPECTED-FAIL | /tests/layout/style/test/test_animations_omta_start.html | uncaught exception - TypeError: a is null at http://mochi.test:8888/tests/layout/style/test/animation_utils.js:399
23:21:58     INFO -  TEST-INFO | expected PASS
23:21:58     INFO -  21710 INFO JavaScript error: http://mochi.test:8888/tests/layout/style/test/animation_utils.js, line 399: a is null
23:21:58     INFO -  21711 INFO TEST-UNEXPECTED-FAIL | /tests/layout/style/test/test_animations_omta_start.html | test left refresh driver under test control

As far as I can tell, tests are being run in the new, experimental environment the same way as on tbpl: the same arguments to the same mozharness script. Of course, I expect there are timing differences between tbpl and the new, experimental environment. There may also be missing system packages, differences in environment variables, or other unknown differences.
I debugged a little. At

var transform = gUtils.getOMTAStyle(target, "transform");

transform is set to null. That seems to be because at

nsTArray<DisplayItemData*> *array =

array is set to null and FrameLayerBuilder::GetDedicatedLayer() returns null.
Disabled on b2g desktop so we can proceed with the taskcluster work:
Keywords: leave-open
Whiteboard: [test disabled on b2g desktop]
No longer testing b2g.
Assignee: nobody → gbrown
Closed: 4 years ago
Resolution: --- → INVALID
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.