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 [10695:10868:0318/153337.597550:13032804208:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [10695:10868:0318/153337.597680:13032804336:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [10695:10695:0318/153337.597722:13032804376:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [10695:10695:0318/153337.597736:13032804390:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [10695:10695:0318/153337.597755:13032804409:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [10695:10695:0318/153337.597768:13032804422: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 0x561e4225f11f StackTraceGetter::CurrentStackTrace() #1 0x561e422688bc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x561e42268209 testing::internal::AssertHelper::operator=() #3 0x561e41e6c53f 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 0x561e4225f11f StackTraceGetter::CurrentStackTrace() #1 0x561e422688bc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x561e42268209 testing::internal::AssertHelper::operator=() #3 0x561e41e6c63e policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() [10695:10695:0318/153337.622512:13032829171: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 0x561e4225f11f StackTraceGetter::CurrentStackTrace() #1 0x561e422688bc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x561e42268209 testing::internal::AssertHelper::operator=() #3 0x561e42259e5d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x561e4225d3a2 testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith() #5 0x561e41e6f7b7 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::OnUnregistered() #6 0x561e438d06fa policy::DeviceCloudPolicyManagerChromeOS::Unregister() 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 0x561e4225f11f StackTraceGetter::CurrentStackTrace() #1 0x561e422688bc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x561e42268209 testing::internal::AssertHelper::operator=() #3 0x561e42259e5d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x561e4225db01 testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #5 0x561e41e6e679 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() ../../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 0x561e4225f11f StackTraceGetter::CurrentStackTrace() #1 0x561e422688bc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x561e42268209 testing::internal::AssertHelper::operator=() #3 0x561e42259e5d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x561e4225db01 testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #5 0x561e4969c153 policy::MockDeviceManagementService::~MockDeviceManagementService() #6 0x561e41e64aab policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() ../../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 0x561e4225f11f StackTraceGetter::CurrentStackTrace() #1 0x561e422688bc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #2 0x561e42268209 testing::internal::AssertHelper::operator=() #3 0x561e42259e5d testing::internal::GoogleTestFailureReporter::ReportFailure() #4 0x561e4225db01 testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #5 0x561e4969c192 policy::MockDeviceManagementService::~MockDeviceManagementService() #6 0x561e41e64aab policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0, where GetParam() = false (159 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 [11901:11905:0318/153340.466928:13035673755:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [11901:11901:0318/153340.467376:13035674031:INFO:remote_commands_service.cc(38)] Fetching remote commands. [11901:11901:0318/153340.467483:13035674136:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x34bdefa07720) 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. [11901:11901:0318/153340.467655:13035674309:INFO:system_log_uploader.cc(237)] Creating system log uploader. [11901:11901:0318/153340.467684:13035674337: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. [11901:11901:0318/153340.467923:13035674576:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [11901:11901:0318/153340.467959:13035674611: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. [11901:11901:0318/153340.468176:13035674830:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 (33 ms) ================================================================================