Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure: RewardsContributionBrowserTest.SplitProcessOneTimeTip #24353

Closed
brave-builds opened this issue Aug 1, 2022 · 1 comment
Closed

Comments

@brave-builds
Copy link
Collaborator

Greetings human!

Bad news. RewardsContributionBrowserTest.SplitProcessOneTimeTip failed on macos x64 release v1.42.84.

Stack trace
[ RUN      ] RewardsContributionBrowserTest.SplitProcessOneTimeTip
[76565:259:0731/222645.833248:WARNING:external_provider_impl.cc(510)] Malformed extension dictionary for extension: odbfpeeihdkbihmopkbjmoonfanlbfcl.  Key external_update_url has value "", which is not a valid URL.
[76565:259:0731/222645.974450:ERROR:iopm_power_source_sampling_event_source.cc(31)] IOPMPowerSource service not found
[76565:259:0731/222646.757305:INFO:ui_test_utils.cc(233)] NavigateToURL: brave://rewards/
[76565:259:0731/222646.795876:WARNING:CONSOLE(226)] "crbug/1173575, non-JS module files deprecated.", source: chrome://resources/js/load_time_data.js (226)
[76565:259:0731/222646.931792:WARNING:CONSOLE(1)] "Could not find style data in module named br-shared-style", source: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js (1)
[76565:259:0731/222647.011840:INFO:get_capabilities.cc(101)] Invalid body format!
[76565:259:0731/222647.024216:INFO:uphold_wallet.cc(148)] Couldn't get capabilities from Uphold!
[76565:259:0731/222647.503099:INFO:get_capabilities.cc(101)] Invalid body format!
[76565:259:0731/222647.503297:INFO:uphold_wallet.cc(148)] Couldn't get capabilities from Uphold!
[76565:259:0731/222647.503498:INFO:get_capabilities.cc(101)] Invalid body format!
[76565:259:0731/222647.503663:INFO:uphold_wallet.cc(148)] Couldn't get capabilities from Uphold!
[76565:259:0731/222647.723764:WARNING:CONSOLE(226)] "crbug/1173575, non-JS module files deprecated.", source: chrome://resources/js/load_time_data.js (226)
[76565:259:0731/222647.785121:INFO:get_capabilities.cc(101)] Invalid body format!
[76565:259:0731/222647.785322:INFO:uphold_wallet.cc(148)] Couldn't get capabilities from Uphold!
[76565:259:0731/222648.320182:INFO:ui_test_utils.cc(233)] NavigateToURL: brave://rewards/
[76565:259:0731/222648.351025:WARNING:CONSOLE(226)] "crbug/1173575, non-JS module files deprecated.", source: chrome://resources/js/load_time_data.js (226)
[76565:259:0731/222648.478870:WARNING:CONSOLE(1)] "Could not find style data in module named br-shared-style", source: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js (1)
[76565:259:0731/222648.573106:INFO:get_capabilities.cc(101)] Invalid body format!
[76565:259:0731/222648.573413:INFO:uphold_wallet.cc(148)] Couldn't get capabilities from Uphold!
[76565:259:0731/222648.672914:INFO:ui_test_utils.cc(233)] NavigateToURL: brave://rewards/
[76565:259:0731/222648.687835:WARNING:CONSOLE(226)] "crbug/1173575, non-JS module files deprecated.", source: chrome://resources/js/load_time_data.js (226)
[76565:259:0731/222648.734802:WARNING:CONSOLE(1)] "Could not find style data in module named br-shared-style", source: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js (1)
[76565:259:0731/222648.790614:INFO:get_capabilities.cc(101)] Invalid body format!
[76565:259:0731/222648.790838:INFO:uphold_wallet.cc(148)] Couldn't get capabilities from Uphold!
[76565:259:0731/222648.900375:WARNING:brave_stats_updater_params.cc(135)] Couldn't find the time of first run. This should only happen when running tests, but never in production code.
../../brave/components/brave_rewards/browser/test/common/rewards_browsertest_context_util.cc:131: Failure
Expected equality of these values:
  true
  result
    Which is: a JavaScript error: "Error: Timed out waiting for '[data-test-id='activity-table-body'] tr:nth-of-type(1) td:nth-of-type(3)'.
    at __const_std::string&_script__:14:18):
                  reject(new Error("Timed out waiting for '" + selector + "'."))
                         ^^^^^
