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 [549:732:0319/132948.993301:3205877089:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [549:732:0319/132948.993429:3205877216:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [549:549:0319/132948.993462:3205877247:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [549:549:0319/132948.993475:3205877260:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [549:549:0319/132948.993491:3205877276:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [549:549:0319/132948.993503:3205877288: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 0x55f8b47800ff StackTraceGetter::CurrentStackTrace() #1 0x55f8b478988c testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x55f8b47891d9 testing::internal::AssertHelper::operator=() #3 0x55f8b438d63f policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() ../../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 0x55f8b47800ff StackTraceGetter::CurrentStackTrace() #1 0x55f8b478988c testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x55f8b47891d9 testing::internal::AssertHelper::operator=() #3 0x55f8b438d73e policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() [549:549:0319/132949.018536:3205902325: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 0x55f8b47800ff StackTraceGetter::CurrentStackTrace() #1 0x55f8b478988c testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x55f8b47891d9 testing::internal::AssertHelper::operator=() #3 0x55f8b477ae2d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x55f8b477ead1 testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #5 0x55f8bbbc95c3 policy::MockDeviceManagementService::~MockDeviceManagementService() #6 0x55f8b4385bab policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() ../../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 0x55f8b47800ff StackTraceGetter::CurrentStackTrace() #1 0x55f8b478988c testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x55f8b47891d9 testing::internal::AssertHelper::operator=() #3 0x55f8b477ae2d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x55f8b477ead1 testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #5 0x55f8bbbc9602 policy::MockDeviceManagementService::~MockDeviceManagementService() #6 0x55f8b4385bab policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0, where GetParam() = false (101 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 [1843:1847:0319/132952.529636:3209413588:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [1843:1843:0319/132952.529893:3209413679:INFO:remote_commands_service.cc(38)] Fetching remote commands. [1843:1843:0319/132952.529981:3209413765:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x35a772f57020) 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. [1843:1843:0319/132952.530136:3209413921:INFO:system_log_uploader.cc(237)] Creating system log uploader. [1843:1843:0319/132952.530174:3209413958: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. [1843:1843:0319/132952.530262:3209414047:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [1843:1843:0319/132952.530292:3209414076:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [1843:1843:0319/132952.530389:3209414173: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. [1843:1843:0319/132952.530501:3209414285:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 (31 ms) ================================================================================