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

Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0' completed with the following status(es): 'FAILURE','SUCCESS' Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0' had the following logs when run: ================================================================================ [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 [27758:27963:0317/000711.591938:9419467132:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [27758:27963:0317/000711.592936:9419468125:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [27758:27758:0317/000711.593139:9419468326:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [27758:27758:0317/000711.593201:9419468385:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [27758:27758:0317/000711.593342:9419468527:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [27758:27758:0317/000711.593501:9419468687: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 0x7fc4281fbf45 base::debug::StackTrace::StackTrace() #1 0x562c6f750710 StackTraceGetter::CurrentStackTrace() #2 0x562c6f75d9c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x562c6f75d553 testing::internal::AssertHelper::operator=() #4 0x562c6f42fafb policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x562c6f43426b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_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 0x7fc4281fbf45 base::debug::StackTrace::StackTrace() #1 0x562c6f750710 StackTraceGetter::CurrentStackTrace() #2 0x562c6f75d9c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x562c6f75d553 testing::internal::AssertHelper::operator=() #4 0x562c6f42fbc7 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x562c6f43426b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::TestBody() [27758:27758:0317/000711.766968:9419642160:ERROR:device_cloud_policy_manager_chromeos.cc(338)] Tried to unregister but DeviceCloudPolicyManagerChromeOS is not connected. 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:803: 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 0x7fc4281fbf45 base::debug::StackTrace::StackTrace() #1 0x562c6f750710 StackTraceGetter::CurrentStackTrace() #2 0x562c6f75d9c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x562c6f75d553 testing::internal::AssertHelper::operator=() #4 0x562c6f748ed3 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x562c6d248b78 testing::internal::Expect() #6 0x562c6f74c5ad testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x562c75848471 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x562c75847a53 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x562c6f428317 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x562c6f42dfcc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x562c6f434205 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x562c6f434229 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x562c6d1bfc8b base::RefCounted<>::DeleteInternal<>() ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:801: 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 0x7fc4281fbf45 base::debug::StackTrace::StackTrace() #1 0x562c6f750710 StackTraceGetter::CurrentStackTrace() #2 0x562c6f75d9c7 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x562c6f75d553 testing::internal::AssertHelper::operator=() #4 0x562c6f748ed3 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x562c6d248b78 testing::internal::Expect() #6 0x562c6f74c5ad testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x562c758484f1 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x562c75847a65 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x562c6f428317 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x562c6f42dfcc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x562c6f434205 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x562c6f434229 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x562c6d1bfc8b base::RefCounted<>::DeleteInternal<>() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0, where GetParam() = false (852 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 [28952:28955:0317/000743.219327:9451094695:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [28952:28956:0317/000743.220069:9451095285:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [28952:28952:0317/000743.222127:9451097312:INFO:remote_commands_service.cc(38)] Fetching remote commands. [28952:28952:0317/000743.222445:9451097628:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x38b5b0d440c0) 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. [28952:28952:0317/000743.223504:9451098688:INFO:system_log_uploader.cc(237)] Creating system log uploader. [28952:28952:0317/000743.223629:9451098821: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. [28952:28952:0317/000743.224426:9451099609:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [28952:28952:0317/000743.224508:9451099690:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [28952:28952:0317/000743.225484:9451100668:ERROR:cloud_policy_service.cc(234)] Unregister request failed. 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. [28952:28952:0317/000743.226475:9451101659:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 (132 ms) ================================================================================