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

Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1' completed with the following status(es): 'FAILURE','SUCCESS' Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1' had the following logs when run: ================================================================================ [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 [6997:7361:0319/124157.418462:2310106708:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [6997:7361:0319/124157.419413:2310107656:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [6997:6997:0319/124157.419617:2310107858:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [6997:6997:0319/124157.419676:2310107915:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [6997:6997:0319/124157.419844:2310108084:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [6997:6997:0319/124157.419992:2310108232: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 0x558bc98ce8db 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 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 0x558bc98ce8db policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::TestBody() [6997:6997:0319/124157.594365:2310282610: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 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 0x558bc98ce875 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x558bc98ce899 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x558bc7666b9b 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 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 0x558bc98ce875 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x558bc98ce899 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x558bc7666b9b base::RefCounted<>::DeleteInternal<>() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1, where GetParam() = true (814 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 [8148:8151:0319/124224.536491:2337224894:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [8148:8152:0319/124224.537175:2337225416:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [8148:8148:0319/124224.539107:2337227348:INFO:remote_commands_service.cc(38)] Fetching remote commands. [8148:8148:0319/124224.539433:2337227671:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x3dfbb2c1a2a0) 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. [8148:8148:0319/124224.540502:2337228740:INFO:system_log_uploader.cc(237)] Creating system log uploader. [8148:8148:0319/124224.540616:2337228853: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. [8148:8148:0319/124224.541391:2337229629:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [8148:8148:0319/124224.541474:2337229711:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [8148:8148:0319/124224.542344:2337230593: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. [8148:8148:0319/124224.543290:2337231531:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 (125 ms) ================================================================================