Back to build
Raw log | Switch to full mode | Login

Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1' completed with the following status(es): 'FAILURE','SUCCESS' Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1' had the following logs when run: ================================================================================ [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 [13771:13928:0317/010212.410052:1736432921:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [13771:13928:0317/010212.410704:1736433573:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [13771:13771:0317/010212.410860:1736433725:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [13771:13771:0317/010212.410936:1736433799:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [13771:13771:0317/010212.411041:1736433905:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [13771:13771:0317/010212.411123:1736433986: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 0x557c68c58b4a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557c68c58b4a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557c57a26e06 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557c57a5afa9 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557c57a58fba in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 ../../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 0x557c68c58b4a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557c68c58b4a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557c57a26e06 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557c57a5afa9 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557c57a58fba in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 [13771:13771:0317/010212.412275:1736435141: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 0x557c68c58b4a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557c68c58b4a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557c57a26e06 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557c57a5afa9 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557c57a58fba in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x557c57a097bb in testing::internal::GoogleTestFailureReporter::ReportFailure(testing::internal::FailureReporterInterface::FailureType, char const*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../third_party/googletest/src/googlemock/src/gmock-internal-utils.cc:103:35 #6 0x557c57a1d6fe in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x557c57a1d6fe in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x557c83b883dd in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x557c83b883dd in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x557c564d50aa in policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() ./../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:144:3 ../../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 0x557c68c58b4a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557c68c58b4a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557c57a26e06 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557c57a5afa9 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557c57a58fba in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x557c57a097bb in testing::internal::GoogleTestFailureReporter::ReportFailure(testing::internal::FailureReporterInterface::FailureType, char const*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../third_party/googletest/src/googlemock/src/gmock-internal-utils.cc:103:35 #6 0x557c57a1d6fe in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x557c57a1d6fe in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x557c83b884ce in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x557c83b884ce in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x557c564d50aa in policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() ./../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:144:3 [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1, where GetParam() = true (65 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 [14489:14492:0317/010228.610228:1752633238:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [14489:14489:0317/010228.611824:1752634680:INFO:remote_commands_service.cc(38)] Fetching remote commands. [14489:14489:0317/010228.612113:1752634967:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x702000081ca0) 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. [14489:14489:0317/010228.612927:1752635789:INFO:system_log_uploader.cc(237)] Creating system log uploader. [14489:14489:0317/010228.613044:1752635897: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. [14489:14489:0317/010228.613471:1752636324:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [14489:14489:0317/010228.613552:1752636404:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [14489:14489:0317/010228.614367:1752637230: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. [14489:14489:0317/010228.615221:1752638077:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 (83 ms) ================================================================================