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

Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1' completed with the following status(es): 'FAILURE','SUCCESS' Test 'Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1' had the following logs when run: ================================================================================ [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1 [14625:14892:0319/123620.076964:16082308203:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [14625:14892:0319/123620.077572:16082308809:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [14625:14625:0319/123620.077719:16082308963:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [14625:14625:0319/123620.077794:16082309028:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [14625:14625:0319/123620.077879:16082309116:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [14625:14625:0319/123620.077970:16082309212: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 0x558e5b80130a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x558e5b80130a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x558e4a59d286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x558e4a5d1419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x558e4a5cf42a 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 0x558e5b80130a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x558e5b80130a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x558e4a59d286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x558e4a5d1419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x558e4a5cf42a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 [14625:14625:0319/123620.079119:16082310363: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 0x558e5b80130a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x558e5b80130a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x558e4a59d286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x558e4a5d1419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x558e4a5cf42a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x558e4a57fbeb 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 0x558e4a5919e1 in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x558e4a5919e1 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:468:0 #8 0x558e49089cfb in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #9 0x558e49089cfb 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 0x558e5b80130a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x558e5b80130a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x558e4a59d286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x558e4a5d1419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x558e4a5cf42a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x558e4a57fbeb 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 0x558e4a593b6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x558e4a593b6e 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 0x558e5b80130a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x558e5b80130a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x558e4a59d286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x558e4a5d1419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x558e4a5cf42a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x558e4a57fbeb 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 0x558e4a593b6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x558e4a593b6e in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x558e767691cd in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x558e767691cd in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x558e4904d54a 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 0x558e5b80130a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x558e5b80130a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x558e4a59d286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x558e4a5d1419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x558e4a5cf42a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x558e4a57fbeb 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 0x558e4a593b6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x558e4a593b6e in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x558e767692be in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x558e767692be in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x558e4904d54a in policy::(anonymous namespace)::DeviceCloudPolicyManagerChromeOSTest::~DeviceCloudPolicyManagerChromeOSTest() ./../../chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:144:3 [ FAILED ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1, where GetParam() = true (71 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1 [15433:15436:0319/123633.951188:16096182610:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [15433:15433:0319/123633.954169:16096185404:INFO:remote_commands_service.cc(38)] Fetching remote commands. [15433:15433:0319/123633.954431:16096185666:INFO:remote_commands_service.cc(165)] Remote commands fetched. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: Connect(0x7020000817a0) 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. [15433:15433:0319/123633.955515:16096186754:INFO:system_log_uploader.cc(237)] Creating system log uploader. [15433:15433:0319/123633.955627:16096186858: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. [15433:15433:0319/123633.956065:16096187308:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [15433:15433:0319/123633.956152:16096187380: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. [15433:15433:0319/123633.957286:16096188518:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterSucceeds/1 (90 ms) ================================================================================