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 [6408:6482:0319/123534.694449:2922283611:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [6408:6482:0319/123534.695061:2922284102:ERROR:cloud_policy_validator.cc(440)] Policy signature validation failed [6408:6408:0319/123534.695448:2922284487:ERROR:session_manager_operation.cc(214)] Policy validation failed: 2 (BAD_SIGNATURE) [6408:6408:0319/123534.695535:2922284574:ERROR:device_settings_service.cc(333)] Session manager operation failed: 5 (VALIDATION_ERROR) [6408:6408:0319/123534.695673:2922284709:ERROR:enrollment_handler_chromeos.cc(403)] Error in device policy store. [6408:6408:0319/123534.695760:2922284797: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 0x55fd6549830a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55fd6549830a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55fd54234286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55fd54268419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55fd5426642a 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 0x55fd6549830a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55fd6549830a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55fd54234286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55fd54268419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55fd5426642a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 [6408:6408:0319/123534.697035:2922286076: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 0x55fd6549830a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55fd6549830a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55fd54234286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55fd54268419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55fd5426642a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55fd54216beb 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 0x55fd5422ab6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x55fd5422ab6e in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x55fd804001cd in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x55fd804001cd in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x55fd52ce454a 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 0x55fd6549830a in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55fd6549830a in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55fd54234286 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55fd54268419 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55fd5426642a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55fd54216beb 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 0x55fd5422ab6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x55fd5422ab6e in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x55fd804002be in ~FunctionMocker ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1486:5 #9 0x55fd804002be in policy::MockDeviceManagementService::~MockDeviceManagementService() ./../../components/policy/core/common/cloud/mock_device_management_service.cc:150:0 #10 0x55fd52ce454a 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 (137 ms) [ RUN ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 [7012:7015:0319/123552.338642:2939927997:WARNING:fake_session_manager_client.cc(60)] Failed to write to /var/lib/whitelist/owner.key [7012:7012:0319/123552.340563:2939929593:INFO:remote_commands_service.cc(38)] Fetching remote commands. [7012:7012:0319/123552.340838:2939929865: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. [7012:7012:0319/123552.341744:2939930772:INFO:system_log_uploader.cc(237)] Creating system log uploader. [7012:7012:0319/123552.341862:2939930895: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. [7012:7012:0319/123552.342317:2939931344:INFO:system_log_uploader.cc(359)] System log upload is disabled, rescheduling. [7012:7012:0319/123552.342407:2939931440:INFO:system_log_uploader.cc(389)] Scheduling next system log upload 43200 s from now. [7012:7012:0319/123552.343038:2939932065: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. [7012:7012:0319/123552.343597:2939932624:ERROR:cloud_policy_validator.cc(427)] New public key rotation signature verification failed [ OK ] Cert/DeviceCloudPolicyManagerChromeOSEnrollmentTest.UnregisterFails/1 (78 ms) ================================================================================