Open
Bug 1098508
Opened 10 years ago
Updated 2 years ago
Run Android jit-tests
Categories
(Testing :: General, defect)
Testing
General
Tracking
(Not tracked)
REOPENED
People
(Reporter: dminor, Unassigned)
References
(Depends on 2 open bugs)
Details
(Whiteboard: [geckoview:p3])
Attachments
(1 file)
1.51 KB,
patch
|
bbouvier
:
review+
|
Details | Diff | Splinter Review |
These tests are currently orange on Cedar but the js team is planning to apply resources to get these fixed so we can schedule these elsewhere.
I'll file blockers on this bug for the current failures.
Reporter | ||
Comment 1•10 years ago
|
||
Needinfo'ing terrence to keep this on his radar.
Flags: needinfo?(terrence)
Reporter | ||
Comment 2•10 years ago
|
||
Is there a bug on file for the madness seen here [1]?
[1] https://tbpl.mozilla.org/?tree=Try&rev=e6f9f7154b36&showall=1
Flags: needinfo?(philringnalda)
Reporter | ||
Comment 3•10 years ago
|
||
Ah yes, good ol bug 882179.
Depends on: 882179
Flags: needinfo?(philringnalda)
Comment 4•10 years ago
|
||
No, the bug for that would be an unfiled "jittest on Android needs to handle timeouts internally rather than allowing 'mozdevice.devicemanager.DMError: Automation Error: Timeout in command execcwd' to be raised, since that infinitely retries." The bug is not that infinite retries are a possibility, it's that this suite on this platform is broken by not short-circuiting what would be infinite retries in every suite on android, if not for the way that every other suite takes care of timing out without winding up with a devicemanager error that retries.
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #4)
> No, the bug for that would be an unfiled "jittest on Android needs to handle
> timeouts internally rather than allowing 'mozdevice.devicemanager.DMError:
> Automation Error: Timeout in command execcwd' to be raised, since that
> infinitely retries." The bug is not that infinite retries are a possibility,
> it's that this suite on this platform is broken by not short-circuiting what
> would be infinite retries in every suite on android, if not for the way that
> every other suite takes care of timing out without winding up with a
> devicemanager error that retries.
Filed bug 1098529 to fix this.
Comment 6•9 years ago
|
||
Bug 1098529 has been fixed for a long time. Where do we stand on getting JIT tests running on Android 4.3?
Reporter | ||
Comment 7•9 years ago
|
||
Assuming this work is still relevant, I think gbrown would be the person to ask as I don't work on mobile stuff anymore. Chances are no one has mentioned getting the jit-tests running on 4.3 to him :)
Flags: needinfo?(gbrown)
Comment 8•9 years ago
|
||
I know nearly nothing about jit-tests. I should rectify that!
I'll schedule a trial run on 4.3 next week to see what needs to be done.
Assignee: nobody → gbrown
See Also: → 1146574
Comment 9•9 years ago
|
||
jit-tests masquerade as cppunit in https://treeherder.mozilla.org/#/jobs?repo=try&revision=9b6ec02c344a. It looks like this is a long-running test and will require at least 6 chunks. Most tests pass.
Flags: needinfo?(gbrown)
Comment 10•9 years ago
|
||
jit-tests run as 10 chunks, masquerading as mochitests: https://treeherder.mozilla.org/#/jobs?repo=try&revision=233b836bcb42
Comment 11•9 years ago
|
||
It looks like Android 4.3 Opt jit-tests would need to run as 10 chunks, with each job running in about 40 minutes, on c3.xlarge aws instances. On Android 4.3 Debug, jit-tests would need about 20 chunks.
Most tests pass, but there are at least 10 tests failing consistently. I do not see open bugs for these failures.
Updated•9 years ago
|
Flags: needinfo?(terrence)
Comment 12•9 years ago
|
||
:terrence -- Are jit-tests still desired on Android? How urgent, how important are they? We need someone to investigate and resolve test failures on Android before moving forward. Once tests run green on Android, there may also be a capacity issue, since it looks like these would need to run in many chunks (see details in my comments above).
Flags: needinfo?(terrence)
Comment 13•9 years ago
|
||
(In reply to Geoff Brown [:gbrown] from comment #12)
> :terrence -- Are jit-tests still desired on Android? How urgent, how
> important are they? We need someone to investigate and resolve test failures
> on Android before moving forward. Once tests run green on Android, there may
> also be a capacity issue, since it looks like these would need to run in
> many chunks (see details in my comments above).
It's sad that it takes over a compute-day to run these tests, but the existence of 10(!) previously unknown failures rather proves the point that these are *desperately* needed, no?
As to performance, we need to measure how much is harness and exec overhead -- maybe adding a fork server mode could cut down on the number of chunks.
Flags: needinfo?(terrence)
Comment 14•9 years ago
|
||
The failures here appear to be mostly in SIMD (see the tbpl link in comment 10). Are these known? Are there fixes in the pipeline?
Flags: needinfo?(nicolas.b.pierron)
Flags: needinfo?(benj)
Comment 15•9 years ago
|
||
I'll take care of the SIMD tests, these were unknown and need fixing, thanks for letting me know. However, most of the failing tests are *not* related to SIMD, see list below :)
All the failing tests are the following:
- jit-tests/jit-tests/tests/SIMD/shuffle.js (for nbp or me)
- jit-tests/jit-tests/tests/SIMD/swizzle.js
- jit-tests/jit-tests/tests/asm.js/testAtomics.js (that'd be for lth)
- jit-test/jit-test/tests/basic/spread-call-maxarg.js (i'd say jit-es6 features are for jandem, or efaust, without any certainty)
- jit-test/jit-test/tests/basic/spread-call-near-maxarg.js
- jit-test/tests/ctypes/conversion-finalizer.js (don't know who takes care of ctypes these days? sfink?)
- jit-test/jit-test/tests/ctypes/conversion-native-function.js
- jit-test/jit-test/tests/basic/bug1195452.js
- jit-test/jit-test/tests/basic/bug832203.js
- jit-test/jit-test/tests/gc/bug-1143706.js (terrence, jonco, sfink)
- jit-tests/tests/gc/incremental-abort.js
- jit-test/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType-unknown.js (Typed objects are probably for bhackett now)
- jit-test/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType.js
- jit-test/jit-test/tests/ion/inlining/isFiniteInline.js (till or h4writer, probably)
- jit-test/jit-test/tests/ion/inlining/isNaNInline.js
Comment 16•9 years ago
|
||
(In reply to Terrence Cole [:terrence] from comment #14)
> The failures here appear to be mostly in SIMD (see the tbpl link in comment
> 10). Are these known? Are there fixes in the pipeline?
I am not aware of these failure, at least not while running the test suite under the ARM simulator.
Geoff, can you paste/attach the /proc/cpuinfo of these phones?
Flags: needinfo?(nicolas.b.pierron)
Comment 17•9 years ago
|
||
(In reply to Benjamin Bouvier [:bbouvier] from comment #15)
> -
> jit-test/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType-
> unknown.js (Typed objects are probably for bhackett now)
> - jit-test/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType.js
These test are doing a timeout when I run them under the jit-test, but I recall seeing them finishing without.
Comment 18•9 years ago
|
||
The tests shown on treeherder are running in the Android arm emulator running Android 4.3. The emulator is running on an aws c3.xlarge instance. I'll fetch the /proc/cpuinfo from the emulator for you...
Flags: needinfo?(gbrown)
Comment 19•9 years ago
|
||
00:58:17 INFO - Running timeout 30 /builds/slave/test/build/android-sdk18/platform-tools/adb -s emulator-5554 shell cat /proc/cpuinfo
00:58:17 INFO - Processor : ARMv7 Processor rev 0 (v7l)
00:58:17 INFO - BogoMIPS : 602.93
00:58:17 INFO - Features : swp half thumb fastmult vfp edsp neon vfpv3
00:58:17 INFO - CPU implementer : 0x41
00:58:17 INFO - CPU architecture: 7
00:58:17 INFO - CPU variant : 0x0
00:58:17 INFO - CPU part : 0xc08
00:58:17 INFO - CPU revision : 0
00:58:17 INFO -
00:58:17 INFO - Hardware : Goldfish
00:58:17 INFO - Revision : 0000
00:58:17 INFO - Serial : 0000000000000000
00:58:17 INFO - Processor : ARMv7 Processor rev 0 (v7l)
00:58:17 INFO - BogoMIPS : 602.93
00:58:17 INFO - Features : swp half thumb fastmult vfp edsp neon vfpv3
00:58:17 INFO - CPU implementer : 0x41
00:58:17 INFO - CPU architecture: 7
00:58:17 INFO - CPU variant : 0x0
00:58:17 INFO - CPU part : 0xc08
00:58:17 INFO - CPU revision : 0
00:58:17 INFO -
00:58:17 INFO - Hardware : Goldfish
00:58:17 INFO - Revision : 0000
00:58:17 INFO - Serial : 0000000000000000
Flags: needinfo?(gbrown)
Comment 20•9 years ago
|
||
NI-self: We should check with the simulator, by setting the ARMHWCAP environment variable to the list of cpu features reported in comment 19.
Flags: needinfo?(nicolas.b.pierron)
Comment 21•9 years ago
|
||
(In reply to Geoff Brown [:gbrown] from comment #19)
> /builds/slave/test/build/android-sdk18/platform-tools/adb -s emulator-5554
> shell cat /proc/cpuinfo
> 00:58:17 INFO - Processor : ARMv7 Processor rev 0 (v7l)
> 00:58:17 INFO - BogoMIPS : 602.93
> 00:58:17 INFO - Features : swp half thumb fastmult vfp edsp neon vfpv3
While running the test suite with an optimized build running the ARM simulator, I was able to see 2 unexpected JS assertion:
- asm.js/testCaching.js
- asm.js/testBullet.js
These 2 failures disappear when I add "vfpv4" to the hardware feature list.
Updated•9 years ago
|
Flags: needinfo?(benj)
Updated•9 years ago
|
Assignee: gbrown → nobody
Comment 22•9 years ago
|
||
This patch fixes the issue seen in comment 21, which is related to the fact
that the cache was not working due to different hardware capabilities.
Unfortunately, this is unlikely to be fixing any of the test failure
reported in comment 15, and I am unable to reproduce any of these in the ARM
simulator (even with the CPU features listed in comment 19).
Attachment #8677480 -
Flags: review?(benj)
Comment 23•9 years ago
|
||
Lars, by chance, were you able to reproduce any of the comment 15 failures on real hardware?
Flags: needinfo?(nicolas.b.pierron) → needinfo?(lhansen)
Comment 24•9 years ago
|
||
Comment on attachment 8677480 [details] [diff] [review]
Propagate ARM_HWCAP command line options to the nested shell.
Review of attachment 8677480 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks. Maybe we should propagate all the other ARM flags as well. Or maybe it doesn't matter that much. Maybe.
Attachment #8677480 -
Flags: review?(benj) → review+
Comment 25•9 years ago
|
||
- jit-tests/jit-tests/tests/asm.js/testAtomics.js
Very likely fixed a couple of weeks back - code generation bug, illegal instruction format.
- jit-test/jit-test/tests/basic/spread-call-maxarg.js
- jit-test/jit-test/tests/basic/spread-call-near-maxarg.js
These two are https://bugzilla.mozilla.org/show_bug.cgi?id=1204605, qv for more detail.
- jit-test/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType-unknown.js
- jit-test/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType.js
These two were fixed yesterday (by moving them to manual-tests).
Flags: needinfo?(lhansen)
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Comment 26•8 years ago
|
||
Out of curiosity, why was this closed? This still sounds like a valuable target to reach, even if no actions have been taken recently towards that goal.
Comment 27•8 years ago
|
||
I would like to see it kept open. I think "Android 10+" may have made this sound obsolete. Also, we're not ready to schedule the tests, so let's make the bug title more generic. Let's move it to another component too...not sure we need releng involvement at this point.
Status: RESOLVED → REOPENED
Component: General Automation → General
Product: Release Engineering → Testing
QA Contact: catlee
Resolution: INCOMPLETE → ---
Summary: Please schedule Android 10+ jit-tests on all trunk trees and make them ride the trains → Run Android jit-tests
Version: other → unspecified
Comment 28•7 years ago
|
||
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2fc3d46a16e8
Add support for scheduling Android jit tests, but don't run them yet; r=me,a=test-only
Updated•7 years ago
|
Keywords: leave-open
Comment 29•7 years ago
|
||
bugherder |
Comment 30•7 years ago
|
||
:bc is currently looking into running jittest on Android hardware, including some changes in bug 1440714. He is also seeing test failures, which are being looked at in bug 1454918.
Assuming that work goes ahead, we can probably give up on the idea of jittest on the Android emulator, and dup this bug to one of bc's.
See Also: → 1454918
Updated•6 years ago
|
Depends on: arm64-baseline-tests
Updated•6 years ago
|
Depends on: 1454918
Keywords: leave-open
OS: Linux → Unspecified
Hardware: x86_64 → Unspecified
See Also: 1454918 →
Whiteboard: [geckoview:p3]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•