I 0.000s Main command: src/out/Debug/bin/../../../build/android/test_runner.py junit --output-directory src/out/Debug/bin/../. --test-suite components_variations_junit_tests --resource-apk src/out/Debug/bin/../gen/components/variations/android/components_variations_junit_tests.ap_ --robolectric-runtime-deps-dir src/out/Debug/bin/../lib.java/third_party/robolectric --verbose --json-results-file /b/s/w/ir/tmp/t/tmpgaycdH.json I 0.005s Main ['/b/s/w/ir/cache/builder/src/out/Debug/bin/helper/components_variations_junit_tests', '--jar-args', '"-test-jars components_variations_junit_tests.jar -json-results-file /b/s/w/ir/tmp/t/tmp1wQ9CB/results.json"', '--jvm-args', '"-Drobolectric.dependency.dir=src/out/Debug/bin/../lib.java/third_party/robolectric -Ddir.source.root=/b/s/w/ir/cache/builder/src -Drobolectric.resourcesMode=binary -Dchromium.robolectric.resource.ap_=src/out/Debug/bin/../gen/components/variations/android/components_variations_junit_tests.ap_ -Drobolectric.logging=stdout"'] [==========] Running 5 tests. [----------] Global test environment set-up. [----------] Run 5 test cases from org.chromium.components.variations.firstrun.VariationsSeedFetcherTest [ RUN ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testGetConnectionString_HasParams [Robolectric] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testGetConnectionString_HasParams: 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@26f67b76', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76' IMPORTANT NOTE FROM MOCKITO: You included the 'mockito-android' dependency in a non-Android environment. The Android mock maker was disabled. You should only include the latter in your 'androidTestCompile' configuration If disabling was a mistake, you can set the 'org.mockito.mock.android' property to 'true' to override this detection. Visit https://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.1 for more information [ OK ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testGetConnectionString_HasParams (4480 ms) [ RUN ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_badResponse [Robolectric] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_badResponse: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76' W/cr_VariationsSeedFetch: Non-OK response code = 404 W/cr_VariationsSeedFetch: IOException when fetching variations seed. java.io.IOException: Non-OK response code = 404 at org.chromium.components.variations.firstrun.VariationsSeedFetcher.downloadContent(VariationsSeedFetcher.java:242) at org.chromium.components.variations.firstrun.VariationsSeedFetcher$MockitoMock$1055981955.downloadContent$accessor$zBay4U1k(Unknown Source) at org.chromium.components.variations.firstrun.VariationsSeedFetcher$MockitoMock$1055981955$auxiliary$oHG70idN.call(Unknown Source) at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40) at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62) at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:127) at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:43) at org.mockito.Answers.answer(Answers.java:100) at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:104) at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:63) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:110) at org.chromium.components.variations.firstrun.VariationsSeedFetcher$MockitoMock$1055981955.downloadContent(Unknown Source) at org.chromium.components.variations.firstrun.VariationsSeedFetcher.fetchSeed(VariationsSeedFetcher.java:177) at org.chromium.components.variations.firstrun.VariationsSeedFetcher$MockitoMock$1055981955.fetchSeed$accessor$zBay4U1k(Unknown Source) at org.chromium.components.variations.firstrun.VariationsSeedFetcher$MockitoMock$1055981955$auxiliary$4q1tTvHv.call(Unknown Source) at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40) at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62) at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:127) at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:43) at org.mockito.Answers.answer(Answers.java:100) at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:104) at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:63) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:110) at org.chromium.components.variations.firstrun.VariationsSeedFetcher$MockitoMock$1055981955.fetchSeed(Unknown Source) at org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_badResponse(VariationsSeedFetcherTest.java:124) 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.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 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) E/cr_VariationsSeedFetch: IOException when fetching variations seed. java.io.IOException: Non-OK response code = 404 at org.chromium.components.variations.firstrun.VariationsSeedFetcher.downloadContent(VariationsSeedFetcher.java:242) at org.chromium.components.variations.firstrun.VariationsSeedFetcher.fetchSeed(VariationsSeedFetcher.java:177) at org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_badResponse(VariationsSeedFetcherTest.java:124) 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.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 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.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_badResponse (65 ms) [ RUN ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_IOException [Robolectric] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_IOException: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76' W/cr_VariationsSeedFetch: IOException when fetching variations seed. java.io.IOException at org.chromium.components.variations.firstrun.VariationsSeedFetcher.downloadContent(VariationsSeedFetcher.java:236) at org.chromium.components.variations.firstrun.VariationsSeedFetcher.fetchSeed(VariationsSeedFetcher.java:177) at org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_IOException(VariationsSeedFetcherTest.java:137) 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.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 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) E/cr_VariationsSeedFetch: IOException when fetching variations seed. java.io.IOException at org.chromium.components.variations.firstrun.VariationsSeedFetcher.downloadContent(VariationsSeedFetcher.java:236) at org.chromium.components.variations.firstrun.VariationsSeedFetcher.fetchSeed(VariationsSeedFetcher.java:177) at org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_IOException(VariationsSeedFetcherTest.java:137) 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.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 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.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_IOException (51 ms) [ RUN ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed [Robolectric] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76' I/cr_VariationsSeedFetch: Fetched first run seed in 0 ms [ OK ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed (63 ms) [ RUN ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_noFetchNeeded [Robolectric] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_noFetchNeeded: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@26f67b76' [ OK ] org.chromium.components.variations.firstrun.VariationsSeedFetcherTest.testFetchSeed_noFetchNeeded (49 ms) [----------] Run 5 test cases from org.chromium.components.variations.firstrun.VariationsSeedFetcherTest (4714 ms) [----------] Global test environment tear-down. [==========] 5 tests ran. (4715 ms total) [ PASSED ] 5 tests. C 5.235s Main ******************************************************************************** C 5.235s Main Summary C 5.235s Main ******************************************************************************** C 5.236s Main [==========] 5 tests ran. C 5.236s Main [ PASSED ] 5 tests. C 5.236s Main ******************************************************************************** I 5.236s Main Generated json results file at /b/s/w/ir/tmp/t/tmpHzmLs0 I 5.237s Main Finishing archiving output.