New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 791210 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Out until 24 Jan
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug



Sign in to add a comment

WebNavigationApiTest.GetFrame flaky in browser_tests on win7_chromium_rel_ng

Project Member Reported by kbr@chromium.org, Dec 2 2017

Issue description

Failure seen here:

https://ci.chromium.org/buildbot/tryserver.chromium.win/win7_chromium_rel_ng/57463

Log excerpt:

[ RUN      ] WebNavigationApiTest.GetFrame
[6444:1936:1201/161509.449:WARNING:chrome_browser_main_win.cc(613)] Command line too long for RegisterApplicationRestart:  --brave-new-test-launcher --cfi-diag=0 --gtest_also_run_disabled_tests --gtest_filter=WebNavigationApiTest.GetFrame --single_process --test-launcher-bot-mode --test-launcher-output="C:\Users\CHROME~2\AppData\Local\Temp\scoped_dir4560_15868\results4560_14574\test_results.xml" --test-launcher-summary-output="e:\b\swarm_slave\w\ioarnp4o\output.json" --user-data-dir="C:\Users\CHROME~2\AppData\Local\Temp\scoped_dir4560_15868\d4560_21608" --disable-offline-auto-reload --disable-renderer-backgrounding --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 --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 --allow-legacy-extension-manifests --enable-features=TestFeatureForBrowserTest1 --disable-features=NetworkPrediction,TestFeatureForBrowserTest2 --flag-switches-begin --flag-switches-end --restore-last-session about:blank
[5964:3872:1201/161509.478:INFO:media_foundation_video_encode_accelerator_win.cc(370)] Windows versions earlier than 8 are not supported.
[6444:5180:1201/161510.110:ERROR:process_win.cc(149)] Unable to terminate process: Access is denied. (0x5)
[6444:1936:1201/161510.112:INFO:CONSOLE(0)] "[SUCCESS] testGetFrame", source: chrome-extension://mnefbflajljpjcfnnbdbpajcgamcfkan/test_getFrame.html (0)
[6444:1936:1201/161510.122:INFO:CONSOLE(0)] "[SUCCESS] testGetInvalidFrame", source: chrome-extension://mnefbflajljpjcfnnbdbpajcgamcfkan/test_getFrame.html (0)
[6444:1936:1201/161510.126:INFO:CONSOLE(0)] "[SUCCESS] testGetAllFrames", source: chrome-extension://mnefbflajljpjcfnnbdbpajcgamcfkan/test_getFrame.html (0)
[6444:5180:1201/161510.325:ERROR:process_win.cc(149)] Unable to terminate process: Access is denied. (0x5)
[6444:1936:1201/161510.364:INFO:CONSOLE(0)] "[FAIL] testFrameDetach: API Test Error in testFrameDetach
Actual: [{"errorOccurred":false,"frameId":0,"parentFrameId":-1,"processId":4,"url":"chrome-extension://mnefbflajljpjcfnnbdbpajcgamcfkan/b.html"},{"errorOccurred":false,"frameId":5,"parentFrameId":0,"processId":4,"url":"about:blank"}]
Expected: [{"errorOccurred":false,"frameId":0,"parentFrameId":-1,"processId":4,"url":"chrome-extension://mnefbflajljpjcfnnbdbpajcgamcfkan/b.html"}]
Error
    at Object.handleRequest (extensions::binding:64:27)
    at Object.<anonymous> (extensions::binding:374:32)
    at Object.<anonymous> (extensions::test:225:20)
    at Object.handleRequest (extensions::binding:64:27)
    at Object.<anonymous> (extensions::binding:374:32)
    at Object.callback (chrome-extension://mnefbflajljpjcfnnbdbpajcgamcfkan/test_getFrame.js:75:27)
    at safeCallbackApply (extensions::uncaught_exception_handler:27:15)
    at handleResponse (extensions::sendRequest:67:7)", source: chrome-extension://mnefbflajljpjcfnnbdbpajcgamcfkan/test_getFrame.html (0)
../../chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc(391): error: Value of: RunExtensionTest("webnavigation/getFrame")
  Actual: false
Expected: true
Failed 1 of 4 tests
[6444:1936:1201/161510.416:INFO:chrome_cryptauth_service.cc(222)] Profile is not authenticated yet; waiting before starting CryptAuth managers.
[  FAILED  ] WebNavigationApiTest.GetFrame, where TypeParam =  and GetParam() =  (1137 ms)


I don't see more evidence of this on https://ci.chromium.org/buildbot/tryserver.chromium.win/win7_chromium_rel_ng/?limit=200 but haven't dug that deeply. Nonetheless the tryservers must be reliable. Marking P1.

 

Comment 1 by kbr@chromium.org, Dec 2 2017

Cc: benhenry@chromium.org
Cc: lukasza@chromium.org
Owner: nasko@chromium.org
Status: Assigned (was: Untriaged)
We just had this flake in the CQ which kept a patch from landing:
https://ci.chromium.org/p/chromium/builders/luci.chromium.try/win7_chromium_rel_ng/59512

------------------------------------8<------------------------------------
[ RUN      ] WebNavigationApiTest.GetFrame
[5780:3788:0809/190833.768:WARNING:chrome_browser_main_win.cc(641)] Command line too long for RegisterApplicationRestart:  --brave-new-test-launcher --cfi-diag=0 --disable-gpu-process-for-dx12-vulkan-info-collection --gtest_also_run_disabled_tests --gtest_filter=WebNavigationApiTest.GetFrame --single_process --test-launcher-bot-mode --test-launcher-output="e:\b\s\w\itho4b1e\scoped_dir4808_4640\results4808_11900\test_results.xml" --test-launcher-summary-output="e:\b\s\w\iokwadrr\output.json" --user-data-dir="e:\b\s\w\itho4b1e\scoped_dir4808_4640\d4808_22537" --disable-offline-auto-reload --disable-renderer-backgrounding --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 --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=TestFeatureForBrowserTest1 --disable-features=NetworkPrediction,SpeculativePreconnect,TestFeatureForBrowserTest2 --disable-gpu-process-for-dx12-vulkan-info-collection --flag-switches-begin --flag-switches-end --file-url-path-alias="/gen=e:\b\s\w\ir\out\Release\gen" --restore-last-session about:blank
[5780:3448:0809/190833.773:WARNING:discovery_network_list_win.cc(195)] Failed to open Wlan client handle: 1062
[3636:6436:0809/190833.818:INFO:media_foundation_video_encode_accelerator_win.cc(346)] Windows versions earlier than 8 are not supported.
[6492:3632:0809/190833.928:ERROR:runtime_enabled_features.cc(1568)] RuntimeEnabledFeature not recognized: FeaturePolicyForPermissions
[6408:7240:0809/190833.929:ERROR:runtime_enabled_features.cc(1568)] RuntimeEnabledFeature not recognized: FeaturePolicyForPermissions
[1872:7264:0809/190834.165:ERROR:runtime_enabled_features.cc(1568)] RuntimeEnabledFeature not recognized: FeaturePolicyForPermissions
[5872:3336:0809/190834.401:ERROR:runtime_enabled_features.cc(1568)] RuntimeEnabledFeature not recognized: FeaturePolicyForPermissions
[5780:3788:0809/190834.504:INFO:CONSOLE(0)] "[SUCCESS] testGetFrame", source: chrome-extension://fejigkednjmdaifcmcmiidhkigcgcmpk/test_getFrame.html (0)
[5780:3788:0809/190834.521:INFO:CONSOLE(0)] "[SUCCESS] testGetInvalidFrame", source: chrome-extension://fejigkednjmdaifcmcmiidhkigcgcmpk/test_getFrame.html (0)
[5780:3788:0809/190834.529:INFO:CONSOLE(0)] "[SUCCESS] testGetAllFrames", source: chrome-extension://fejigkednjmdaifcmcmiidhkigcgcmpk/test_getFrame.html (0)
[5208:2984:0809/190834.614:ERROR:runtime_enabled_features.cc(1568)] RuntimeEnabledFeature not recognized: FeaturePolicyForPermissions
[5780:3788:0809/190834.776:INFO:CONSOLE(0)] "[FAIL] testFrameDetach: API Test Error in testFrameDetach
Actual: [{"errorOccurred":false,"frameId":5,"parentFrameId":0,"processId":5,"url":"about:blank"},{"errorOccurred":false,"frameId":0,"parentFrameId":-1,"processId":5,"url":"chrome-extension://fejigkednjmdaifcmcmiidhkigcgcmpk/b.html"}]
Expected: [{"errorOccurred":false,"frameId":0,"parentFrameId":-1,"processId":5,"url":"chrome-extension://fejigkednjmdaifcmcmiidhkigcgcmpk/b.html"}]
Error
    at extensions::test:238:20
    at chrome-extension://fejigkednjmdaifcmcmiidhkigcgcmpk/test_getFrame.js:75:27", source: chrome-extension://fejigkednjmdaifcmcmiidhkigcgcmpk/test_getFrame.html (0)
../../chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc(222): error: Value of: RunExtensionTest("webnavigation/getFrame")
  Actual: false
Expected: true
Failed 1 of 4 tests
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x014DF918+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x014E8375+69]
	testing::internal::AssertHelper::operator= [0x014E7FC0+48]
	extensions::WebNavigationApiTest_GetFrame_Test::RunTestOnMainThread [0x01066F65+213]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x035E84D9+441]
	ChromeBrowserMainParts::PreMainMessageLoopRunImpl [0x0442D06E+3166]
	ChromeBrowserMainParts::PreMainMessageLoopRun [0x0442C34A+170]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x020D1384+68]
	content::StartupTaskRunner::RunAllTasksNow [0x02446DDE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x020D0125+805]
	content::BrowserMainRunnerImpl::Initialize [0x020D3814+100]
	content::BrowserMain [0x020CE45A+138]
	content::RunBrowserProcessMain [0x0332BAE4+84]
	content::ContentMainRunnerImpl::Run [0x0332C2B6+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x0332B763+19]
	service_manager::Main [0x03B5D9C8+1384]
	content::ContentMain [0x0332BA33+51]
	content::BrowserTestBase::SetUp [0x035E8253+1923]
[5780:3788:0809/190835.082:WARNING:gaia_auth_fetcher.cc(926)] Could not reach Google Accounts servers: errno -102
[5780:1892:0809/190835.147:WARNING:discardable_shared_memory_manager.cc(431)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked.
[5780:3788:0809/190835.150:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[5780:3788:0809/190835.151:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[  FAILED  ] WebNavigationApiTest.GetFrame, where TypeParam =  and GetParam() =  (1497 ms)
[ RUN      ] WebNavigationApiTest.GetFrame
------------------------------------8<------------------------------------


This seems to flake rarely but consistently:
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=WebNavigationApiTest.GetFrame

@nasko, you recently modified some tests in this directory. Could you please find an owner for this?

Sign in to add a comment