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

Test 'DownloadTargetDeterminerTest.ContinueWithoutConfirmation_SaveAs' completed with the following status(es): 'FAILURE','SUCCESS' Test 'DownloadTargetDeterminerTest.ContinueWithoutConfirmation_SaveAs' had the following logs when run: ================================================================================ [ RUN ] DownloadTargetDeterminerTest.ContinueWithoutConfirmation_SaveAs 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, @0x7110000020a0 /b/s/w/it3CAZ5E/.org.chromium.Chromium.6rxWuQ/save-as.kindabad, 4-byte object <02-00 00-00>, @0x7fff8d84add8 8-byte object <40-8F 07-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:1398: EXPECT_CALL(*delegate(), RequestConfirmation( _, GetPathInDownloadDir("save-as.kindabad"), DownloadConfirmationReason::SAVE_AS, _))... Expected arg #1: is equal to /b/s/w/it3CAZ5E/.org.chromium.Chromium.esXgWG/save-as.kindabad Actual: /b/s/w/it3CAZ5E/.org.chromium.Chromium.6rxWuQ/save-as.kindabad 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 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902c93102b 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 0x55902c942de1 in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x55902c942de1 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:468:0 #8 0x559021014ac2 in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #9 0x559021014ac2 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 0x55903ea24ec4 in DownloadTargetDeterminer::DoRequestConfirmation() ./../../chrome/browser/download/download_target_determiner.cc:454:18 #11 0x55903ea21a5e in DownloadTargetDeterminer::DoLoop() ./../../chrome/browser/download/download_target_determiner.cc:152:18 #12 0x5590210347c6 in operator() ./../../buildtools/third_party/libc++/trunk/include/functional:2123:16 #13 0x5590210347c6 in operator() ./../../buildtools/third_party/libc++/trunk/include/functional:2347:0 #14 0x5590210347c6 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 0x5590210347c6 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 0x5590210347c6 in Perform ./../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h:394:0 #17 0x5590210347c6 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 0x55902103247b 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 0x55902103247b 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 0x55902c943182 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:405:20 #21 0x55902101473f in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #22 0x55902101473f 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 0x55903ea249d2 in DownloadTargetDeterminer::DoReserveVirtualPath() ./../../chrome/browser/download/download_target_determiner.cc:364:14 #24 0x55903ea21a23 in DownloadTargetDeterminer::DoLoop() ./../../chrome/browser/download/download_target_determiner.cc:149:18 #25 0x55903ea28bfb in DownloadTargetDeterminer::NotifyExtensionsDone(base::FilePath const&, download::DownloadPathReservationTracker::FilenameConflictAction) ./../../chrome/browser/download/download_target_determiner.cc:352:3 #26 0x559021057690 in Run ./../../base/callback.h:140:12 #27 0x559021057690 in Invoke<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction> ./../../base/bind_internal.h:575:0 #28 0x559021057690 in MakeItSo<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction> ./../../base/bind_internal.h:599:0 #29 0x559021057690 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 0x559021057690 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 0x55903dc7b649 in Run ./../../base/callback.h:99:12 #32 0x55903dc7b649 in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ./../../base/task/common/task_annotator.cc:104:0 #33 0x55903dc7f0dd 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 0x55903dc7e644 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:217:7 #35 0x55903de5ecfd in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) ./../../base/message_loop/message_pump_libevent.cc:208:55 #36 0x55903dc81530 in Run ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 #37 0x55903dc81530 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 0x55903db9ef74 in base::RunLoop::Run() ./../../base/run_loop.cc:157:14 #39 0x559021069b88 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:1398: Failure Actual function call count doesn't match EXPECT_CALL(*delegate(), RequestConfirmation( _, GetPathInDownloadDir("save-as.kindabad"), DownloadConfirmationReason::SAVE_AS, _))... 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 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902c93102b 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 0x55902c944f6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x55902c944f6e in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x55902c9479b2 in testing::Mock::VerifyAndClearExpectationsLocked(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:748:17 #9 0x55902c947764 in testing::Mock::VerifyAndClearExpectations(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:717:10 #10 0x559021069ba8 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/it3CAZ5E/.org.chromium.Chromium.esXgWG/foo.kindabad" target_info->target_path.value() Which is: "/b/s/w/it3CAZ5E/.org.chromium.Chromium.6rxWuQ/save-as.kindabad" Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902106a7f5 in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:487:3 ../../chrome/browser/download/download_target_determiner_unittest.cc:488: Failure Expected equality of these values: test_case.expected_disposition Which is: 0 target_info->target_disposition Which is: 1 Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902106ab59 in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:488:3 ../../chrome/browser/download/download_target_determiner_unittest.cc:489: Failure Expected equality of these values: test_case.expected_danger_type Which is: 1 target_info->danger_type Which is: 0 Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902106aeb2 in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:489:3 ../../chrome/browser/download/download_target_determiner_unittest.cc:490: Failure Expected equality of these values: test_case.expected_danger_level Which is: 1 target_info->danger_level Which is: 0 Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902106b20b in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:490:3 ../../chrome/browser/download/download_target_determiner_unittest.cc:510: Failure Expected equality of these values: expected_local_path.DirName().value() Which is: "/b/s/w/it3CAZ5E/.org.chromium.Chromium.esXgWG" target_info->intermediate_path.DirName().value() Which is: "/b/s/w/it3CAZ5E/.org.chromium.Chromium.6rxWuQ" Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902106c31a in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:509:7 ../../chrome/browser/download/download_target_determiner_unittest.cc:515: Failure Expected equality of these values: 0u Which is: 0 target_info->intermediate_path.BaseName().value().find( "Unconfirmed ") Which is: 18446744073709551615 Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55903da676aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55903da676aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55902c94e676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55902c982819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55902c98082a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55902106ccd7 in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:513:7 [ FAILED ] DownloadTargetDeterminerTest.ContinueWithoutConfirmation_SaveAs (83 ms) [ RUN ] DownloadTargetDeterminerTest.ContinueWithoutConfirmation_SaveAs [ OK ] DownloadTargetDeterminerTest.ContinueWithoutConfirmation_SaveAs (135 ms) ================================================================================