Back to build
Raw log | Switch to full mode | Login

I 0.000s Main command: src/out/Release/bin/../../../build/android/test_runner.py junit --output-directory src/out/Release/bin/../. --test-suite components_gcm_driver_junit_tests --resource-apk src/out/Release/bin/../gen/components/gcm_driver/android/components_gcm_driver_junit_tests.ap_ --robolectric-runtime-deps-dir src/out/Release/bin/../lib.java/third_party/robolectric --verbose --release --json-results-file /b/swarming/w/ir/tmp/t/tmpdJQUAo.json I 0.004s Main ['/b/swarming/w/ir/cache/builder/src/out/Release/bin/helper/components_gcm_driver_junit_tests', '--jar-args', '"-test-jars components_gcm_driver_junit_tests.jar -json-results-file /b/swarming/w/ir/tmp/t/tmpUfgv9P/results.json"', '--jvm-args', '"-Drobolectric.dependency.dir=src/out/Release/bin/../lib.java/third_party/robolectric -Ddir.source.root=/b/swarming/w/ir/cache/builder/src -Drobolectric.resourcesMode=binary -Dchromium.robolectric.resource.ap_=src/out/Release/bin/../gen/components/gcm_driver/android/components_gcm_driver_junit_tests.ap_ -Drobolectric.logging=stdout"'] [==========] Running 19 tests. [----------] Global test environment set-up. [----------] Run 7 test cases from org.chromium.components.gcm_driver.GCMMessageTest [ RUN ] org.chromium.components.gcm_driver.GCMMessageTest.testRawDataSerializationToJSON [Robolectric] org.chromium.components.gcm_driver.GCMMessageTest.testRawDataSerializationToJSON: sdk=28; resources=binary Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28 I/AssetManager: no overlays.list file found I/PackageBackwardCompatibility: Could not find android.content.pm.OrgApacheHttpLegacyUpdater, ignoring I/PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199' [ OK ] org.chromium.components.gcm_driver.GCMMessageTest.testRawDataSerializationToJSON (3586 ms) [ RUN ] org.chromium.components.gcm_driver.GCMMessageTest.testSerializationToJSON [Robolectric] org.chromium.components.gcm_driver.GCMMessageTest.testSerializationToJSON: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199' [ OK ] org.chromium.components.gcm_driver.GCMMessageTest.testSerializationToJSON (37 ms) [ RUN ] org.chromium.components.gcm_driver.GCMMessageTest.testRawDataSerializationBehaviour [Robolectric] org.chromium.components.gcm_driver.GCMMessageTest.testRawDataSerializationBehaviour: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199' [ OK ] org.chromium.components.gcm_driver.GCMMessageTest.testRawDataSerializationBehaviour (32 ms) [ RUN ] org.chromium.components.gcm_driver.GCMMessageTest.testFiltersExtraBundle [Robolectric] org.chromium.components.gcm_driver.GCMMessageTest.testFiltersExtraBundle: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199' W/Bundle: Key rawData expected byte[] but value was a java.lang.String. The default value <null> was returned. W/Bundle: Attempt to cast generated internal exception: java.lang.ClassCastException: java.lang.String cannot be cast to [B at android.os.BaseBundle.$$robo$$android_os_BaseBundle$getByteArray(BaseBundle.java:1348) at android.os.BaseBundle.getByteArray(BaseBundle.java) at android.os.Bundle.$$robo$$android_os_Bundle$getByteArray(Bundle.java:1090) at android.os.Bundle.getByteArray(Bundle.java) at org.chromium.components.gcm_driver.GCMMessage.<init>(GCMMessage.java:101) at org.chromium.components.gcm_driver.GCMMessageTest.testFiltersExtraBundle(GCMMessageTest.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:600) at org.robolectric.internal.SandboxTestRunner$2.evaluate(SandboxTestRunner.java:260) at org.robolectric.internal.SandboxTestRunner.runChild(SandboxTestRunner.java:130) at org.robolectric.internal.SandboxTestRunner.runChild(SandboxTestRunner.java:42) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.robolectric.internal.SandboxTestRunner$1.evaluate(SandboxTestRunner.java:84) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.chromium.testing.local.GtestComputer$GtestSuiteRunner.run(GtestComputer.java:48) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.chromium.testing.local.JunitTestMain.main(JunitTestMain.java:105) [ OK ] org.chromium.components.gcm_driver.GCMMessageTest.testFiltersExtraBundle (33 ms) [ RUN ] org.chromium.components.gcm_driver.GCMMessageTest.testNullOriginalPriority [Robolectric] org.chromium.components.gcm_driver.GCMMessageTest.testNullOriginalPriority: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199' [ OK ] org.chromium.components.gcm_driver.GCMMessageTest.testNullOriginalPriority (30 ms) [ RUN ] org.chromium.components.gcm_driver.GCMMessageTest.testCreateMessageFromGCM [Robolectric] org.chromium.components.gcm_driver.GCMMessageTest.testCreateMessageFromGCM: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199' [ OK ] org.chromium.components.gcm_driver.GCMMessageTest.testCreateMessageFromGCM (28 ms) [ RUN ] org.chromium.components.gcm_driver.GCMMessageTest.testSerializationToPersistableBundle [Robolectric] org.chromium.components.gcm_driver.GCMMessageTest.testSerializationToPersistableBundle: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@2669b199' [ OK ] org.chromium.components.gcm_driver.GCMMessageTest.testSerializationToPersistableBundle (30 ms) [----------] Run 7 test cases from org.chromium.components.gcm_driver.GCMMessageTest (3781 ms) [----------] Run 12 test cases from org.chromium.components.gcm_driver.LazySubscriptionsManagerTest [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testHasPersistedMessages [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testHasPersistedMessages: sdk=28; resources=binary Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28 I/AssetManager: no overlays.list file found I/PackageBackwardCompatibility: Could not find android.content.pm.OrgApacheHttpLegacyUpdater, ignoring I/PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testHasPersistedMessages (2241 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testReadingPersistedMessage [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testReadingPersistedMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testReadingPersistedMessage (94 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMigrateHasPersistedMessagesPref [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMigrateHasPersistedMessagesPref: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMigrateHasPersistedMessagesPref (76 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testSwitchingFromLazyToUnlazy [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testSwitchingFromLazyToUnlazy: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testSwitchingFromLazyToUnlazy (70 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testPersistingMessageCount [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testPersistingMessageCount: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' W/cr_LazySubscriptions: Dropping GCM Message due queue size limit. Sender id:MySenderId W/cr_LazySubscriptions: Dropping GCM Message due queue size limit. Sender id:MySenderId W/cr_LazySubscriptions: Dropping GCM Message due queue size limit. Sender id:MySenderId W/cr_LazySubscriptions: Dropping GCM Message due queue size limit. Sender id:MySenderId W/cr_LazySubscriptions: Dropping GCM Message due queue size limit. Sender id:MySenderId [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testPersistingMessageCount (128 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMarkSubscriptionAsLazy [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMarkSubscriptionAsLazy: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMarkSubscriptionAsLazy (40 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testCollapseKeyCollision [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testCollapseKeyCollision: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' I/cr_LazySubscriptions: Dropping GCM Message due to collapse key collision. Sender id:MySenderId [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testCollapseKeyCollision (53 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMarkSubscriptionAsNotLazy [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMarkSubscriptionAsNotLazy: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testMarkSubscriptionAsNotLazy (26 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testGetLazySubscriptionIds [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testGetLazySubscriptionIds: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testGetLazySubscriptionIds (49 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testDeletePersistedMessages [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testDeletePersistedMessages: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testDeletePersistedMessages (57 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testSwitchingFromLazyToUnlazyAndBackToLazy [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testSwitchingFromLazyToUnlazyAndBackToLazy: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testSwitchingFromLazyToUnlazyAndBackToLazy (53 ms) [ RUN ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testDefaultSubscriptionNotLazy [Robolectric] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testDefaultSubscriptionNotLazy: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@bc57b40' [ OK ] org.chromium.components.gcm_driver.LazySubscriptionsManagerTest.testDefaultSubscriptionNotLazy (22 ms) [----------] Run 12 test cases from org.chromium.components.gcm_driver.LazySubscriptionsManagerTest (2913 ms) [----------] Global test environment tear-down. [==========] 19 tests ran. (6696 ms total) [ PASSED ] 19 tests. C 7.259s Main ******************************************************************************** C 7.259s Main Summary C 7.259s Main ******************************************************************************** C 7.259s Main [==========] 19 tests ran. C 7.259s Main [ PASSED ] 19 tests. C 7.259s Main ******************************************************************************** I 7.260s Main Generated json results file at /b/swarming/w/ir/tmp/t/tmpc1jiQc I 7.260s Main Finishing archiving output.