Closed Bug 975487 Opened 8 years ago Closed 8 years ago

mochitest-gl failures on Android 2.3 emulator

Categories

(Testing :: General, defect)

x86_64
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gbrown, Unassigned)

References

Details

The mochitests in content/canvas/test/webgl are run as a separate "mochitest-gl" test on Android 4.0 Opt. These tests are not run on Android 2.2 Opt.

In bug 967704, we are trying to run our test suites on emulators running Android 2.3, in preparation for retiring the Tegra-based Android 2.2 test suites.

mochitest-gl does not run well in the Android 2.3 emulator:

https://tbpl.mozilla.org/php/getParsedLog.php?id=34653715&tree=Ash&full=1

18:11:01     INFO -  21 INFO TEST-END | /tests/content/canvas/test/webgl/non-conf-tests/test_webgl_conformance.html | finished in 4910ms
18:11:01     INFO -  22 INFO TEST-START | /tests/content/canvas/test/webgl/non-conf-tests/test_webgl_request_context.html
18:11:01     INFO -  23 ERROR TEST-UNEXPECTED-FAIL | /tests/content/canvas/test/webgl/non-conf-tests/test_webgl_request_context.html | Request for 'experimental-webgl' should succeed.
18:11:01     INFO -  24 INFO TEST-INFO | MEMORY STAT vsize after test: 416051200
18:11:01     INFO -  25 INFO TEST-INFO | MEMORY STAT residentFast after test: 149213184
18:11:01     INFO -  26 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 30362992
18:11:01     INFO -  27 INFO TEST-END | /tests/content/canvas/test/webgl/non-conf-tests/test_webgl_request_context.html | finished in 5485ms
18:11:01     INFO -  28 INFO TEST-START | /tests/content/canvas/test/webgl/non-conf-tests/test_webgl_request_mismatch.html
18:11:01     INFO -  29 INFO TEST-INFO | MEMORY STAT vsize after test: 416116736
18:11:01     INFO -  30 INFO TEST-INFO | MEMORY STAT residentFast after test: 150269952
18:11:01     INFO -  31 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 31276136
18:11:01     INFO -  32 INFO TEST-END | /tests/content/canvas/test/webgl/non-conf-tests/test_webgl_request_mismatch.html | finished in 4446ms
18:11:01     INFO -  33 INFO TEST-START | /tests/content/canvas/test/webgl/test_webgl_conformance_test_suite.html
18:11:01     INFO -  34 ERROR TEST-UNEXPECTED-FAIL | /tests/content/canvas/test/webgl/test_webgl_conformance_test_suite.html | uncaught exception - TypeError: gl is null at http://mochi.test:8888/tests/content/canvas/test/webgl/test_webgl_conformance_test_suite.html:68
18:11:01     INFO -  35 INFO TEST-INFO | MEMORY STAT vsize after test: 416182272
18:11:01     INFO -  36 INFO TEST-INFO | MEMORY STAT residentFast after test: 151207936
18:11:01     INFO -  37 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 31978740
18:11:01     INFO -  38 INFO TEST-END | /tests/content/canvas/test/webgl/test_webgl_conformance_test_suite.html | finished in 3878ms
18:11:01     INFO -  39 INFO TEST-START | Shutdown
18:11:01     INFO -  40 INFO Passed:  9
18:11:01  WARNING -  41 INFO Failed:  2

Do we want to try to run mochitest-gl on Android 2.3, or are we content with running on Android 4.0?
:jgilbert -- your thoughts?
Flags: needinfo?(jgilbert)
We definitely want to run there. For some reason, it sounds like WebGL isn't getting a context back. We really should be better about stating a reason for why this is. I'll put together a patch for you that'll spew the reason.
Beginning with a March 11 m-c merge, mochitest-gl started passing on Ash and has not failed since. It looks like most tests are skipped -- bug 984523.
Depends on: 984523
Android 2.3 mochitest-gl is running properly again and there is still no sign of the failures noted earlier.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jgilbert)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.