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 [8549:8728:0309/081246.072849:9832327052:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [8549:8728:0309/081246.073927:9832328118:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [8549:8549:0309/081246.074171:9832328360:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [8549:8549:0309/081246.074244:9832328429:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [8549:8549:0309/081246.074392:9832328578:ERROR:enrollment_handler_chromeos.cc(405)] Error in device policy store. [8549:8549:0309/081246.074540:9832328726: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:483: Failure Expected equality of these values: EnrollmentStatus::SUCCESS Which is: 0 status_.status() Which is: 12 Stack trace: #0 0x7f03a118ef45 base::debug::StackTrace::StackTrace() #1 0x555ca8ffbea0 StackTraceGetter::CurrentStackTrace() #2 0x555ca9009157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x555ca9008ce3 testing::internal::AssertHelper::operator=() #4 0x555ca8cdca2b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x555ca8ce119b 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 0x7f03a118ef45 base::debug::StackTrace::StackTrace() #1 0x555ca8ffbea0 StackTraceGetter::CurrentStackTrace() #2 0x555ca9009157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x555ca9008ce3 testing::internal::AssertHelper::operator=() #4 0x555ca8cdcaf7 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::ExpectSuccessfulEnrollment() #5 0x555ca8ce119b policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::TestBody() [8549:8549:0309/081246.252791:9832506986: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 0x7f03a118ef45 base::debug::StackTrace::StackTrace() #1 0x555ca8ffbea0 StackTraceGetter::CurrentStackTrace() #2 0x555ca9009157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x555ca9008ce3 testing::internal::AssertHelper::operator=() #4 0x555ca8ff4663 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x555ca6b08f18 testing::internal::Expect() #6 0x555ca8ff7d3d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x555caf09be81 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x555caf09b463 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x555ca8cd5247 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x555ca8cdaefc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x555ca8ce1135 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x555ca8ce1159 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x555ca6a7bf3b 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 0x7f03a118ef45 base::debug::StackTrace::StackTrace() #1 0x555ca8ffbea0 StackTraceGetter::CurrentStackTrace() #2 0x555ca9009157 testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #3 0x555ca9008ce3 testing::internal::AssertHelper::operator=() #4 0x555ca8ff4663 testing::internal::GoogleTestFailureReporter::ReportFailure() #5 0x555ca6b08f18 testing::internal::Expect() #6 0x555ca8ff7d3d testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() #7 0x555caf09bf01 testing::internal::FunctionMocker<>::~FunctionMocker() #8 0x555caf09b475 policy::MockDeviceManagementService::~MockDeviceManagementService() #9 0x555ca8cd5247 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() #10 0x555ca8cdaefc policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::~DeviceCloudPolicyManagerChromeOSEnrollmentTest() #11 0x555ca8ce1135 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #12 0x555ca8ce1159 policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test::~DeviceCloudPolicyManagerChromeOSEnrollmentTest_UnregisterFails_Test() #13 0x555ca6a7bf3b base::RefCounted<>::DeleteInternal<>() [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0, where GetParam() = false (849 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 [9770:9773:0309/081318.678068:9864932282:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [9770:9770:0309/081318.680549:9864934739:INFO:remote_commands_service.cc(38)] Fetching remote commands. [9770:9770:0309/081318.680939:9864935125:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x34a1e01928e0) 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. [9770:9770:0309/081318.682228:9864936414:INFO:system_log_uploader.cc(237)] Creating system log uploader. [9770:9770:0309/081318.682358:9864936542: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. [9770:9770:0309/081318.683210:9864937396:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [9770:9770:0309/081318.683300:9864937483:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [9770:9770:0309/081318.684302:9864938487: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. [9770:9770:0309/081318.685413:9864939598:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/0 (146 ms) ================================================================================