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 [13969:14060:0324/112027.061160:31524806922:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [13969:14060:0324/112027.061844:31524807601:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [13969:13969:0324/112027.062016:31524807780:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [13969:13969:0324/112027.062116:31524807875:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [13969:13969:0324/112027.062219:31524807979:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [13969:13969:0324/112027.062331:31524808088:WARNING:enrollment_handler_chromeos.cc(792)] 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 0x557a5b6758ca in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557a5b6758ca in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557a4a376106 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557a4a3aa299 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557a4a3a82aa 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 0x557a5b6758ca in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557a5b6758ca in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557a4a376106 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557a4a3aa299 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557a4a3a82aa in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 [13969:13969:0324/112027.063524:31524809288: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 0x557a5b6758ca in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557a5b6758ca in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557a4a376106 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557a4a3aa299 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557a4a3a82aa in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x557a4a358a6b 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 0x557a4a36a861 in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x557a4a36a861 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:468:0 #8 0x557a48e50e9b in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #9 0x557a48e50e9b in policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSEnrollmentTest::OnUnregistered(bool) ./../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:435:0 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 0x557a5b6758ca in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557a5b6758ca in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557a4a376106 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557a4a3aa299 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557a4a3a82aa in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x557a4a358a6b 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 0x557a4a36c9ee in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x557a4a36c9ee in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 ../../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 0x557a5b6758ca in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557a5b6758ca in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557a4a376106 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557a4a3aa299 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557a4a3a82aa in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x557a4a358a6b 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 0x557a4a36c9ee in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x557a4a36c9ee in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x557a766c95cd in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x557a766c95cd in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x557a48e146ea 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: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 0x557a5b6758ca in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x557a5b6758ca in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x557a4a376106 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x557a4a3aa299 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x557a4a3a82aa in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x557a4a358a6b 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 0x557a4a36c9ee in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x557a4a36c9ee in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x557a766c96be in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x557a766c96be in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x557a48e146ea in policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() ./../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:144:3 [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0, where GetParam() = false (57 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 [15046:15049:0324/112104.399283:31562145079:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [15046:15046:0324/112104.405122:31562150892:INFO:remote_commands_service.cc(38)] Fetching remote commands. [15046:15046:0324/112104.405540:31562151300:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x7020000826c0) 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. [15046:15046:0324/112104.406945:31562152700:INFO:system_log_uploader.cc(237)] Creating system log uploader. [15046:15046:0324/112104.407093:31562152855: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. [15046:15046:0324/112104.407745:31562153506:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [15046:15046:0324/112104.407859:31562153625: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. [15046:15046:0324/112104.409451:31562155216:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/0 (122 ms) ================================================================================