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 [27157:27356:0302/023922.149503:10465948609:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [27157:27356:0302/023922.149608:10465948712:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [27157:27157:0302/023922.149631:10465948734:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [27157:27157:0302/023922.149648:10465948751:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [27157:27157:0302/023922.149664:10465948767:ERROR:enrollment_handler_chromeos.cc(405)] Error in device policy store. [27157:27157:0302/023922.149692:10465948794: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:481: Failure Expected equality of these values: EnrollmentStatus::SUCCESS Which is: 0 status_.status() Which is: 12 Stack trace: #0 0x557e87e8f05f StackTraceGetter::CurrentStackTrace() #1 0x557e87e987fc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x557e87e98149 testing::internal::AssertHelper::operator=() #3 0x557e87aa0cdf policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:482: Failure Value of: manager_->core()->client() Actual: false Expected: true Stack trace: #0 0x557e87e8f05f StackTraceGetter::CurrentStackTrace() #1 0x557e87e987fc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x557e87e98149 testing::internal::AssertHelper::operator=() #3 0x557e87aa0dde policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() [27157:27157:0302/023922.167584:10465966690:ERROR:device_cloud_policy_manager_chromeos.cc(336)] 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:801: 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 0x557e87e8f05f StackTraceGetter::CurrentStackTrace() #1 0x557e87e987fc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x557e87e98149 testing::internal::AssertHelper::operator=() #3 0x557e87e89d9d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x557e87e8da41 testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #5 0x557e8f31f683 policy::MockDeviceManagementService::~MockDeviceManagementService() #6 0x557e87a9911b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() ../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:799: 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 0x557e87e8f05f StackTraceGetter::CurrentStackTrace() #1 0x557e87e987fc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x557e87e98149 testing::internal::AssertHelper::operator=() #3 0x557e87e89d9d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x557e87e8da41 testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #5 0x557e8f31f6c2 policy::MockDeviceManagementService::~MockDeviceManagementService() #6 0x557e87a9911b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0, where GetParam() = false (79 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 [28512:28515:0302/023928.602281:10472401457:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [28512:28512:0302/023928.602636:10472401740:INFO:remote_commands_service.cc(38)] Fetching remote commands. [28512:28512:0302/023928.602728:10472401830:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x3ee8b8618fa0) 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. [28512:28512:0302/023928.602851:10472401954:INFO:system_log_uploader.cc(237)] Creating system log uploader. [28512:28512:0302/023928.602888:10472401991: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. [28512:28512:0302/023928.602968:10472402070:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [28512:28512:0302/023928.602997:10472402099:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [28512:28512:0302/023928.603072:10472402175: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. [28512:28512:0302/023928.603252:10472402354:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 (25 ms) ================================================================================