Issue metadata
Sign in to add a comment
|
PrintPreviewDestinationItemTest browser test failure on Win64 and Linux64 beta builders with error message as ""Mocha test failed: DestinationItemTest offline" |
||||||||||||||||||||||
Issue descriptionLink to test failure builder : https://uberchromegw.corp.google.com/i/official.desktop.continuous/builders/win64%20beta/builds/5970 https://uberchromegw.corp.google.com/i/official.desktop.continuous/builders/linux64%20beta/builds/6328 Error log : https://logs.chromium.org/logs/chrome/bb/official.desktop.continuous/win64_beta/5970/+/recipes/steps/browser_tests/0/logs/PrintPreviewDestinationItemTest.Offline/0 Error : PrintPreviewDestinationItemTest.Offline (run #1): [ RUN ] PrintPreviewDestinationItemTest.Offline [15116:25816:0101/213755.327:WARNING:chrome_browser_main_win.cc(647)] Command line too long for RegisterApplicationRestart: --disable-gpu-process-for-dx12-vulkan-info-collection --gtest_also_run_disabled_tests --gtest_filter=PrintPreviewDestinationItemTest.Offline --single_process --test-launcher-bot-mode --test-launcher-output="C:\Users\CHROME~1\AppData\Local\Temp\scoped_dir28480_25977\results28480_32627\test_results.xml" --test-launcher-summary-output="c:\users\chrome~1\appdata\local\temp\tmppv90rr.json" --user-data-dir="C:\Users\CHROME~1\AppData\Local\Temp\scoped_dir28480_25977\d28480_10250" --disable-offline-auto-reload --enable-blink-features=MojoJSTest --no-first-run --no-default-browser-check --enable-logging=stderr --disable-default-apps --wm-window-animations-disabled --disable-component-update --test-type=browser --force-color-profile=srgb --disable-zero-browsers-open-for-tests --browser-test --ipc-connection-timeout=30 --allow-file-access-from-files --dom-automation --log-gpu-control-list-decisions --disable-backgrounding-occluded-windows --disable-gl-drawing-for-tests --override-use-software-gl-for-tests --force-color-profile=srgb --disable-compositor-ukm-for-tests --enable-features=NewPrintPreview,TestFeatureForBrowserTest1 --disable-features=TestFeatureForBrowserTest2 --disable-gpu-process-for-dx12-vulkan-info-collection --flag-switches-begin --flag-switches-end --restore-last-session about:blank [15116:25816:0101/213755.750:WARNING:CONSOLE(0)] "HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.", source: (0) [15116:25816:0101/213756.391:INFO:CONSOLE(1281)] "Running TestCase PrintPreviewDestinationItemTest.Offline", source: file:///C:/b/c/b/win64_beta/src/chrome/test/data/webui/test_api.js (1281) [15116:25816:0101/213756.417:ERROR:CONSOLE(48)] "Mocha test failed: DestinationItemTest offline TypeError: Assignment to constant variable. at Context.<anonymous> (file:///C:/b/c/b/win64_beta/src/chrome/test/data/webui/print_preview/destination_item_test.js:60:15) ", source: file:///C:/b/c/b/win64_beta/src/chrome/test/data/webui/mocha_adapter.js (48) [15116:25816:0101/213756.419:ERROR:web_ui_test_handler.cc(100)] Test Errors: 1/1 tests had failed assertions. [15116:25816:0101/213756.420:ERROR:web_ui_browser_test.cc(493)] CONDITION FAILURE: encountered javascript console error(s): [15116:25816:0101/213756.420:ERROR:web_ui_browser_test.cc(495)] JS ERROR: '[15116:25816:0101/213756.417:ERROR:CONSOLE(48)] "Mocha test failed: DestinationItemTest offline TypeError: Assignment to constant variable. at Context.<anonymous> (file:///C:/b/c/b/win64_beta/src/chrome/test/data/webui/print_preview/destination_item_test.js:60:15) ", source: file:///C:/b/c/b/win64_beta/src/chrome/test/data/webui/mocha_adapter.js (48) ' [15116:25816:0101/213756.420:ERROR:web_ui_browser_test.cc(497)] JS call assumed failed, because JS console error(s) found. gen/chrome/test/data/webui/print_preview/new_print_preview_ui_browsertest-gen.cc(4163): error: Value of: RunJavascriptTestF( true, "PrintPreviewDestinationItemTest", "Offline") Actual: false Expected: true Stack trace: Backtrace: testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x00000001407FC3B7+87] (C:\b\c\b\win64_beta\src\third_party\googletest\src\googletest\src\gtest.cc:843) testing::internal::AssertHelper::operator= [0x00000001407FBF3E+78] (C:\b\c\b\win64_beta\src\third_party\googletest\src\googletest\src\gtest.cc:417) PrintPreviewDestinationItemTest_Offline_Test::RunTestOnMainThread [0x000000014079AFAD+1117] (C:\b\c\b\win64_beta\src\out\Release_x64\gen\chrome\test\data\webui\print_preview\new_print_preview_ui_browsertest-gen.cc:4159) content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x00000001428B777D+445] (C:\b\c\b\win64_beta\src\content\public\test\browser_test_base.cc:449) ChromeBrowserMainParts::PreMainMessageLoopRunImpl [0x00000001438A94EA+4698] (C:\b\c\b\win64_beta\src\chrome\browser\chrome_browser_main.cc:1819) ChromeBrowserMainParts::PreMainMessageLoopRun [0x00000001438A81C9+153] (C:\b\c\b\win64_beta\src\chrome\browser\chrome_browser_main.cc:1196) content::BrowserMainLoop::PreMainMessageLoopRun [0x00000001412668AE+62] (C:\b\c\b\win64_beta\src\content\browser\browser_main_loop.cc:984) content::StartupTaskRunner::RunAllTasksNow [0x00000001415A8FCB+43] (C:\b\c\b\win64_beta\src\content\browser\startup_task_runner.cc:41) content::BrowserMainLoop::CreateStartupTasks [0x00000001412658A7+599] (C:\b\c\b\win64_beta\src\content\browser\browser_main_loop.cc:919) content::BrowserMainRunnerImpl::Initialize [0x00000001412689BB+107] (C:\b\c\b\win64_beta\src\content\browser\browser_main_runner_impl.cc:145) content::BrowserMain [0x0000000141263CBF+159] (C:\b\c\b\win64_beta\src\content\browser\browser_main.cc:44) content::RunBrowserProcessMain [0x000000014245362F+111] (C:\b\c\b\win64_beta\src\content\app\content_main_runner_impl.cc:543) content::ContentMainRunnerImpl::RunServiceManager [0x0000000142453EAB+219] (C:\b\c\b\win64_beta\src\content\app\content_main_runner_impl.cc:941) content::ContentMainRunnerImpl::Run [0x0000000142453D9E+238] (C:\b\c\b\win64_beta\src\content\app\content_main_runner_impl.cc:0) service_manager::Main [0x000000014307D49C+588] (C:\b\c\b\win64_beta\src\services\service_manager\embedder\main.cc:472) content::ContentMain [0x000000014245355E+62] (C:\b\c\b\win64_beta\src\content\app\content_main.cc:19) content::BrowserTestBase::SetUp [0x00000001428B7484+1796] (C:\b\c\b\win64_beta\src\content\public\test\browser_test_base.cc:349) InProcessBrowserTest::SetUp [0x00000001426F7020+384] (C:\b\c\b\win64_beta\src\chrome\test\base\in_process_browser_test.cc:283) [15116:25816:0101/213802.806:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [15116:25816:0101/213802.806:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [ FAILED ] PrintPreviewDestinationItemTest.Offline, where TypeParam = and GetParam() = (7621 ms)
,
Jan 2
Merged the fix in bug 918417 (see https://chromium.googlesource.com/chromium/src.git/+/dc3facbfad6ba6e13b2b9e1b25e04eb3b4cf7264), so this failure should be fixed once these builders pick up that change.
,
Jan 3
,
Jan 3
Builders appear to be green again.
,
Jan 8
Just to update: Same issue still seen on Linux64 Stable and Win64 Stable of desktop.continuous builder. Link to the builder: ------------------- https://uberchromegw.corp.google.com/i/official.desktop.continuous/builders/linux64%20stable/builds/1446 https://uberchromegw.corp.google.com/i/official.desktop.continuous/builders/win64%20stable/builds/1355 link to error log: ----------------- https://logs.chromium.org/logs/chrome/bb/official.desktop.continuous/linux64_stable/1446/+/recipes/steps/browser_tests/0/stdout https://logs.chromium.org/logs/chrome/bb/official.desktop.continuous/win64_stable/1355/+/recipes/steps/browser_tests/0/stdout Thanks!
,
Jan 8
If Stable builders are having the same issue we probably need to merge the change again, to M-71. The original bug report stated that this was an issue only on Beta builders. Will request another merge on bug 918417. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by rbpotter@chromium.org
, Jan 2