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_policy_junit_tests --resource-apk src/out/Release/bin/../gen/components/policy/android/components_policy_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/tmpxnbkKc.json I 0.005s Main ['/b/swarming/w/ir/cache/builder/src/out/Release/bin/helper/components_policy_junit_tests', '--jar-args', '"-test-jars components_policy_junit_tests.jar -json-results-file /b/swarming/w/ir/tmp/t/tmpH4QNMd/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/policy/android/components_policy_junit_tests.ap_ -Drobolectric.logging=stdout"'] [==========] Running 12 tests. [----------] Global test environment set-up. [----------] Run 3 test cases from org.chromium.policy.AbstractAppRestrictionsProviderTest [ RUN ] org.chromium.policy.AbstractAppRestrictionsProviderTest.testStopListening [Robolectric] org.chromium.policy.AbstractAppRestrictionsProviderTest.testStopListening: 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@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' 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.policy.AbstractAppRestrictionsProviderTest.testStopListening (4540 ms) [ RUN ] org.chromium.policy.AbstractAppRestrictionsProviderTest.testRefresh [Robolectric] org.chromium.policy.AbstractAppRestrictionsProviderTest.testRefresh: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.AbstractAppRestrictionsProviderTest.testRefresh (134 ms) [ RUN ] org.chromium.policy.AbstractAppRestrictionsProviderTest.testStartListeningForPolicyChanges [Robolectric] org.chromium.policy.AbstractAppRestrictionsProviderTest.testStartListeningForPolicyChanges: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.AbstractAppRestrictionsProviderTest.testStartListeningForPolicyChanges (29 ms) [----------] Run 3 test cases from org.chromium.policy.AbstractAppRestrictionsProviderTest (4705 ms) [----------] Run 7 test cases from org.chromium.policy.CombinedPolicyProviderTest [ RUN ] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_secondProvider [Robolectric] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_secondProvider: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_secondProvider (88 ms) [ RUN ] org.chromium.policy.CombinedPolicyProviderTest.testTerminateIncognitoSession [Robolectric] org.chromium.policy.CombinedPolicyProviderTest.testTerminateIncognitoSession: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.CombinedPolicyProviderTest.testTerminateIncognitoSession (49 ms) [ RUN ] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_noNative [Robolectric] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_noNative: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_noNative (30 ms) [ RUN ] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_oneProvider [Robolectric] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_oneProvider: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.CombinedPolicyProviderTest.testOnSettingsAvailable_oneProvider (30 ms) [ RUN ] org.chromium.policy.CombinedPolicyProviderTest.testDestroy [Robolectric] org.chromium.policy.CombinedPolicyProviderTest.testDestroy: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.CombinedPolicyProviderTest.testDestroy (54 ms) [ RUN ] org.chromium.policy.CombinedPolicyProviderTest.testRefreshPolicies [Robolectric] org.chromium.policy.CombinedPolicyProviderTest.testRefreshPolicies: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.CombinedPolicyProviderTest.testRefreshPolicies (29 ms) [ RUN ] org.chromium.policy.CombinedPolicyProviderTest.testRegisterProvider [Robolectric] org.chromium.policy.CombinedPolicyProviderTest.testRegisterProvider: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@337d0578' [ OK ] org.chromium.policy.CombinedPolicyProviderTest.testRegisterProvider (21 ms) [----------] Run 7 test cases from org.chromium.policy.CombinedPolicyProviderTest (302 ms) [----------] Run 1 test cases from org.chromium.policy.PolicyConverterTest [ RUN ] org.chromium.policy.PolicyConverterTest.testSetPolicy [Robolectric] org.chromium.policy.PolicyConverterTest.testSetPolicy: sdk=21; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@41f35f7c', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@41f35f7c' 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.policy.PolicyConverterTest.testSetPolicy (1803 ms) [----------] Run 1 test cases from org.chromium.policy.PolicyConverterTest (1804 ms) [----------] Run 1 test cases from org.chromium.policy.test.annotations.PoliciesTest [ RUN ] org.chromium.policy.test.annotations.PoliciesTest.testGetPolicies [ OK ] org.chromium.policy.test.annotations.PoliciesTest.testGetPolicies (8 ms) [----------] Run 1 test cases from org.chromium.policy.test.annotations.PoliciesTest (9 ms) [----------] Global test environment tear-down. [==========] 12 tests ran. (6822 ms total) [ PASSED ] 12 tests. C 7.375s Main ******************************************************************************** C 7.375s Main Summary C 7.375s Main ******************************************************************************** C 7.376s Main [==========] 12 tests ran. C 7.376s Main [ PASSED ] 12 tests. C 7.376s Main ******************************************************************************** I 7.376s Main Generated json results file at /b/swarming/w/ir/tmp/t/tmpVflTEm I 7.377s Main Finishing archiving output.