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

Test 'DownloadTargetDeterminerTest.PromptAlways_SafeAutomatic' completed with the following status(es): 'FAILURE','SUCCESS' Test 'DownloadTargetDeterminerTest.PromptAlways_SafeAutomatic' had the following logs when run: ================================================================================ [ RUN ] DownloadTargetDeterminerTest.PromptAlways_SafeAutomatic unknown file: Failure Unexpected mock function call - taking default action specified at: ../../chrome/browser/download/download_target_determiner_unittest.cc:217: Function call: RequestConfirmation(0x722000000000, @0x711000003d60 /b/s/w/itaKSIM3/.org.chromium.Chromium.kWMqVm/automatic.txt, 4-byte object <03-00 00-00>, @0x7ffc48b10cc8 8-byte object <00-05 06-00 40-70 00-00>) Google Mock tried the following 1 expectation, but it didn't match: ../../chrome/browser/download/download_target_determiner_unittest.cc:1313: EXPECT_CALL(*delegate(), RequestConfirmation( _, GetPathInDownloadDir("automatic.txt"), DownloadConfirmationReason::PREFERENCE, _))... Expected arg #1: is equal to /b/s/w/itaKSIM3/.org.chromium.Chromium.cuiunT/automatic.txt Actual: /b/s/w/itaKSIM3/.org.chromium.Chromium.kWMqVm/automatic.txt Expected: to be called once Actual: never called - unsatisfied and active Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x556f018366aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x556f018366aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x556ef071d676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x556ef0751819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x556ef074f82a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x556ef070002b 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 0x556ef0711de1 in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x556ef0711de1 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:468:0 #8 0x556ee4de3ac2 in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #9 0x556ee4de3ac2 in (anonymous namespace)::MockDownloadTargetDeterminerDelegate::RequestConfirmation(download::DownloadItem*, base::FilePath const&, DownloadConfirmationReason, base::RepeatingCallback<void (DownloadConfirmationResult, base::FilePath const&)> const&) ./../../chrome/browser/download/download_target_determiner_unittest.cc:190:0 #10 0x556f027f3ec4 in DownloadTargetDeterminer::DoRequestConfirmation() ./../../chrome/browser/download/download_target_determiner.cc:454:18 #11 0x556f027f0a5e in DownloadTargetDeterminer::DoLoop() ./../../chrome/browser/download/download_target_determiner.cc:152:18 #12 0x556ee4e037c6 in operator() ./../../buildtools/third_party/libc++/trunk/include/functional:2123:16 #13 0x556ee4e037c6 in operator() ./../../buildtools/third_party/libc++/trunk/include/functional:2347:0 #14 0x556ee4e037c6 in ApplyImpl<const std::__1::function<void (download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &)> &, std::__1::tuple<download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &>, 0, 1, 2, 3, 4> ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:520:0 #15 0x556ee4e037c6 in Apply<const std::__1::function<void (download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &)> &, std::__1::tuple<download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &> > ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:528:0 #16 0x556ee4e037c6 in Perform ./../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h:394:0 #17 0x556ee4e037c6 in testing::internal::FunctionMocker<void (download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&)>::PerformDefaultAction(std::__1::tuple<download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1519:0 #18 0x556ee4e0147b in PerformDefaultAction<void (download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &)> ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1434:18 #19 0x556ee4e0147b in testing::internal::FunctionMocker<void (download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&)>::UntypedPerformDefaultAction(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1544:0 #20 0x556ef0712182 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:405:20 #21 0x556ee4de373f in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #22 0x556ee4de373f in (anonymous namespace)::MockDownloadTargetDeterminerDelegate::ReserveVirtualPath(download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&) ./../../chrome/browser/download/download_target_determiner_unittest.cc:198:0 #23 0x556f027f39d2 in DownloadTargetDeterminer::DoReserveVirtualPath() ./../../chrome/browser/download/download_target_determiner.cc:364:14 #24 0x556f027f0a23 in DownloadTargetDeterminer::DoLoop() ./../../chrome/browser/download/download_target_determiner.cc:149:18 #25 0x556f027f7bfb in DownloadTargetDeterminer::NotifyExtensionsDone(base::FilePath const&, download::DownloadPathReservationTracker::FilenameConflictAction) ./../../chrome/browser/download/download_target_determiner.cc:352:3 #26 0x556ee4e26690 in Run ./../../base/callback.h:140:12 #27 0x556ee4e26690 in Invoke<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction> ./../../base/bind_internal.h:575:0 #28 0x556ee4e26690 in MakeItSo<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction> ./../../base/bind_internal.h:599:0 #29 0x556ee4e26690 in RunImpl<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, std::__1::tuple<base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction>, 0, 1> ./../../base/bind_internal.h:672:0 #30 0x556ee4e26690 in base::internal::Invoker<base::internal::BindState<base::RepeatingCallback<void (base::FilePath const&, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction>, void ()>::RunOnce(base::internal::BindStateBase*) ./../../base/bind_internal.h:641:0 #31 0x556f01a4a649 in Run ./../../base/callback.h:99:12 #32 0x556f01a4a649 in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ./../../base/task/common/task_annotator.cc:104:0 #33 0x556f01a4e0dd in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 #34 0x556f01a4d644 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:217:7 #35 0x556f01c2dcfd in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) ./../../base/message_loop/message_pump_libevent.cc:208:55 #36 0x556f01a50530 in Run ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 #37 0x556f01a50530 in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:0:0 #38 0x556f0196df74 in base::RunLoop::Run() ./../../base/run_loop.cc:157:14 #39 0x556ee4e38b88 in (anonymous namespace)::DownloadTargetDeterminerTest::RunDownloadTargetDeterminer(base::FilePath const&, download::MockDownloadItem*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:466:12 ../../chrome/browser/download/download_target_determiner_unittest.cc:1313: Failure Actual function call count doesn't match EXPECT_CALL(*delegate(), RequestConfirmation( _, GetPathInDownloadDir("automatic.txt"), DownloadConfirmationReason::PREFERENCE, _))... Expected: to be called once Actual: never called - unsatisfied and active Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x556f018366aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x556f018366aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x556ef071d676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x556ef0751819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x556ef074f82a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x556ef070002b 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 0x556ef0713f6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x556ef0713f6e in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x556ef07169b2 in testing::Mock::VerifyAndClearExpectationsLocked(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:748:17 #9 0x556ef0716764 in testing::Mock::VerifyAndClearExpectations(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:717:10 #10 0x556ee4e38ba8 in (anonymous namespace)::DownloadTargetDeterminerTest::RunDownloadTargetDeterminer(base::FilePath const&, download::MockDownloadItem*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:467:3 ../../chrome/browser/download/download_target_determiner_unittest.cc:487: Failure Expected equality of these values: expected_local_path.value() Which is: "/b/s/w/itaKSIM3/.org.chromium.Chromium.cuiunT/automatic.txt" target_info->target_path.value() Which is: "/b/s/w/itaKSIM3/.org.chromium.Chromium.kWMqVm/automatic.txt" Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x556f018366aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x556f018366aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x556ef071d676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x556ef0751819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x556ef074f82a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x556ee4e397f5 in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:487:3 [ FAILED ] DownloadTargetDeterminerTest.PromptAlways_SafeAutomatic (75 ms) [ RUN ] DownloadTargetDeterminerTest.PromptAlways_SafeAutomatic [ OK ] DownloadTargetDeterminerTest.PromptAlways_SafeAutomatic (123 ms) ================================================================================