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

Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1' completed with the following status(es): 'FAILURE','SUCCESS' Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1' had the following logs when run: ================================================================================ [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1 [6997:7202:0319/124155.420089:2308108338:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [6997:7202:0319/124155.421056:2308109298:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [6997:6997:0319/124155.421259:2308109500:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [6997:6997:0319/124155.421318:2308109558:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [6997:6997:0319/124155.421458:2308109698:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [6997:6997:0319/124155.421621:2308109860:WARNING:enrollment_handler_chromeos.cc(794)] 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 0x7f9317f53f45 base::debug::StackTrace::StackTrace() #1 0x558bc9bea9b0 StackTraceGetter::CurrentStackTrace() #2 0x558bc9bf7c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x558bc9bf7813 testing::internal::AssertHelper::operator=() #4 0x558bc98ca16b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x558bc98cd9ab 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 0x7f9317f53f45 base::debug::StackTrace::StackTrace() #1 0x558bc9bea9b0 StackTraceGetter::CurrentStackTrace() #2 0x558bc9bf7c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x558bc9bf7813 testing::internal::AssertHelper::operator=() #4 0x558bc98ca237 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x558bc98cd9ab policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::TestBody() [6997:6997:0319/124155.598437:2308286684: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 0x7f9317f53f45 base::debug::StackTrace::StackTrace() #1 0x558bc9bea9b0 StackTraceGetter::CurrentStackTrace() #2 0x558bc9bf7c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x558bc9bf7813 testing::internal::AssertHelper::operator=() #4 0x558bc9be3173 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x558bc76ef9f8 testing::internal::Expect() #6 0x558bc9be6355 testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith() #7 0x558bc76f9b97 testing::internal::FunctionMocker<>::Invoke() #8 0x558bc98cdfc7 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::OnUnregistered() #9 0x558bc98ce33a base::internal::FunctorTraits<>::Invoke<>() #10 0x558bc98ce226 base::internal::InvokeHelper<>::MakeItSo<>() #11 0x558bc98ce1b7 _ZN4base8internal7InvokerINS0_9BindStateIMN6policy12_GLOBAL__N_146DeviceCloudPolicyManagerChromeOSEnrollmentTestEFvbEJNS0_17UnretainedWrapperINS4_70DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_TestEEEEEEFvbEE7RunImplIRKS7_RKNSt4__Cr5tupleIJSA_EEEJLm0EEEEvOT_OT0_NSH_16integer_sequenceImJXspT1_EEEEOb #12 0x558bc98ce0e0 base::internal::Invoker<>::Run() #13 0x558bc782ee2e _ZNKR4base17RepeatingCallbackIFvbEE3RunEb #14 0x558bcb83c5b1 policy::DeviceCloudPolicyManagerChromeOS::Unregister() #15 0x558bc98cde26 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 0x7f9317f53f45 base::debug::StackTrace::StackTrace() #1 0x558bc9bea9b0 StackTraceGetter::CurrentStackTrace() #2 0x558bc9bf7c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x558bc9bf7813 testing::internal::AssertHelper::operator=() #4 0x558bc9be3173 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x558bc76ef9f8 testing::internal::Expect() #6 0x558bc9be684d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x558bc7f634c1 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x558bc98c861e policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #9 0x558bc98cd945 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #10 0x558bc98cd969 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #11 0x558bc7666b9b 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 0x7f9317f53f45 base::debug::StackTrace::StackTrace() #1 0x558bc9bea9b0 StackTraceGetter::CurrentStackTrace() #2 0x558bc9bf7c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x558bc9bf7813 testing::internal::AssertHelper::operator=() #4 0x558bc9be3173 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x558bc76ef9f8 testing::internal::Expect() #6 0x558bc9be684d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x558bcfcdeb01 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x558bcfcde0e3 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x558bc98c2987 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x558bc98c863c policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x558bc98cd945 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #12 0x558bc98cd969 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #13 0x558bc7666b9b 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 0x7f9317f53f45 base::debug::StackTrace::StackTrace() #1 0x558bc9bea9b0 StackTraceGetter::CurrentStackTrace() #2 0x558bc9bf7c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x558bc9bf7813 testing::internal::AssertHelper::operator=() #4 0x558bc9be3173 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x558bc76ef9f8 testing::internal::Expect() #6 0x558bc9be684d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x558bcfcdeb81 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x558bcfcde0f5 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x558bc98c2987 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x558bc98c863c policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x558bc98cd945 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #12 0x558bc98cd969 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #13 0x558bc7666b9b base::RefCounted<>::DeleteInternal<>() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1, where GetParam() = true (1151 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1 [8136:8139:0319/124221.746785:2334435174:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [8136:8139:0319/124221.747398:2334435638:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [8136:8136:0319/124221.749455:2334437694:INFO:remote_commands_service.cc(38)] Fetching remote commands. [8136:8136:0319/124221.749789:2334438027:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x326b9ebc02a0) 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. [8136:8136:0319/124221.750853:2334439091:INFO:system_log_uploader.cc(237)] Creating system log uploader. [8136:8136:0319/124221.750974:2334439211: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. [8136:8136:0319/124221.751754:2334439992:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [8136:8136:0319/124221.751855:2334440092: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. [8136:8136:0319/124221.753697:2334441935:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1 (127 ms) ================================================================================