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 [28355:28593:0319/124223.048883:8555570265:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [28355:28593:0319/124223.049873:8555571248:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [28355:28355:0319/124223.050078:8555571456:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [28355:28355:0319/124223.050150:8555571525:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [28355:28355:0319/124223.050294:8555571669:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [28355:28355:0319/124223.050460:8555571835: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 0x7f9bca9aef45 base::debug::StackTrace::StackTrace() #1 0x55dbee1389b0 StackTraceGetter::CurrentStackTrace() #2 0x55dbee145c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55dbee145813 testing::internal::AssertHelper::operator=() #4 0x55dbede1816b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x55dbede1c8db 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 0x7f9bca9aef45 base::debug::StackTrace::StackTrace() #1 0x55dbee1389b0 StackTraceGetter::CurrentStackTrace() #2 0x55dbee145c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55dbee145813 testing::internal::AssertHelper::operator=() #4 0x55dbede18237 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x55dbede1c8db policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::TestBody() [28355:28355:0319/124223.229435:8555750824: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 0x7f9bca9aef45 base::debug::StackTrace::StackTrace() #1 0x55dbee1389b0 StackTraceGetter::CurrentStackTrace() #2 0x55dbee145c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55dbee145813 testing::internal::AssertHelper::operator=() #4 0x55dbee131173 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x55dbebc3d9f8 testing::internal::Expect() #6 0x55dbee13484d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x55dbf422cb01 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x55dbf422c0e3 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x55dbede10987 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x55dbede1663c policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x55dbede1c875 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x55dbede1c899 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x55dbebbb4b9b 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 0x7f9bca9aef45 base::debug::StackTrace::StackTrace() #1 0x55dbee1389b0 StackTraceGetter::CurrentStackTrace() #2 0x55dbee145c87 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x55dbee145813 testing::internal::AssertHelper::operator=() #4 0x55dbee131173 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x55dbebc3d9f8 testing::internal::Expect() #6 0x55dbee13484d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x55dbf422cb81 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x55dbf422c0f5 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x55dbede10987 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x55dbede1663c policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x55dbede1c875 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x55dbede1c899 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x55dbebbb4b9b base::RefCounted<>::DeleteInternal<>() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0, where GetParam() = false (875 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 [29470:29473:0319/124254.461966:8586983647:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [29470:29474:0319/124254.462693:8586984071:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [29470:29470:0319/124254.465270:8586986648:INFO:remote_commands_service.cc(38)] Fetching remote commands. [29470:29470:0319/124254.465701:8586987074:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x303312bd8a20) 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. [29470:29470:0319/124254.467128:8586988502:INFO:system_log_uploader.cc(237)] Creating system log uploader. [29470:29470:0319/124254.467269:8586988642: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. [29470:29470:0319/124254.468224:8586989598:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [29470:29470:0319/124254.468328:8586989700:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [29470:29470:0319/124254.469424:8586990798: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. [29470:29470:0319/124254.470693:8586992067:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 (142 ms) ================================================================================