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 [24085:24202:0317/000751.774187:30661566578:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [24085:24202:0317/000751.775222:30661567606:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [24085:24085:0317/000751.775426:30661567809:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [24085:24085:0317/000751.775491:30661567871:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [24085:24085:0317/000751.775672:30661568055:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [24085:24085:0317/000751.775829:30661568211: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 0x7f968601af45 base::debug::StackTrace::StackTrace() #1 0x55d43fdd7710 StackTraceGetter::CurrentStackTrace() #2 0x55d43fde49c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55d43fde4553 testing::internal::AssertHelper::operator=() #4 0x55d43fab6afb policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x55d43faba33b 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 0x7f968601af45 base::debug::StackTrace::StackTrace() #1 0x55d43fdd7710 StackTraceGetter::CurrentStackTrace() #2 0x55d43fde49c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55d43fde4553 testing::internal::AssertHelper::operator=() #4 0x55d43fab6bc7 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x55d43faba33b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::TestBody() [24085:24085:0317/000751.952323:30661744711: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 0x7f968601af45 base::debug::StackTrace::StackTrace() #1 0x55d43fdd7710 StackTraceGetter::CurrentStackTrace() #2 0x55d43fde49c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55d43fde4553 testing::internal::AssertHelper::operator=() #4 0x55d43fdcfed3 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x55d43d8cfb78 testing::internal::Expect() #6 0x55d43fdd30b5 testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith() #7 0x55d43d8d9d17 testing::internal::FunctionMocker<>::Invoke() #8 0x55d43faba957 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::OnUnregistered() #9 0x55d43fabacca base::internal::FunctorTraits<>::Invoke<>() #10 0x55d43fababb6 base::internal::InvokeHelper<>::MakeItSo<>() #11 0x55d43fabab47 _ZN4base8internal7InvokerINS0_9BindStateIMN6policy12_GLOBAL__N_146DeviceCloudPolicyManagerChromeOSEnrollmentTestEFvbEJNS0_17UnretainedWrapperINS4_70DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_TestEEEEEEFvbEE7RunImplIRKS7_RKNSt4__Cr5tupleIJSA_EEEJLm0EEEEvOT_OT0_NSH_16integer_sequenceImJXspT1_EEEEOb #12 0x55d43fabaa70 base::internal::Invoker<>::Run() #13 0x55d43da1487e _ZNKR4base17RepeatingCallbackIFvbEE3RunEb #14 0x55d441a27841 policy::DeviceCloudPolicyManagerChromeOS::Unregister() #15 0x55d43faba7b6 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 0x7f968601af45 base::debug::StackTrace::StackTrace() #1 0x55d43fdd7710 StackTraceGetter::CurrentStackTrace() #2 0x55d43fde49c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55d43fde4553 testing::internal::AssertHelper::operator=() #4 0x55d43fdcfed3 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x55d43d8cfb78 testing::internal::Expect() #6 0x55d43fdd35ad testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x55d43e1531b1 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x55d43fab4fae policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #9 0x55d43faba2d5 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #10 0x55d43faba2f9 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #11 0x55d43d846c8b 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 0x7f968601af45 base::debug::StackTrace::StackTrace() #1 0x55d43fdd7710 StackTraceGetter::CurrentStackTrace() #2 0x55d43fde49c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55d43fde4553 testing::internal::AssertHelper::operator=() #4 0x55d43fdcfed3 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x55d43d8cfb78 testing::internal::Expect() #6 0x55d43fdd35ad testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x55d445ecf471 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x55d445ecea53 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x55d43faaf317 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x55d43fab4fcc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x55d43faba2d5 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #12 0x55d43faba2f9 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #13 0x55d43d846c8b 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 0x7f968601af45 base::debug::StackTrace::StackTrace() #1 0x55d43fdd7710 StackTraceGetter::CurrentStackTrace() #2 0x55d43fde49c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55d43fde4553 testing::internal::AssertHelper::operator=() #4 0x55d43fdcfed3 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x55d43d8cfb78 testing::internal::Expect() #6 0x55d43fdd35ad testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x55d445ecf4f1 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x55d445ecea65 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x55d43faaf317 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x55d43fab4fcc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x55d43faba2d5 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #12 0x55d43faba2f9 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterSucceeds_Test() #13 0x55d43d846c8b base::RefCounted<>::DeleteInternal<>() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0, where GetParam() = false (1241 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 [25153:25156:0317/000828.203753:30697996494:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [25153:25153:0317/000828.206628:30697999013:INFO:remote_commands_service.cc(38)] Fetching remote commands. [25153:25153:0317/000828.207057:30697999439:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x239593ede200) 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. [25153:25153:0317/000828.208417:30698000798:INFO:system_log_uploader.cc(237)] Creating system log uploader. [25153:25153:0317/000828.208550:30698000928: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. [25153:25153:0317/000828.209578:30698001959:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [25153:25153:0317/000828.209707:30698002088: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. [25153:25153:0317/000828.212021:30698004402:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 (141 ms) ================================================================================