blimp_test_apk failing on Android Tests (dbg) |
||||
Issue description
Error:
detected failure in org.chromium.blimp.core.BlimpContentsTest#testBasic. raw output:
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
org.chromium.blimp.core.BlimpContentsTest:
INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
INSTRUMENTATION_STATUS: test=testBasic
INSTRUMENTATION_STATUS: class=org.chromium.blimp.core.BlimpContentsTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
Error in testBasic:
java.lang.AssertionError
at org.chromium.base.ThreadUtils.assertOnUiThread(ThreadUtils.java:192)
at org.chromium.blimp.BlimpLibraryLoader.startAsync(BlimpLibraryLoader.java:68)
at org.chromium.blimp.BlimpNativeInstrumentationTestCase.setUp(BlimpNativeInstrumentationTestCase.java:23)
at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:129)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
INSTRUMENTATION_STATUS: test=testBasic
INSTRUMENTATION_STATUS: class=org.chromium.blimp.core.BlimpContentsTest
INSTRUMENTATION_STATUS: stack=java.lang.AssertionError
at org.chromium.base.ThreadUtils.assertOnUiThread(ThreadUtils.java:192)
at org.chromium.blimp.BlimpLibraryLoader.startAsync(BlimpLibraryLoader.java:68)
at org.chromium.blimp.BlimpNativeInstrumentationTestCase.setUp(BlimpNativeInstrumentationTestCase.java:23)
at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:129)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: -1
INSTRUMENTATION_RESULT: stream=
Test results for BaseChromiumInstrumentationTestRunner=.E
Time: 0.013
https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/34980/steps/Instrumentation%20test%20blimp_test_apk/logs/stdio
Sadly, before that the bot was failing due to other reasons (issue 612151), and we have a long blame list. Trying to figure that out now.
,
Jun 22 2016
Interesting thing, this fails on: - Android Tests (dbg) (N5 on K) - KitKat Tablet Tester - Jelly Bean Tester But *not* on: - Lollipop Phone Tester - Lollipop Tablet Tester - Lollipop Low-end Tester - Marshmallow Tablet Tester So the breakage is only pre-L?
,
Jun 22 2016
Ah, the failing test was just introduced by org.chromium.blimp.core.BlimpContentsTest, so strongly suspecting 986f860c8fc6361d727a9ccd3c8cd44727b6f5ca Sorry Tommy. Will do a quick test to see if I can repro.
,
Jun 22 2016
Still unable to repro, but will try disabling the test. Hopefully this will bring the bots back to green. Disabling here: https://codereview.chromium.org/2088203002/
,
Jun 22 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fce9b790fd74aad8fffc86468b85dbba9d8ff34a commit fce9b790fd74aad8fffc86468b85dbba9d8ff34a Author: perezju <perezju@chromium.org> Date: Wed Jun 22 11:07:06 2016 Disable org.chromium.blimp.core.BlimpContentsTest#testBasic Test is failing on pre-L devices. BUG= 622236 TBR=nyquist@chromium.org,dtrainor@chromium.org Review-Url: https://codereview.chromium.org/2088203002 Cr-Commit-Position: refs/heads/master@{#401251} [modify] https://crrev.com/fce9b790fd74aad8fffc86468b85dbba9d8ff34a/blimp/client/app/android/javatests/src/org/chromium/blimp/core/BlimpContentsTest.java
,
Jun 22 2016
Lowering priority as this is not blocking bots anymore
,
Jul 6 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/58701445475f240357b16f4fd2bb46a489247f7d commit 58701445475f240357b16f4fd2bb46a489247f7d Author: nyquist <nyquist@chromium.org> Date: Wed Jul 06 23:06:58 2016 Fix blimp native Java tests on platforms with assert. The BlimpNativeInstrumentationTestCase wrapper for blimp tests that need to load native code to run was not using the UI thread for loading the library. There was an assert checking for this, but this doesn't execute on newer platforms, so was not caught during development or in the CQ. This CL fixes the issue by ensuring that the library is loaded on the correct thread. BUG= 622236 Review-Url: https://codereview.chromium.org/2124143002 Cr-Commit-Position: refs/heads/master@{#403965} [modify] https://crrev.com/58701445475f240357b16f4fd2bb46a489247f7d/blimp/client/app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTestCase.java [modify] https://crrev.com/58701445475f240357b16f4fd2bb46a489247f7d/blimp/client/app/android/javatests/src/org/chromium/blimp/core/BlimpContentsTest.java
,
Aug 16 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by perezju@chromium.org
, Jun 22 2016