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

Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0' completed with the following status(es): 'FAILURE','SUCCESS' Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0' had the following logs when run: ================================================================================ [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 [28564:28708:0309/081248.842884:1530015747:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [28564:28715:0309/081248.843751:1530016596:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [28564:28564:0309/081248.843963:1530016862:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [28564:28564:0309/081248.844087:1530016929:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [28564:28564:0309/081248.844224:1530017066:ERROR:enrollment_handler_chromeos.cc(405)] Error in device policy store. [28564:28564:0309/081248.844362:1530017204:WARNING:enrollment_handler_chromeos.cc(796)] Enrollment failed: 12, client: 0, validation: 0, store: 1, lock: 0 ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:483: Failure Expected equality of these values: EnrollmentStatus::SUCCESS Which is: 0 status_.status() Which is: 12 Stack trace: #0 0x7fc82ef4ef45 base::debug::StackTrace::StackTrace() #1 0x560753cb7ea0 StackTraceGetter::CurrentStackTrace() #2 0x560753cc5157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x560753cc4ce3 testing::internal::AssertHelper::operator=() #4 0x560753998a2b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x56075399c26b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::TestBody() ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:484: Failure Value of: manager_->core()->client() Actual: false Expected: true Stack trace: #0 0x7fc82ef4ef45 base::debug::StackTrace::StackTrace() #1 0x560753cb7ea0 StackTraceGetter::CurrentStackTrace() #2 0x560753cc5157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x560753cc4ce3 testing::internal::AssertHelper::operator=() #4 0x560753998af7 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x56075399c26b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::TestBody() [28564:28564:0309/081249.018605:1530191455:ERROR:device_cloud_policy_manager_chromeos.cc(338)] Tried to unregister but DeviceCloudPolicyManagerChromeOS is not connected. unknown file: Failure Unexpected mock function call - returning directly. Function call: OnUnregistered(false) Google Mock tried the following 1 expectation, but it didn't match: ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:786: EXPECT_CALL(*this, OnUnregistered(true))... Expected arg #0: is equal to true Actual: false Expected: to be called once Actual: never called - unsatisfied and active Stack trace: #0 0x7fc82ef4ef45 base::debug::StackTrace::StackTrace() #1 0x560753cb7ea0 StackTraceGetter::CurrentStackTrace() #2 0x560753cc5157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x560753cc4ce3 testing::internal::AssertHelper::operator=() #4 0x560753cb0663 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x5607517c4f18 testing::internal::Expect() #6 0x560753cb3845 testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith() #7 0x5607517ced37 testing::internal::FunctionMocker<>::Invoke() #8 0x56075399c887 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::OnUnregistered() #9 0x56075399cbfa base::internal::FunctorTraits<>::Invoke<>() #10 0x56075399cae6 base::internal::InvokeHelper<>::MakeItSo<>() #11 0x56075399ca77 _ZN4base8internal7InvokerINS0_9BindStateIMN6policy12_GLOBAL__N_146DeviceCloudPolicyManagerChromeOSEnrollmentTestEFvbEJNS0_17UnretainedWrapperINS4_70DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_TestEEEEEEFvbEE7RunImplIRKS7_RKNSt4__Cr5tupleIJSA_EEEJLm0EEEEvOT_OT0_NSH_16integer_sequenceImJXspT1_EEEEOb #12 0x56075399c9a0 base::internal::Invoker<>::Run() #13 0x56075190ad8e _ZNKR4base17RepeatingCallbackIFvbEE3RunEb #14 0x5607558cf6a1 policy::DeviceCloudPolicyManagerChromeOS::Unregister() #15 0x56075399c6e6 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::TestBody() GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Disconnect() NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:786: Failure Actual function call count doesn't match EXPECT_CALL(*this, OnUnregistered(true))... Expected: to be called once Actual: never called - unsatisfied and active Stack trace: #0 0x7fc82ef4ef45 base::debug::StackTrace::StackTrace() #1 0x560753cb7ea0 StackTraceGetter::CurrentStackTrace() #2 0x560753cc5157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x560753cc4ce3 testing::internal::AssertHelper::operator=() #4 0x560753cb0663 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x5607517c4f18 testing::internal::Expect() #6 0x560753cb3d3d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x56075204c871 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x560753996ede policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #9 0x56075399c205 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #10 0x56075399c229 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #11 0x560751737f3b base::RefCounted<>::DeleteInternal<>() ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:785: Failure Actual function call count doesn't match EXPECT_CALL(device_management_service_, StartJob(_, _, _, _, _, _, _))... Expected: to be called once Actual: never called - unsatisfied and active Stack trace: #0 0x7fc82ef4ef45 base::debug::StackTrace::StackTrace() #1 0x560753cb7ea0 StackTraceGetter::CurrentStackTrace() #2 0x560753cc5157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x560753cc4ce3 testing::internal::AssertHelper::operator=() #4 0x560753cb0663 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x5607517c4f18 testing::internal::Expect() #6 0x560753cb3d3d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x560759d57e81 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x560759d57463 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x560753991247 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x560753996efc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x56075399c205 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #12 0x56075399c229 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #13 0x560751737f3b base::RefCounted<>::DeleteInternal<>() ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:783: Failure Actual function call count doesn't match EXPECT_CALL(device_management_service_, CreateJob(DeviceManagementRequestJob::TYPE_UNREGISTRATION, _))... Expected: to be called once Actual: never called - unsatisfied and active Stack trace: #0 0x7fc82ef4ef45 base::debug::StackTrace::StackTrace() #1 0x560753cb7ea0 StackTraceGetter::CurrentStackTrace() #2 0x560753cc5157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x560753cc4ce3 testing::internal::AssertHelper::operator=() #4 0x560753cb0663 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x5607517c4f18 testing::internal::Expect() #6 0x560753cb3d3d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x560759d57f01 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x560759d57475 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x560753991247 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x560753996efc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x56075399c205 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #12 0x56075399c229 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #13 0x560751737f3b base::RefCounted<>::DeleteInternal<>() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0, where GetParam() = false (1202 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 [29705:29708:0309/081321.160914:1562333792:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [29705:29705:0309/081321.163008:1562335853:INFO:remote_commands_service.cc(38)] Fetching remote commands. [29705:29705:0309/081321.163376:1562336218:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x7d5675cbac0) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [29705:29705:0309/081321.164535:1562337375:INFO:system_log_uploader.cc(237)] Creating system log uploader. [29705:29705:0309/081321.164694:1562337535:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 0 s from now. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnDeviceCloudPolicyManagerConnected() NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [29705:29705:0309/081321.165582:1562338422:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [29705:29705:0309/081321.165682:1562338521:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Disconnect() NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details. [29705:29705:0309/081321.167469:1562340309:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 (126 ms) ================================================================================