Stack trace:
0   brave_browser_tests                 0x00000001070e5de4 rewards_browsertest_util::WaitForElementToEqual(content::WebContents*, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&) + 404
1   brave_browser_tests                 0x00000001070f7dca rewards_browsertest::RewardsContributionBrowserTest_SplitProcessOneTimeTip_Test::RunTestOnMainThread() + 906
2   brave_browser_tests                 0x000000010dee298d content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 733
3   brave_browser_tests                 0x00000001086e7a40 content::BrowserMainLoop::RunMainMessageLoop() + 224
4   brave_browser_tests                 0x00000001086e9272 content::BrowserMainRunnerImpl::Run() + 18
5   brave_browser_tests                 0x00000001086e51ad content::BrowserMain(content::MainFunctionParams) + 157
6   brave_browser_tests                 0x00000001095de554 content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) + 148
7   brave_browser_tests                 0x00000001095df66a content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) + 810
8   brave_browser_tests                 0x00000001095df2ad content::ContentMainRunnerImpl::Run() + 717
9   brave_browser_tests                 0x00000001095ddaf6 content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) + 1174
10  brave_browser_tests                 0x00000001095de055 content::ContentMain(content::ContentMainParams) + 101
11  brave_browser_tests                 0x000000010dee1fee content::BrowserTestBase::SetUp() + 1550
../../brave/components/brave_rewards/browser/test/common/rewards_browsertest_context_util.cc:131: Failure
Expected equality of these values:
  true
  result
    Which is: a JavaScript error: "Error: Timed out waiting for '[data-test-id='activity-table-body'] tr:nth-of-type(2) td:nth-of-type(3)'.
    at __const_std::string&_script__:14:18):
                  reject(new Error("Timed out waiting for '" + selector + "'."))
                         ^^^^^
Stack trace:
0   brave_browser_tests                 0x00000001070e5de4 rewards_browsertest_util::WaitForElementToEqual(content::WebContents*, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&) + 404
1   brave_browser_tests                 0x00000001070f7e8b rewards_browsertest::RewardsContributionBrowserTest_SplitProcessOneTimeTip_Test::RunTestOnMainThread() + 1099
2   brave_browser_tests                 0x000000010dee298d content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 733
3   brave_browser_tests                 0x00000001086e7a40 content::BrowserMainLoop::RunMainMessageLoop() + 224
4   brave_browser_tests                 0x00000001086e9272 content::BrowserMainRunnerImpl::Run() + 18
5   brave_browser_tests                 0x00000001086e51ad content::BrowserMain(content::MainFunctionParams) + 157
6   brave_browser_tests                 0x00000001095de554 content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) + 148
7   brave_browser_tests                 0x00000001095df66a content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) + 810
8   brave_browser_tests                 0x00000001095df2ad content::ContentMainRunnerImpl::Run() + 717
9   brave_browser_tests                 0x00000001095ddaf6 content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) + 1174
10  brave_browser_tests                 0x00000001095de055 content::ContentMain(content::ContentMainParams) + 101
11  brave_browser_tests                 0x000000010dee1fee content::BrowserTestBase::SetUp() + 1550
[76565:259:0731/222709.026225:INFO:render_frame_host_impl.cc(11654)] RenderFrameHostImpl::MaybeGenerateCrashReport url = chrome://rewards/, status = 4, exit_code = 0
[76565:259:0731/222709.026779:INFO:render_frame_host_impl.cc(11654)] RenderFrameHostImpl::MaybeGenerateCrashReport url = chrome-extension://jidkidbbcafjabdphckchenhfomhnfma/_generated_background_page.html, status = 4, exit_code = 0
[76565:259:0731/222709.034466:INFO:render_frame_host_impl.cc(11654)] RenderFrameHostImpl::MaybeGenerateCrashReport url = chrome://rewards/, status = 4, exit_code = 0
[76565:259:0731/222709.035093:INFO:render_frame_host_impl.cc(11654)] RenderFrameHostImpl::MaybeGenerateCrashReport url = chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/_generated_background_page.html, status = 4, exit_code = 0
[76565:259:0731/222709.197301:WARNING:task_environment.cc(798)] ParallelExecutionFence is ineffective when ThreadPoolInstance is not managed by a TaskEnvironment.
Test fixtures should use a TaskEnvironment member or statically invoke TaskEnvironment::CreateThreadPool() + ThreadPoolInstance::Get()->StartWithDefaultParams() when the former is not possible.
[76565:259:0731/222709.197540:WARNING:task_environment.cc(798)] ParallelExecutionFence is ineffective when ThreadPoolInstance is not managed by a TaskEnvironment.
Test fixtures should use a TaskEnvironment member or statically invoke TaskEnvironment::CreateThreadPool() + ThreadPoolInstance::Get()->StartWithDefaultParams() when the former is not possible.
[  FAILED  ] RewardsContributionBrowserTest.SplitProcessOneTimeTip, where TypeParam =  and GetParam() =  (23472 ms)

[  FAILED  ] RewardsContributionBrowserTest.SplitProcessOneTimeTip
Previous issues

Find all

cc @zenparsing

@bsclifton
Copy link
Member

This only fails intermittently. We've done a good job reworking the test but it still fails occasionally. We could remove the test - but I'll close for now
cc: @zenparsing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants