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

Set PYTHONPATH: /b/s/w/ir/kitchen-checkout/build/scripts:/b/s/w/ir/kitchen-checkout/build/site_config:/b/s/w/ir/kitchen-checkout/build/third_party:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_8_4p1:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_slave_8_4:/b/s/w/ir/kitchen-checkout/build/third_party/coverage-3.7.1:/b/s/w/ir/kitchen-checkout/build/third_party/decorator_3_3_1:/b/s/w/ir/kitchen-checkout/build/third_party/google_api_python_client:/b/s/w/ir/kitchen-checkout/build/third_party/httplib2/python2:/b/s/w/ir/kitchen-checkout/build/third_party/infra_libs:/b/s/w/ir/kitchen-checkout/build/third_party/jinja2:/b/s/w/ir/kitchen-checkout/build/third_party/markupsafe:/b/s/w/ir/kitchen-checkout/build/third_party/oauth2client:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1-modules:/b/s/w/ir/kitchen-checkout/build/third_party/python-rsa:/b/s/w/ir/kitchen-checkout/build/third_party/requests_2_10_0:/b/s/w/ir/kitchen-checkout/build/third_party/setuptools-0.6c11:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_migrate_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/tempita_0_5:/b/s/w/ir/kitchen-checkout/build/third_party/twisted_10_2:/b/s/w/ir/kitchen-checkout/build/third_party/uritemplate:/b/s/w/ir/kitchen-checkout/build/third_party/site-packages 2019-05-24 22:11:31,334 - root: [DEBUG] Using task_output_dir: '/b/s/w/ir/tmp/t/tmpiaCK4x' 2019-05-24 22:11:31,334 - root: [WARNING] task_output_dir '/b/s/w/ir/tmp/t/tmpiaCK4x' already exists! 2019-05-24 22:11:31,334 - root: [WARNING] task_output_dir existing content: [] 2019-05-24 22:11:31,334 - root: [INFO] collect_cmd: swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/s/w/ir/tmp/t/tmpjotV1R.json -output-dir /b/s/w/ir/tmp/t/tmpiaCK4x -task-summary-json /b/s/w/ir/tmp/t/tmpI7jPMF.json [D2019-05-24T22:11:31.362376-07:00 2798 0 auth.go:1265] Minting a new token {"key":"luci_ctx/d2b4965c3b53b9c7fd86209a0ff5d65b3c2b171039cf42141dc8b3bfc7136657", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-05-24T22:11:31.362490-07:00 2798 0 luci_ctx.go:138] POST http://127.0.0.1:62107/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/d2b4965c3b53b9c7fd86209a0ff5d65b3c2b171039cf42141dc8b3bfc7136657", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-05-24T22:11:31.364520-07:00 2798 0 auth.go:1222] Token expires in 29m6.635495s {"key":"luci_ctx/d2b4965c3b53b9c7fd86209a0ff5d65b3c2b171039cf42141dc8b3bfc7136657", "scopes":"https://www.googleapis.com/auth/userinfo.email"} 4506207969d5fa10: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=0 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/io_qHkg4/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 0/10 Using 4 parallel jobs. Randomizing with seed 91963 [1/521] AutofillPopupBaseViewTest.CorrectBoundsTest (1855 ms) [2/521] CrElementsExpandButtonTest.All (2116 ms) [3/521] PageActionApiTest.Basic (2118 ms) [4/521] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.PolicyContentScriptXHR/0 (2119 ms) [5/521] CloudPolicyManagerTest.RegisterFailsWithRetries (1590 ms) [6/521] PPAPINaClTestDisallowedSockets.TCPServerSocketPrivateDisallowed (2112 ms) [7/521] SpeechRecognitionTest.SpeechFromBackgroundPageWithoutPermission (2119 ms) [8/521] CustomTabBarViewBrowserTest.UsesLocationInsteadOfEmptyTitles (2380 ms) [9/521] HistoryCounterTest.Synced (1590 ms) [10/521] ServiceWorkerPaymentAppFactoryBrowserTest.TwoAppsDifferentMethods (2135 ms) [11/521] ExtensionURLLoaderThrottleBrowserTest.DoNotThrottleCachedResponse_Redirect (1855 ms) [12/521] StartupBrowserCreatorTest.OpenAppShortcutNoPref (1335 ms) [13/521] ReportingBrowserTest.CrashReportUnresponsive (1326 ms) [14/521] LookalikeUrlNavigationThrottleBrowserTest.Interstitial_Dismiss/1 (1591 ms) [15/521] CrExtensionsManagerUnitTest.SetItemData (2908 ms) [16/521] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaVideoAndAudio/2 (1851 ms) [17/521] ChromeTracingDelegateBrowserTestOnStartup.PRE_ScenarioSetFromFieldtrial (1971 ms) [18/521] ChromeServiceWorkerLinkFetchTest.ManifestOtherOrigin (2514 ms) [19/521] SyncInternalsWebUITest.SearchTabDoesntChangeOnItemSelect (3061 ms) [20/521] ExtensionTagsTest.Basic (2144 ms) [21/521] ServiceWorkerTaskProviderBrowserTest.CreateTasksForOffTheRecordProfile (2708 ms) [22/521] TtsApiTest.NetworkSpeechEngine (2512 ms) [23/521] TaskManagerUtilityProcessBrowserTest.UtilityJSHeapMemory (5838 ms) [24/521] DataReductionProxyResourceTypeBrowsertest.FirstProxyUsedForMedia (1592 ms) [25/521] CrExtensionsLoadErrorTest.RetryError (2388 ms) [26/521] CrManagementA11yTest.SimpleTest_heading_order (2394 ms) [27/521] ChromeServiceWorkerFetchPPAPITest.NotInterceptedByServiceWorker (3720 ms) [28/521] BackgroundPage/ExtensionContextMenuBrowserTest.Separators/0 (1862 ms) [29/521] LookalikeUrlNavigationThrottleBrowserTest.TopDomainChromeUrl_NoMatch/1 (1856 ms) [30/521] PPAPINaClGLibcTest.TCPSocket_ReadClosePipe (1865 ms) [31/521] BrowsingDataIndexedDBHelperTest.CannedUnique (1589 ms) [32/521] PPAPINaClGLibcTest.TCPSocketPrivate_SSLHandshakeClosePipe (2376 ms) [33/521] BrowserSwitcherServiceTest.ExternalFetchAndParseAfterStartup (21169 ms) [34/521] WebViewNewWindowTest.Shim_TestWebViewAndEmbedderInNewWindow (2906 ms) [35/521] NetworkRequestMetricsBrowserTest.InterruptedBeforeHeaders/3 (2121 ms) [36/521] ServiceWorkerTest.OnBeforeRequest (2389 ms) [37/521] ModernShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.ActionInManifest/0 (2386 ms) [38/521] TabCapturePerformanceTest.Performance/2 (6585 ms) [39/521] DefaultSettingsFetcherTest.FetchingSettingsSucceeded (1864 ms) [40/521] OnDiskApp/NetworkContextConfigurationFilePacBrowserTest.FilePac/0 (1857 ms) [41/521] DnsProbeUnreachableProbesTest.NoInternetProbeResultWithSlowBrokenCorrections (2394 ms) [42/521] PaymentRequestDebitTest.CanMakePaymentWithDebitCard (2124 ms) [43/521] BookmarkAppHelperTest.CreateWindowedPWA (2115 ms) [44/521] ExternallyConnectableMessagingTest.FromIframeWithPermission (2903 ms) [45/521] RemoteDebuggingTest.RemoteDebugger (3184 ms) [46/521] CrManagementA11yTestWithExtension.ExtensionSection_aria_required_attr (3687 ms) [47/521] ProfileManagerBrowserTest.DeleteInactiveProfile (2371 ms) [48/521] InMemoryApp/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/0 (2115 ms) [49/521] OnDiskApp/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/2 (1853 ms) [50/521] BrowserNonClientFrameViewBrowserTest.BookmarkAppFrameColorCustomTheme (3160 ms) [51/521] PolicyUITest.SendPolicyNames (2383 ms) [52/521] UserManagerUIAuthenticatedUserBrowserTest.NormalUserBlocked (2897 ms) [53/521] PrefetchBrowserTest.RedirectedPrefetch (1590 ms) [54/521] CrSettingsPeoplePageSyncControlsTest.All (4480 ms) [55/521] MimeHandlerViewCrossProcessTest.Iframe/1 (2389 ms) [56/521] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.XHRToWebstorePolicy/0 (2123 ms) [57/521] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.PRE_UnchangedDefault/0 (1853 ms) [58/521] ClickModifierTest.WindowOpenShiftClickTest (2381 ms) [59/521] SSLNetworkTimeBrowserTest.TimeoutExpiresBeforeFetchCompletes/0 (2375 ms) [60/521] DataSaverWithServerBrowserTest.HttpRttEstimate (2121 ms) [61/521] PPAPINaClGLibcTest.TCPSocketPrivate_SSLWriteError (3167 ms) [62/521] ExtensionBindingsApiTest.TestEventFilterParsing (2379 ms) [63/521] IntentPickerBubbleViewBrowserTest.IframeNavigationDoesNotAffectIntentPicker/1 (5273 ms) [64/521] JavaScriptDialogTest.DismissalCausePromptAcceptButton (1327 ms) [65/521] AppViewTest.TestAppViewEmbedSelfShouldFail (3954 ms) [66/521] LocalNTPTest.NTPRespectsBrowserLanguageSetting (1592 ms) [67/521] MimeHandlerViewCrossProcessTest.NonAsciiHeaders/1 (2125 ms) [68/521] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaWithConstraints/1 (2370 ms) [69/521] RegisterProtocolHandlerBrowserTest.ContextMenuEntryAppearsForHandledUrls (1859 ms) [70/521] AdClickNavigationBrowserTest.UseCounter/5 (1592 ms) [71/521] ExternallyConnectableMessagingTest.FromPopup (1866 ms) [72/521] AdsPageLoadMetricsObserverResourceBrowserTest.AdFrameSizeInterventionNotActivatedOnFrameWithGesture (3692 ms) [73/521] ResourceMetricsObserverBrowserTest.RecordedCacheResourceMetrics (1871 ms) [74/521] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.XHRAnyPortPermission/0 (1865 ms) [75/521] CrManagementA11yTest.SimpleTest_frame_title (2381 ms) [76/521] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrument_NotSupported_InIncognitoMode (1593 ms) [77/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/1 (1846 ms) [78/521] FirstRunMasterPrefsImportAll.ImportAll (1849 ms) [79/521] CertificateReportingServiceBrowserTest.DontSendOldReports/1 (12898 ms) [80/521] ExtensionMessageBubbleViewBrowserTest.ExtensionBubbleAnchoredToExtensionAction (1585 ms) [81/521] ExtensionResourceRequestPolicyTest.ExtensionCanLoadHostedAppIcons (1593 ms) [82/521] DefaultKeyedHttpCache/NoStatePrefetchBrowserTestHttpCache.LoadAfterPrefetch/0 (1853 ms) [83/521] PaymentRequestShowPromiseTest.DigitalGoods (2113 ms) [84/521] PPAPINaClGLibcTest.TCPSocket_AcceptClosePipe (2382 ms) [85/521] InMemoryApp/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/2 (1588 ms) [86/521] PopupTrackerBrowserTest.WindowOpenPopup_WithInteraction (1587 ms) [87/521] CrossOriginReadBlockingExtensionTest.FromBackgroundPage_NoSniffXml (1856 ms) [88/521] SupervisedUserTest.ClosingBlockedTabDoesNotCrash/1 (1585 ms) [89/521] PrintPreviewBrowserTest.PrintCommands (2655 ms) [90/521] HostZoomMapBrowserTest.ToggleDefaultZoomLevel (1598 ms) [91/521] ClipboardApiTest.Extension (1854 ms) [92/521] AppShimHostManagerBrowserTestSocketFiles.ReplacesSymlinkAndCleansUpFiles (1323 ms) [93/521] MimeHandlerViewCrossProcessTest.EmbeddedDataUrlObject/0 (1848 ms) [94/521] WebViewScrollBubbling/WebViewGuestScrollTouchTest.TestGuestGestureScrollsBubble/1 (2115 ms) [95/521] PrintPreviewModelTest.GetPrintTicket (2636 ms) [96/521] StartupBrowserCreatorWelcomeBackTest.WelcomeBackStandardNoPolicy (1597 ms) [97/521] StartupHelperBrowserTest.ValidateCrx (2379 ms) [98/521] OnDiskApp/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/1 (1337 ms) [99/521] ExtensionModuleApiTest.IncognitoNoFile (1595 ms) [100/521] PwaInstallViewBrowserTest.BouncedInstallIgnored (1594 ms) [101/521] AmpUkmObserverBrowserTest.AmpMainFrame (11322 ms) [102/521] ExtensionInstallDialogViewTest.InstallButtonDelay (1593 ms) [103/521] PolicyWebStoreIconTest.AppsWebStoreIconHidden (1325 ms) [104/521] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.PRE_UntrustedInitialized/2 (1319 ms) [105/521] DistillablePageUtilsBrowserTestAllArticles.SimpleArticlesCallDelegateTwiceWithIsDistillable (1587 ms) [106/521] InMemoryApp/NetworkContextConfigurationBrowserTest.UploadFile/2 (1328 ms) [107/521] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomainMixedScript_Match/0 (1581 ms) [108/521] PermissionDialogTest.InvokeUi_mic (1590 ms) [109/521] SettingsAdvancedPageBrowserTest.Load (2911 ms) [110/521] OnboardingA11y.OnboardingFlow_link_in_text_block (2116 ms) [111/521] SSLNetworkTimeBrowserTest.CloseTabBeforeNetworkFetchCompletes/0 (1598 ms) [112/521] DeveloperPrivateApiTest.Basics (2646 ms) [113/521] CrSettingsMainPageTest.MainPage (6340 ms) [114/521] ExtensionWebUITest.SendMessage (1594 ms) [115/521] BrowserSwitcherServiceTest.ExternalFileUrl (11314 ms) [116/521] SupervisedUserTest.DontShowInterstitialTwice/1 (1589 ms) [117/521] DeclarativeNetRequestAPItest.HeaderRemoval (1856 ms) [118/521] MachineLevelUserCloudPolicyServiceIntegrationTestInstance/MachineLevelUserCloudPolicyServiceIntegrationTest.RegistrationNoMachineName/0 (3175 ms) [119/521] MediaRouterIntegrationOneUABrowserTest.ReconnectSessionSameTab (2910 ms) [120/521] OnDiskApp/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/2 (2905 ms) [ RUN ] NTPTilesTest.ServerRedirect [22710:6407:0524/214729.117461:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [22710:26115:0524/214730.200137:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/ittsPU1z/.org.chromium.Chromium.9uqHaC/dkSvKqq/Default/shared_proto_db: Invalid argument: /b/s/w/ittsPU1z/.org.chromium.Chromium.9uqHaC/dkSvKqq/Default/shared_proto_db: does not exist (create_if_missing is false) ../../chrome/browser/ntp_tiles/ntp_tiles_browsertest.cc:137: Failure Value of: tiles Expected: contains at least one element that has title "" and url "http://127.0.0.1:63388/server-redirect?http://127.0.0.1:63388/defaultresponse" and source 0 Actual: { 312-byte object <57-00 65-00 62-00 20-00 53-00 74-00 6F-00 72-00 65-00 00-00 00-00 00-09 20-E5 EA-E3 F1-7F 00-00 28-00 00-00 00-00 00-00 30-00 00-00 00-00 00-80 01-00 00-00 00-00 00-00 00-00 00-00 05-00 00-00 ... 00-00 00-00 FF-FF FF-FF 00-00 00-00 FF-FF FF-FF 00-00 00-00 FF-FF FF-FF 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00> } Stack trace: 0 browser_tests 0x0000000106fc13bf StackTraceGetter::CurrentStackTrace(int, int) + 47 1 browser_tests 0x0000000106fcba4b testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) + 91 2 browser_tests 0x0000000106fcb389 testing::internal::AssertHelper::operator=(testing::Message const&) const + 89 3 browser_tests 0x0000000105ba9b84 ntp_tiles::NTPTilesTest_ServerRedirect_Test::RunTestOnMainThread() + 996 4 browser_tests 0x000000010a80f597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 5 browser_tests 0x000000010a2f1c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 6 browser_tests 0x000000010a2f0a6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 7 browser_tests 0x000000010800debf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 8 browser_tests 0x00000001084c4fe7 content::StartupTaskRunner::RunAllTasksNow() + 39 9 browser_tests 0x000000010800c8c6 content::BrowserMainLoop::CreateStartupTasks() + 630 10 browser_tests 0x000000010800fc42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 11 browser_tests 0x000000010800ae3a content::BrowserMain(content::MainFunctionParams const&) + 186 12 browser_tests 0x0000000109d113ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 13 browser_tests 0x0000000109d11041 content::ContentMainRunnerImpl::Run(bool) + 273 14 browser_tests 0x000000010d43fe98 service_manager::Main(service_manager::MainParams const&) + 2280 15 browser_tests 0x0000000109d10314 content::ContentMain(content::ContentMainParams const&) + 68 16 browser_tests 0x000000010a80f1ec content::BrowserTestBase::SetUp() + 2796 [22710:29187:0524/214730.500432:ERROR:browser_process_sub_thread.cc(221)] Waited 36 ms for network service [22710:775:0524/214730.530800:WARNING:pref_notifier_impl.cc(36)] Pref observer for browser.relaunch_notification_period found at shutdown. [22710:775:0524/214730.530846:WARNING:pref_notifier_impl.cc(36)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ FAILED ] NTPTilesTest.ServerRedirect, where TypeParam = and GetParam() = (1593 ms) [121/521] NTPTilesTest.ServerRedirect (1854 ms) [122/521] ChromeAppAPITest.InstallAndRunningStateFrame (1852 ms) [123/521] ExtensionViewTest.ShimSrcAttribute (2375 ms) [124/521] EncryptedMediaSupportedTypesClearKeyTest.NoCodecs (2112 ms) [125/521] MimeHandlerViewCrossProcessTest.DataUrl/1 (1602 ms) [126/521] ProcessMemoryMetricsEmitterTest.FetchDuringTrace (2119 ms) [127/521] InMemoryApp/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/0 (3173 ms) [128/521] PromotionalTabsEnabledPolicyTest.RunTest/0 (2898 ms) [129/521] WebRtcGetDisplayMediaBrowserTestWithPicker.GetDisplayMediaVideoAndAudio (2372 ms) [130/521] ProfileMainNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/0 (1591 ms) [131/521] ZoomBubbleBrowserTest.NonImmersiveFullscreen (1589 ms) [132/521] MediaGalleriesGalleryWatchApiTest.RemoveListenerAndModifyGallery (1853 ms) [133/521] CastSessionBrowserTest.CreateAndDestroy (668 ms) [134/521] SecurityStatePageLoadMetricsBrowserTest.Simple_Https (1589 ms) [135/521] SafeBrowsingNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/1 (3163 ms) [136/521] ForceFieldTrialsBrowserTests/ForceFieldTrialsBrowserTest.PRE_PRE_ForceTrials/1 (1326 ms) [137/521] DeclarativeNetRequestBrowserTest_Packed.CorruptedIndexedRuleset/0 (5793 ms) [138/521] WebViewScrollBubbling/WebViewGuestScrollTest.ScrollLatchingPreservedInGuests/0 (2376 ms) [139/521] PaymentRequestHasEnrolledInstrumentQueryCCTest.QueryQuota (1849 ms) [140/521] PPAPINaClGLibcTest.UDPSocket_SetOption_1_0 (2111 ms) [141/521] MimeHandlerViewCrossProcessTest.EmbeddedDataUrlEmbed/0 (2110 ms) [142/521] SiteIsolationForPasswordSitesBrowserTest.SiteIsIsolatedAfterEnteringPassword (3428 ms) [143/521] LocalNTPTest.LoadsMDIframe (2108 ms) [144/521] HardwareAccelerationModePolicyTest.HardwareAccelerationDisabled (1587 ms) [145/521] ChromeServiceWorkerTest.CanCloseIncognitoWindowWithServiceWorkerController (2115 ms) [146/521] ChromeURLDataManagerTest.200 (1850 ms) [147/521] EncryptedMediaSupportedTypesWidevineHwSecureTest.Robustness (2382 ms) [148/521] NetworkRequestMetricsBrowserTest.SuccessWithBody/3 (1587 ms) [149/521] TabManagerTest.DiscardTabsWithMinimizedAndOccludedWindows (7632 ms) [150/521] SystemIndicatorApiTest.SystemIndicatorBasic (1850 ms) [151/521] LocalNTPSearchSuggestTest.EmptySuggestionsNotInjectedIntoPage (2109 ms) [152/521] LocalCardMigrationBrowserTestForStatusChip.IconAndBubbleVisibilityAfterTabSwitching (2115 ms) [153/521] RestartTest.PRE_LocalStorageClearedOnExit (2115 ms) [154/521] ChromeResourceDispatcherHostDelegateBrowserTest.ThrottlesAddedExactlyOnceToLargeSniffedDownloads (1328 ms) [155/521] CrManagementA11yTestWithExtension.ExtensionSection_td_has_header (2901 ms) [156/521] MachineLevelUserCloudPolicyPolicyFetchTest.Test/0 (2897 ms) [157/521] PaymentRequestPaymentMethodIdentifierTest.BasicCard_NetworkThenBasicCardWithSameNetwork (1583 ms) [158/521] PaymentRequestContactAddressUseStatsTest.RecordUse (2107 ms) [159/521] PaymentRequestJourneyLoggerMultipleShowTest.StartNewRequestWithoutPaymentAppsFeature (2377 ms) [160/521] AuthenticatorDialogTest.InvokeUi_ble_power_on_manual (1335 ms) [161/521] CrManagementA11yTestWithExtension.ExtensionSection_aria_allowed_attr (3162 ms) [162/521] ExtensionSettingsApiTest.ManagedStorageDisabled (1586 ms) [163/521] BrowserCloseManagerBrowserTest.TestUnloadMultipleSlowTabs (5803 ms) [164/521] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.Simple/6 (1590 ms) [165/521] IsolatedOriginWebViewTest.IsolatedOriginInWebview (2645 ms) [166/521] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match/0 (2643 ms) [167/521] SupervisedUserBlockModeTest.NavigateFromBlockedPageToBlockedPage/0 (1588 ms) [168/521] MimeHandlerViewCrossProcessTest.BeforeUnload_NoDialog/1 (1849 ms) [169/521] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_SameOrigin/0 (1857 ms) [170/521] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/17 (2116 ms) [171/521] PaymentSheetViewControllerContactDetailsTest.UnsupportedCard_CompleteContactInfo (2108 ms) [172/521] TabManagerTest.UrgentFastShutdownWithUnloadHandler (1580 ms) [173/521] PrintPreviewLinkContainerTest.SystemDialogLinkClick (2903 ms) [174/521] ContentScriptCssInjectionTest.ContentScriptInjectsStyles (1849 ms) [175/521] SubresourceFilterDevtoolsBrowserTest.ForceActivation_SubresourceLogging (1321 ms) [176/521] NetworkQualityEstimatorPrefsBrowserTest.ReadPrefsAtStartup (1584 ms) [177/521] MetricsReportingStateTests/MetricsReportingStateTest.ChangeMetricsReportingState/1 (1323 ms) [178/521] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.PRE_UntrustedAdditionToPrefsAfterWipe/0 (1335 ms) [179/521] ExtensionBindingsApiTest.Nocompile (1851 ms) [180/521] CredentialManagerBrowserTest.StoreInUnloadHandler_SameSite_PreestablishedPipe (1585 ms) [181/521] ChromeSecurityExploitBrowserTest.CommitExtensionOriginInWebProcess (1588 ms) [182/521] NetworkQualityTrackerBrowserTest.SimulateNetworkServiceCrash (1596 ms) [183/521] IncognitoSSLHostStateDelegateTest.PRE_AfterRestart (1061 ms) [184/521] ChromeNavigationBrowserTest.EmptyDocumentWithErrorCode (1584 ms) [185/521] SSLNetworkTimeBrowserTest.StopBeforeTimeoutExpires/0 (1326 ms) [186/521] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.ProgrammaticContentScriptVsAppCache/0 (1856 ms) [187/521] MediaSessionPictureInPictureWindowControllerBrowserTest.PreviousTrackButtonVisibility (1861 ms) [188/521] InvalidationsWebUITest.testRegisteringNewInvalidation (1585 ms) [189/521] CastV2PerformanceTest.Performance/9 (7366 ms) [190/521] OnDiskApp/NetworkContextConfigurationBrowserTest.Cache/2 (1593 ms) [191/521] SessionCrashedBubbleViewTest.InvokeUi_SessionCrashedBubble (1589 ms) [192/521] UnifiedAutoplayBrowserTest.OpenSameOriginOutsideMenu (1596 ms) [193/521] UnifiedAutoplayBrowserTest.MatchingWebAppScopeAllowsAutoplay_Path (1589 ms) [194/521] ExtensionDisabledGlobalErrorTest.UninstallFromDialog (3170 ms) [195/521] DataReductionProxyExpBrowsertest.ChromeProxyExpHeaderSet (1589 ms) [196/521] CrManagementA11yTest.SimpleTest_th_has_data_cells (2117 ms) [197/521] CertificateReportingServiceBrowserTest.OptedOut_ThenOptedIn_ThenOptedOut/1 (8951 ms) [198/521] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.ProgrammaticContentScriptVsAppCache/0 (2375 ms) [199/521] AccessibilityLabelsMenuObserverTest.AccessibilityLabelsShowWithScreenReaderEnabled (1586 ms) [200/521] CrManagementA11yTestWithExtension.ExtensionSection_hidden_content (2906 ms) [201/521] SafeBrowsingBlockingPageIDNTestWithThreatType/SafeBrowsingBlockingPageIDNTest.SafeBrowsingBlockingPageDecodesIDN/1 (1592 ms) [202/521] ErrorConsoleBrowserTest.CatchesLastError (2117 ms) [203/521] PaymentRequestJourneyLoggerNoShippingSectionStatsTest.NumberOfSuggestionsShown_UserAborted (1844 ms) [204/521] ErrorConsoleBrowserTest.BrowserActionRuntimeError (1847 ms) [205/521] OmniboxPopupContentsViewTest.PopupMatchesLocationBarBackground (1589 ms) [206/521] ContentVerifierTest.DotSlashPaths (2643 ms) [207/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/1 (1851 ms) [208/521] ImageWriterUtilityClientTest.WriteCancel (1586 ms) [209/521] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareImg/1 (1330 ms) [210/521] PrintPreviewDestinationSelectTest.SystemDefaultPrinterPolicy (2905 ms) [211/521] BackgroundFetchBrowserTest.OfflineItemCollection_VerifyResourceDownloadedWhenDownloadTotalLargerThanActualSize (26562 ms) [212/521] BrowsingDataRemoverBrowserTest.Cache (2107 ms) [213/521] ProfileBrowserTest.SeparateMediaCache (1600 ms) [214/521] AutofillCounterTest.AutocompleteSuggestions (1322 ms) [215/521] ExtensionCloudPrintPrivateApiTest.CloudPrintHostedWithMock (2119 ms) [216/521] SerialApiTest.SerialRealHardware (1844 ms) [217/521] BrowserCrApplicationAppleScriptTest.InsertAndDeleteWindows (3695 ms) [218/521] LookalikeUrlNavigationThrottleBrowserTest.UkmRecordedWhenNoInterstitialShown/2 (1336 ms) [219/521] CrSettingsSiteDetailsTest.All (7906 ms) [220/521] MimeHandlerViewCrossProcessTest.EmbedWithInitialFrameAcceptBeforeUnloadDialog/1 (2390 ms) [221/521] BrowsingDataRemoverBrowserTest.VideoDecodePerfHistory (1849 ms) [222/521] MediaGalleriesGalleryWatchApiTest.SetupGalleryWatchWithoutListeners (1859 ms) [223/521] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowDisabled/1 (2113 ms) [224/521] TLSLegacyVersionSSLUITest.NoWarningTLS12 (2377 ms) [225/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/0 (1859 ms) [226/521] CrExtensionsManagerUnitTest.UpdateItemData (2917 ms) [227/521] DevToolsAndroidBridgeTest.DiscoveryListChanges (1594 ms) [228/521] ErrorPageWithHttp09OnNonDefaultPortsTest.Http09WeirdPortEnabled (1594 ms) [229/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/1 (1854 ms) [230/521] CertificateReportingServiceBrowserTest.DontSendOldReports/0 (12887 ms) [231/521] OnDiskApp/NetworkContextConfigurationFilePacBrowserTest.FilePac/1 (1585 ms) [232/521] DevToolsSanityExtensionTest.PolicyDisallowedForForceInstalledExtensions (3169 ms) [233/521] CrManagementA11yTest.SimpleTest_region (2642 ms) [234/521] MediaStreamPermissionTest.TestAllowingUserMedia (1860 ms) [235/521] MediaFileValidatorTest.InvalidAudio (1599 ms) [236/521] LiveTabCountPageLoadMetricsBrowserTest.LoadSingleTabInForeground (3703 ms) [237/521] ClientHintsBrowserTest.ClientHintsNoLifetimeScriptNotAllowed/0 (2376 ms) [238/521] ExtensionURLRewriteBrowserTest.NewTabPageURLOverride (2648 ms) [239/521] DistillablePageUtilsBrowserTestNone.NeverCallDelegate (2917 ms) [240/521] ServiceWorkerBasedBackgroundTest.OnInstalledEvent (1848 ms) [241/521] CommonNameMismatchBrowserTest.InterstitialNavigateAwayWhileLoading/1 (2131 ms) [242/521] CastStreamingApiTest.StopNoStart (5017 ms) [243/521] WebSocketBrowserTest.WebSocketBasicAuthInHTTPURL (2649 ms) [244/521] NetworkRequestMetricsBrowserTest.InterruptedCancelDuringBody/1 (2638 ms) [245/521] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/9 (1850 ms) [246/521] PdfToPwgRasterBrowserTest.TestSuccessColor (1848 ms) [247/521] ServiceWorkerBackgroundSyncTest.Sync (2640 ms) [248/521] PwaInstallViewBrowserTest.NavigateToDifferentScope (2371 ms) [249/521] SSLPolicyTestCommittedInterstitials.SafeBrowsingExtendedReportingPolicyManaged/1 (2121 ms) [250/521] TabHoverCardBubbleViewBrowserTest.InactiveWindowStaysInactiveOnHover (2377 ms) [251/521] BluetoothApiTest.GetAdapterState (2381 ms) [252/521] DataReductionProxyFallbackBrowsertest.FallbackProxyUsedWhenBlockForLargeDurationSent (2106 ms) [253/521] TranslateManagerBrowserTest.PageTranslationError (2392 ms) [254/521] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/4 (2900 ms) [255/521] WebAppUrlLoaderTest.Hung (2383 ms) [256/521] TLSLegacyVersionSSLUITest.WarningTLS1 (2117 ms) [257/521] ExtensionApiCaptureTest.CaptureNullWindow (2389 ms) [258/521] ServiceWorkerBasedBackgroundTest.TabsEvents (3433 ms) [259/521] ProfileMainNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/0 (2637 ms) [260/521] ServiceWorkerTest.FetchExtensionResourceFromServiceWorker (2380 ms) [261/521] SitePerProcess/TaskManagerOOPIFBrowserTest.LeavePageWithCrossSiteIframes/0 (3946 ms) [262/521] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/14 (1845 ms) [263/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/1 (2120 ms) [264/521] ProfileHelperTest.DeleteSoleProfile (2901 ms) [265/521] SSLNetworkTimeBrowserTest.CloseTabBeforeNetworkFetchCompletes/1 (2115 ms) [266/521] UnifiedAutoplayBrowserTest.NoBypassUsingAutoplayFlag (1848 ms) [267/521] BitmapFetcherBrowserTest.HandleImageFailedTest (1626 ms) [268/521] CDM_10/ECKEncryptedMediaTest.InitializeCDMFail/0 (3164 ms) [269/521] ExtensionContextMenuApiTest.ShowExtensionNamedTopLevelItemIfAllChildrenAreHidden (1601 ms) [270/521] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/24 (1859 ms) [271/521] HostedAppOpaqueBrowserFrameViewTest.NoThemeColor (1847 ms) [272/521] ServiceWorkerRegistrationAtStartupTest.PRE_ExtensionActivationDoesNotReregister (1850 ms) [273/521] PaymentRequestCanMakePaymentQueryPMITest.QueryQuotaForBasicCards (1847 ms) [274/521] ExtensionContextMenuApiTest.HideTopLevelItem (1859 ms) [275/521] PaymentRequestJourneyLoggerNoShippingSectionStatsTest.NumberOfSuggestionsShown_Completed (2633 ms) [276/521] CertificateReportingServiceBrowserTest.Delayed_Resumed_ServiceShutdown/0 (2375 ms) [277/521] NavigationPredictorBrowserTest.ActionPrefetch_SameHostAnchorElement (1583 ms) [278/521] AppManagementMetadataViewTest.All (2642 ms) [279/521] CrExtensionsErrorConsoleTest.TestUpDownErrors (3427 ms) [280/521] TranslateBubbleViewBrowserTest.CloseBrowserWithoutTranslating (2111 ms) [281/521] IntentPickerBubbleViewBrowserTest.IframeNavigationDoesNotAffectIntentPicker/0 (3431 ms) [282/521] ExtensionApiTestWithManagementPolicy.ContentScriptPolicyByExtensionId (3430 ms) [283/521] ChromeMimeHandlerViewBrowserPluginTest.AutoResizeMessages (1855 ms) [284/521] ChromePasswordProtectionServiceBrowserTest.VerifyIsPasswordReuseProtectionConfiguredForNonDomainUser (1329 ms) [285/521] ClientHintsBrowserTest.ClientHintsHttps/1 (2123 ms) [286/521] BluetoothApiTest.DiscoveryInProgress (1857 ms) [287/521] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.PRE_UntrustedAdditionToPrefsAfterWipe/3 (1864 ms) [288/521] ChromeOriginTrialsDisabledFeaturesTest.PRE_DisabledFeaturesSetOnCommandLine/2 (1579 ms) [289/521] OnDiskApp/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/0 (1328 ms) [290/521] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.PRE_ChangedAtomic/1 (1587 ms) [291/521] InMemoryApp/NetworkContextConfigurationBrowserTest.CacheIsolation/1 (2130 ms) [292/521] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/5 (2119 ms) [293/521] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match_IgnoreHighlyEngagedSite/2 (1334 ms) [294/521] TabManagerTest.InvalidOrEmptyURL (1851 ms) [295/521] WebUIAssertionsTest.testConstructedMessage (1588 ms) [296/521] ExtensionUninstallDialogViewInteractiveBrowserTest.InvokeUi_ManualUninstall (2133 ms) [297/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/0 (1856 ms) [298/521] SupervisedUserBlockModeTest.OpenBlockedURLInNewTab/1 (1850 ms) [299/521] LoadAndLaunchPlatformAppBrowserTest.LoadAndLaunchAppChromeNotRunning (1852 ms) [300/521] ServiceWorkerBasedBackgroundTest.ProcessManagerRegistrationOnTerminate (2119 ms) [301/521] ContentAutofillDriverBrowserTest.SameDocumentNavigationHideAutofillPopup (1575 ms) [302/521] CommandLinePrivateApiTest.Basics (1600 ms) [303/521] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.SecurityIndicators/4 (1322 ms) [304/521] CrSettingsRouteTest.All (3421 ms) [305/521] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/2 (2377 ms) [306/521] DataSaverWithServerBrowserTest.EffectiveConnectionType (1336 ms) [307/521] ContentSettingsTest.PRE_AllowCookiesForASessionUsingExceptions (1589 ms) [308/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/1 (1586 ms) [309/521] PasswordGenerationPopupViewTest.MouseMovementInEditingPopup (1593 ms) [310/521] PrintPreviewDestinationDialogTest.ReloadPrinterList (3704 ms) [311/521] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureNotTriggeredOnPageShownIfNotEnteredAutoPictureInPicture (1855 ms) [312/521] NaClBrowserTestPnaclDebug.PnaclDebugURLFlagNoURL (2112 ms) [313/521] ImageWriterUtilityClientTest.VerifyNoDevice (1592 ms) [314/521] BrowserActionsBarRuntimeHostPermissionsBrowserTest.ContextMenuPageAccess_RefreshNotRequired (1594 ms) [315/521] GlobalErrorBubbleTest.InvokeUi_SigninGlobalError (1591 ms) [316/521] SitePerProcessAutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedAddressForm (1604 ms) [317/521] SSLUITestCommitted.SubframeCertError/0 (1854 ms) [318/521] AdTaggingEventWithScriptInStackBrowserTest.WindowOpenWithScriptInStack/1 (1597 ms) [319/521] CrExtensionsShortcutInputTest.Basic (2896 ms) [320/521] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/29 (1857 ms) [321/521] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/24 (2120 ms) [322/521] CredentialManagerBrowserTest.StoreInUnloadHandler_CrossSite_PreestablishedPipe (1860 ms) [323/521] TabActivityWatcherUkmTest.LogOldestNTabFeatures (1850 ms) [324/521] SigninSyncConfirmationTest. (2118 ms) [325/521] MachineLevelUserCloudPolicyEnrollmentTest.Test/2 (3692 ms) [326/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/2 (2118 ms) [327/521] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/15 (1852 ms) [328/521] PPAPIFileChooserTestWithSBService.FileChooser_SaveAs_DangerousExecutable_Allowed (2103 ms) [329/521] ExtensionFunctionRegistrationTest.CheckForDuplicateEntries (1329 ms) [330/521] LoadingPredictorBrowserTest.SimpleNavigation (1596 ms) [331/521] ContentSettingsMixedScriptIgnoreCertErrorsTest.MainFrameMetrics (1865 ms) [332/521] BookmarkBrowsertest.HideStarOnNonbookmarkedInterstitial (2114 ms) [333/521] CustomTabBarViewBrowserTest.TitleAndLocationUpdate (2108 ms) [334/521] ServiceWorker/ExtensionContextMenuBrowserTest.UpdateOnclick/0 (1847 ms) [335/521] NetworkingPrivateServiceClientApiTest.StartDisconnectNonexistent (1584 ms) [336/521] CrManagementA11yTest.SimpleTest_html_lang_valid (2372 ms) [337/521] ExtensionSessionsTest.RestoreInIncognito (1847 ms) [338/521] TabManagerTest.TabFreezeAndUrgentDiscard (1844 ms) [339/521] AutofillTest.ProfilesNotAggregatedWithInvalidEmail (1604 ms) [340/521] TranslateManagerBrowserTest.PageLanguageDetection (1588 ms) [341/521] ErrorPageAutoReloadTest.ManualReloadNotSuppressed (1583 ms) [342/521] SafeBrowsingTriggeredPopupBlockerDisabledTest.NoFeature_NoMessages (1329 ms) [343/521] WebViewAccessibilityTest.FocusAccessibility (2112 ms) [344/521] WebSocketBrowserTest.WebSocketBasicAuthInHTTPSURL (2113 ms) [345/521] GlobalErrorServiceBrowserTest.BubbleViewDismissedOnRemove (1072 ms) [346/521] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.Simple/3 (1584 ms) [347/521] DevToolsNetInfoTest.OfflineNetworkConditions (3434 ms) [348/521] AudibleContentsTrackerTest.TestAudioNotifications (8947 ms) [349/521] PopupTrackerBrowserTest.NoOpener_NoTracker (1327 ms) [350/521] OnboardingA11y.OnboardingFlow_input_image_alt (2382 ms) [351/521] IncognitoExtensionApiTabTest.Tabs/0 (2113 ms) [352/521] WithoutAny/BackgroundXhrWebstoreTest.PolicyContentScriptXHR/0 (1584 ms) [353/521] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/4 (1593 ms) [354/521] CDM_10/ECKEncryptedMediaTest.MessageTypeTest/0 (5799 ms) [355/521] PaymentRequestCanMakePaymentQueryPMITest.QueryQuotaForPaymentApps (1333 ms) [356/521] ChromeOriginTrialsDisabledFeaturesTest.PRE_DisabledFeaturesSetOnCommandLine/3 (1581 ms) [357/521] NavigationPredictorBrowserTest.ClickAnchorElementOffTheRecord (2377 ms) [358/521] MediaStreamPermissionTest.DenyingCameraDoesNotCauseStickyDenyForMics (2112 ms) [359/521] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.PRE_UntrustedAdditionToPrefs/2 (1062 ms) [360/521] SitePerProcess/TaskManagerOOPIFBrowserTest.NavigateToSubframeProcess/0 (3430 ms) [361/521] BackgroundPage/ExtensionContextMenuBrowserTest.UpdateCheckedStateOfFirstRadioItem/0 (1867 ms) [ RUN ] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToSimplePage [25521:6403:0524/214952.153347:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [25521:775:0524/214952.953430:INFO:CONSOLE(11)] "Images loaded lazily and replaced with placeholders. Load events are deferred. See https://crbug.com/846170", source: http://127.0.0.1:64356/google/google.html (11) [25521:775:0524/214953.132428:ERROR:page_load_metrics_update_dispatcher.cc(166)] Invalid first_paint 0.187 s for first_image_paint 0.186 s ../../chrome/browser/page_load_metrics/observers/data_saver_site_breakdown_metrics_observer_browsertest.cc:142: Failure Expected: (test.expected_min_page_size) <= (GetDataUsage(test_url.HostNoBrackets()) - data_usage_before_navigation), actual: 5000 vs 0 Stack trace: 0 browser_tests 0x0000000101c833bf StackTraceGetter::CurrentStackTrace(int, int) + 47 1 browser_tests 0x0000000101c8da4b testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) + 91 2 browser_tests 0x0000000101c8d389 testing::internal::AssertHelper::operator=(testing::Message const&) const + 89 3 browser_tests 0x000000010087dfce DataSaverSiteBreakdownMetricsObserverBrowserTest_NavigateToSimplePage_Test::RunTestOnMainThread() + 862 4 browser_tests 0x00000001054d1597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 5 browser_tests 0x0000000104fb3c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 6 browser_tests 0x0000000104fb2a6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 7 browser_tests 0x0000000102ccfebf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 8 browser_tests 0x0000000103186fe7 content::StartupTaskRunner::RunAllTasksNow() + 39 9 browser_tests 0x0000000102cce8c6 content::BrowserMainLoop::CreateStartupTasks() + 630 10 browser_tests 0x0000000102cd1c42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 11 browser_tests 0x0000000102ccce3a content::BrowserMain(content::MainFunctionParams const&) + 186 12 browser_tests 0x00000001049d33ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 13 browser_tests 0x00000001049d3041 content::ContentMainRunnerImpl::Run(bool) + 273 14 browser_tests 0x0000000108101e98 service_manager::Main(service_manager::MainParams const&) + 2280 15 browser_tests 0x00000001049d2314 content::ContentMain(content::ContentMainParams const&) + 68 16 browser_tests 0x00000001054d11ec content::BrowserTestBase::SetUp() + 2796 17 browser_tests 0x0000000104f24183 InProcessBrowserTest::SetUp() + 563 [25521:102403:0524/214953.543693:WARNING:embedded_test_server.cc(238)] Request not handled. Returning 404: /favicon.ico [25521:25859:0524/214953.546495:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/ittsPU1z/.org.chromium.Chromium.9uqHaC/dPh8FaI/Default/shared_proto_db: Invalid argument: /b/s/w/ittsPU1z/.org.chromium.Chromium.9uqHaC/dPh8FaI/Default/shared_proto_db: does not exist (create_if_missing is false) [25521:28163:0524/214953.852252:ERROR:browser_process_sub_thread.cc(221)] Waited 39 ms for network service [25521:775:0524/214953.872579:WARNING:pref_notifier_impl.cc(36)] Pref observer for browser.relaunch_notification_period found at shutdown. [25521:775:0524/214953.872669:WARNING:pref_notifier_impl.cc(36)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ FAILED ] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToSimplePage, where TypeParam = and GetParam() = (1939 ms) [362/521] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToSimplePage (2384 ms) [363/521] ProfileWindowBrowserTest.GuestCannotSignin (2905 ms) [364/521] IsolatedAppTest.CrossProcessClientRedirect (2633 ms) [365/521] AppBackgroundPageNaClTest.BackgroundKeepaliveActive (1861 ms) [366/521] ExtensionWebUITest.SanityCheckUnavailableAPIs (1595 ms) [367/521] NetworkRequestMetricsBrowserTest.Download/1 (1601 ms) [368/521] ExtensionMessageBubbleViewBrowserTest.TestDevModeBubbleIsntShownTwice (2640 ms) [369/521] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_NoSniffXml/0 (1852 ms) [370/521] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/38 (2648 ms) [371/521] OnDiskApp/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/1 (1328 ms) [372/521] ExtensionManagementTest.ExternalPolicyRefresh (2383 ms) [373/521] PrintPreviewScalingSettingsTest.SetScaling (4735 ms) [374/521] ServiceWorkerTest.BackgroundPageIsWokenIfAsleep (2386 ms) [375/521] PreviewsServiceBrowserTest.VerifyInitialization (1330 ms) [376/521] EnterpriseStartupDialogViewBrowserTest.InvokeUi_Information (1329 ms) [377/521] MetricsServiceBrowserTest.CheckCrashRenderers (2120 ms) [378/521] EncryptedMediaSupportedTypesWidevineTest.Basic (2133 ms) [379/521] InstallReplacementWebAppApiTest.NotInstallableWebApp (2644 ms) [380/521] PrintPreviewPreviewGenerationTest.CustomMargins (2912 ms) [381/521] ChromeNavigationBrowserTest.ChromeSchemeNavFromSadTab (1333 ms) [382/521] SSLUITestIgnoreLocalhostCertErrors.TestNoInterstitialOnLocalhost/1 (1315 ms) [383/521] OutdatedUpgradeBubbleTest.InvokeUi_Outdated (1335 ms) [384/521] CertificateReportingServiceBrowserTest.OptedIn_ShouldQueueFailedReport/1 (8693 ms) [385/521] PrintPreviewAppTest.PrintPresets (2899 ms) [386/521] NetworkRequestMetricsBrowserTest.SuccessWithBody/0 (1326 ms) [387/521] WebViewDPITest.Shim_TestAutosizeBeforeNavigation (2116 ms) [388/521] QuicAllowedPolicyIsTrue.QuicAllowedForProfile (1595 ms) [389/521] BrowserCloseManagerBrowserTest.TestSingleTabShutdown (1581 ms) [390/521] ServiceWorkerBasedBackgroundTest.EarlyFilteredEventDispatch (1596 ms) [391/521] SystemNetworkContextManagerStubResolverBrowsertest.StubResolverConfig/1 (1328 ms) [392/521] PrintPreviewPreviewGenerationTest.MediaSize (3417 ms) [393/521] GooglePasswordManagerNavigationThrottleTest.ExampleWithGPMAndSync (1588 ms) [394/521] PrintPreviewDestinationSelectTest.MultipleRecentDestinations (2642 ms) [395/521] PlatformAppNavigationRedirectorBrowserTest.BlankClickInTabIntercepted (2643 ms) [396/521] WebUIBrowserAsyncGenDeferredTest.TestDeferRunTest (1859 ms) [397/521] TopFrameSameFrameDownloadBrowserTest.Download/20 (1844 ms) [398/521] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/44 (2111 ms) [399/521] PrefetchBrowserTest.IncognitoTest (1588 ms) [400/521] PrintPreviewDestinationSearchTest.ReceiveSuccessfulSetup (3172 ms) [401/521] TemplateURLScraperTest.ScrapeWithOnSubmit (1586 ms) [402/521] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/40 (1865 ms) [403/521] FirstRunMasterPrefsVariationsSeedTest.Test (1849 ms) [404/521] ChromeNavigationBrowserTest.RedirectErrorPageReloadToAboutBlank (2390 ms) [405/521] PrerenderIncognitoBrowserTest.PrerenderIncognitoClosed (2380 ms) [406/521] TabAppleScriptTest.Creation (1064 ms) [407/521] PaymentRequestShowPromiseTest.UnsupportedPaymentMethod (1845 ms) [408/521] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.PRE_ClearedAtomic/0 (1327 ms) [409/521] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInCrossOriginGetRequest/0 (1840 ms) [410/521] OnboardingA11y.OnboardingFlow_blink (2638 ms) [411/521] IdentityGetAccountsFunctionTest.TwoAccountsSignedIn (1326 ms) [412/521] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.PRE_UnchangedCustom/0 (1853 ms) [413/521] ExtensionManagementTest.InstallRequiresConfirm (2645 ms) [414/521] DnsProbeSuccessfulProbesTest.NxdomainProbeResultWithWorkingSlowCorrections (1588 ms) [415/521] SocketApiTest.SocketUDPExtension (2638 ms) [416/521] OnDiskApp/NetworkContextConfigurationBrowserTest.BasicRequest/0 (1323 ms) [417/521] BrowsingDataRemoverBrowserTest.SessionStorageCounting (1850 ms) [418/521] PrintPreviewDestinationListTest.FilterDestinations (2904 ms) [419/521] AutofillTest.UsePlusSignForInternationalNumber (2901 ms) [420/521] PrintPreviewDestinationSearchTest.GetCapabilitiesFails (2897 ms) [421/521] NaClBrowserTestGLibcVcacheExtension.ValidationCacheOfMainNexe (2113 ms) [422/521] HistoryApiTest.Incognito (2112 ms) [423/521] WakeEventPageTest.ClosedEventPage (2108 ms) [424/521] PaymentRequestShowPromiseTest.SingleOptionShipping (2375 ms) [425/521] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.XHRToWebstore/0 (1847 ms) [426/521] DataReductionProxyBrowsertest.UMAMetricsRecorded (2370 ms) [427/521] EncryptedMediaSupportedTypesClearKeyCdmRegisteredWithWrongPathTest.Basic (3159 ms) [428/521] DomDistillerTabUtilsBrowserTest.DistillCurrentPageSwapsWebContents (1859 ms) [429/521] HistoryApiTest.SearchAfterAdd (2122 ms) [430/521] NavigationPredictorBrowserTest.ActionAccuracy_DifferentOrigin_VisibilityChangedPreconnectEnabled (1848 ms) [431/521] ActivityLogApiTest.TriggerEvent (6584 ms) [432/521] DataSaverWithServerBrowserTest.ReloadPage (1854 ms) [433/521] InMemoryApp/NetworkContextConfigurationBrowserTest.CookieIsolation/2 (2113 ms) [434/521] ExtensionManagementApiBrowserTest.InstallEvent (1850 ms) [435/521] WebUIAccessibilityAuditBrowserTest_TestsDisabledInFixture.testWithAuditFailures_a11yChecksNotEnabled (1323 ms) [436/521] SSLUITestCommitted.InAppTestHTTPSExpiredCertAndPreviouslyProceeded/0 (2369 ms) [437/521] SystemNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/0 (2914 ms) [438/521] FileIFrameAPITest.FileAccessNoHosts (1319 ms) [439/521] ServiceWorkerTest.ServiceWorkerPostsMessageToBackgroundClient (1596 ms) [440/521] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.PolicyUpdateIndividualXHR/0 (1326 ms) [441/521] ExtensionApiCaptureTest.CaptureVisibleDisabled (2370 ms) [442/521] LazyBackgroundPageApiTest.BroadcastEvent (1588 ms) [443/521] WebViewSurfaceSynchronizationTest.AutosizeBeforeNavigation (1589 ms) [444/521] SSLUICaptivePortalListTest.Disabled/1 (1327 ms) [445/521] BookmarksStoreTest.All (1856 ms) [446/521] WakeEventPageTest.OpenEventPage (1587 ms) [447/521] ChromeOriginTrialsTest.NoDisabledFeatures (1078 ms) [448/521] LocationBarViewBrowserTest.BubblesCloseOnHide (1339 ms) [449/521] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByNoClientHint/1 (1331 ms) [450/521] SitePerProcessPaymentsBrowserTest.IframePaymentRequestDoesNotCrash (1324 ms) [451/521] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/3 (1325 ms) [452/521] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaWithConstraints/2 (1582 ms) [453/521] CastV2PerformanceTest.Performance/3 (8687 ms) [454/521] UserScriptListenerTest.NavigationWaitsForContentScriptsToLoad (1581 ms) [455/521] IntentPickerBubbleViewBrowserTest.IconVisibilityAfterTabSwitching/0 (2378 ms) [456/521] ServiceWorkerPaymentAppFactoryBrowserTest.TwoAppsSameMethod (1852 ms) [457/521] EncryptedMediaSupportedTypesExternalClearKeyTest.SessionType (2894 ms) [458/521] ContentVerifierTest.ContentScripts (1591 ms) [459/521] BackgroundPage/ExtensionContextMenuBrowserTest.IncognitoSplitContextMenuCount/0 (1323 ms) [460/521] PPAPINaClGLibcTest.UDPSocket_DropReceiverPipeOnReceiveMore (2115 ms) [461/521] WebUIAccessibilityAuditBrowserTest_TestsDisabledInFixture.testRunningAuditManually_noErrors (1323 ms) [462/521] MediaStreamPermissionTest.TestDismissIsNotSticky (1326 ms) [463/521] MachineLevelUserCloudPolicyServiceIntegrationTestInstance/MachineLevelUserCloudPolicyServiceIntegrationTest.Registration/0 (2119 ms) [464/521] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrument_InvalidSSL (1057 ms) [465/521] ExtensionURLLoaderThrottleBrowserTest.DoNotThrottleCachedResponse (1324 ms) [466/521] OnboardingA11y.OnboardingFlow_skip_link (2107 ms) [467/521] HistoryCounterTest.DuplicateVisits (2120 ms) [468/521] IncognitoExtensionApiTabTest.Tabs/1 (1592 ms) [469/521] InstallReplacementWebAppApiTest.NotWebstore (1328 ms) [470/521] ExtensionBindingsUserGestureTest.UserGestureInExtensionAPICallback/0 (1323 ms) [471/521] WebViewScrollBubbling/WebViewGuestScrollTest.ScrollLatchingPreservedInGuests/1 (1844 ms) [472/521] ExternallyConnectableMessagingTest.FromIframeWithoutPermission (1582 ms) [473/521] AuthenticatorDialogTest.InvokeUi_request_attestation_permission (1335 ms) [474/521] NotificationPermissionContextApiTest.Granted (1588 ms) [475/521] TopFrameSameFrameDownloadBrowserTest.Download/2 (1595 ms) [476/521] SubresourceFilterSettingsBrowserTest.ContentSettingsWhitelistViaReload_WhitelistIsByDomain (1593 ms) [477/521] PendingBookmarkAppManagerBrowserTest.InstallChromeURLFails (1328 ms) [478/521] UnifiedAutoplayBrowserTest.BypassUsingAutoplayFlag (1590 ms) [479/521] PaymentSheetViewControllerContactDetailsTest.RetryWithEmptyError (1843 ms) [480/521] CrExtensionsManagerTestWithActivityLogFlag.UrlNavigationToActivityLogSuccess (2641 ms) [481/521] FeatureEnabled/WebrtcLoggingPrivateApiStartEventLoggingTestFeatureOrPolicyDisabled.StartEventLoggingFails/0 (1320 ms) [482/521] PPAPINaClGLibcTest.UDPSocket_Multicast (1585 ms) [483/521] LocalNTPDarkModeStartupTest.DarkModeApplied/1 (1580 ms) [484/521] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/10 (1581 ms) [485/521] SitePerProcessAutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedUnownedCreditCardCheckout (1586 ms) [486/521] CrSettingsExtensionControlledIndicatorTest.All (2639 ms) [487/521] ModernShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.NoActionInManifest/0 (1585 ms) [488/521] ImportLockDialogViewBrowserTest.InvokeUi_default (1852 ms) [489/521] CrManagementA11yTest.SimpleTest_frame_title_unique (1853 ms) [490/521] PaymentRequestCvcUnmaskViewControllerTest.CvcSentToResponse (1582 ms) [491/521] SpellingMenuObserverTest.InitMenuWithMisspelledWord (1333 ms) [492/521] V4SafeBrowsingServiceTest.SubResourceHitWithMainFrameBrowserInitiatedSlowLoad (1325 ms) [493/521] PolicyTestSafeSearchRedirect.ForceGoogleSafeSearch (1852 ms) [494/521] CrManagementA11yTestWithExtension.ExtensionSection_audio_caption (1854 ms) [495/521] TabManagerTest.TabDiscardDoneCallback (1584 ms) [496/521] PepperContentSettingsSpecialCasesJavaScriptBlockedTest.NaCl (1324 ms) [497/521] NetworkRequestMetricsBrowserTest.CancelBeforeHeaders/2 (1320 ms) [498/521] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareIFrame/0 (1589 ms) [499/521] ProfileChooserViewExtensionsParamTest.InvokeUi_SupervisedOwner/1 (1327 ms) [500/521] ChromeTracingDelegateBrowserTestOnStartup.ScenarioSetFromFieldtrial (1333 ms) [501/521] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.UnchangedDefault/0 (1323 ms) [502/521] TranslateManagerBrowserTest.PageTranslationTimeoutError (2391 ms) [503/521] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.UntrustedInitialized/2 (1072 ms) [504/521] ForceFieldTrialsBrowserTests/ForceFieldTrialsBrowserTest.PRE_ForceTrials/1 (1063 ms) [505/521] IncognitoSSLHostStateDelegateTest.AfterRestart (936 ms) [506/521] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.UntrustedAdditionToPrefsAfterWipe/0 (1072 ms) [507/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.EnableReferrers/1 (1327 ms) [508/521] RestartTest.LocalStorageClearedOnExit (2380 ms) [509/521] ServiceWorkerRegistrationAtStartupTest.ExtensionActivationDoesNotReregister (1057 ms) [510/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/1 (1331 ms) [511/521] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.UntrustedAdditionToPrefsAfterWipe/3 (1080 ms) [512/521] ChromeOriginTrialsDisabledFeaturesTest.DisabledFeaturesSetOnCommandLine/2 (1074 ms) [513/521] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.ChangedAtomic/1 (1322 ms) [514/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/0 (1324 ms) [515/521] ContentSettingsTest.AllowCookiesForASessionUsingExceptions (1325 ms) [516/521] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.EnableReferrers/2 (1587 ms) [517/521] ChromeOriginTrialsDisabledFeaturesTest.DisabledFeaturesSetOnCommandLine/3 (1053 ms) [518/521] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.UntrustedAdditionToPrefs/2 (930 ms) [519/521] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.ClearedAtomic/0 (923 ms) [520/521] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.UnchangedCustom/0 (1056 ms) [521/521] ForceFieldTrialsBrowserTests/ForceFieldTrialsBrowserTest.ForceTrials/1 (800 ms) Retrying 2 tests (retry #0) [522/523] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToSimplePage (946 ms) [523/523] NTPTilesTest.ServerRedirect (814 ms) SUCCESS: all tests passed. 4506207e657f6f10: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=1 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/ioBq1yrP/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 1/10 Using 4 parallel jobs. Randomizing with seed 54544 [1/454] SiteIsolationForPasswordSitesBrowserTest.IsolatedSiteIsSavedOnlyOnce (1598 ms) [2/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/1 (1859 ms) [3/454] WebUIBrowserAsyncGenDeferredToGlobalTest.TestDeferRunTestToGlobal (2124 ms) [4/454] ExtensionWebUITest.OnMessage (2123 ms) [5/454] AdTaggingBrowserTest.FramesByURL (1851 ms) [6/454] BrowsingDataRemoverBrowserTest.MediaLicenseDeletionWithFilter (2118 ms) [7/454] VariationsHttpHeadersBrowserTest.ServiceWorkerScript (1854 ms) [8/454] ProfileNetworkContextServiceBrowsertest.DiskCacheLocation/1 (1053 ms) [9/454] PrintPreviewModelTest.SetPolicySettings (3159 ms) [10/454] NetworkQualityTrackerBrowserTest.NetworkQualityTracker (1060 ms) [11/454] AuthenticatorDialogTest.InvokeUi_authenticator_removed (1322 ms) [12/454] PlatformAppNavigationRedirectorBrowserTest.ClickInTabIntercepted (2647 ms) [13/454] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/3 (1850 ms) [14/454] StartupBrowserCreatorTest.StartupURLsOnNewWindow (1855 ms) [15/454] PrintPreviewPreviewGenerationTest.Margins (3694 ms) [16/454] CrManagementA11yTestWithExtension.ExtensionSection_html_lang_valid (2906 ms) [17/454] CastV2PerformanceTest.Performance/7 (7646 ms) [18/454] DeclarativeNetRequestBrowserTest_Packed.ReindexOnRulesetVersionMismatch/0 (3179 ms) [19/454] HintsFetcherDisabledBrowserTest.HintsFetcherDisabled (1595 ms) [20/454] FirstRunMasterPrefsWithTrackedPreferencesInstance/FirstRunMasterPrefsWithTrackedPreferences.TrackedPreferencesSurviveFirstRun/0 (1600 ms) [21/454] StartupBrowserCreatorTest.OpenAppShortcutWindowPref (1861 ms) [22/454] CrManagementA11yTestWithExtension.ExtensionSection_th_has_data_cells (3436 ms) [23/454] CrElementsSliderTest.All (2643 ms) [24/454] WebUIAccessibilityAuditBrowserTest.testWithAuditFailures_a11yChecksDisabled (1851 ms) [25/454] AppControllerMainMenuBrowserTest.BookmarksMenuIsRestoredAfterProfileSwitch (2109 ms) [26/454] PaymentRequestShippingOptionViewControllerTest.SelectingVariousShippingOptions (2909 ms) [27/454] MediaGalleriesInteractiveDialogTest.InvokeUi_DisplayDialog (1586 ms) [28/454] SSLPolicyTestCommittedInterstitials.CertificateTransparencyEnforcementDisabledForUrls/0 (2385 ms) [29/454] PPAPINaClGLibcTest.TCPSocket_BindConnectError (2386 ms) [30/454] PPAPINaClGLibcTest.TCPSocket_Listen (2375 ms) [31/454] TabModalConfirmDialogTest.Cancel (1592 ms) [32/454] DevToolsBeforeUnloadTest.TestDockedDevToolsInspectedTabClose (6319 ms) [33/454] CrManagementA11yTestWithExtension.ExtensionSection_frame_title_unique (3167 ms) [34/454] PromotionalTabsEnabledPolicyTest.RunTest/2 (2383 ms) [35/454] PPAPINaClGLibcTest.TCPSocket_ListenError (2640 ms) [36/454] TabActivityWatcherUkmTest.SwitchWindows (2384 ms) [37/454] LoadingPredictorBrowserTest.LearnFromNavigation (2647 ms) [38/454] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/32 (2639 ms) [39/454] CrossOriginXHR.FileAccessNoHosts (2107 ms) [40/454] ServiceWorkerMessagingTest.ConnectNative (2111 ms) [41/454] ManagedUiTest.GetManagedUiMenuItemLabel (2383 ms) [42/454] SSLPKPBrowserTest.SendPKPReport (2374 ms) [43/454] FtpBrowserTest.BasicFtpUrlAuthentication (3688 ms) [44/454] OnDiskApp/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/0 (1855 ms) [45/454] AdsPageLoadMetricsObserverBrowserTest.AdFrameSameOriginByteMetrics (4212 ms) [46/454] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.VideoCaptureAllowed/0 (1848 ms) [47/454] HostedAppProcessModelTest.FromOutsideHostedApp/0 (8680 ms) [48/454] IntentPickerBubbleViewBrowserTest.IconVisibilityAfterTabSwitching/2 (4217 ms) [49/454] OnboardingA11y.OnboardingFlow_frame_title (3165 ms) [50/454] UkmBrowserTestUnifiedConsentDisabled.SecondaryPassphraseCheck (2377 ms) [51/454] AuthenticatorDialogTest.InvokeUi_resident_credential_confirm (2113 ms) [52/454] ProfileChooserViewExtensionsParamTest.InvokeUi_SupervisedOwner/0 (1848 ms) [53/454] CrSettingsPaymentsSectionTest.All (5803 ms) [54/454] CrossOriginReadBlockingExtensionTest.FromForegroundPage_NoSniffXml (1869 ms) [55/454] AppControllerNewProfileManagementBrowserTest.LockedProfileReopenWithNoWindows (2376 ms) [56/454] MachineLevelUserCloudPolicyEnrollmentTest.Test/1 (3691 ms) [57/454] CrManagementA11yTestWithExtension.ExtensionSection_p_as_heading (2903 ms) [58/454] NavigationPredictorBrowserTest.ViewportOnlyAndUrlIncrementByOne (1592 ms) [59/454] PrintPreviewPreviewGenerationTest.Color (3688 ms) [60/454] SSLUICaptivePortalListResourceBundleTest.Enabled_DynamicUpdate/0 (1865 ms) [61/454] ExtensionLoadingTest.UpgradeAfterNavigatingFromOverriddenNewTabPage (4217 ms) [62/454] NetworkQualityEstimatorPrefsBrowserTest.ReadPrefsAtStartupCustomPrefFile (1845 ms) [63/454] AdTaggingBrowserTest.VerifyCrossOriginWithoutNavigate (2113 ms) [64/454] CrManagementA11yTest.SimpleTest_aria_required_attr (2901 ms) [65/454] EncryptedMediaSupportedTypesClearKeyTest.SessionType (2639 ms) [66/454] ExtensionManagementApiBrowserTest.GetSelfNoPermissions (1598 ms) [67/454] PasswordsCounterTest.SameDomain (1332 ms) [68/454] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/6 (2382 ms) [69/454] ServiceWorkerBasedBackgroundTest.ProcessManagerRegistrationOnShutdown (1850 ms) [70/454] IntentPickerBubbleViewBrowserTest.NavigationToOutofScopeLinkDoesNotShowIntentPicker/0 (1326 ms) [71/454] AndroidUsbCountTest.TestNoMultipleCallsRemoveAddWhileQueued (1326 ms) [72/454] WebUIRequiringGestureBrowserTest.MessageRequiringGestureAllowedWithInteractiveEvent (2384 ms) [73/454] CastStreamingApiTest.NullStream (5523 ms) [74/454] ProfileHelperTest.DeleteInactiveProfile (1333 ms) [75/454] PaymentSheetViewControllerNoShippingTest.NoData (1322 ms) [76/454] ExtensionSettingsApiTest.ExtensionsSchemas (1328 ms) [77/454] CrManagementA11yTestWithExtension.ExtensionSection_aria_required_children (2367 ms) [78/454] LocalSiteCharacteristicsDatabaseTest.LoadedStateGetsTrackedProperly (7636 ms) [79/454] AdsPageLoadMetricsObserverBrowserTest.SubresourceFilter (2374 ms) [80/454] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByNoClientHintIncognito/1 (1856 ms) [81/454] AutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedUnownedCreditCardCheckout (1591 ms) [82/454] DnsProbeSuccessfulProbesTest.OtherErrorWithCorrectionsFailure (1591 ms) [83/454] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.PRE_ClearedAtomic/3 (1324 ms) [84/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.UploadFile/1 (2113 ms) [85/454] WebRtcGetDisplayMediaBrowserTestWithPicker.GetDisplayMediaVideo (2381 ms) [86/454] OnboardingA11y.OnboardingFlow_region (2898 ms) [87/454] PKPModelClientTest.PKPBypass/0 (1855 ms) [88/454] PaymentRequestNoUpdateWithTest.BuyWithoutListeners (2128 ms) [89/454] BookmarkBrowsertest.DragMultipleBookmarks (1856 ms) [90/454] PDFExtensionLinkClickTest.Middle (3165 ms) [91/454] ContentAutofillDriverBrowserTest.SubframeNavigationDoesntHideAutofillPopup (1857 ms) [92/454] PaymentSheetViewControllerContactDetailsTest.AllClickableRowsPresent (1859 ms) [93/454] OnboardingA11y.OnboardingFlow_p_as_heading (2394 ms) [94/454] DataReductionProxyEnabledWithNetworkServiceHoldbackBrowserTest.ProxyUsed/0 (1325 ms) [95/454] ExtensionMessageBubbleViewBrowserTest.ExtensionBubbleAnchoredToAppMenuWithOtherAction (1588 ms) [96/454] HistoryCounterTest.WithoutSyncService (1585 ms) [97/454] ChromeMimeHandlerViewCrossProcessTest.UMA_SameOriginResource/0 (2117 ms) [98/454] WasmAppTest.InstantiateWasmFromFetch (1852 ms) [99/454] TopFrameSameFrameDownloadBrowserTest.Download/23 (2109 ms) [100/454] CrManagementA11yTestWithExtension.ExtensionSection_empty_heading (2894 ms) [101/454] ExtensionMessageBubbleViewBrowserTest.InvokeUi_devmode_warning (1844 ms) [102/454] SaveCardBubbleControllerImplTest.InvokeUi_Server (1324 ms) [103/454] ChromeServiceWorkerLinkFetchTest.ManifestOtherOriginUseCredentials (1324 ms) [104/454] ProfileMainNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/0 (2381 ms) [105/454] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/13 (1589 ms) [106/454] PwaInstallViewBrowserTest.NavigateToSameScopeNonInstallable (1851 ms) [107/454] NetworkRequestMetricsBrowserTest.SuccessWithEmptyBody/2 (1584 ms) [108/454] OnDiskApp/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/0 (1585 ms) [109/454] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrument_NotSupported (1587 ms) [110/454] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/0 (2116 ms) [111/454] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.SecurityIndicators/3 (1594 ms) [112/454] SSLUIMITMSoftwareDisabledTest.DisabledWithFinch/0 (1588 ms) [113/454] PopupTrackerBrowserTest.ShiftClick_HasTracker (2126 ms) [114/454] LookalikeUrlNavigationThrottleBrowserTest.NetError_TopDomain_NetErrorAfterDismiss/1 (1331 ms) [115/454] CrManagementA11yTestWithExtension.ExtensionSection_layout_table (2373 ms) [116/454] UserProfile/ExtensionWebRequestApiAuthRequiredTest.WebRequestAuthRequired/0 (5539 ms) [117/454] NTPInterceptionTest.ContentScript (1848 ms) [118/454] MachineLevelUserCloudPolicyEnrollmentTest.Test/6 (2899 ms) [119/454] BackgroundFetchBrowserTest.FetchFromChildFrameWithPermissions (1853 ms) [120/454] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/2 (1593 ms) [121/454] BookmarkAppTest.EngagementHistogramTwoApps (1592 ms) [122/454] OnboardingA11y.OnboardingFlow_aria_required_children (3691 ms) [123/454] ServiceWorkerTest.UpdateRefreshesServiceWorker (4748 ms) [124/454] ActivityLogPrerenderTest.TestScriptInjected (1588 ms) [125/454] PopupTrackerBrowserTest.NoPopup_NoTracker (1591 ms) [126/454] TopFrameSameFrameDownloadBrowserTest.Download/7 (1850 ms) [127/454] ChromeOriginTrialsTest.NoPublicKeySet (1321 ms) [128/454] MediaFileValidatorTest.ValidAudio (1582 ms) [129/454] ExtensionContentSettingsApiTest.EmbeddedSettings (1848 ms) [130/454] DataUseMetricsObserverBrowserTest.NavigateToPlaintext (1590 ms) [131/454] PrintPreviewDpiSettingsTest.All (2638 ms) [132/454] PasswordManagerInternalsWebUIBrowserTest.IncognitoMessage (1847 ms) [133/454] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomainMixedScript_Match/1 (1325 ms) [134/454] ClickModifierTest.HrefControlShiftClickTest (1600 ms) [135/454] ExtensionWebUITest.ReceivesExtensionOptionsOnClose (3683 ms) [136/454] TranslateManagerBrowserTest.PageLanguageDetectionConflict (1844 ms) [137/454] LoadingPredictorBrowserTest.PreconnectNonCorsAndFetchCors (1852 ms) [138/454] InMemoryApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/1 (1323 ms) [139/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.BasicRequest/0 (2117 ms) [140/454] ClientHintsBrowserTest.ClientHintsLifetimeCookiesNotAllowed/0 (1861 ms) [141/454] CommonNameMismatchBrowserTest.WWWSubdomainMismatch_StopOnRedirects/1 (1590 ms) [142/454] PPAPINaClGLibcTest.TCPServerSocketPrivate_ListenHangs (1845 ms) [143/454] TtsApiTest.PlatformSpeakQueueInterrupt (1589 ms) [144/454] SafeBrowsingNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/0 (1323 ms) [145/454] SSLUITestIgnoreLocalhostCertErrors.NoCrashOnLoadWithNoNavigationEntry/1 (1590 ms) [146/454] CrossOriginXHR.AllURLs (1849 ms) [147/454] TabManagerTest.DiscardedTabHasNoProcess (1845 ms) [148/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/0 (1851 ms) [149/454] LocalNTPTest.SpareProcessDoesntInterfereWithSearchAPI (2109 ms) [150/454] InMemoryApp/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/0 (1321 ms) [151/454] CrSettingsLanguagesPageTest.InputMethods (2903 ms) [152/454] TypedNavigationTimingThrottleBrowserTest.HistogramUpdatedWhenRedirected (1322 ms) [153/454] ExtensionTabsZoomTest.PerTabResetsOnNavigation (1583 ms) [154/454] SiteIsolationForPasswordSitesBrowserTest.PRE_IsolatedSitesPersistAcrossRestarts (1590 ms) [155/454] ExtensionManagementApiBrowserTest.CreateAppShortcutConfirmDialog (2374 ms) [156/454] SubresourceFilterSettingsBrowserTest.ContentSettingsWhitelist_DoNotActivate (1323 ms) [157/454] IndependentOTRProfileManagerTest.DeleteImmediatelyWhenBrowsersAlreadyClosed (1847 ms) [158/454] AdTaggingBrowserTest.FrameLoadedByAdScript (1590 ms) [159/454] LocalNTPJavascriptTest.CustomBackgroundsTests (1872 ms) [160/454] MimeHandlerViewCrossProcessTest.Iframe/0 (1855 ms) [161/454] PDFTestFiles/PDFExtensionLoadTest.Load/5 (4745 ms) [162/454] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.PRE_SearchProtected/0 (1589 ms) [163/454] ClientHintsBrowserTest.ClientHintsLifetimePersistedCookiesBlocked/1 (1586 ms) [164/454] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaVideoAndAudio/1 (2111 ms) [165/454] CrExtensionsLoadErrorTest.RetrySuccess (2374 ms) [166/454] ChromeNavigationBrowserTest.SlowCrossProcessNavigationWithPushState (1862 ms) [167/454] ChromeTracingDelegateBrowserTest.BackgroundTracingTimeThrottled (1861 ms) [168/454] LocalNTPCustomBackgroundsTest.EmbeddedSearchAPIEndToEnd (2115 ms) [169/454] HistoryRoutingTest.All (3169 ms) [170/454] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByRedirectToNoClientHint/1 (1851 ms) [171/454] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowDisabled/2 (2114 ms) [172/454] MediaStreamPermissionTest.TestSecureOriginAcceptIsSticky (1842 ms) [173/454] PaymentRequestCanMakePaymentQueryPMITest.QueryQuotaForPaymentAppsInIncognitoMode (1587 ms) [174/454] InMemoryApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/0 (1588 ms) [175/454] CrashRecoveryBrowserTest.ReloadCacheRevalidate (2111 ms) [176/454] SettingsHelpPageBrowserTest.Load (2645 ms) [177/454] PPAPINaClGLibcTest.TCPSocket_WriteError (1846 ms) [178/454] SupervisedUserBlockModeTest.Unblock/0 (1590 ms) [179/454] SyncInternalsWebUITest.DumpSyncEventsToText (2378 ms) [180/454] AuthenticatorDialogTest.InvokeUi_storage_full (1855 ms) [181/454] OriginPolicyBrowserTest.ErrorPolicy307Redirect (1857 ms) [182/454] SitePerProcess/TaskManagerOOPIFBrowserTest.CrossSiteIframeBecomesSameSite/0 (2377 ms) [183/454] V4SafeBrowsingServiceTest.SubResourceHitWithMainFrameRendererInitiatedSlowLoad (2122 ms) [184/454] ShareMenuControllerTest.PopulatesMenu (2119 ms) [185/454] DataReductionProxyBrowsertest.ChromeProxyEctHeaderSet (1857 ms) [186/454] PrintPreviewCustomMarginsTest.RequestScrollToOutOfBoundsTextbox (3699 ms) [187/454] BackgroundPage/ExtensionContextMenuBrowserTest.UpdateCheckboxes/0 (1605 ms) [188/454] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/11 (1855 ms) [189/454] JavaScriptDialogTest.DismissalCauseUkm (1591 ms) [190/454] PrintPreviewDestinationDialogTest.UserAccounts (3435 ms) [191/454] PaymentSheetViewControllerContactDetailsTest.AllRowsPresent (1843 ms) [192/454] WebViewNewWindowTest.Shim_TestNewWindow (2378 ms) [193/454] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/8 (1849 ms) [194/454] ClientHintsBrowserTest.ClientHintsLifetimeAttachedCookiesBlocked/1 (1583 ms) [195/454] CrManagementA11yTestWithExtension.ExtensionSection_heading_order (2639 ms) [196/454] ZoomBubbleBrowserTest.BubbleSuppressingExtensionRefreshesExistingBubble (1320 ms) [197/454] CrManagementA11yTestWithExtension.ExtensionSection_duplicate_id (2894 ms) [198/454] TabReactivationTrackerTest.CorrectTracking (1846 ms) [199/454] CacheCounterTest.PrefChanged (1588 ms) [200/454] OnboardingA11y.OnboardingFlow_label (2901 ms) [201/454] ChromeNavigationBrowserTest.BlockLegacySubresources (2898 ms) [202/454] ChromeRenderFrameObserverTest.SkipCapturingSubFrames (933 ms) [203/454] PaymentRequestCvcUnmaskViewControllerTest.OpenGoBackOpenPay (2641 ms) [204/454] AppManagementPwaPermissionViewTest.All (3171 ms) [205/454] PrintPreviewPreviewGenerationTest.Scaling (3421 ms) [206/454] MimeHandlerViewCrossProcessTest.NavigationRaceFromCrossProcessRenderer/0 (1590 ms) [207/454] CrManagementA11yTestWithExtension.ExtensionSection_document_title (3164 ms) [208/454] CrExtensionsCodeSectionTest.Layout (2897 ms) [209/454] WebUIAssertionsTestAsyncFail.testAsyncFailCallsDone (1583 ms) [210/454] SyncInternalsWebUITest.EventLogTest (2373 ms) [211/454] SafeBrowsingTriggeredPopupBlockerBrowserTest.MultipleNavigations (2122 ms) [212/454] CrManagementA11yTest.SimpleTest_list (2642 ms) [213/454] ContentVerifierTest.TamperLargeSizedResource (2636 ms) [214/454] InMemoryApp/NetworkContextConfigurationDataPacBrowserTest.DataPac/1 (1335 ms) [215/454] SiteIsolationForPasswordSitesBrowserTest.SyntheticTrialFromMainFrame (1850 ms) [216/454] ExtensionModuleTest.ModuleFromWeb (1842 ms) [217/454] SafeBrowsingNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/1 (1323 ms) [218/454] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/2 (1583 ms) [219/454] ConditionalCacheCountingHelperBrowserTest.Count (4474 ms) [220/454] SubresourceFilterSettingsBrowserTest.ContentSettingsAllowWithNoPageActivation_DoNotActivate (1587 ms) [221/454] ExtensionSessionsTest.GetDevices (1329 ms) [222/454] ExtensionManagementTest.InstallSameVersion (3425 ms) [223/454] ShareMenuControllerTest.AddsMoreButton (1599 ms) [224/454] TestChromeWebUIControllerFactoryTest.TestWebUIProvider (1862 ms) [225/454] PPAPIBrokerInfoBarTest.Deny (1860 ms) [226/454] LazyBackgroundPageApiTest.OnInstalled (1852 ms) [227/454] ExternallyConnectableMessagingTest.WebConnectableWithoutTlsChannelId (1853 ms) [228/454] TranslateManagerBrowserTest.PageTranslationUnexpectedScriptError (1332 ms) [229/454] MediaRouterCastAllowAllIPsPolicyTestInstance/MediaRouterCastAllowAllIPsPolicyTest.RunTest/0 (1592 ms) [230/454] InMemoryApp/NetworkContextConfigurationBrowserTest.CacheIsolation/2 (1845 ms) [231/454] AutofillAutocompleteTest.RetentionPolicy_DoesNot_RemoveValidEntry (1589 ms) [232/454] ProfileMainNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/1 (1585 ms) [233/454] WebRtcGetMediaDevicesBrowserTest.DeviceIdEqualsGroupIdDiffersAcrossTabs/1 (2647 ms) [234/454] PolicyUpdateServiceTest.FailedUpdateRetries (3165 ms) [235/454] ExtensionsDisabledWithSettingsOverrideAPI.PRE_TestSettingsOverridesWithExtensionsDisabled (2380 ms) [236/454] PatchTest.InvalidInputFile (1323 ms) [237/454] IndependentOTRProfileManagerTest.CreateTwoFromSameProfile (2116 ms) [238/454] RenderViewContextMenuMacCocoaBrowserTest.ServicesFiltering (2129 ms) [239/454] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaVideoAndAudio/0 (2386 ms) [240/454] ResourceMetricsObserverBrowserTest.RecordUnfinishedResourceToMetrics (1592 ms) [241/454] MediaRouterDialogControllerViewsTest.OpenCloseMediaRouterDialog (1854 ms) [242/454] WebstoreInstallerBrowserTest.SimultaneousInstall (1852 ms) [243/454] PaymentSheetViewControllerNoShippingTest.UnsupportedCard (1860 ms) [244/454] TabManagerTest.AutoDiscardable (2120 ms) [245/454] BackgroundFetchBrowserTest.FetchFromServiceWorker (27091 ms) [246/454] ExtensionViewHostFactoryTest.CreateExtensionHosts (2121 ms) [247/454] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match_Incognito/1 (4233 ms) [248/454] SiteDetailsBrowserTest.ExtensionWithTwoWebIframes (2903 ms) [249/454] WebUIRequiringGestureBrowserTest.MessageRequiringGestureIgnoresRendererOnlyGesture (3954 ms) [250/454] BrowsingDataRemoverBrowserTest.PRE_PRE_StorageRemovedFromDisk (2117 ms) [251/454] V4SafeBrowsingServiceTest.SubResourceHitOnFreshTab (1850 ms) [252/454] NavigationPredictorBrowserTest.ActionAccuracy_SameOrigin (1852 ms) [253/454] ProfileMainNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/2 (1854 ms) [254/454] MachineLevelUserCloudPolicyManagerTest.WithDmToken (1585 ms) [255/454] PaymentRequestCanMakePaymentQueryPMITest.QueryQuotaForBasicCardsInIncognito (2371 ms) [256/454] MultiActionAPITest.ValuesAreClearedOnNavigationAndTabRemoval/2 (1849 ms) [ RUN ] AutofillTest.ProfilesAggregatedWithSubmitHandler [23379:6659:0524/214848.229015:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [23379:26371:0524/214849.214732:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/itGlBybq/.org.chromium.Chromium.eCK28v/d4YvXzd/Default/shared_proto_db: Invalid argument: /b/s/w/itGlBybq/.org.chromium.Chromium.eCK28v/d4YvXzd/Default/shared_proto_db: does not exist (create_if_missing is false) ../../chrome/browser/autofill/autofill_browsertest.cc:275: Failure Expected equality of these values: 1u Which is: 1 personal_data_manager()->GetProfiles().size() Which is: 0 Stack trace: 0 browser_tests 0x000000010d7803bf StackTraceGetter::CurrentStackTrace(int, int) + 47 1 browser_tests 0x000000010d78aa4b testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) + 91 2 browser_tests 0x000000010d78a389 testing::internal::AssertHelper::operator=(testing::Message const&) const + 89 3 browser_tests 0x000000010bf45cc5 autofill::AutofillTest_ProfilesAggregatedWithSubmitHandler_Test::RunTestOnMainThread() + 1925 4 browser_tests 0x0000000110fce597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 5 browser_tests 0x0000000110ab0c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 6 browser_tests 0x0000000110aafa6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 7 browser_tests 0x000000010e7ccebf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 8 browser_tests 0x000000010ec83fe7 content::StartupTaskRunner::RunAllTasksNow() + 39 9 browser_tests 0x000000010e7cb8c6 content::BrowserMainLoop::CreateStartupTasks() + 630 10 browser_tests 0x000000010e7cec42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 11 browser_tests 0x000000010e7c9e3a content::BrowserMain(content::MainFunctionParams const&) + 186 12 browser_tests 0x00000001104d03ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 13 browser_tests 0x00000001104d0041 content::ContentMainRunnerImpl::Run(bool) + 273 14 browser_tests 0x0000000113bfee98 service_manager::Main(service_manager::MainParams const&) + 2280 15 browser_tests 0x00000001104cf314 content::ContentMain(content::ContentMainParams const&) + 68 16 browser_tests 0x0000000110fce1ec content::BrowserTestBase::SetUp() + 2796 BrowserTestBase received signal: Segmentation fault: 11. Backtrace: 0 browser_tests 0x00000001109d2099 base::debug::CollectStackTrace(void**, unsigned long) + 9 1 browser_tests 0x00000001108f2ee3 base::debug::StackTrace::StackTrace() + 19 2 browser_tests 0x0000000110fcef52 content::(anonymous namespace)::DumpStackTraceSignalHandler(int) + 226 3 libsystem_platform.dylib 0x00007fff8b5a352a _sigtramp + 26 4 ??? 0x0000000127d60000 0x0 + 4963303424 5 browser_tests 0x0000000110fce597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 6 browser_tests 0x0000000110ab0c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 7 browser_tests 0x0000000110aafa6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 8 browser_tests 0x000000010e7ccebf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 9 browser_tests 0x000000010ec83fe7 content::StartupTaskRunner::RunAllTasksNow() + 39 10 browser_tests 0x000000010e7cb8c6 content::BrowserMainLoop::CreateStartupTasks() + 630 11 browser_tests 0x000000010e7cec42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 12 browser_tests 0x000000010e7c9e3a content::BrowserMain(content::MainFunctionParams const&) + 186 13 browser_tests 0x00000001104d03ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 14 browser_tests 0x00000001104d0041 content::ContentMainRunnerImpl::Run(bool) + 273 15 browser_tests 0x0000000113bfee98 service_manager::Main(service_manager::MainParams const&) + 2280 16 browser_tests 0x00000001104cf314 content::ContentMain(content::ContentMainParams const&) + 68 17 browser_tests 0x0000000110fce1ec content::BrowserTestBase::SetUp() + 2796 18 browser_tests 0x0000000110a21183 InProcessBrowserTest::SetUp() + 563 19 browser_tests 0x000000010d795cb0 testing::Test::Run() + 112 20 browser_tests 0x000000010d796bbf testing::TestInfo::Run() + 463 21 browser_tests 0x000000010d7973d7 testing::TestSuite::Run() + 295 22 browser_tests 0x000000010d7a5697 testing::internal::UnitTestImpl::RunAllTests() + 1607 23 browser_tests 0x000000010d7a5036 testing::UnitTest::Run() + 102 24 browser_tests 0x0000000110a4527e base::TestSuite::Run() + 158 25 browser_tests 0x00000001108dac6d ChromeTestSuiteRunner::RunTestSuite(int, char**) + 45 26 browser_tests 0x0000000110ffac22 content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) + 546 27 browser_tests 0x00000001108db23e LaunchChromeTests(unsigned long, content::TestLauncherDelegate*, int, char**) + 494 28 browser_tests 0x00000001108dab1e main + 94 29 libdyld.dylib 0x00007fff8dc6d5ad start + 1 [257/454] AutofillTest.ProfilesAggregatedWithSubmitHandler (CRASHED) [258/454] PrintPreviewModelTest.GetCloudPrintTicket (3953 ms) [259/454] ChromeSecurityExploitBrowserTestMojoBlobURLs.CreateBlobInExtensionOrigin (1849 ms) [260/454] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/2 (2109 ms) [261/454] BackgroundFetchBrowserTest.DownloadService_Acceptance (2650 ms) [262/454] SystemWebAppManagerBrowserTest.Install (2636 ms) [263/454] RepostFormWarningTest.TestDoubleReload (2120 ms) [264/454] PrintPreviewButtonStripTest.ButtonStripChangesForState (4213 ms) [265/454] ExtensionBindingsApiTest.UseAppAPIAfterFrameRemoval (2123 ms) [266/454] CrManagementA11yTest.SimpleTest_aria_valid_attr (3168 ms) [267/454] ImageAnnotationBrowserTest.TutorMessageOnlyOnFirstImageInLinks (2375 ms) [268/454] PPAPINaClGLibcTest.TCPSocket_SetReceiveBufferSizeError (2636 ms) [269/454] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/13 (2377 ms) [270/454] ContentSettingBubbleContentsBrowserTest.HidesAtWebContentsClose (3165 ms) [271/454] CertificateReportingServiceBrowserTest.Delayed_Resumed/1 (2640 ms) [272/454] DesktopMediaPickerViewsBrowserTest.InvokeUi_default (2117 ms) [273/454] BackgroundContentsTagTest.TasksProvidedWhileObserving (1861 ms) [274/454] ForceFieldTrialsBrowserTests/ForceFieldTrialsBrowserTest.PRE_PRE_ForceTrials/0 (2123 ms) [275/454] WebViewSurfaceSynchronizationTest.AutosizeRemoveAttributes (2648 ms) [276/454] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.PRE_ChangedAtomic/3 (2386 ms) [277/454] SitePerProcessPrintExtensionBrowserTest.PrintOptionPage (5270 ms) [278/454] WebViewWithZoomForDSFTest.Shim_TestAutosizeBeforeNavigation (2901 ms) [279/454] PrintPreviewAdvancedDialogTest.AdvancedSettingsFilter (3956 ms) [280/454] StartupBrowserCreatorTest.LaunchMultipleLockedProfiles (2375 ms) [281/454] MediaRouterUIBrowserTest.EphemeralToolbarIconWithMultipleWindows (1588 ms) [282/454] WebUIAccessibilityAuditBrowserTest_ShouldFail.testWithAuditFailures (1321 ms) [283/454] ExtensionInstallPromptBrowserTest.NoParent (1058 ms) [284/454] PrintPreviewScalingSettingsTest.ShowCorrectDropdownOptions (2907 ms) [285/454] ExtensionBindingsApiTest.ValidationInterception (1589 ms) [286/454] ExtensionOverrideTest.SubframeNavigationInOverridenNTPDoesNotAffectFocus (1579 ms) [287/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_DiskCache/0 (1847 ms) [288/454] CastChannelAPITest.TestOpenError (1335 ms) [289/454] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.AudioCaptureAllowed/1 (1326 ms) [290/454] PrintPreviewDestinationDialogTest.PrinterList (3426 ms) [291/454] SafeBrowsingTriggeredPopupBlockerBrowserTest.DrivenByEnterprisePolicy (2109 ms) [292/454] AuthenticatorDialogTest.InvokeUi_transports (1323 ms) [293/454] OnboardingA11y.OnboardingFlow_bypass (2635 ms) [294/454] CrManagementA11yTestWithExtension.ExtensionSection_td_headers_attr (2644 ms) [295/454] ChromeMimeHandlerViewBrowserPluginTest.UnderChildFrame (1850 ms) [296/454] AutoplayExtensionBrowserTest.AutoplayAllowedInIframe (1849 ms) [297/454] ExtensionMessageBubbleViewBrowserTest.TestClickingDismissButton (1317 ms) [298/454] AdsPageLoadMetricsObserverBrowserTest.VisibleAdframeRecorded (2641 ms) [299/454] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaVideo/2 (1587 ms) [300/454] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/12 (1596 ms) [301/454] PrintPreviewPagesSettingsTest.PagesDropdown (3950 ms) [302/454] PermissionDialogTest.InvokeUi_protocol_handlers (1592 ms) [303/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.BasicRequest/1 (1849 ms) [304/454] DiscardsTest.DurationToString (2643 ms) [305/454] BackgroundFetchBrowserTest.OfflineItemCollection_SingleFileMetadata (1846 ms) [306/454] ProfileWindowWebUIBrowserTest.UserManagerFocusSingleProfile (2633 ms) [307/454] SystemNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/0 (1592 ms) [308/454] OnDiskApp/NetworkContextConfigurationFilePacBrowserTest.FilePac/2 (1588 ms) [309/454] BackgroundFetchBrowserTest.RecordBackgroundFetchUkmEvent (1593 ms) [310/454] BaseIdentityInternalsWebUITest.emptyTokenCache (1849 ms) [311/454] SitePerProcessAutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedCreditCardForm (2117 ms) [312/454] IeemSitelistParserTest.BadXmlParsed (1846 ms) [313/454] HostedAppProcessModelTest.PopupsInsideHostedApp/0 (4735 ms) [314/454] NetworkingPrivateServiceClientApiTest.StartConnect (1848 ms) [315/454] DataSaverBrowserTest.DataSaverDisabled (1844 ms) [316/454] CrExtensionsDetailViewTest.IndicatorTest (2633 ms) [317/454] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.Simple/4 (1584 ms) [318/454] TtsApiTest.PlatformSpeakError (1613 ms) [319/454] ExtensionDisabledGlobalErrorTest.AcceptPermissions (3162 ms) [320/454] PPAPINaClGLibcTest.UDPSocket_ReadError (2384 ms) [321/454] PrintPreviewCustomMarginsTest.MediaSizeClearsCustomMargins (2649 ms) [322/454] SettingsPrivateApiTest.SetPref (1332 ms) [323/454] InMemoryApp/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/1 (1325 ms) [324/454] ClientHintsBrowserTest.UserAgentVersion/1 (1582 ms) [325/454] CrManagementA11yTestWithExtension.ExtensionSection_radiogroup (2655 ms) [326/454] MimeHandlerViewCrossProcessTest.ActivatePostMessageSupportOnce/1 (2104 ms) [327/454] NaClBrowserTestNewlibVcacheExtension.ValidationCacheOfMainNexe (2370 ms) [328/454] DebuggerApiTest.InfoBar (1846 ms) [329/454] InMemoryApp/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/1 (1328 ms) [330/454] ExtensionBindingsApiTest.AboutBlankIframe (1590 ms) [331/454] ExtensionDisabledGlobalErrorTest.UserDisabled (2902 ms) [332/454] SitePerProcessHighDPIExpiredCertBrowserTest.InterstitialLoadsWithCorrectDeviceScaleFactor (2109 ms) [333/454] ProfileNetworkContextServiceBrowsertest.BrotliEnabled/0 (1585 ms) [334/454] CloudPolicyManagerTest.RegisterFails (1322 ms) [335/454] BrowsingDataRemoverBrowserTest.MediaDeviceIdSalt (1330 ms) [336/454] TtsApiTest.PlatformSpeakInterrupt (1602 ms) [337/454] SitePerProcessPrintBrowserTest.SubframeUnavailableDuringPrint (3952 ms) [338/454] ExtensionContentSettingsApiTest.ClearProperlyGranular (1854 ms) [339/454] MediaRouterActionEnabledPolicyTest.MediaRouterActionEnabled (1071 ms) [340/454] PrintPreviewHeaderNewTest.HeaderChangesForState (2374 ms) [341/454] LocalSiteCharacteristicsDatabaseTest.NoFeatureUsed (3957 ms) [342/454] DnsProbeUnreachableProbesTest.ProbesDisabled (1592 ms) [343/454] InstanceIDApiTest.Incognito (1589 ms) [344/454] ChromeNavigationBrowserTest.NoopenerCorrectlyFocusesNewTab (1593 ms) [345/454] ChromeUpdatesEventsApiTest.PRE_ChromeUpdates (3436 ms) [346/454] AutomationApiTestWithLanguageDetection.DetectedLanguage (2120 ms) [347/454] ChromePasswordProtectionServiceBrowserTest.SuccessfullyShowWarningIncognito (2115 ms) [348/454] ChromeOriginTrialsDisabledFeaturesTest.PRE_DisabledFeaturesSetOnCommandLine/0 (1857 ms) [349/454] WasmAppTest.InstantiateWasmFromArrayBuffer (1859 ms) [350/454] ServiceWorkerTest.FetchFromContentScriptShouldNotGoToServiceWorkerOfPage (1858 ms) [351/454] PasswordBubbleBrowserTest.InvokeUi_PendingPasswordBubble (1856 ms) [352/454] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.XHRPortSpecificPermissionBlock/0 (2124 ms) [353/454] ExtensionContentSettingsApiTest.EmbeddedSettingsMetric (2117 ms) [354/454] UserManagerUIAuthenticatedUserBrowserTest.SupervisedUserBlocked (2113 ms) [355/454] PrintPreviewHeaderTest.ButtonOrder (2393 ms) [356/454] ErrorConsoleBrowserTest.ContentScriptLogAndRuntimeError (1584 ms) [357/454] WebUIAccessibilityAuditBrowserTest_TestsDisabledInFixture_ShouldFail.testWithAuditFailures (1860 ms) [358/454] SignInIsolationBrowserTest.NavigateToSignInPage (1842 ms) [359/454] NetworkRequestMetricsBrowserTest.FileURLError/0 (1321 ms) [360/454] InMemoryApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/2 (1581 ms) [361/454] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/2 (1847 ms) [362/454] BookmarksCommandManagerTest.All (4214 ms) [363/454] InMemoryApp/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/2 (1599 ms) [364/454] SocketApiTest.SocketTCPServerUnbindOnUnload (2112 ms) [365/454] CustomTabBarViewBrowserTest.WhenNoHistoryIsInScopeCloseShouldNavigateToAppLaunchURL (2118 ms) [366/454] CrManagementA11yTest.SimpleTest_marquee (2371 ms) [367/454] DeferredMediaBrowserTest.BackgroundMediaIsDeferred (1339 ms) [368/454] ExtensionManagementTest.AutoUpdate (3957 ms) [369/454] TabManagerTest.RegisterMemoryPressureListener (2113 ms) [370/454] InMemoryApp/NetworkContextConfigurationBrowserTest.UploadFile/1 (1059 ms) [371/454] OnboardingA11y.OnboardingFlow_list (2372 ms) [372/454] OnDiskApp/NetworkContextConfigurationBrowserTest.BasicRequest/1 (1323 ms) [373/454] PrintPreviewPolicyTest.DisableHeaderFooterByPref (3420 ms) [374/454] CertVerifierBrowserTest.MockCertVerifierSmokeTest (1582 ms) [375/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/1 (2107 ms) [376/454] JavaScriptDialogTest.ReloadDoesntHang (1600 ms) [377/454] SiteEngagementBrowserTest.All (1848 ms) [378/454] ServiceWorker/ExtensionContextMenuBrowserTest.LongTitle/0 (1850 ms) [379/454] ContentSettingsTest.RedirectCrossOrigin (1062 ms) [380/454] PrintPreviewCustomMarginsTest.IgnoreDocumentMarginsFromPDF (3160 ms) [381/454] HostZoomMapBrowserTest.ParentDefaultZoomPropagatesToIncognitoChild (1323 ms) [382/454] LocalNTPSearchSuggestTest.SuggestionsNotInjectedIntoPageNonEnUS (3163 ms) [383/454] InMemoryApp/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/1 (1323 ms) [384/454] ChromeOriginTrialsTest.NoDisabledTokens (1323 ms) [385/454] SignedExchangePolicyBrowserTest/SignedExchangePolicyBrowserTest.BlackList/1 (1847 ms) [386/454] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/3 (1847 ms) [387/454] BookmarksReducersTest.All (2637 ms) [388/454] MediaRouterUIBrowserTest.OpenDialogFromContextMenu (1326 ms) [389/454] ZoomControllerBrowserTest.SettingsZoomAfterSigninWorks (3421 ms) [390/454] ExtensionOverrideTest.OverrideHistory (1586 ms) [391/454] ServiceWorkerPaymentAppFactoryBrowserTest.InvalidDifferentSiteRedirect (1322 ms) [392/454] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/43 (2111 ms) [393/454] AccessibilityLabelsBrowserTest.NewWebContents (1056 ms) [394/454] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/30 (1587 ms) [395/454] PaymentRequestPaymentResponseAllContactDetailsTest.RetryWithPayerErrors_HasSameValueButDifferentErrorsShown (2112 ms) [396/454] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/47 (2370 ms) [397/454] PKPModelClientTest.PKPBypass/1 (1326 ms) [398/454] PPAPINaClGLibcTest.TCPServerSocketPrivate_AcceptError (2119 ms) [399/454] CorsOriginAccessListBrowserTest.BlockSubdomain (1061 ms) [400/454] PrintPreviewDestinationSelectTest.DefaultDestinationSelectionRules (2635 ms) [401/454] RestartTest.PRE_SessionStorage (1065 ms) [402/454] VariationsHttpHeadersBrowserTest.TestStrippingHeadersFromRequestUsingSimpleURLLoaderWithGlobalSystemNetworkContext (1323 ms) [403/454] ExtensionContextMenuApiTest.ShowTopLevelSubmenuItemIfSomeOfChildrenAreVisible (1584 ms) [404/454] KeyRotationComponentCloudPolicyTest.Basic (2902 ms) [405/454] SSLPolicyTestCommittedInterstitials.SSLErrorOverridingDisallowed/0 (1586 ms) [406/454] NaClBrowserTestStatic.CorsNoCookie (1328 ms) [407/454] OnDiskApp/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/1 (2108 ms) [408/454] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByNoClientHintIncognito/0 (1853 ms) [409/454] MimeHandlerViewCrossProcessTest.BeforeUnload_ShowDialog/1 (1854 ms) [410/454] UnifiedAutoplayBrowserTest.Redirect_SameOrigin_WithoutGesture (1323 ms) [411/454] AcceleratorsCocoaBrowserTest.MappingAcceleratorsInMainMenu (1585 ms) [412/454] WebRtcGetMediaDevicesBrowserTest.EnumerateDevicesWithoutAccess/1 (1581 ms) [413/454] DataSaverForWorkerBrowserTest.SharedWorker_Off (1320 ms) [414/454] BitmapFetcherBrowserTest.OnURLFetchFailureTest (1060 ms) [415/454] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/1 (941 ms) [416/454] AndroidUsbCountTest.TestNoMultipleCallsRemoveAddInCallback (1337 ms) [417/454] PaymentRequestCanMakePaymentQueryCCTest.QueryQuotaInIncognito (1325 ms) [418/454] PPAPINaClGLibcTest.TCPSocket_AcceptError (1846 ms) [419/454] HistoryMetricsTest.All (2656 ms) [420/454] ClientHintsBrowserTest.ClientHintsThirdPartyNotAllowed/1 (1587 ms) [421/454] ImageAnnotationBrowserTest.AnnotationLanguages (1595 ms) [422/454] CrManagementA11yTestWithExtension.ExtensionSection_listitem (2634 ms) [423/454] LoadTimingBrowserTest.HTTP (2121 ms) [424/454] SafeBrowsingTriggeredPopupBlockerBrowserTest.WarningDoNotBlockCreatingNewWindows_LogsToConsole (1066 ms) [425/454] PlatformAppNavigationRedirectorBrowserTest.MismatchingClickInTabNotIntercepted (2639 ms) [426/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.UploadFile/0 (1325 ms) [427/454] PPAPINaClGLibcTest.TCPSocket_UnexpectedCalls (1846 ms) [428/454] PolicyControl/StartupBrowserCreatorInfobarsTest.CheckInfobarForBadFlag/1 (1327 ms) [429/454] SafeXmlParserTest.Isolation (2109 ms) [430/454] ProfileNetworkContextServiceDiskCacheDirBrowsertest.DiskCacheLocation/0 (1597 ms) [431/454] ErrorCases/PaymentHandlerChangePaymentMethodTest.Test/1 (1585 ms) [432/454] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/39 (2376 ms) [433/454] NavigationConsumingTest.TargetNavigationFocus (1590 ms) [434/454] BackgroundFetchBrowserTest.FetchesRunToCompletionAndUpdateTitle_Failed (26556 ms) [435/454] BrowserCommandsTest.BookmarkCurrentPageAfterCloseTabs (1580 ms) [436/454] SyncInternalsWebUITest.NodeBrowserRefreshOnTabSelect (2116 ms) [437/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookieSettings/1 (1583 ms) [438/454] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.ClearedAtomic/3 (1328 ms) [439/454] OnboardingA11y.OnboardingFlow_document_title (2121 ms) [440/454] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.SearchProtected/0 (1059 ms) [441/454] ExtensionsDisabledWithSettingsOverrideAPI.TestSettingsOverridesWithExtensionsDisabled (1063 ms) [442/454] SiteIsolationForPasswordSitesBrowserTest.IsolatedSitesPersistAcrossRestarts (2114 ms) [443/454] BrowsingDataRemoverBrowserTest.PRE_StorageRemovedFromDisk (1586 ms) [444/454] ForceFieldTrialsBrowserTests/ForceFieldTrialsBrowserTest.PRE_ForceTrials/0 (1328 ms) [445/454] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.ChangedAtomic/3 (1324 ms) [446/454] OnDiskApp/NetworkContextConfigurationBrowserTest.SSLConfig/2 (1594 ms) [447/454] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.DiskCache/0 (1583 ms) [448/454] ChromeOriginTrialsDisabledFeaturesTest.DisabledFeaturesSetOnCommandLine/0 (1325 ms) [449/454] ChromeUpdatesEventsApiTest.ChromeUpdates (1589 ms) [450/454] OnDiskApp/NetworkContextConfigurationBrowserTest.CookieSettings/2 (1591 ms) [451/454] RestartTest.SessionStorage (1325 ms) [452/454] OnDiskApp/NetworkContextConfigurationBrowserTest.CookieSettings/1 (1062 ms) [453/454] ForceFieldTrialsBrowserTests/ForceFieldTrialsBrowserTest.ForceTrials/0 (1071 ms) [454/454] BrowsingDataRemoverBrowserTest.StorageRemovedFromDisk (1326 ms) Retrying 1 test (retry #0) [455/455] AutofillTest.ProfilesAggregatedWithSubmitHandler (1071 ms) SUCCESS: all tests passed. 45062090c06ec810: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=2 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/iolnulbi/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 2/10 Using 4 parallel jobs. Randomizing with seed 64243 [1/498] AdTaggingEventWithScriptInStackBrowserTest.WindowOpenWithScriptInStack/0 (1853 ms) [2/498] ExtensionBrowsingDataTest.SyncError (1856 ms) [3/498] AutofillMetricsBrowserTest.CorrectSourceForUnownedCreditCardCheckout (1856 ms) [4/498] TabManagerTest.TabFreezeAndProactiveDiscardBeforeFreezeCompletes (2390 ms) [5/498] ReportingBrowserTest.TestReportingHeadersProcessed (1329 ms) [6/498] IFrameTest.InEmptyFrame (1591 ms) [7/498] PPAPIBrokerInfoBarTest.Allowed (2111 ms) [8/498] SystemWebAppNonClientFrameViewBrowserTest.HideHostedAppButtonContainer (2112 ms) [9/498] OnDiskApp/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/1 (1321 ms) [10/498] InMemoryApp/NetworkContextConfigurationBrowserTest.BasicRequest/1 (1324 ms) [11/498] MediaFileValidatorTest.ValidVideo (2106 ms) [12/498] PasswordManagerInternalsWebUIBrowserTest.NonIncognitoMessage (1844 ms) [13/498] SafeBrowsingTriggeredPopupBlockerBrowserTest.AllowCreatingNewWindows_NoLogToConsole (1850 ms) [14/498] SecurityStatePageLoadMetricsBrowserTest.ReloadPage (1850 ms) [15/498] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInCrossOriginPostRequest/0 (2376 ms) [16/498] SupervisedUserBlockModeTest.SendAccessRequestOnBlockedURL/1 (2122 ms) [17/498] CrSettingsImportDataDialogTest.All (5272 ms) [18/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/1 (2135 ms) [19/498] SafeBrowsingNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/2 (2114 ms) [20/498] LocalNTPTest.EmbeddedSearchAPIOnlyAvailableOnNTP (3953 ms) [21/498] NaClGdbDebugStubTest.Empty (2120 ms) [22/498] InstanceIDApiTest.DeleteID (2386 ms) [23/498] VariationsHttpHeadersBrowserTest.SharedWorkerScript (2381 ms) [24/498] ChromeNavigationBrowserTest.WindowOpenBlockedAfterClickNavigation (1848 ms) [25/498] WebViewSizeTest.Shim_TestResizeEvents (2900 ms) [26/498] ExtensionsLoadTest.Test (2115 ms) [27/498] AppEventPageTest.OnSuspendNoApiUse (4476 ms) [28/498] FindShortcutBehaviorTest.All (2121 ms) [29/498] ThemeServiceBrowserTest.PRE_ThemeDataPackInvalid (2390 ms) [30/498] PolicyHeaderServiceBrowserTest.PolicyHeader (2118 ms) [31/498] DownloadWakeLockTest.WakeLockAcquireAndCancel (1860 ms) [32/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_DiskCache/2 (2412 ms) [33/498] MachineLevelUserCloudPolicyEnrollmentTest.Test/0 (4745 ms) [34/498] BrowserCommandControllerBrowserTest.PRE_TestTabRestoreCommandEnabled (2922 ms) [35/498] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/31 (2396 ms) [36/498] SupervisedUserNavigationThrottleTest.BlockMainFrameWithInterstitial/1 (2379 ms) [37/498] RuntimeAPIUpdateTest.TerminatedExtensionUpdateHasCorrectPreviousVersion (4217 ms) [38/498] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/0 (1586 ms) [39/498] ProxySettingsApiTest.ProxyDirectSettings (1869 ms) [40/498] HistoryCounterTest.PrefChanged (2648 ms) [41/498] DiceManageAccountBrowserTest.PRE_ClearManagedProfileOnStartup (1587 ms) [42/498] Mock4JSWebUITestFails.CalledOnceExpectTwiceFails (1589 ms) [43/498] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/2 (3959 ms) [44/498] OnboardingA11y.OnboardingFlow_html_lang_valid (2637 ms) [45/498] WorkerDevToolsSanityTest.InspectSharedWorker (4220 ms) [46/498] ExtensionOptionsApiTest.ShouldNotEmbedOtherExtensionsOptions (5524 ms) [47/498] MultiTabLoadingPageLoadMetricsBrowserTest.SingleTab (2378 ms) [48/498] WebViewScrollBubbling/WebViewGuestScrollTest.TestGuestWheelScrollsBubble/0 (3174 ms) [49/498] AppManagementMainViewTest.All (3441 ms) [50/498] InlineLoginUISafeIframeBrowserTest.Basic (2641 ms) [51/498] CollectedCookiesTest.InvokeUi_default (2377 ms) [52/498] WebViewDPITest.Shim_TestAutosizeRemoveAttributes (3445 ms) [53/498] ServiceWorkerBasedBackgroundTest.TabsExecuteScript (3177 ms) [54/498] LocalCardMigrationBrowserTest.UsingNewCardDoesNotShowIntermediateMigrationOffer (2926 ms) [55/498] CrElementsRadioGroupTest.All (3172 ms) [ RUN ] NTPTilesTest.NavigateAfterSettingObserver [24410:17943:0524/214653.638043:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [24410:27395:0524/214655.899489:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/it5By6Im/.org.chromium.Chromium.jzQkiJ/ddmca1F/Default/shared_proto_db: Invalid argument: /b/s/w/it5By6Im/.org.chromium.Chromium.jzQkiJ/ddmca1F/Default/shared_proto_db: does not exist (create_if_missing is false) ../../chrome/browser/ntp_tiles/ntp_tiles_browsertest.cc:159: Failure Value of: tiles Expected: contains at least one element that has title "OK" and url "http://127.0.0.1:52878/simple.html" and source 0 Actual: { 312-byte object <57-00 65-00 62-00 20-00 53-00 74-00 6F-00 72-00 65-00 00-00 00-00 00-09 30-EB 8A-B4 DF-7F 00-00 28-00 00-00 00-00 00-00 30-00 00-00 00-00 00-80 01-00 00-00 00-00 00-00 00-00 00-00 05-00 00-00 ... 00-00 00-00 FF-FF FF-FF 00-00 00-00 FF-FF FF-FF 00-00 00-00 FF-FF FF-FF 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00> } Stack trace: 0 browser_tests 0x000000010b9673bf StackTraceGetter::CurrentStackTrace(int, int) + 47 1 browser_tests 0x000000010b971a4b testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) + 91 2 browser_tests 0x000000010b971389 testing::internal::AssertHelper::operator=(testing::Message const&) const + 89 3 browser_tests 0x000000010a55068f ntp_tiles::NTPTilesTest_NavigateAfterSettingObserver_Test::RunTestOnMainThread() + 863 4 browser_tests 0x000000010f1b5597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 5 browser_tests 0x000000010ec97c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 6 browser_tests 0x000000010ec96a6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 7 browser_tests 0x000000010c9b3ebf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 8 browser_tests 0x000000010ce6afe7 content::StartupTaskRunner::RunAllTasksNow() + 39 9 browser_tests 0x000000010c9b28c6 content::BrowserMainLoop::CreateStartupTasks() + 630 10 browser_tests 0x000000010c9b5c42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 11 browser_tests 0x000000010c9b0e3a content::BrowserMain(content::MainFunctionParams const&) + 186 12 browser_tests 0x000000010e6b73ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 13 browser_tests 0x000000010e6b7041 content::ContentMainRunnerImpl::Run(bool) + 273 14 browser_tests 0x0000000111de5e98 service_manager::Main(service_manager::MainParams const&) + 2280 15 browser_tests 0x000000010e6b6314 content::ContentMain(content::ContentMainParams const&) + 68 16 browser_tests 0x000000010f1b51ec content::BrowserTestBase::SetUp() + 2796 [24410:29187:0524/214656.350598:ERROR:browser_process_sub_thread.cc(221)] Waited 60 ms for network service [24410:775:0524/214656.374403:WARNING:pref_notifier_impl.cc(36)] Pref observer for browser.relaunch_notification_period found at shutdown. [24410:775:0524/214656.374458:WARNING:pref_notifier_impl.cc(36)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ FAILED ] NTPTilesTest.NavigateAfterSettingObserver, where TypeParam = and GetParam() = (2978 ms) [56/498] NTPTilesTest.NavigateAfterSettingObserver (3434 ms) [57/498] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_Hsts/1 (2119 ms) [58/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/2 (3175 ms) [59/498] SupervisedUserTest.GoBackOnDontProceed/0 (1871 ms) [60/498] PictureInPicturePixelComparisonBrowserTest.VideoPlay (6078 ms) [61/498] CastV2PerformanceTest.Performance/2 (9747 ms) [62/498] CollectedCookiesTest.DoubleDisplay (1859 ms) [63/498] BrowserCloseManagerBrowserTest.TestHangInBeforeUnloadMultipleTabs (4744 ms) [64/498] SafeBrowsingNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/2 (1854 ms) [65/498] CustomTabBarViewBrowserTest.ScopeAboveLaunchURLShouldBeOutOfScopeAndClosable (2904 ms) [66/498] PresentationReceiverWindowControllerBrowserTest.CreatesWindow (3230 ms) [67/498] CrManagementA11yTest.SimpleTest_aria_hidden_body (3441 ms) [68/498] AuthenticatorDialogTest.InvokeUi_cable_activate (2437 ms) [69/498] CrManagementA11yTestWithExtension.ExtensionSection_bypass (5289 ms) [70/498] ClipboardApiTest.HostedApp (3498 ms) [71/498] SSLUITestIgnoreCertErrorsBySPKIHTTPS.TestInsecureSubresource/1 (2147 ms) [72/498] PasswordBubbleBrowserTest.InvokeUi_AutoSignin (2688 ms) [73/498] PlatformAppNavigationRedirectorBrowserTest.WindowOpenInTabIntercepted (4272 ms) [74/498] PPAPINaClGLibcTest.TCPSocketPrivate_SSLHandshakeError (2895 ms) [75/498] SaveCardBubbleControllerImplTest.InvokeUi_Local (1851 ms) [76/498] IntentPickerBubbleViewBrowserTest.IconVisibilityAfterTabSwitching/1 (4231 ms) [77/498] CrExtensionsOptionsDialogTest.Layout (3709 ms) [78/498] CrExtensionsDetailViewTest.LayoutSource (3179 ms) [79/498] PrintPreviewCustomMarginsTest.ControlsCheck (3711 ms) [80/498] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_EmptyAndBlocked/0 (2386 ms) [81/498] CertificateReportingServiceBrowserTest.DropOldReportsFromQueue/0 (14797 ms) [82/498] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/1 (2376 ms) [83/498] PlatformAppNavigationRedirectorBrowserTest.EntryInOmnibarIntercepted (3695 ms) [84/498] GlobalConfirmInfoBarTest.UserInteraction (2377 ms) [85/498] HistoryToolbarTest.All (3977 ms) [86/498] SubresourceFilterInterceptingBrowserTest.SafeBrowsingNotificationsCheckBest (1614 ms) [87/498] InfoBarsTest.TestInfoBarsCloseOnNewTheme (5018 ms) [88/498] CrSettingsAutofillSectionCompanyDisabledTest.All (7365 ms) [89/498] DurableStorageBrowserTest.QueryBookmarkedPage (2387 ms) [90/498] PasswordManagerInternalsWebUIBrowserTest.LogSavePasswordProgress_NavigateAway (2647 ms) [91/498] CrExtensionsManagerUnitTest.ProfileSettings (2910 ms) [92/498] PasswordManagerDialogBrowserTest.InvokeUi_normal (2646 ms) [93/498] FramebustBlockBrowserTest.SimpleFramebust_Blocked (2652 ms) [94/498] BackgroundPage/ExtensionContextMenuBrowserTest.TargetURLs/0 (3182 ms) [95/498] InMemoryApp/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/2 (2643 ms) [96/498] ExtensionManagementApiBrowserTest.LaunchAppFromBackground (2655 ms) [97/498] NetInfoNetworkQualityEstimatorHoldbackBrowserTest.EffectiveConnectionTypeChangeNotified/1 (2382 ms) [98/498] CrManagementA11yTest.SimpleTest_image_alt (3178 ms) [99/498] CrManagementA11yTestWithExtension.ExtensionSection_image_redundant_alt (3703 ms) [100/498] OpenWindowFromNTPBrowserTest.TransferFromNTPCreateNewTab (2910 ms) [101/498] ProfileStatisticsBrowserTest.GatherStatistics (2390 ms) [102/498] ExternallyConnectableMessagingTest.FromIncognitoAllowApp (3193 ms) [103/498] PrintPreviewLayoutSettingsTest.All (5025 ms) [104/498] MediaRouterActionDisabledPolicyTest.MediaRouterActionDisabled (1872 ms) [105/498] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureNotTriggeredIfDocumentNotInWebAppScope (2656 ms) [106/498] ManagedUiTest.GetManagedUiWebUILabel (2381 ms) [107/498] EventsApiTest.UpdateDispatchesOnInstalledAfterEnablement (5034 ms) [108/498] LoadingPredictorBrowserTestWithProxy.PrepareForPageLoadWithPrediction (2925 ms) [109/498] SupervisedUserNavigationThrottleNotSupervisedTest.DontBlock/1 (2388 ms) [110/498] ChromeSitePerProcessBrowserPluginPDFTest.ResendGestureToEmbedderNonOOPIF (2703 ms) [111/498] SitePerProcessDebuggerExtensionApiTest.Debugger (4742 ms) [112/498] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureTriggeredOnPageHiddenIfVideoPausedWhenHidden (2380 ms) [113/498] SyncAwareCounterTest.HistoryCounter (5535 ms) [114/498] ExtensionIdltestApiTest.IdlCompiler (3689 ms) [115/498] SpellingMenuObserverTest.InitMenuWithCorrectWord (2122 ms) [116/498] LocalCardMigrationBrowserTest.ClosingBubbleAddsLocalCardMigrationStrikes (2915 ms) [117/498] SitePerProcessPrintBrowserTest.BasicPrint (6322 ms) [118/498] WebViewSizeTest.Shim_TestResizeWebviewResizesContent (3166 ms) [119/498] IncognitoProfileMainNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/1 (2640 ms) [120/498] AskGoogleForSuggestionsDialogTest.InvokeUi_default (2376 ms) [121/498] ClientHintsBrowserTest.DisregardPersistenceRequestIframe_CrossOrigin/0 (2385 ms) [122/498] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_Hsts/1 (2388 ms) [123/498] AutofillAutocompleteTest.SubmitSimpleValue_OTR_DoesNotSave (2910 ms) [124/498] WebViewChannelTest.Shim_WebViewWebRequestRegistryHasNoPersistentCache/0 (3437 ms) [125/498] ExtensionManagementApiBrowserTest.SelfUninstallNoPermissions (3197 ms) [126/498] AppBannerManagerDesktopBrowserTest.WebAppBannerResolvesUserChoice (2655 ms) [127/498] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/0 (2384 ms) [128/498] PatchTest.CheckBsdiffOperation (2127 ms) [129/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/0 (3181 ms) [130/498] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/8 (2906 ms) [131/498] TabManagerTest.UnfreezeTabOnNavigationEvent (3444 ms) [132/498] DidChangeVisibleSecurityStateTest.DidChangeVisibleSecurityStateObserverGoBack/1 (3699 ms) [133/498] SSLPolicyTestCommittedInterstitials.SafeBrowsingExtendedReportingOptInAllowed/1 (2925 ms) [134/498] SecurityStatePageLoadMetricsBrowserTest.HostDoesNotExist (2653 ms) [135/498] ExtensionInstallDialogViewTest.NotifyDelegate (2919 ms) [136/498] SettingsIdleLoadBrowserTest.All (5279 ms) [137/498] ExtensionUnloadBrowserTest.UnloadWithContentScripts (2139 ms) [138/498] MediaRouterDisabledPolicyTest.MediaRouterDisabled (2119 ms) [139/498] PPAPINaClGLibcTest.TCPSocket_ReadWrite (3985 ms) [140/498] TranslateManagerBrowserTest.HrefTranslateConflict (2912 ms) [141/498] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/42 (3165 ms) [142/498] CDM_10/ECKEncryptedMediaTest.PlatformVerificationTest/0 (3433 ms) [143/498] PKPModelClientTest.PKPEnforced/1 (1853 ms) [144/498] ExtensionWebstorePrivateApiTestChild.InstallBlocked (3167 ms) [145/498] SSLUITestIgnoreLocalhostCertErrors.NoCrashOnLoadWithNoNavigationEntry/0 (2901 ms) [146/498] MemoryTracingBrowserTest.TestBackgroundMemoryInfra (4741 ms) [147/498] StatusBubbleViewsTest.WidgetLifetime (2127 ms) [148/498] TrialComparisonCertVerifierFeatureEnabledTest.TrialEnabledPrefDisabled (2127 ms) [149/498] HostedAppSitePerProcessTest.DoNotShareProcessWhenOverProcessLimit/0 (6604 ms) [150/498] CtrlClickShouldEndUpInNewProcessTest.SubframeTarget (2935 ms) [151/498] CrSettingsPrefUtilTest.All (4794 ms) [152/498] ClientHintsBrowserTest.NoClientHintsHttps (2126 ms) [153/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFilePacBrowserTest.FilePac/0 (2925 ms) [154/498] DevToolsReattachAfterCrashTest.TestReattachAfterCrashOnNetwork (6860 ms) [155/498] ExtensionBindingsApiTest.MoreNativeFunctionInterceptionTests (2396 ms) [156/498] ImageWriterUtilityClientTest.VerifyFailure (2376 ms) [157/498] WebViewSizeTest.AutoSize (3728 ms) [158/498] QuicAllowedPolicyIsFalse.QuicDisallowedForSafeBrowsing (2400 ms) [159/498] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByNoClientHintHttpLocal/0 (2915 ms) [160/498] ChromeRenderProcessHostBackgroundingTestWithAudio.ProcessPriorityAfterAudioStopsOnNotVisibleTab (2910 ms) [161/498] AuthenticatorDialogTest.InvokeUi_ble_enter_pairing_mode (2117 ms) [162/498] WebAppUrlLoaderTest.MultipleLoadUrlCalls (2650 ms) [163/498] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/1 (2913 ms) [164/498] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/4 (3442 ms) [165/498] WebrtcLoggingPrivateApiBrowserTest.TestStartAudioDebugRecordingsForWebviewFromApp (3973 ms) [166/498] ExtensionApiTestWithManagementPolicy.InitiatorProtectedByPolicy (3161 ms) [167/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/0 (2658 ms) [168/498] StartupMetricsTest.ReportsValues (2377 ms) [169/498] PrintPreviewDestinationSelectTest.MultipleRecentDestinationsOneRequest (3970 ms) [170/498] ChromeWorkerBrowserTest.DedicatedWorkerScriptFetchWithoutThirdPartyBlocking (2383 ms) [171/498] LoadingPredictorBrowserTest.PreconnectAndFetchNonCors (2646 ms) [172/498] DownloadsUrlTest.All (3179 ms) [173/498] ExtensionBindingsApiTest.LastError (3176 ms) [174/498] PasswordManagerInternalsWebUIBrowserTest.LogSavePasswordProgress_MultipleTabsIdentical (2652 ms) [175/498] ExtensionMessageBubbleViewBrowserTest.TestClickingLearnMoreButton (3189 ms) [176/498] SocketApiTest.SocketTCPServerExtension (2637 ms) [177/498] ZoomBubbleBrowserTest.FocusPreventsClose (2141 ms) [178/498] CacheCounterTest.NonEmpty (2645 ms) [179/498] FeedbackTest.ShowFeedbackFromAssistant (2646 ms) [180/498] ExtensionManagementTest.InstallOlderVersion (4248 ms) [181/498] ServiceWorkerBasedBackgroundTest.StorageNoPermissions (2389 ms) [182/498] SSLUICaptivePortalListResourceBundleTest.Enabled_AuthorityInvalid/1 (2111 ms) [183/498] PermissionDialogTest.InvokeUi_multiple (2656 ms) [184/498] NavigatingExtensionPopupBrowserTest.DownloadViaPost (3698 ms) [185/498] SitePerProcessMemoryThresholdBrowserTest.SitePerProcessDisabled_LowThreshold (2235 ms) [186/498] PaymentRequestEmptyUpdateTest.NoCrash (2994 ms) [187/498] PPAPIFileChooserTestWithSBService.FileChooser_SaveAs_DangerousExecutable_Disallowed (2673 ms) [188/498] ChromePasswordProtectionServiceBrowserTest.VerifyShouldShowChangePasswordSettingUI (3470 ms) [189/498] TabManagerTest.TabFreezeAndMakeVisible (3202 ms) [190/498] CrManagementA11yTestWithExtension.ExtensionSection_video_caption (4492 ms) [191/498] MimeHandlerViewCrossProcessTest.EmbedWithInitialCrossOriginFrame/1 (2909 ms) [192/498] LoadingPredictorBrowserTest.TwoNavigationsToTheSameURL (3165 ms) [193/498] SSLUICaptivePortalListTest.Disabled/0 (2913 ms) [194/498] IntentPickerBubbleViewBrowserTest.NavigationToInScopeLinkShowsIntentPicker/0 (2118 ms) [195/498] DataReductionProxyWithHoldbackBrowsertest.UpdateConfig/0 (2642 ms) [196/498] BackgroundXhrTest.HttpAuth (3458 ms) [197/498] TabStatsTrackerBrowserTest.FrozenTabPercentage (5016 ms) [198/498] OnboardingA11y.OnboardingFlow_meta_refresh (5271 ms) [199/498] ExtensionWebUITest.SanityCheckAvailableAPIs (2646 ms) [200/498] ContentSettingsStrictSecureCookiesBrowserTest.Cookies (2140 ms) [201/498] CertificateReportingServiceBrowserTest.OptedIn_ThenOptedOut/1 (3175 ms) [202/498] CommonNameMismatchBrowserTest.NoCrashIfBothSubdomainsHaveCommonNameErrors/1 (2423 ms) [203/498] BookmarksExtensionAPIEditDisabledTest.All (3702 ms) [204/498] AdsPageLoadMetricsObserverBrowserTest.FrameWithSmallAreaNotConsideredVisible (5320 ms) [205/498] LocalNTPVoiceJavascriptTest.MicrophoneTests (2474 ms) [206/498] OriginPolicyBrowserTest.PageWithoutPolicy (1845 ms) [207/498] OnboardingA11y.OnboardingFlow_td_has_header (4489 ms) [208/498] WebViewNewWindowTest.Shim_TestAddContentScriptsWithNewWindowAPI (3174 ms) [209/498] CrManagementA11yTest.SimpleTest_document_title (2932 ms) [210/498] CrManagementA11yTestWithExtension.ExtensionSection_video_description (3699 ms) [211/498] LocaleTestHebrew.TestStart (2116 ms) [212/498] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/1 (2380 ms) [213/498] SubresourceFilterDevtoolsBrowserTest.ForceActivation_RequiresDevtools (2378 ms) [214/498] MimeHandlerViewCrossProcessTest.PostMessage/1 (3164 ms) [215/498] PolicyHeaderServiceBrowserTest.PolicyHeaderForRedirect (2376 ms) [216/498] ClientHintsBrowserTest.ClientHintsLifetimeNotPersistedJavaScriptBlocked/1 (2142 ms) [217/498] ProfileNetworkContextServiceBrowsertest.DiskCacheLocation/0 (2118 ms) [218/498] PasswordsCounterTest.PrefChanged (2120 ms) [219/498] ProfileChooserViewExtensionsParamTest.InvokeUi_SignedIn/0 (2169 ms) [220/498] CrExtensionsItemListTest.LoadTimeData (3175 ms) [221/498] LoadTimingBrowserTest.HTTPS (4515 ms) [222/498] AdsPageLoadMetricsObserverResourceBrowserTest.ReceivedAdResourceMetrics (2396 ms) [223/498] OnDiskApp/NetworkContextConfigurationBrowserTest.CacheIsolation/1 (2654 ms) [224/498] ServiceWorkerBasedBackgroundTest.RuntimeMisc (2650 ms) [225/498] BrowserWindowMacTest.MenuCommandsAfterDestroy (2405 ms) [226/498] CrExtensionsNavigationHelperTest.Conversion (3435 ms) [227/498] AllUrlsApiTest.WhitelistedExtension (4787 ms) [228/498] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/0 (2645 ms) [229/498] LazyBackgroundPageApiTest.OnSuspendUseStorageApi (2655 ms) [230/498] ChromeNavigationPortMappedBrowserTest.ContextMenuNavigationToInvalidUrl (2697 ms) [231/498] ExtensionManagementApiEscalationTest.DisabledReason (4749 ms) [232/498] NavigatingExtensionPopupBrowserTest.Webpage (3565 ms) [233/498] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match/2 (10869 ms) [234/498] NewTabUIProcessPerTabTest.NavBeforeNTPCommits (4489 ms) [235/498] ExtensionPreferenceApiTest.PersistentIncognito (2916 ms) [236/498] LocalNTPCustomBackgroundsTest.CustomBackgroundResetAfterChangeDefaultSearchEngine (3780 ms) [237/498] PrintPreviewPrintButtonTest.LocalPrintHidePreview (4864 ms) [238/498] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/12 (2381 ms) [239/498] ExtensionBindingsApiTest.MultipleEventListenersFromDifferentContextsAndTheSameExtension (3693 ms) [240/498] SSLUITestHSTS.TestInterstitialOptionsNonOverridable/1 (3462 ms) [241/498] MediaGalleriesGalleryWatchApiTest.SetupGalleryChangedListenerWithoutWatchers (2915 ms) [242/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/0 (2374 ms) [243/498] PDFTestFiles/PDFExtensionLoadTest.Load/9 (2122 ms) [244/498] SiteIsolationForPasswordSitesBrowserTest.ClearSiteDataDoesNotClearSavedIsolatedSites (2910 ms) [245/498] LookalikeUrlNavigationThrottleBrowserTest.Interstitial_Dismiss/2 (2650 ms) [246/498] WebUIRequiringGestureBrowserTest.MessageRequiringGestureIgnoredIfNoGesture (4560 ms) [247/498] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingWithTooSmallMaxSize (2168 ms) [248/498] InMemoryApp/NetworkContextConfigurationBrowserTest.CookieIsolation/1 (2715 ms) [249/498] PopupTrackerBrowserTest.ControlClick_HasTracker (2514 ms) [250/498] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomain_Match/0 (2666 ms) [251/498] ChromeNavigationBrowserTest.NoUserActivationSetSkipOnBackForward (2387 ms) [252/498] AppControllerMainMenuBrowserTest.HistoryMenuResetAfterProfileDeletion (2908 ms) [253/498] WebViewNewWindowTest.Shim_TestNewWindowNoReferrerLink (3433 ms) [254/498] OnDiskApp/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/0 (2119 ms) [255/498] ProcessManagementTest.NavigateToBlockedExtensionPageInNewTab (3426 ms) [256/498] HostedAppBadgingTest.BadgeCanBeSetWithoutAValue/0 (3437 ms) [257/498] CertificateReportingServiceBrowserTest.NotOptedIn_ShouldNotSendReports/0 (2903 ms) [258/498] BackgroundFetchBrowserTest.OfflineItemCollection_VerifyIconReceived (3180 ms) [259/498] SystemNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/1 (2397 ms) [260/498] ExtensionBindingsApiTest.UncaughtExceptionLogging (3172 ms) [261/498] TabHoverCardBubbleViewBrowserTest.WidgetNotVisibleOnClick (1872 ms) [262/498] CastStreamingApiTest.Basics (5593 ms) [263/498] AdsPageLoadMetricsObserverBrowserTest.DisplayNoneAdframeRecorded (3174 ms) [264/498] SSLUICaptivePortalListResourceBundleTest.Enabled_DynamicUpdate/1 (2383 ms) [265/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.Cache/0 (2106 ms) [266/498] OnDiskApp/NetworkContextConfigurationBrowserTest.CacheIsolation/0 (2391 ms) [267/498] CrSettingsLanguagesPageTest.LanguageMenu (5032 ms) [268/498] PaymentRequestJourneyLoggerAllSectionStatsTest.NumberOfSuggestionsShown_UserAborted (2396 ms) [269/498] HostedAppIsolatedOriginTest.NestedIsolatedOriginStaysOutsideApp/0 (5297 ms) [270/498] UkmConsentParamBrowserTests/UkmConsentParamBrowserTest.GroupPolicyConsentCheck/1 (2131 ms) [271/498] CrExtensionsNavigationHelperTest.Basic (3182 ms) [272/498] AppWindowRestrictedApisBrowserTest.DocumentApis (2130 ms) [273/498] RecurrentInterstitialBrowserTest.RecurrentInterstitial/1 (12396 ms) [274/498] NetworkRequestMetricsBrowserTest.FileURLSuccess/2 (1857 ms) [275/498] SecurityStatePageLoadMetricsBrowserTest.UncommittedLoadWithError (2111 ms) [276/498] InMemoryApp/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/2 (2643 ms) [277/498] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/8 (2376 ms) [278/498] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/22 (3164 ms) [279/498] InvalidationsWebUITest.testUpdatingInternalDisplay (1585 ms) [280/498] IOThreadEctFieldTrialAndCommandLineBrowserTest.ECTFromCommandLineOverridesFieldTrial (1609 ms) [281/498] OnDiskApp/NetworkContextConfigurationDataPacBrowserTest.DataPac/0 (1587 ms) [282/498] SpellingMenuObserverTest.NoSpellingServiceWhenOffTheRecord (2379 ms) [283/498] MediaStreamPermissionTest.TestDismissingRequest (2109 ms) [284/498] SystemNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/0 (1845 ms) [285/498] SSLPolicyTestCommittedInterstitials.SafeBrowsingExtendedReportingOptInAllowed/0 (2115 ms) [286/498] ExtensionDisabledGlobalErrorTest.RemoteInstall (2640 ms) [287/498] ExtensionBindingsApiTest.HandlerFunctionTypeChecking (1852 ms) [288/498] PaymentSheetViewControllerContactDetailsTest.SupportedCard_NoContactInfo (2906 ms) [289/498] SiteIsolationForPasswordSitesBrowserTest.SyntheticTrialFromSubframe (2143 ms) [290/498] TabContentsTagTest.PostExistingTaskProviding (2110 ms) [291/498] CrSettingsPeoplePageManageProfileTest.All (4493 ms) [292/498] PatchTest.CheckCourgetteOperation (2114 ms) [293/498] ExtensionApiTestWithManagementPolicy.WebRequestProtectedByPolicy (2125 ms) [294/498] CrManagementA11yTest.SimpleTest_label (2372 ms) [295/498] ExtensionPreferenceApiTest.Standard (2106 ms) [296/498] ChromeDoNotTrackTest.NotEnabled (2102 ms) [297/498] IdentityGetAccountsFunctionTest.PrimaryAccountHasNoRefreshToken (1851 ms) [298/498] NetworkingPrivateServiceClientApiTest.OnNetworksChangedEventDisconnect (2118 ms) [299/498] TextDefaultsTest.ScrapeMDStyles (1855 ms) [300/498] AndroidUsbCountTest.TestNoMultipleCallsRemoveAddOnStart (1857 ms) [301/498] CrManagementA11yTest.SimpleTest_radiogroup (2915 ms) [302/498] PrintPreviewPolicyTest.DisableHeaderFooterByPolicy (3955 ms) [303/498] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_SiteEngagement_NoMatch/1 (1849 ms) [304/498] PrintPreviewSidebarTest.SettingsSectionsVisibilityChange (3190 ms) [305/498] SitePerProcessPolicyBrowserTestEnabled.Simple (1600 ms) [306/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/2 (2114 ms) [307/498] GlobalErrorBubbleTest.InvokeUi_RecoveryInstallGlobalError (1593 ms) [308/498] CertificateReportingServiceBrowserTest.OptedIn_ShouldSendSuccessfulReport/0 (2140 ms) [309/498] MimeHandlerViewCrossProcessTest.NonAsciiHeaders/0 (2139 ms) [310/498] SafeBrowsingNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/0 (2914 ms) [311/498] PwaInstallViewBrowserTest.LabelAnimation (1867 ms) [312/498] OnDiskApp/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/0 (2646 ms) [313/498] ExtensionsMenuViewBrowserTest.CreatesOneButtonPerExtension (1589 ms) [314/498] TabCapturePerformanceTest.Performance/0 (6594 ms) [315/498] PaymentRequestNoUpdateWithTest.BuyWithoutCallingUpdateWith (2377 ms) [316/498] OnDiskApp/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/2 (1590 ms) [317/498] NetworkRequestMetricsBrowserTest.NetErrorDuringBody/0 (1592 ms) [318/498] PrintPreviewPagesSettingsTest.ValidPageRanges (6335 ms) [319/498] ContentSettingsTest.ContentSettingsBlockDataURLs (1584 ms) [320/498] ProfileBrowserTest.SimpleURLLoaderUsingMainContextDuringIncognitoTeardown (2120 ms) [321/498] HistoryApiTest.GetVisits (2109 ms) [322/498] TopFrameSameFrameDownloadBrowserTest.Download/21 (2381 ms) [323/498] SyncAwareCounterTest.PasswordCounter (3439 ms) [324/498] SSLUITestIgnoreCertErrorsBySPKIHTTPS.TestHTTPS/0 (1580 ms) [325/498] AppsBrowserApiTest.OpenTab (2128 ms) [326/498] LoadAndLaunchExtensionBrowserTest.LoadAndLaunchExtension (1326 ms) [327/498] PrintPreviewAdvancedDialogTest.AdvancedSettingsClose (3167 ms) [328/498] NavigationPredictorBrowserTest.AreaRank (1588 ms) [329/498] AutofillProviderBrowserTest.FrameDetachedOnFormlessSubmission (1855 ms) [330/498] OnboardingA11y.OnboardingFlow_video_description (3425 ms) [331/498] ChromeOriginTrialsDisabledFeaturesTest.PRE_DisabledFeaturesSetOnCommandLine/1 (1090 ms) [332/498] LookalikeUrlNavigationThrottleBrowserTest.Punycode_NoMatch/1 (1849 ms) [333/498] BrowserCloseManagerWithBackgroundModeBrowserTest.CloseAllBrowsersWithBackgroundMode (2380 ms) [334/498] CrSettingsSiteFaviconTest.All (2904 ms) [335/498] MachineLevelUserCloudPolicyServiceIntegrationTestInstance/MachineLevelUserCloudPolicyServiceIntegrationTest.RegistrationNoEnrollmentToken/0 (3173 ms) [336/498] ExpectCTBrowserTest.TestDynamicExpectCTHeaderProcessing (1855 ms) [337/498] PolicyUITest.WritePoliciesToJSONFile (2649 ms) [338/498] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/10 (2384 ms) [339/498] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.SecurityIndicators/2 (1852 ms) [340/498] ProfileMainNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/1 (1325 ms) [341/498] BookmarkItemAppleScriptTest.GetAndSetJavascriptURLFeatureDisabled (1867 ms) [342/498] CertificateReportingServiceBrowserTest.OptedIn_ShouldSendSuccessfulReport/1 (2123 ms) [343/498] SSLUICaptivePortalListResourceBundleTest.Enabled_NameMismatchAndWeakKey/1 (2387 ms) [344/498] CrManagementA11yTestWithExtension.ExtensionSection_blink (2905 ms) [345/498] BrowserTestNonsecureURLRequest.DidChangeVisibleSecurityStateObserverObsoleteTLSSettings (1869 ms) [346/498] V4SafeBrowsingServiceJsRequestNoInterstitialTest.MalwareBlocked/1 (1854 ms) [347/498] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByNoClientHintHttpLocal/1 (1864 ms) [348/498] SafeBrowsingNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/2 (1587 ms) [349/498] ProfileChooserViewExtensionsParamTest.InvokeUi_DiceGuest/0 (2114 ms) [350/498] ExtensionBrowsingDataTest.Syncing (1847 ms) [351/498] NavigatingExtensionPopupBrowserTest.PageInOtherExtension (2652 ms) [352/498] CrManagementA11yTestWithExtension.ExtensionSection_scope_attr_valid (3165 ms) [353/498] BookmarkAppTest.EngagementHistogramNavigateAwayFromAppTab (2386 ms) [ RUN ] AutofillPrivateApiTest.AddAndUpdateAddress [27928:11279:0524/215039.938211:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [27928:775:0524/215041.244063:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Autofill data unavailable.", source: chrome-extension://epcifkihnkjgphfkloaaleeakhpmgdmn/main.html?addAndUpdateAddress (0) [27928:25859:0524/215041.337998:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/it5By6Im/.org.chromium.Chromium.jzQkiJ/dG7OSqZ/Default/shared_proto_db: Invalid argument: /b/s/w/it5By6Im/.org.chromium.Chromium.jzQkiJ/dG7OSqZ/Default/shared_proto_db: does not exist (create_if_missing is false) [27928:775:0524/215041.506890:INFO:CONSOLE(0)] "[FAIL] addNewAddress: API Test Error in addNewAddress Actual: [] Expected: [{"fullNames":["Name"],"addressLevel1":"Address level 1","addressLevel2":"Address level 2","addressLevel3":"Address level 3","postalCode":"Postal code","sortingCode":"Sorting code","phoneNumbers":["1 123-123-1234"],"emailAddresses":["johndoe@gmail.com"]}] Error at extensions::test:224:20 at chrome-extension://epcifkihnkjgphfkloaaleeakhpmgdmn/test.js:102:29 at safeFunctionApply (extensions::test:274:26) at extensions::test:299:18 at safeFunctionApply (extensions::test:274:26) at listener (extensions::test:311:7)", source: chrome-extension://epcifkihnkjgphfkloaaleeakhpmgdmn/main.html?addAndUpdateAddress (0) [27928:775:0524/215041.509332:INFO:CONSOLE(0)] "[FAIL] updateExistingAddress: API Test Error in updateExistingAddress Actual: 0 Expected: 1 Error at extensions::test:229:18 at chrome-extension://epcifkihnkjgphfkloaaleeakhpmgdmn/test.js:151:23 at safeFunctionApply (extensions::test:274:26) at extensions::test:299:18", source: chrome-extension://epcifkihnkjgphfkloaaleeakhpmgdmn/main.html?addAndUpdateAddress (0) ../../chrome/browser/extensions/api/autofill_private/autofill_private_apitest.cc:66: Failure Value of: RunAutofillSubtest("addAndUpdateAddress") Actual: false Expected: true Failed 2 of 2 tests Stack trace: 0 browser_tests 0x0000000108e233bf StackTraceGetter::CurrentStackTrace(int, int) + 47 1 browser_tests 0x0000000108e2da4b testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) + 91 2 browser_tests 0x0000000108e2d389 testing::internal::AssertHelper::operator=(testing::Message const&) const + 89 3 browser_tests 0x000000010832cc19 extensions::AutofillPrivateApiTest_AddAndUpdateAddress_Test::RunTestOnMainThread() + 409 4 browser_tests 0x000000010c671597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 5 browser_tests 0x000000010c153c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 6 browser_tests 0x000000010c152a6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 7 browser_tests 0x0000000109e6febf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 8 browser_tests 0x000000010a326fe7 content::StartupTaskRunner::RunAllTasksNow() + 39 9 browser_tests 0x0000000109e6e8c6 content::BrowserMainLoop::CreateStartupTasks() + 630 10 browser_tests 0x0000000109e71c42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 11 browser_tests 0x0000000109e6ce3a content::BrowserMain(content::MainFunctionParams const&) + 186 12 browser_tests 0x000000010bb733ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 13 browser_tests 0x000000010bb73041 content::ContentMainRunnerImpl::Run(bool) + 273 14 browser_tests 0x000000010f2a1e98 service_manager::Main(service_manager::MainParams const&) + 2280 15 browser_tests 0x000000010bb72314 content::ContentMain(content::ContentMainParams const&) + 68 16 browser_tests 0x000000010c6711ec content::BrowserTestBase::SetUp() + 2796 [27928:28931:0524/215041.768937:ERROR:browser_process_sub_thread.cc(221)] Waited 25 ms for network service [27928:775:0524/215041.785755:WARNING:pref_notifier_impl.cc(36)] Pref observer for browser.relaunch_notification_period found at shutdown. [27928:775:0524/215041.785799:WARNING:pref_notifier_impl.cc(36)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ FAILED ] AutofillPrivateApiTest.AddAndUpdateAddress, where TypeParam = and GetParam() = (2142 ms) [354/498] AutofillPrivateApiTest.AddAndUpdateAddress (2633 ms) [355/498] BrowserNonClientFrameViewBrowserTest.BookmarkAppFrameColorCustomThemeNoThemeColor (2638 ms) [356/498] PaymentRequestErrorMessageTest.CompleteFail (1853 ms) [357/498] Mock4JSWebUITestFails.CalledTwiceExpectOnceFails (1591 ms) [358/498] DomainReliabilityBrowserTest.ServiceCreated (1087 ms) [359/498] WithoutAny/BackgroundXhrWebstoreTest.XHRPortSpecificPermissionBlock/0 (1854 ms) [360/498] AuthenticatorDialogTest.InvokeUi_ble_activate (1589 ms) [361/498] OmniboxPopupContentsViewTest.ThemeIntegration (2121 ms) [362/498] OriginPolicyBrowserTest.ErrorPolicy301Redirect (1588 ms) [363/498] PKPModelClientTest.PKPEnforced/0 (1860 ms) [364/498] BackgroundFetchBrowserTest.OfflineItemCollection_IncognitoPropagated (2381 ms) [365/498] NetworkRequestMetricsBrowserTest.SuccessWithEmptyBody/0 (1587 ms) [366/498] PermissionDelegationBrowserTest.DelegatedToTwoFrames (2113 ms) [367/498] LocalNTPPromoTest.NoPromoAvailable (3169 ms) [368/498] MimeHandlerViewCrossProcessTest.TargetBlankAnchor/1 (1849 ms) [369/498] BrowserSwitcherServiceTest.ExternalIgnoresFailedDownload (11575 ms) [370/498] NetworkRequestMetricsBrowserTest.SuccessWithBody/1 (1579 ms) [371/498] ViewSourceFeaturePolicyTest.ViewSourceNotAffectedByHeaderPolicy (2377 ms) [372/498] ExtensionBindingsApiTest.InvalidateContextInCallbackWithLastError (2377 ms) [373/498] MetricsServiceBrowserTest.CloseRenderersNormally (2385 ms) [374/498] NavigationPredictorBrowserTest.ActionAccuracy_timeout (1591 ms) [375/498] SyncedPrefChangeRegistrarTest.IgnoreLocalChangesToManagedPrefs (1592 ms) [376/498] IntentPickerBubbleViewBrowserTest.NavigationToInScopeLinkShowsIntentPicker/2 (1589 ms) [377/498] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.PolicyUpdateDefaultXHR/0 (1861 ms) [378/498] DefaultIsolation/TaskManagerOOPIFBrowserTest.SubframeHistoryNavigation/0 (7369 ms) [379/498] HistoryCounterTest.PeriodChanged (2660 ms) [380/498] DiceBrowsingDataRemoverBrowserTest.SyncTokenError (1335 ms) [381/498] CrManagementA11yTestWithExtension.ExtensionSection_href_no_hash (2912 ms) [382/498] SavePageAsMHTMLBrowserTest.SavePageAsMHTML (2377 ms) [383/498] ExtensionSettingsUIBrowserTest.ListenerRegistration (2643 ms) [384/498] PlatformAppNavigationRedirectorBrowserTest.BlankClickInAppIntercepted (3458 ms) [385/498] EncryptedMediaSupportedTypesClearKeyTest.Video_MP4 (2642 ms) [386/498] CDM_10/ECKEncryptedMediaTest.DecryptOnly_VideoAudio_WebM/0 (5542 ms) [387/498] PasswordReuseModalWarningTest.TestBasicDialogBehavior (2110 ms) [388/498] HostedAppProcessModelTest.IframesInsideHostedApp/0 (3695 ms) [389/498] PrintPreviewDestinationListTest.FireDestinationSelected (2927 ms) [390/498] CrExtensionsManagerTestWithIdQueryParam.UrlNavigationToActivityLogFail (3952 ms) [391/498] DevToolsBeforeUnloadTest.TestWorkerWindowClosing (3960 ms) [392/498] LookalikeUrlNavigationThrottleBrowserTest.NonIdn_NoMatch/2 (1322 ms) [393/498] CrManagementA11yTestWithExtension.ExtensionSection_image_alt (2906 ms) [394/498] ExtensionViewLoadApiTest.LoadAPISameIdDifferentSrc (3168 ms) [395/498] CrossOriginReadBlockingExtensionTest.FromServiceWorker_NoSniffXml (1850 ms) [396/498] DataReductionProxyFallbackBrowsertest.ProxyBypassedOn502Error (1588 ms) [397/498] InvalidationsWebUITest.testRegisteringNewIds (1583 ms) [398/498] BrowserViewTest.CloseWithTabs (1319 ms) [399/498] BluetoothInternalsTest.Startup_BluetoothInternals (9484 ms) [400/498] NetworkRequestMetricsBrowserTest.CancelDuringBody/0 (2377 ms) [401/498] PrintPreviewHeaderNewTest.HeaderWithDuplex (2384 ms) [402/498] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.PRE_ChangedSplitPref/2 (1849 ms) [403/498] ServiceWorkerBasedBackgroundTest.TabsBasic (2639 ms) [404/498] ExtensionContentSettingsApiTest.IncognitoIsolation (2646 ms) [405/498] PPAPINaClGLibcTest.AudioConfig (2650 ms) [406/498] PDFExtensionClipboardTest.IndividualShiftRightArrowPresses (3696 ms) [407/498] TabManagerTest.UrgentFastShutdownSharedTabProcess (1848 ms) [408/498] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.XHRPortSpecificPermissionAllow/0 (2380 ms) [409/498] TranslateManagerBrowserTest.PageTranslationSuccess (2374 ms) [410/498] InMemoryApp/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/1 (1589 ms) [411/498] ManifestWebAppTest.OpenExampleSite (1842 ms) [412/498] ErrorConsoleBrowserTest.ReportManifestErrors (1587 ms) [413/498] CrManagementA11yTestWithExtension.ExtensionSection_region (3428 ms) [414/498] ErrorPageNavigationCorrectionsFailTest.FetchCorrectionsFails (1865 ms) [415/498] SafeBrowsingNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/0 (1589 ms) [416/498] DevToolsAndroidBridgeTest.TCPEnableChange (2111 ms) [417/498] WebViewDPITest.Shim_TestAutosizeHeight (2104 ms) [418/498] FirstRunMasterPrefsWithTrackedPreferencesInstance/FirstRunMasterPrefsWithTrackedPreferences.TrackedPreferencesSurviveFirstRun/2 (1060 ms) [419/498] CollectedCookiesTest.NavigateAway (2121 ms) [420/498] LookalikeUrlNavigationThrottleBrowserTest.NetError_TopDomain_NetErrorAfterDismiss/0 (1583 ms) [421/498] PendingBookmarkAppManagerBrowserTest.PerformServiceWorkerCheck (2370 ms) [422/498] WebUIImplBrowserTest.ForceSwapOnDifferenteWebUITypes (2109 ms) [423/498] CommonNameMismatchBrowserTest.InterstitialStopNavigationWhileLoading/1 (1590 ms) [424/498] WebUIAccessibilityAuditBrowserTest_IssuesAreWarnings.testWithAuditFailuresAndExpectA11yOk (1860 ms) [425/498] SafeBrowsingTriggeredPopupBlockerBrowserTest.WarningAllowCreatingNewWindows_LogsToConsole (1859 ms) [426/498] MusicManagerPrivateTest.DeviceIdValueReturned (1852 ms) [427/498] ServiceWorkerPaymentAppFactoryBrowserTest.OneRedirectIsValid (2122 ms) [428/498] PaymentSheetViewControllerNoShippingTest.SupportedCard (1857 ms) [429/498] SSLUITestWaitForDOMNotification.TestMixedContentWithHTTPInRedirectChain/1 (1853 ms) [430/498] PrintPreviewCustomMarginsTest.ControlsDisabledOnError (2901 ms) [431/498] SSLUITestBase.TestHTTPSExpiredCertAndGoForward (1590 ms) [432/498] TabActivityWatcherUkmTest.AllWindowMetricsArePopulated (1321 ms) [433/498] ModernShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.BrowserActionInManifest/0 (1588 ms) [434/498] CrSettingsSystemPageTest.All (3439 ms) [435/498] TrialComparisonCertVerifierTest.TrialDisabled (1330 ms) [436/498] _/WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingForKnownPeerConnectionSucceeds/1 (944 ms) [437/498] CastStreamingApiTest.DestinationNotSet (2649 ms) [438/498] ExtensionFunctionalTest.DownloadExtensionResource (1331 ms) [439/498] PaymentRequestShowPromiseTest.InvalidDetails (1338 ms) [440/498] TaskManagerViewTest.SelectionConsistency (7375 ms) [441/498] ClientHintsBrowserTest.DisregardPersistenceRequestSubresourceIframe/1 (1325 ms) [442/498] LookalikeUrlNavigationThrottleBrowserTest.NetError_SiteEngagement_Interstitial/1 (1580 ms) [443/498] LookalikeUrlNavigationThrottleBrowserTest.NetError_SiteEngagement_NetErrorAfterDismiss/0 (1329 ms) [444/498] ChromeFindRequestManagerTest.FindInPDF (2118 ms) [445/498] EncryptedMediaSupportedTypesClearKeyTest.Video_WebM (1596 ms) [446/498] ExtensionURLLoaderThrottleBrowserTest.DoNotThrottleCachedResponse_NonRedirectCached (1596 ms) [447/498] TaskManagerViewTest.InitialSelection (1332 ms) [448/498] LiveTabCountPageLoadMetricsBrowserTest.LoadMultipleTabsInForeground (10534 ms) [449/498] SecurityStatePageLoadMetricsBrowserTest.Navigate_Both_NonHtmlMainResource (1584 ms) [450/498] EncryptedMediaSupportedTypesExternalClearKeyNotEnabledTest.Basic (2136 ms) [451/498] PPAPINaClGLibcTest.TCPSocket_SetNoDelayClosePipe (2118 ms) [452/498] InMemoryApp/NetworkContextConfigurationBrowserTest.CookieIsolation/0 (1592 ms) [453/498] NetworkingPrivateServiceClientApiTest.VerifyDestination (1586 ms) [454/498] PPAPINaClGLibcTest.UDPSocket_SetBroadcastError (1850 ms) [455/498] PermissionDialogTest.InvokeUi_midi (1324 ms) [456/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/1 (1579 ms) [457/498] UkmBrowserTestWithSyncTransport.SyncFeatureCheck/0 (11577 ms) [458/498] LookalikeUrlNavigationThrottleBrowserTest.NetError_SiteEngagement_NetErrorAfterDismiss/2 (1325 ms) [459/498] ProfileManagerBrowserTest.SwitchToProfile (2109 ms) [460/498] CalculatorBrowserTest.Model (1319 ms) [461/498] ProfileChooserViewExtensionsParamTest.InvokeUi_DiceGuest/1 (1851 ms) [462/498] ProxySettingsApiTest.ProxyFixedIndividualRemove (1851 ms) [463/498] ServiceWorker/ExtensionContextMenuBrowserTest.Separators/0 (1324 ms) [464/498] CrManagementA11yTest.SimpleTest_meta_refresh (2112 ms) [465/498] ZoomControllerBrowserTest.OnPreferenceChanged (1874 ms) [466/498] SafeBrowsingBlockingPageIDNTestWithThreatType/SafeBrowsingBlockingPageIDNTest.SafeBrowsingBlockingPageDecodesIDN/2 (1593 ms) [467/498] CrElementsPolicyPrefIndicatorTest.All (1854 ms) [468/498] ContentAutofillDriverBrowserTest.SwitchTabAndHideAutofillPopup (1853 ms) [469/498] CloudPolicyManagerTest.Register (1590 ms) [470/498] V4SafeBrowsingServiceJsRequestInterstitialTest.MalwareBlocked/3 (1587 ms) [471/498] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_IgnoreChromeUrl/1 (2125 ms) [472/498] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareMainFrame/1 (1325 ms) [473/498] HistoryItemTest.All (3158 ms) [474/498] CrManagementA11yTest.SimpleTest_video_caption (2109 ms) [475/498] TopFrameSameFrameDownloadBrowserTest.Download/22 (1841 ms) [476/498] PermissionDialogTest.InvokeUi_camera (1580 ms) [477/498] FlagOffExtensionActionRunnerBrowserTest.ScriptsExecuteWhenFlagAbsent_ContentScripts (1583 ms) [478/498] NewlibPackagedAppTest.NoSocketPermissions (1853 ms) [479/498] ExtensionPreferenceApiTest.OnChangeSplitWithNoOTRProfile (1587 ms) [480/498] LocalNTPTest.NonGoogleNTPLoadsWithoutError (1857 ms) [481/498] PlatformAppNavigationRedirectorBrowserTest.MismatchingWindowOpenInAppNotIntercepted (3161 ms) [482/498] ThemeServiceBrowserTest.ThemeDataPackInvalid (1318 ms) [483/498] NetworkRequestMetricsBrowserTest.CancelDuringBody/3 (2107 ms) [484/498] BrowserCommandControllerBrowserTest.TestTabRestoreCommandEnabled (1070 ms) [485/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.DiskCache/2 (1843 ms) [486/498] OnDiskApp/NetworkContextConfigurationBrowserTest.CookiesEnabled/0 (1323 ms) [487/498] InMemoryApp/NetworkContextConfigurationBrowserTest.Hsts/1 (1331 ms) [488/498] OnDiskApp/NetworkContextConfigurationBrowserTest.Hsts/1 (1323 ms) [489/498] InMemoryApp/NetworkContextConfigurationBrowserTest.CookieSettings/0 (1334 ms) [490/498] OnDiskApp/NetworkContextConfigurationBrowserTest.SSLConfig/1 (1062 ms) [491/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookiesEnabled/0 (1850 ms) [492/498] InMemoryApp/NetworkContextConfigurationBrowserTest.SSLConfig/1 (1320 ms) [493/498] DiceManageAccountBrowserTest.ClearManagedProfileOnStartup (3686 ms) [494/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.SSLConfig/0 (1587 ms) [495/498] OnDiskApp/NetworkContextConfigurationBrowserTest.CookieSettings/0 (1876 ms) [496/498] ChromeOriginTrialsDisabledFeaturesTest.DisabledFeaturesSetOnCommandLine/1 (1597 ms) [497/498] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookieSettings/2 (1852 ms) [498/498] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.ChangedSplitPref/2 (934 ms) Retrying 2 tests (retry #0) [499/500] AutofillPrivateApiTest.AddAndUpdateAddress (1343 ms) [500/500] NTPTilesTest.NavigateAfterSettingObserver (944 ms) SUCCESS: all tests passed. 450620a078329710: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=3 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/io0fvbTO/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 3/10 Using 4 parallel jobs. Randomizing with seed 23283 [1/502] SystemNetworkContextManagerStubResolverBrowsertest.StubResolverConfig/0 (1591 ms) [2/502] CrElementsPolicyIndicatorBehaviorTest.All (1855 ms) [3/502] AdClickNavigationBrowserTest.UseCounter/0 (1862 ms) [4/502] NoBestEffortTasksTest.LoadAndPaintAboutBlank (1323 ms) [5/502] BrowserViewTest.DevToolsUpdatesBrowserWindow (3435 ms) [6/502] LaunchWebAuthFlowFunctionTest.InteractiveFirstNavigationSuccess (1855 ms) [7/502] ClientHintsBrowserTest.DisregardPersistenceRequestIframe_CrossOrigin/1 (1324 ms) [8/502] PrintPreviewDestinationSelectTest.UnreachableRecentCloudPrinter (2376 ms) [9/502] OnboardingA11y.OnboardingFlow_object_alt (2371 ms) [10/502] ParameterizedExtensionUninstallDialogViewBrowserTest.EnsureExtensionUninstallURLIsActiveTabAfterUninstall/1 (1321 ms) [11/502] SafeBrowsingBlockingPageIDNTestWithThreatType/SafeBrowsingBlockingPageIDNTest.SafeBrowsingBlockingPageDecodesIDN/3 (1324 ms) [12/502] BookmarkAppTest.EngagementHistogramForAppInTab (1591 ms) [13/502] FindBarControllerTest.NoFindBarControllerOnBrowserCreate (1337 ms) [14/502] NativeWindowTrackerTest.Basic (1061 ms) [15/502] SpellingMenuObserverTest.EnableSpellingServiceWithCorrectWord (1322 ms) [16/502] QuicAllowedPolicyIsTrue.QuicAllowedForSafeBrowsing (1586 ms) [17/502] AutofillPopupBaseViewTest.DoubleClickTest (927 ms) [18/502] PrintPreviewNumberSettingsSectionTest.BlocksInvalidKeys (2378 ms) [19/502] RemoveCachedAuthTokenFunctionTest.MatchingToken (1330 ms) [20/502] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_SameOrigin/0 (1595 ms) [21/502] WebViewSpeechAPITest.SpeechRecognitionAPI_NoPermission (1600 ms) [22/502] LocalSiteCharacteristicsDatabaseTest.PRE_ClearHistory (3184 ms) [23/502] PrintPreviewHeaderTest.HeaderChangesForState (1861 ms) [24/502] InterstitialAccessibilityBrowserTest.TestSSLInterstitialAccessibility (1583 ms) [25/502] PPAPINaClTestDisallowedSockets.UDPSocketPrivateDisallowed (1591 ms) [26/502] AutofillTest.AppendCountryCodeForAggregatedPhones (1333 ms) [27/502] V4SafeBrowsingServiceJsRequestInterstitialTest.MalwareBlocked/2 (1332 ms) [28/502] ExtensionTabsZoomTest.CannotZoomInvalidTab (1327 ms) [29/502] InMemoryApp/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/0 (1594 ms) [30/502] AuthenticatorDialogTest.InvokeUi_soft_block (1074 ms) [31/502] ReferrerPolicyWithReduceReferrerGranularityFlagTest.HttpLeftClickRedirectDefaultFlag (1328 ms) [32/502] ErrorConsoleBrowserTest.BadExtensionPage (1586 ms) [33/502] ChromePasswordProtectionServiceBrowserTest.OnEnterpriseTriggerOff (1054 ms) [34/502] SettingsPrivateApiTest.GetPref (1315 ms) [35/502] ServiceWorkerPaymentAppFactoryBrowserTest.FourRedirectsIsNotValid (1059 ms) [36/502] PrintPreviewHeaderNewTest.HeaderWithCopies (2106 ms) [37/502] CrManagementA11yTest.SimpleTest_hidden_content (1850 ms) [38/502] All/PrefersColorSchemeTest.PrefersColorScheme/1 (1335 ms) [39/502] ExtensionContextMenuApiTest.HideTopLevelSubmenuItemIfHiddenAndChildrenHidden (1329 ms) [40/502] LogWebUIUrlTest.TestSettingsPage (2378 ms) [41/502] ContentSettingsTest.RedirectLoopCookies (1333 ms) [42/502] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/46 (1328 ms) [43/502] BrowserSwitcherServiceTest.ExternalFirstFetchFailsButSecondWorks (21310 ms) [44/502] StartupBrowserCreatorWelcomeBackTest.WelcomeBackStandardRecommendedPolicy (1330 ms) [45/502] ProfileBrowserTest.CreateOldProfileSynchronous (1588 ms) [46/502] MediaEngagementSessionRestoreBrowserTest.RestoredSession_NoPlayback_NoMEI (1594 ms) [47/502] NetworkRequestMetricsBrowserTest.InterruptedBeforeHeaders/1 (1343 ms) [48/502] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.PolicyBlockedXHR/0 (1582 ms) [49/502] CertificateSelectorDialogTest.InvokeUi_default (1343 ms) [50/502] MimeHandlerViewBrowserPluginSpecificTest.ResizeBeforeAttach (2372 ms) [51/502] AutofillPopupBaseViewTest.GestureTest (1323 ms) [52/502] SupervisedUserBlockModeTest.OpenBlockedURLInNewTab/0 (1588 ms) [53/502] IncognitoProfileMainNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/0 (1583 ms) [54/502] FramebustBlockBrowserTest.FramebustBlocked_SubsequentNavigation_NoUI (1583 ms) [55/502] PlatformAppNavigationRedirectorBrowserTest.MismatchingBlankClickInAppNotIntercepted (3166 ms) [56/502] DownloadsCounterTest.Count (1323 ms) [57/502] ExtensionOverrideTest.OverridingExtensionUnloadedWithPageOpen (1843 ms) [58/502] RunInBackgroundTest.RunInBackgroundBasicTest (1579 ms) [59/502] NavigationPredictorBrowserTest.NavigationScore (1318 ms) [60/502] PaymentRequestIframeTest.CrossOriginIframe (1319 ms) [61/502] CrSettingsProtocolHandlersTest.All (3427 ms) [62/502] LoadtimesExtensionBindingsTest.LoadTimesSameAfterUserInDocNavigation (1320 ms) [63/502] PlatformAppNavigationRedirectorBrowserTest.WebviewNavigationNotIntercepted (3429 ms) [64/502] SyncedPrefChangeRegistrarTest.IgnoreSyncChangesToManagedPrefs (1590 ms) [65/502] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/34 (1856 ms) [66/502] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/10 (1592 ms) [67/502] DistillablePageUtilsBrowserTestAlways.LocalUrlsDoNotCallDelegate (2373 ms) [68/502] BrowsingDataLocalStorageHelperTest.DeleteSingleFile (1583 ms) [69/502] ShareMenuControllerTest.ActionPerformsShare (1594 ms) [70/502] ExtensionModuleApiTest.CognitoNoFile (1583 ms) [71/502] PDFExtensionInternalLinkClickTest.CtrlLeft (2643 ms) [72/502] InlineLoginUISafeIframeBrowserTest.TopFrameNavigationDisallowed (2115 ms) [73/502] ExtensionTabsZoomTest.GetDefaultZoom (1585 ms) [74/502] ExtensionURLLoaderThrottleBrowserTest.ThrottleRequest_Redirect (1851 ms) [75/502] CrManagementA11yTestWithExtension.ExtensionSection_aria_roles (3429 ms) [76/502] IndependentOTRProfileManagerTest.BrowserClosingDoesntRemoveProfileObserver (2124 ms) [77/502] ExtensionPageCaptureApiTest.SaveAsMHTML (2127 ms) [78/502] ExtensionViewLoadApiTest.LoadAPINullExtension (3703 ms) [79/502] AdsPageLoadMetricsObserverBrowserTest.DocOverwritesNavigation (1858 ms) [80/502] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/17 (1862 ms) [81/502] BluetoothApiTest.DeviceInfo (1853 ms) [82/502] ExtensionMessageBubbleViewBrowserTest.TestUninstallDangerousExtension (2384 ms) [83/502] CrElementsLazyRenderTest.All (2124 ms) [84/502] ExtensionViewLoadApiTest.LoadAPIInvalidExtension (3174 ms) [85/502] CrSettingsChangePasswordPageTest.All (3694 ms) [86/502] ImageWriterUtilityClientTest.Verify (1604 ms) [87/502] DataReductionProxyFallbackBrowsertest.NoProxyUsedWhenBlockOnceHeaderSent (1586 ms) [88/502] AutofillPopupBaseViewTest.MouseExitedTest (1322 ms) [89/502] SafeBrowsingNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/0 (1593 ms) [90/502] ExtensionManagementTest.DisableEnable (1851 ms) [91/502] PaymentRequestContactInfoEditorTest.RetryWithPayerErrors_NoPaymentOptions (2110 ms) [92/502] UnifiedAutoplaySettingBrowserTest.Block (2114 ms) [93/502] CrManagementA11yTestWithExtension.ExtensionSection_link_in_text_block (3162 ms) [94/502] LocalNTPCustomBackgroundsThemeTest.KeepGearIconAfterThemeApplied (3169 ms) [95/502] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.PRE_ChangedAtomic/2 (1336 ms) [96/502] PaymentRequestAbortTest.AbortUnsuccessfulAfterCVCPromptShown (1861 ms) [97/502] HostedAppProcessModelTest.IframeNavigationsInsideHostedApp/0 (3704 ms) [98/502] V4SafeBrowsingServiceTest.UnwantedImgIgnored (1587 ms) [99/502] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomain_Match/2 (1847 ms) [100/502] DnsProbeFailingProbesTest.CorrectionsDisabled (1848 ms) [101/502] FeedbackTest.ShowFeedback (2113 ms) [102/502] DownloadTestWithFakeSafeBrowsing.NoUncommonDownloadReportWithoutUserProceed (1582 ms) [103/502] TopFrameSameFrameDownloadBrowserTest.Download/9 (2637 ms) [104/502] CorsOriginAccessListBrowserTest.BlockDifferentProtocol (2112 ms) [105/502] PendingBookmarkAppManagerBrowserTest.BypassServiceWorkerCheck (2381 ms) [106/502] DomDistillerTabUtilsBrowserTest.DistillAndViewCreatesNewWebContentsAndPreservesOld (1854 ms) [107/502] BrowserCrApplicationAppleScriptTest.BookmarkFolders (1849 ms) [108/502] ChromeSitePerProcessBrowserPluginPDFTest.ResendGestureToEmbedderOOPIF (2120 ms) [109/502] ClientHintsBrowserTest.PersistenceRequestIframe_SameOrigin/1 (2642 ms) [110/502] ExtensionWebstorePrivateGetReferrerChainApiTest.GetReferrerChain (2388 ms) [111/502] SSLUIDynamicInterstitialTest.MatchEmptyCommonNameRegex (1852 ms) [112/502] WebViewWithZoomForDSFTest.Shim_TestAutosizeHeight (2912 ms) [113/502] CrExtensionsManagerUnitTest.EnableAndDisable (2913 ms) [114/502] TabUnderBlockerBrowserTest.SimpleTabUnder_IsBlocked (2384 ms) [115/502] ExtensionContextMenuApiTest.HideTopLevelSubmenuItemIfHiddenAndSomeChildrenVisible (1846 ms) [116/502] HostZoomMapBrowserTest.OffTheRecordProfileHostZoomMap (1592 ms) [117/502] WebAppUrlLoaderTest.302FoundRedirect (1596 ms) [118/502] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/28 (1855 ms) [119/502] TranslateManagerBrowserTest.PRE_TranslateSessionRestore (2126 ms) [120/502] PDFPluginDisabledTest.EmbedPdfPlaceholderWithCSP (1857 ms) [121/502] MediaGalleriesGalleryWatchApiTest.SetupWatchOnInvalidGallery (1852 ms) [122/502] TabCaptureApiPixelTest.EndToEndWithoutRemoting (8441 ms) [123/502] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/35 (3691 ms) [124/502] OnboardingA11y.OnboardingFlow_aria_required_parent (2636 ms) [125/502] CrExtensionsManagerUnitTestWithActivityLogFlag.UpdateFromActivityLog (2912 ms) [126/502] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.PolicyContentScriptXHR/0 (1589 ms) [127/502] OnDiskApp/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/2 (1594 ms) [128/502] CrSettingsLanguagesPageTest.AddLanguagesDialog (4741 ms) [129/502] LazyBackgroundPageApiTest.NaClInBackgroundPage (2117 ms) [130/502] CrExtensionsDetailViewTest.Layout (2118 ms) [131/502] PaymentRequestIframeTest.IframeNavigation_Completed (1851 ms) [132/502] ChromeServiceWorkerTest.DisallowChromeScheme (1598 ms) [133/502] AppControllerBrowserTest.CommandDuringShutdown (1586 ms) [134/502] CrExtensionsManagerUnitTest.ItemOrder (2381 ms) [135/502] WorkerTest.WorkerInBackgroundPage (1856 ms) [136/502] ContentSettingsWorkerModulesBrowserTest.WorkerImportModuleBlocked (1596 ms) [137/502] SearchByImageBrowserTest.ImageSearchWithCorruptImage (1853 ms) [138/502] TrialComparisonCertVerifierFeatureEnabledTest.TrialEnabledPrefEnabled (1586 ms) [139/502] PaymentRequestCanMakePaymentQueryPMITest.QueryQuotaForPaymentAppsAndCards (1594 ms) [140/502] PrintPreviewCustomMarginsTest.LayoutClearsCustomMargins (3184 ms) [141/502] AutoplayMetricsBrowserTest.RecordAutoplayAttemptUkm (2112 ms) [142/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_Hsts/0 (2116 ms) [143/502] MimeHandlerViewTest.SingleRequest (1843 ms) [144/502] EncryptedMediaSupportedTypesWidevineHwSecureTest.EncryptionScheme (2383 ms) [145/502] CrManagementA11yTest.SimpleTest_meta_viewport_large (2380 ms) [146/502] BookmarkBrowsertest.PRE_EmitUmaForDuplicates (1326 ms) [147/502] ServiceWorkerPaymentAppFactoryBrowserTest.SupportedOrigin (1852 ms) [148/502] SafeBrowsingBlockingPageIDNTestWithThreatType/SafeBrowsingBlockingPageIDNTest.SafeBrowsingBlockingPageDecodesIDN/5 (1585 ms) [149/502] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_DiskCache/1 (1326 ms) [150/502] NetworkingPrivateServiceClientApiTest.GetVisibleNetworks (1848 ms) [151/502] OnboardingA11y.OnboardingFlow_image_redundant_alt (2373 ms) [152/502] LocalNTPJavascriptTest.LocalNTPTests (1843 ms) [153/502] InMemoryApp/NetworkContextConfigurationBrowserTest.FileURL/2 (1602 ms) [154/502] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByRedirectToNoClientHint/0 (1596 ms) [155/502] CDM_10/ECKEncryptedMediaTest.FileIOTest/0 (3423 ms) [156/502] ChromeServiceWorkerTest.FallbackMainResourceRequestWhenJSDisabled (1848 ms) [157/502] ThirdPartyNTPBrowserTest.EmbeddedMostVisitedIframe (1851 ms) [158/502] PrintPreviewKeyEventTest.EnterOnCheckboxDoesNotPrint (3694 ms) [159/502] PrintPreviewSystemDialogBrowserTest.LinkTriggersLocalPrint (3438 ms) [160/502] PatchTest.InvalidOutputFile (1591 ms) [161/502] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.PRE_RunTest/2 (2122 ms) [162/502] ProfileSigninConfirmationDialogTest.InvokeUi_default (2377 ms) [163/502] StartupBrowserCreatorWasRestartedFlag.Test (1592 ms) [164/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ProxyConfig/2 (2112 ms) [165/502] SettingsUITest.ViewSourceDoesntCrash (1591 ms) [166/502] ChromeServiceWorkerNavigationHintTest.AlreadyRunning (1584 ms) [167/502] NetworkConnectionTrackerBrowserTest.NetworkConnectionTracker (1585 ms) [168/502] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/0 (1587 ms) [169/502] ExtensionSettingsApiTest.SimpleTest (1851 ms) [170/502] PaymentRequestJourneyLoggerMultipleShowTest.StartNewRequest (1864 ms) [171/502] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.ProgrammaticContentScriptVsAppCache/0 (1845 ms) [172/502] GlobalErrorBubbleTest.InvokeUi_ExtensionDisabledGlobalError (2114 ms) [173/502] CrManagementA11yTest.SimpleTest_button_name (2371 ms) [174/502] ChromeURLDataManagerTest.UnknownResource (1585 ms) [175/502] ClientHintsBrowserTest.ClientHintsLifetimeFollowedByNoClientHint/0 (1596 ms) [176/502] SSLNetworkTimeBrowserTest.OnDemandFetchClockWrong/0 (1865 ms) [177/502] BookmarkAppHelperTest.CreateWindowedPWAIntoAppWindow (2384 ms) [178/502] OnDiskApp/NetworkContextConfigurationBrowserTest.FileURL/2 (1586 ms) [179/502] CrossOriginXHR.BackgroundPage (3961 ms) [180/502] CDM_10/ECKEncryptedMediaTest.LoadUnknownSession/0 (2632 ms) [181/502] CrManagementA11yTest.SimpleTest_definition_list (2111 ms) [182/502] IOThreadBrowserTestWithHangingPacRequest.Shutdown (1850 ms) [183/502] OnboardingA11y.OnboardingFlow_meta_viewport_large (2641 ms) [184/502] CrashRecoveryBrowserTest.DoubleReloadWithError (2372 ms) [185/502] LocationBarBrowserTest.ExtensionCanOverrideBookmarkStar (1326 ms) [186/502] PDFExtensionClipboardTest.CombinedShiftRightArrowPresses (2377 ms) [187/502] SerialTest.NavigateWithChooserCrossOrigin (1853 ms) [188/502] TranslateManagerBrowserTest.PageTranslationBadOriginError (1844 ms) [189/502] PDFTestFiles/PDFExtensionLoadTest.Load/2 (1325 ms) [190/502] LocalNTPMostVisitedJavascriptTest.MostVistedTests (1590 ms) [191/502] PaymentRequestPaymentMethodIdentifierTest.BasicCard_NetworkThenBasicCard_SameList (1319 ms) [192/502] PrintPreviewCustomMarginsTest.SetFromStickySettings (2640 ms) [193/502] JavaScriptDialogTest.HandleJavaScriptDialog (1323 ms) [194/502] CrManagementA11yTest.SimpleTest_label_title_only (1857 ms) [195/502] SSLUIDynamicInterstitialTest.MismatchCommonNameRegex (1325 ms) [196/502] UnifiedAutoplayBrowserTest.Redirect_CrossOrigin_WithGesture (1590 ms) [197/502] DataSaverHoldbackBrowserTest.DataSaverEnabledWithHoldbackEnabled/0 (1321 ms) [198/502] BookmarkBarNavigationTest.SecFetchFromEmptyTab (1847 ms) [199/502] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_DiskCache/0 (1329 ms) [200/502] TopFrameSameFrameDownloadBrowserTest.Download/17 (1854 ms) [201/502] AmpUkmObserverBrowserTest.AmpSubframe (11573 ms) [202/502] PreviewsReportingBrowserTest.TestReportingHeadersSentForLoFiPreview (1059 ms) [203/502] CrSettingsCheckboxTest.All (2897 ms) [204/502] BitmapFetcherBrowserTest.StartTest (1848 ms) [205/502] PPAPINaClGLibcTest.TCPServerSocketPrivate_AcceptHangs (2113 ms) [206/502] PPAPINaClGLibcTest.TCPSocket_BindClosePipe (2374 ms) [207/502] OnDiskApp/NetworkContextConfigurationBrowserTest.Cache/0 (1323 ms) [208/502] LoadingPredictorBrowserTest.PrepareForPageLoadNonHttpScheme (2117 ms) [209/502] BookmarkItemAppleScriptTest.GetAndSetJavascriptURLFeatureEnabled (1846 ms) [210/502] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/23 (2368 ms) [211/502] IncognitoProfileMainNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/2 (2638 ms) [212/502] BackgroundAppBrowserTest.ReloadBackgroundApp (2637 ms) [213/502] ExtensionManagementApiBrowserTest.LaunchApp (2642 ms) [214/502] PrintPreviewLinkContainerTest.OpenInPreviewLinkClick (3428 ms) [215/502] PrintPreviewKeyEventTest.NumpadEnterTriggersPrint (3442 ms) [216/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFilePacBrowserTest.FilePac/1 (1853 ms) [217/502] NetworkingPrivateServiceClientApiTest.GetVisibleNetworksWifi (2382 ms) [218/502] LocalCardMigrationBrowserTest.CreditCardIconShownInLocationBar (3172 ms) [219/502] CrExtensionsRuntimeHostsDialogTest.All (3431 ms) [220/502] WebAppUrlLoaderTest.WebContentsDestroyed (1585 ms) [221/502] AutofillPrivateApiTest.ValidatePhoneNumbers (1857 ms) [222/502] ExtensionViewLoadApiTest.LoadAPIAfterInvalidCall (3441 ms) [223/502] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/2 (1585 ms) [224/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/2 (2375 ms) [225/502] V4SafeBrowsingServiceTest.MalwareWithWhitelist (1853 ms) [226/502] ExtensionContextMenuApiTest.ShowMultipleExtensionNamedTopLevelItemsWithChidlren (2385 ms) [227/502] DataUseMetricsObserverBrowserTest.NavigateToSimplePage (2119 ms) [228/502] LocalNTPBackgroundsAndDarkModeTest.WithCustomBackground (2372 ms) [229/502] SpellingMenuObserverTest.SuggestionsForceTopSeparator (1847 ms) [230/502] MediaStreamPermissionTest.TestSecureOriginDenyIsSticky (2105 ms) [231/502] DownloadsCounterTest.NotPersisted (1596 ms) [232/502] CrManagementA11yTest.SimpleTest_aria_required_children (3161 ms) [233/502] HistoryManipulationInterventionBrowserTest.AllEntriesSkippableBackButtonDisabled (1846 ms) [234/502] MerchantResponse/PaymentHandlerChangePaymentMethodTest.Test/0 (1854 ms) [235/502] AuthenticatorDialogTest.InvokeUi_default (1608 ms) [236/502] SaveCardBubbleControllerImplTest.InvokeUi_Failure (1588 ms) [237/502] ProxySettingsApiTest.ProxyEventsInvalidProxy (1862 ms) [238/502] SSLUITestBlock.TestBlockDisplayingInsecureIframe/1 (1846 ms) [239/502] PreviewsBrowserTest.NoScriptPreviewsDisabled (1587 ms) [240/502] GooglePasswordManagerNavigationThrottleTest.PasswordsWithoutGPMAndSync (1855 ms) [241/502] CommonNameMismatchBrowserTest.InterstitialReloadNavigationWhileLoading/0 (1598 ms) [242/502] PlatformAppNavigationRedirectorBrowserTest.XhrInTabNotIntercepted (2642 ms) [243/502] WebViewVisibilityTest.Shim_TestHiddenBeforeNavigation (1849 ms) [244/502] MimeHandlerViewCrossProcessTest.DataUrl/0 (1596 ms) [245/502] DataReductionProxyBrowsertest.PingbackSent (1328 ms) [246/502] ComponentCloudPolicyTest.SignOutAndBackIn (3701 ms) [247/502] CastChannelAPITest.TestOpenSendClose (2120 ms) [248/502] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_TopDomain_Match/1 (1858 ms) [249/502] DefaultIsolation/TaskManagerOOPIFBrowserTest.OrderingOfDependentRows/0 (3170 ms) [250/502] PreservedWindowPlacement.PRE_Test (1323 ms) [251/502] RestartTest.PRE_CookiesClearedOnExit (1594 ms) [252/502] V4SafeBrowsingServiceTest.Prefetch (1860 ms) [253/502] MediaRouterIntegrationIncognitoBrowserTest.ReconnectSession (3423 ms) [254/502] PermissionBubbleBrowserTest.TabFullscreenHasLocationBar (2382 ms) [255/502] LocalSiteCharacteristicsDatabaseTest.PRE_DatabaseGetsPersisted (3430 ms) [256/502] SafeBrowsingNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/1 (1588 ms) [257/502] ChromeAcceptHeaderTest.Check (1594 ms) [258/502] ContentVerifierTest.PolicyCorrupted (2639 ms) [259/502] ErrorPageOfflineTestWithAllowDinosaurTrue.CheckEasterEggIsAllowed (1587 ms) [260/502] NetworkingPrivateServiceClientApiTest.RequestNetworkScan (1585 ms) [261/502] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_SiteEngagement_NoMatch/0 (2372 ms) [262/502] SupervisedUserBlockModeTest.HistoryVisitRecorded/0 (2113 ms) [263/502] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/7 (1844 ms) [264/502] CrashRecoveryBrowserTest.LoadInNewTab (2118 ms) [265/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/2 (1863 ms) [266/502] GlobalConfirmInfoBarTest.MultipleTabs (1589 ms) [267/502] CDM_10/ECKEncryptedMediaTest.LoadLoadableSession/0 (5264 ms) [268/502] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/37 (1585 ms) [269/502] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingForTooLowWebAppIdFails (1330 ms) [270/502] ExtensionWebUITest.RuntimeLastError (1852 ms) [271/502] ContentVerifierPolicyTest.FailedUpdateRetries (2382 ms) [272/502] WebSocketBrowserTest.SSLConnectionLimit (6848 ms) [273/502] ProcessMemoryMetricsEmitterTest.FetchAndEmitMetricsWithExtensions (2111 ms) [274/502] AdTaggingBrowserTest.SameOriginFrameTagging (1587 ms) [275/502] ClientHintsBrowserTest.ShortLifetimeFollowedByNoClientHint (2380 ms) [276/502] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/0 (1581 ms) [277/502] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomain_EngagedSite_NoMatch/0 (1855 ms) [278/502] CrManagementA11yTestWithExtension.ExtensionSection_valid_lang (2645 ms) [279/502] ExtensionCrxInstallerTestWithExperimentalApis.DoNotGrantScopes_WithCallback (2901 ms) [280/502] ExtensionModuleApiTest.CognitoFile (1605 ms) [281/502] LookalikeUrlNavigationThrottleBrowserTest.TopDomainIdnSubdomain_NoMatch/1 (1591 ms) [282/502] DataReductionProxyBrowsertest.RendererInitiatedSameSiteNavigation (1584 ms) [283/502] DataReductionProxyFallbackBrowsertest.FallbackProxyUsedWhenBlockZeroHeaderSent (1591 ms) [284/502] ForegroundDurationUKMObserverBrowserTest.RecordSimple (2108 ms) [285/502] PlatformAppNavigationRedirectorBrowserTest.MismatchingEntryInOmnibarNotIntercepted (2634 ms) [286/502] ChromePasswordProtectionServiceBrowserTest.GSuitePasswordAlertMode (2110 ms) [287/502] SitePerProcessMemoryThresholdBrowserTest.SitePerProcessEnabled_LowThreshold (1588 ms) [288/502] NavigationPredictorBrowserTest.PipelineHttp (1861 ms) [289/502] MediaStreamPermissionTest.TestDenyingUserMediaIncognito (2116 ms) [290/502] ChromeNetworkServiceBrowserTest.PRE_EncryptedCookies (1325 ms) [291/502] WebRtcGetMediaDevicesBrowserTest.EnumerateDevicesWithoutAccess/0 (1853 ms) [292/502] IncognitoProfileMainNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/2 (2108 ms) [293/502] CrSettingsSearchEnginesTest.All (4752 ms) [294/502] ExtensionWebstorePrivateGetReferrerChainApiTest.GetReferrerChainForNonSafeBrowsingUser (1587 ms) [295/502] V4SafeBrowsingServiceJsRequestNoInterstitialTest.MalwareBlocked/3 (1587 ms) [296/502] AutofillTest.ProfilesNotAggregatedWithNoAddress (1850 ms) [297/502] PWAConfirmationDialogViewTest.InvokeUi_long_text (1854 ms) [298/502] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/2 (1848 ms) [299/502] PrintPreviewPolicyTest.EnableHeaderFooterByPolicy (3433 ms) [300/502] ErrorConsoleBrowserTest.BadAPIPermissionsRuntimeError (1854 ms) [301/502] ClientHintsBrowserTest.ClientHintsNoLifetimeScriptNotAllowed/1 (1593 ms) [302/502] CrExtensionsHostPermissionsToggleListTest.All (2639 ms) [303/502] V4SafeBrowsingServiceTest.CheckUnwantedSoftwareUrl (1592 ms) [304/502] CastMirroringServiceHostBrowserTest.CaptureTabAudio (1592 ms) [305/502] WebUIAccessibilityAuditBrowserTest_TestsDisabledInFixture.testRunningAuditManuallySeveralTimes (1590 ms) [306/502] StartupBrowserCreatorWelcomeBackTest.WelcomeBackStandardMandatoryPolicy (1870 ms) [307/502] DidChangeVisibleSecurityStateTest.DidChangeVisibleSecurityStateObserver/1 (2906 ms) [308/502] ExtensionBindingsApiTest.TestBindingsAvailableWithNavigatedBlankWindow (2110 ms) [309/502] MimeHandlerViewCrossProcessTest.EmbedderFrameRemovedNoCrash/1 (2641 ms) [310/502] BookmarksToolbarTest.All (2903 ms) [311/502] FolderUploadConfirmationViewTest.CancelsWhenClosed (1598 ms) [312/502] MimeHandlerViewCrossProcessTest.Basic/0 (2127 ms) [313/502] DistillablePageUtilsBrowserTestAdaboost.SimpleArticlesCallDelegateTwiceWithIsDistillable (2112 ms) [314/502] ServiceWorkerBasedBackgroundTest.WebRequest (2389 ms) [315/502] IdentityGetAccountsFunctionTest.PrimaryAccountSignedIn (1596 ms) [316/502] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/1 (1593 ms) [317/502] CollectedCookiesViewsTest.ChangeAndCloseTab (1853 ms) [318/502] ChromeNavigationBrowserTest.TransientEntryPreservedOnMultipleNavigationsDuringInterstitial (2388 ms) [319/502] ProfileMainNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/0 (1604 ms) [320/502] ProfileChooserViewExtensionsParamTest.InvokeUi_default/0 (1865 ms) [321/502] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.Simple/5 (1855 ms) [322/502] WebAppUiDelegateImplBrowserTest.NotifyOnAllAppWindowsClosed_NoOpenedWindows (1870 ms) [323/502] RegisterProtocolHandlerBrowserTest.UnregisterProtocolHandler (1583 ms) [324/502] PolicyControl/StartupBrowserCreatorInfobarsTest.CheckInfobarForEnableAutomation/1 (2113 ms) [325/502] CrExtensionsItemListTest.NoSearchResults (2642 ms) [326/502] CrExtensionsActivityLogHistoryItemTest.All (2381 ms) [327/502] TtsApiTest.PRE_VoicesAreCached (1844 ms) [328/502] AppControllerNewProfileManagementBrowserTest.RegularProfileReopenWithNoWindows (2109 ms) [329/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/0 (1849 ms) [330/502] MediaSessionPictureInPictureWindowControllerBrowserTest.PreviousTrackHandlerCalled (2114 ms) [331/502] HasBeforeUnloadHandlerTest.NoBeforeUnloadDetected (1577 ms) [332/502] AutofillCounterTest.CreditCards (1589 ms) [333/502] AppInfoDialogBrowserTest.InvokeUi_default (1590 ms) [334/502] MetricsServiceBrowserDoUploadTest.FilesRemain (1331 ms) [335/502] PrintPreviewAdvancedDialogTest.AdvancedSettings1Option (2913 ms) [336/502] CDM_10/ECKEncryptedMediaTest.Playback_Encryption_CENC/0 (4490 ms) [337/502] TimeFormatBrowserTest.DecimalPointNotDot (1321 ms) [338/502] VariationsHttpHeadersBrowserTest.ServiceWorkerNetworkFallback (1601 ms) [339/502] PaymentRequestUpdateWithTest.UpdateWithTotal (2376 ms) [340/502] ChromeContentRendererClientSearchBoxTest.RewriteThumbnailURL (535 ms) [341/502] NetworkRequestMetricsBrowserTest.FileURLError/2 (1070 ms) [342/502] InstanceIDApiTest.GetToken (1603 ms) [343/502] ChromeMojoProxyResolverFactoryBrowserTest.DestroyAndCreateService (1608 ms) [344/502] PrefetchBrowserTest.PreferenceWorks (1345 ms) [345/502] AutofillMetricsBrowserTest.CorrectSourceForUnownedAddressCheckout (1331 ms) [346/502] CastV2PerformanceTest.Performance/1 (11057 ms) [347/502] InMemoryApp/NetworkContextConfigurationBrowserTest.FileURL/1 (1608 ms) [348/502] DataReductionProxyFallbackBrowsertest.FallbackProxyUsedWhenBypassHeaderSent (1339 ms) [349/502] TopFrameSameFrameDownloadBrowserTest.Download/14 (1867 ms) [350/502] RepostFormWarningTest.TestLoginAfterRepost (1862 ms) [351/502] PPAPINaClGLibcTest.UDPSocket_Broadcast (1862 ms) [352/502] PPAPIFileChooserTestWithSBService.FileChooser_Open_NotBlockedBySafeBrowsing (1597 ms) [353/502] ExternallyConnectableMessagingTest.WebConnectableWithNonEmptyTlsChannelId (1337 ms) [354/502] PictureInPictureLazyBackgroundPageApiTest.PictureInPictureInBackgroundPage (11067 ms) [355/502] IdentityInternalsSingleTokenWebUITest.verifyGetters (1595 ms) [356/502] ExtensionUninstallDialogViewInteractiveBrowserTest.InvokeUi_ManualUninstallShowReportAbuse (2123 ms) [357/502] PinnedTabServiceBrowserTest.TabStripEmpty (1848 ms) [358/502] CDM_10/ECKEncryptedMediaTest.StorageIdTest/0 (2904 ms) [359/502] PrintPreviewMarginsSettingsTest.All (3169 ms) [360/502] ChromeNavigationBrowserTest.NoUserActivationSetSkipOnBackForwardCrossSite (1334 ms) [361/502] SubresourceFilterInterceptingBrowserTest.BetterAdsMetadata (1592 ms) [362/502] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.SecurityIndicators/0 (1326 ms) [363/502] ChromeRenderWidgetHostViewMacHistorySwiperTest.TestIframeHistorySwiping (6058 ms) [364/502] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrument (1848 ms) [365/502] PPAPINaClTestDisallowedSockets.TCPSocketPrivateDisallowed (1849 ms) [366/502] ExtensionsMenuViewBrowserTest.InvokeUi_default (1596 ms) [367/502] HostedAppBadgingTest.BadgeCanBeSetToAnInteger/0 (1856 ms) [368/502] SaveCardBubbleControllerImplTest.NewTabHidesDialog (2121 ms) [369/502] PrintPreviewOtherOptionsSettingsTest.All (3683 ms) [370/502] VariationsHttpHeadersBrowserTest.DedicatedWorkerScript (1853 ms) [371/502] SubresourceFilterDevtoolsBrowserTest.IsolatedSubframe_DoesNotSendAdBlockingMessages (2643 ms) [372/502] ChromeSecurityExploitBrowserTest.CreateBlobInExtensionOrigin (2385 ms) [373/502] BrowserCloseManagerBrowserTest.TestHangInBeforeUnloadMultipleWindows (4226 ms) [374/502] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.PRE_UnchangedDefault/3 (1588 ms) [375/502] AuthenticatorDialogTest.InvokeUi_ble_pairing_begin (2116 ms) [376/502] PPAPINaClGLibcTest.TCPSocket_AcceptedSocketReadClosePipe (2375 ms) [377/502] CrManagementA11yTestWithExtension.ExtensionSection_checkboxgroup (2897 ms) [378/502] ServiceWorkerTaskProviderBrowserTest.CreateTasksForMultiProfiles (4750 ms) [379/502] TopFrameSameFrameDownloadBrowserTest.Download/8 (1592 ms) [380/502] DevToolsBeforeUnloadTest.TestUndockedDevToolsClose (4215 ms) [381/502] CrExtensionsToolbarTest.ClickHandlers (2642 ms) [382/502] ExtensionManagementTest.InstallThenCancel (3164 ms) [383/502] DurableStorageBrowserTest.FirstTabSeesResult (1845 ms) [384/502] PrintPreviewAdvancedItemTest.QueryOption (3423 ms) [385/502] EncryptedMediaSupportedTypesExternalClearKeyTest.NoCodecs (2377 ms) [386/502] ServiceWorkerBasedBackgroundTest.EarlyEventDispatch (2113 ms) [387/502] PaymentRequestShowPromiseTest.ResolveWithEmptyListsOfItems (2380 ms) [388/502] LoadtimesExtensionBindingsTest.LoadTimesSameAfterClientInDocNavigation (1332 ms) [389/502] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/5 (1595 ms) [390/502] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPicture (2111 ms) [391/502] ContentSettingBubbleModelMixedScriptOopifTest.MixedContentInCrossSiteIframe (2638 ms) [392/502] LocalCardMigrationBrowserTest.ClosingDialogAddsLocalCardMigrationStrikes (3158 ms) [393/502] DownloadsApiTest.DownloadsApiTest (1580 ms) [394/502] LookalikeUrlInterstitialPageBrowserTest.UkmRecordedAfterNavigateAway (1588 ms) [395/502] LocalNTPSearchSuggestTest.SuggestionsInjectedIntoPageEnUS (3165 ms) [396/502] SafeBrowsingTriggeredPopupBlockerBrowserTest.BlockCreatingNewWindows_LogsToConsole (1588 ms) [397/502] GlobalErrorServiceBrowserTest.CloseBubbleView (1847 ms) [398/502] ContentAutofillDriverBrowserTest.TestPageNavigationHidingAutofillPopup (1850 ms) [399/502] SettingsUITest.ToggleJavaScript (3160 ms) [400/502] DownloadDangerPromptTest.TestAll (1857 ms) [401/502] ImageWriterUtilityClientTest.Write (1590 ms) [402/502] AppViewTest.TestAppViewMultipleConnects (4212 ms) [403/502] TabContentsTagTest.PreExistingTaskProviding (1865 ms) [404/502] CrExtensionsToolbarTest.Layout (2384 ms) [405/502] PPAPINaClGLibcTest.TCPSocket_BindHangs (2651 ms) [406/502] NoMerchantResponse/PaymentHandlerChangePaymentMethodTest.Test/0 (1857 ms) [407/502] MessagingApiTest.MessagingCrash (1853 ms) [408/502] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.PolicyUpdateIndividualXHR/0 (1847 ms) [409/502] CrManagementA11yTest.SimpleTest_aria_valid_attr_value (2375 ms) [410/502] ChromeNavigationBrowserTest.ClearInvalidPendingURLOnFail (1594 ms) [411/502] NetworkRequestMetricsBrowserTest.NetErrorDuringBody/3 (1591 ms) [412/502] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/21 (1579 ms) [413/502] BrowserCrApplicationAppleScriptTest.ObjectSpecifier (1582 ms) [414/502] TranslateBubbleViewBrowserTest.CloseLastTabWithoutTranslating (1323 ms) [415/502] CloudPolicyTest.FetchPolicy (3154 ms) [416/502] SyncFileSystemTest.AuthorizationTest (2900 ms) [417/502] IdentityOldProfilesGetAccountsFunctionTest.AllAccountsOff (933 ms) [418/502] FeedbackTest.ExtraDiagnostics (1847 ms) [419/502] FramebustBlockBrowserTest.DisallowRadioButtonSelected (1321 ms) [420/502] InMemoryApp/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/2 (1316 ms) [421/502] PrintPreviewSelectBehaviorTest.CallProcessSelectChange (2900 ms) [422/502] ExtensionCSPBypassTest.LoadWebAccessibleScript (1319 ms) [423/502] CDM_10/ECKEncryptedMediaTest.Playback_Encryption_CENS/0 (2368 ms) [424/502] LazyBackgroundPageApiTest.EventProcessCleanup (1851 ms) [425/502] ExtensionBrowsingDataTest.NotSyncing (1325 ms) [426/502] MediaSessionPictureInPictureWindowControllerBrowserTest.PlayPauseHandlersCalled (1585 ms) [427/502] LocalNTPInterceptionWebRequestAPITest.OneGoogleBarRequestsHidden (2118 ms) [428/502] NavigationPredictorBrowserTest.PreconnectNonSearch (1064 ms) [429/502] AppManagementDomSwitchTest.All (2374 ms) [430/502] EncryptedMediaSupportedTypesExternalClearKeyTest.EncryptionScheme (2114 ms) [431/502] V4SafeBrowsingServiceTest.CheckDownloadUrl (1333 ms) [432/502] ChromeOriginTrialsTest.PRE_PublicKeySetOnCommandLine (1064 ms) [433/502] ServiceWorkerPaymentAppFactoryBrowserTest.CrossOriginDefaultApplicationIsInvalid (1331 ms) [434/502] CrSettingsAllSitesTest.All (3955 ms) [435/502] ZoomBubbleBrowserTest.TabSwitchCloses (1587 ms) [436/502] PdfPluginContextMenuBrowserTest.IframedPdfHasNoPageItems (2123 ms) [437/502] MemoryTracingBrowserTest.TestMemoryInfra (2386 ms) [438/502] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/2 (1323 ms) [439/502] MimeHandlerViewCrossProcessTest.Embedded/1 (1590 ms) [440/502] CrSettingsSiteDataTest.All (3949 ms) [441/502] ExtensionTabsZoomTest.SetToDefaultZoom (1062 ms) [442/502] PrintPreviewRestoreStateTest.RestoreTrueValues (2905 ms) [443/502] ServiceWorkerMessagingTest.TabToWorker_ConnectAndDisconnect (1583 ms) [444/502] WebUIAccessibilityAuditBrowserTest.testWithAuditFailures_a11yIssuesAreWarnings (1335 ms) [445/502] JavaScriptDialogTest.DismissalCausePromptBrowserSwitched (1584 ms) [446/502] CrExtensionsManagerTestWithIdQueryParam.NavigationToDetails (2899 ms) [447/502] BrowserViewTest.CloseWithTabsStartWithActive (1587 ms) [448/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.FileURL/2 (1586 ms) [449/502] SystemNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/1 (929 ms) [450/502] NetworkRequestMetricsBrowserTest.InterruptedCancelDuringBody/2 (2378 ms) [451/502] CrSettingsPeoplePageSyncAccountControlTest.All (3160 ms) [452/502] PaymentRequestPaymentMethodIdentifierTest.BasicCard_NoNetworksSpecified (1324 ms) [453/502] TabActivityWatcherTest.OnlyCalculateReactivationScoreForOldestN (1590 ms) [454/502] NavigationPredictorBrowserTest.PipelineAdsFrameTagged (1584 ms) [455/502] ExtensionBlockedActionsBubbleTest.InvokeUi_ExtensionBlockedActionsBubble (1327 ms) [456/502] PDFExtensionHitTestTest.ContextMenuCoordinates/0 (3153 ms) [457/502] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/27 (1863 ms) [458/502] BrowserViewTest.AvoidUnnecessaryVisibilityChanges (1854 ms) [459/502] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_NoSniffXml/0 (1320 ms) [460/502] IdentityInternalsMultipleTokensWebUITest.getAllTokens (1327 ms) [461/502] UnifiedAutoplayBrowserTest.OpenSameOriginFromMenu (1589 ms) [462/502] LocalSiteCharacteristicsDatabaseTest.FeatureUsedInForegroundOnly (1323 ms) [463/502] MultiActionAPITest.ValuesAreClearedOnNavigationAndTabRemoval/1 (1330 ms) [464/502] DownloadsCounterTest.Types (1334 ms) [465/502] WebstoreInstallerBrowserTest.WebstoreInstall (1854 ms) [466/502] MDnsAPITest.RegisterTooManyListeners (1070 ms) [467/502] CastV2PerformanceTest.Performance/5 (7902 ms) [468/502] OnDiskApp/NetworkContextConfigurationDataPacBrowserTest.DataPac/2 (1322 ms) [469/502] ServiceWorkerLazyBackgroundTest.EventsToStoppedExtension (1840 ms) [470/502] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.XHRToWebstorePolicy/0 (1066 ms) [471/502] CrManagementA11yTest.SimpleTest_empty_heading (1592 ms) [472/502] SaveCardBubbleControllerImplTest.InvokeUi_Server_WithCardExpirationDateDropDownBox (930 ms) [473/502] LookalikeUrlNavigationThrottleBrowserTest.NetError_TopDomain_Interstitial/2 (1068 ms) [474/502] NoStartupWindowTest.DontInitSessionServiceForApps (1319 ms) [475/502] GlobalErrorBubbleTest.InvokeUi_ExtensionDisabledGlobalErrorRemote (1060 ms) [476/502] BookmarkBrowsertest.PRE_Persist (802 ms) [477/502] InMemoryApp/NetworkContextConfigurationBrowserTest.ProxyConfig/0 (805 ms) [478/502] ExtensionManagementTest.ExternalUrlUpdate (2374 ms) [479/502] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_DiskCache/0 (932 ms) [480/502] LocalSiteCharacteristicsDatabaseTest.ClearHistory (797 ms) [481/502] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.ChangedAtomic/2 (790 ms) [482/502] TranslateManagerBrowserTest.TranslateSessionRestore (1057 ms) [483/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.Hsts/0 (1323 ms) [484/502] BookmarkBrowsertest.EmitUmaForDuplicates (934 ms) [485/502] CertificateReportingServiceBrowserTest.OptedOut_ThenOptedIn_ThenOptedOut/0 (8167 ms) [486/502] OnDiskApp/NetworkContextConfigurationBrowserTest.DiskCache/1 (929 ms) [487/502] OnDiskApp/NetworkContextConfigurationBrowserTest.EnableReferrers/0 (1078 ms) [488/502] InMemoryApp/NetworkContextConfigurationBrowserTest.DiskCache/0 (1056 ms) [489/502] InMemoryApp/NetworkContextConfigurationBrowserTest.CookieSettings/2 (1063 ms) [490/502] PreservedWindowPlacement.Test (793 ms) [491/502] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookiesEnabled/2 (1321 ms) [492/502] RestartTest.CookiesClearedOnExit (926 ms) [493/502] LocalSiteCharacteristicsDatabaseTest.DatabaseGetsPersisted (801 ms) [494/502] InMemoryApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/0 (931 ms) [495/502] ChromeNetworkServiceBrowserTest.EncryptedCookies (927 ms) [496/502] TtsApiTest.VoicesAreCached (930 ms) [497/502] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.UnchangedDefault/3 (814 ms) [498/502] ChromeOriginTrialsTest.PublicKeySetOnCommandLine (794 ms) [499/502] InMemoryApp/NetworkContextConfigurationBrowserTest.CookiesEnabled/2 (1060 ms) [500/502] BookmarkBrowsertest.Persist (932 ms) [501/502] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.RunTest/2 (5269 ms) [502/502] OnDiskApp/NetworkContextConfigurationBrowserTest.DiskCache/0 (925 ms) SUCCESS: all tests passed. 450620a61cb53b10: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=4 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/io6xf1Fb/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 4/10 Using 4 parallel jobs. Randomizing with seed 71029 [1/447] PaymentRequestHasEnrolledInstrumentQueryCCTest.QueryQuotaInIncognito (1331 ms) [2/447] ProfileWithoutMediaCacheBrowserTest.NoSeparateMediaCache (1342 ms) [3/447] UnifiedAutoplayBrowserTest.Redirect_CrossOrigin_WithoutGesture (1589 ms) [4/447] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/14 (1603 ms) [5/447] NaClBrowserTestStatic.RelativeManifest (1067 ms) [6/447] AuthenticatorDialogTest.InvokeUi_account_select (1063 ms) [7/447] PPAPINaClTestDisallowedSockets.HostResolverPrivateDisallowed (1332 ms) [8/447] AdsPageLoadMetricsObserverBrowserTest.FrameRAFTriggersCpuUpdate (1585 ms) [9/447] ServiceWorkerMessagingTest.ConnectExternalToWorker (1842 ms) [10/447] SafeBrowsingNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/2 (3174 ms) [11/447] WebSocketBrowserConnectToTest.WebSocketBasicAuthNoCreds (2382 ms) [12/447] NaClGdbDebugStubTest.Breakpoint (1589 ms) [13/447] SaveCardBubbleControllerImplTest.InvokeUi_Manage (1327 ms) [14/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ProxyConfig/1 (1328 ms) [15/447] ScrollbarTest.ScrollbarRegression (1585 ms) [16/447] WebrtcAudioPrivateTest.TriggerEvent (1344 ms) [17/447] SubresourceFilterListInsertingBrowserTest.ExpectRedirectPatternHistogramsAreRecordedForSubresourceFilterOnlyRedirectMatch (1323 ms) [18/447] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_TopDomain_NoMatch/2 (1586 ms) [19/447] PinnedTabServiceBrowserTest.CloseWindow (1593 ms) [20/447] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowEnabled/2 (1864 ms) [21/447] TranslateManagerBrowserTest.HrefTranslateNotFromGoogle (1603 ms) [22/447] CrSettingsPasswordsSectionTest.All (5791 ms) [23/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/2 (1852 ms) [24/447] ExtensionBindingsUserGestureTest.UserGestureInExtensionAPICallback/1 (1587 ms) [25/447] PPAPINaClGLibcTest.TCPSocket_BindError (1849 ms) [26/447] IncognitoProfileMainNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/0 (1592 ms) [27/447] InMemoryApp/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/1 (2380 ms) [28/447] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/28 (1848 ms) [29/447] BackgroundFetchBrowserTest.FetchFromChildFrameWithMissingPermissions (1588 ms) [30/447] LocalCardMigrationBrowserTest.ClickingOmniboxIconReshowsBubble (1858 ms) [31/447] JavaScriptDialogTest.DismissalCausePromptCancelDialogs (1061 ms) [32/447] LoadingPredictorBrowserTest.LearnFromNavigationWithRedirect (1588 ms) [33/447] CorsOriginAccessListBrowserTest.AllowAllForIp (1064 ms) [34/447] CustomTabBarViewBrowserTest.BackToAppButtonIsNotVisibleInScope (2118 ms) [35/447] PWAConfirmationDialogViewTest.InvokeUi_rtl (1327 ms) [36/447] DurableStorageBrowserTest.RequestNonBookmarkedPage (1326 ms) [37/447] OnboardingA11y.OnboardingFlow_aria_hidden_body (2125 ms) [38/447] ExtensionOverrideTest.OverrideNewTab (1329 ms) [39/447] WithoutAny/BackgroundXhrWebstoreTest.XHRToWebstore/0 (1334 ms) [40/447] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLogginWithEmptySessionIdFails (929 ms) [41/447] RendererEventInjectionTest.TestRootTransform/0 (1322 ms) [42/447] CommonNameMismatchBrowserTest.ShouldShowWWWSubdomainMismatchInterstitial/1 (1329 ms) [43/447] DnsProbeSuccessfulProbesTest.NoProbeInSubframe (1325 ms) [44/447] WithoutAny/BackgroundXhrWebstoreTest.XHRPortSpecificPermissionAllow/0 (1333 ms) [45/447] ContentSettingImageModelBrowserTest.CreateBubbleModel (1326 ms) [46/447] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/14 (1604 ms) [47/447] ChromeOriginTrialsDisabledTokensTest.PRE_DisabledTokensSetOnCommandLine/0 (1328 ms) [48/447] ChromeNavigationBrowserTest.OpenerNavigation_DownloadPolicy_Disallowed (1329 ms) [49/447] BrowserSwitcherBrowserTest.RunsExternalCommand (11312 ms) [50/447] LoadTimingBrowserTest.Proxy (2123 ms) [51/447] ProfileMainNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/1 (2117 ms) [52/447] AutofillTest.ProfileWithEmailInOtherFieldNotSaved (1878 ms) [53/447] SubresourceFilterListInsertingBrowserTest.WarningSiteWithForceActivation_LogsWarning (1848 ms) [54/447] UnifiedAutoplaySettingBrowserTest.Block_Wildcard (1852 ms) [55/447] PPAPINaClGLibcTest.TCPSocket_SetNoDelayError (2405 ms) [56/447] IntentPickerBubbleViewBrowserTest.NavigationToInScopeLinkShowsIntentPicker/1 (1846 ms) [57/447] ProfileWithNetworkServiceBrowserTest.PRE_DeleteMediaCache (1325 ms) [58/447] LocationIconViewBrowserTest.InkDropMode (1583 ms) [59/447] ChromeNavigationBrowserTest.CrossSiteRedirectionToPDF (1595 ms) [60/447] PolicyUpdateServiceTest.Backoff (4216 ms) [61/447] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.PRE_UntrustedInitialized/3 (1332 ms) [62/447] PrintPreviewDestinationSettingsTest.OpenDialog (2906 ms) [63/447] TabModalConfirmDialogTest.CancelSelf (1343 ms) [64/447] ImageWriterPrivateApiTest.TestListDevices (1597 ms) [65/447] BrowserActionsBarIncognitoTest.IncognitoMode (2106 ms) [66/447] InMemoryApp/NetworkContextConfigurationBrowserTest.BasicRequest/2 (1847 ms) [67/447] ExtensionContentSettingsApiTest.UnsupportedDefaultSettings (1589 ms) [68/447] SafeJsonParserTest.Parse (3173 ms) [69/447] JavaScriptDialogTest.ClosingPageWithSubframeAlertingDoesntCrash (1335 ms) [70/447] UkmBrowserTestWithSyncTransport.NotEnabledForSecondaryAccountSync/1 (1331 ms) [71/447] BookmarkBrowsertest.BookmarkBarVisibleWait (1613 ms) [72/447] BackgroundPage/ExtensionContextMenuBrowserTest.LongTitle/0 (1332 ms) [73/447] PendingBookmarkAppManagerBrowserTest.ShutdownWithPendingInstallation (1080 ms) [74/447] ServiceWorker/ExtensionContextMenuBrowserTest.IncognitoSplit/0 (1063 ms) [75/447] CrSettingsSearchPageTest.All (2637 ms) [76/447] AdsPageLoadMetricsObserverResourceBrowserTest.AdFrameSizeInterventionMediaStatusPlayed (1326 ms) [77/447] MachineLevelUserCloudPolicyEnrollmentTest.Test/5 (4217 ms) [78/447] OnDiskApp/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/1 (1588 ms) [79/447] HangingPacRequestProxyScriptBrowserTest.Shutdown (1850 ms) [80/447] _/WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingForKnownPeerConnectionSucceeds/0 (1321 ms) [81/447] MediaRouterUIBrowserTest.PinAndUnpinToolbarIcon (1856 ms) [82/447] DataReductionProxyBrowsertest.ChromeProxyHeaderSet (1865 ms) [83/447] PPAPINaClGLibcTest.TCPSocket_ListenHangs (2382 ms) [84/447] PrintPreviewDestinationSelectTest.KioskModeSelectsFirstPrinter (2905 ms) [85/447] CrManagementA11yTest.SimpleTest_aria_roles (2119 ms) [86/447] OnDiskApp/NetworkContextConfigurationBrowserTest.CacheIsolation/2 (1850 ms) [87/447] ScrollbarTest.LongPromptScrollbar (1859 ms) [88/447] BrowserShutdownBrowserTest.PRE_TwoBrowsersClosingShutdownHistograms (1315 ms) [89/447] LookalikeUrlNavigationThrottleBrowserTest.UkmRecordedWhenNoInterstitialShown/1 (1847 ms) [90/447] NavigationConsumingTest.NavigationConsumesUserGesture_Popups (1847 ms) [91/447] CrElementsRadioButtonTest.All (1846 ms) [92/447] LookalikeUrlNavigationThrottleBrowserTest.TopDomainChromeUrl_NoMatch/0 (1849 ms) [93/447] ServiceWorker/ExtensionContextMenuBrowserTest.Frames/0 (1847 ms) [94/447] OnDiskApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/2 (1848 ms) [95/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationDataPacBrowserTest.DataPac/0 (1592 ms) [96/447] CrExtensionsErrorPageTest.ErrorSelection (2639 ms) [97/447] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.PRE_UntrustedInitialized/0 (1329 ms) [98/447] CrExtensionsShortcutTest.Layout (2377 ms) [99/447] ImageAnnotationBrowserTest.ImageWithSrcSet (1323 ms) [100/447] ToolbarPageActionIconContainerViewBrowserTest.ShouldNotUpdateHighlightInIncognitoWindow (1588 ms) [101/447] AppEventPageTest.OnSuspendUseStorageApi (3693 ms) [102/447] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.PRE_UnchangedDefault/1 (1330 ms) [103/447] PasswordGenerationAgentTestForHtmlAnnotation.AnnotateForm (662 ms) [104/447] LookalikeUrlInterstitialPageBrowserTest.UrlShownAfterInterstitial (1852 ms) [105/447] MediaRouterIntegrationOneUABrowserTest.Fail_SendMessage (2120 ms) [106/447] ChromeContentBrowserClientBrowserTest.SitePerProcessNavigation (1584 ms) [107/447] CertificateReportingServiceBrowserTest.OptedIn_ThenOptedOut/0 (2109 ms) [108/447] OnboardingA11y.OnboardingFlow_duplicate_id (2637 ms) [109/447] IsolatedAppTest.CookieIsolation (2383 ms) [110/447] ChromeAppAPITest.IsInstalled (2107 ms) [111/447] PwaInstallViewBrowserTest.BouncedInstallMeasured (2634 ms) [112/447] PDFTestFiles/PDFExtensionLoadTest.Load/8 (2647 ms) [113/447] ExtensionTabsZoomTest.ZoomSettings (2114 ms) [114/447] LoadingPredictorBrowserTest.PreconnectAndFetchCors (1857 ms) [115/447] WebRtcUdpPortRangeDisabledPolicyTest.WebRtcUdpPortRangeDisabled (2378 ms) [116/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/2 (2369 ms) [117/447] ServiceWorker/ExtensionContextMenuBrowserTest.ClickInFrame/0 (1870 ms) [118/447] AppWindowRestrictedApisBrowserTest.UnloadEvents (2126 ms) [119/447] TabManagerTest.ProtectDevToolsTabsFromDiscarding (4479 ms) [120/447] BackgroundSyncMetricsBrowserTest.BackgroundSyncUkmEventsAreRecorded (1601 ms) [121/447] IFrameTest.Crash (1594 ms) [122/447] CrSettingsOnStartupPageTest.All (4487 ms) [123/447] PasswordGenerationPopupViewTest.CloseWebContentsWithVisiblePopup (1600 ms) [124/447] FileIFrameAPITest.FileAccessAllURLs (1860 ms) [125/447] AdsPageLoadMetricsObserverResourceBrowserTest.AdFrameSizeInterventionTriggered (4218 ms) [126/447] SettingsPrivateApiTest.OnPrefsChanged (1847 ms) [127/447] NetworkRequestMetricsBrowserTest.Download/2 (1583 ms) [128/447] NavigationPredictorBrowserTest.AnchorElementClickedOnSearchEnginePage (1852 ms) [129/447] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/0 (2111 ms) [130/447] SSLPolicyTestCommittedInterstitials.SSLErrorOverridingAllowed/0 (1857 ms) [131/447] NetworkConnectionTrackerBrowserTest.SimulateNetworkServiceCrash (1849 ms) [132/447] BrowserCloseManagerBrowserTest.TestAddWindowDuringShutdown (2119 ms) [133/447] ExtensionModuleApiTest.IncognitoFile (2111 ms) [134/447] DiceBrowsingDataRemoverBrowserTest.SyncTokenScopedDeletion (1861 ms) [135/447] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/2 (1856 ms) [136/447] CredentialManagerBrowserTest.StoreInUnloadHandler_SameSite_OnDemandMojoPipe (2124 ms) [137/447] NavigationPredictorBrowserTest.PipelineAdsFrameNotTagged (1582 ms) [138/447] CrManagementA11yTestWithExtension.ExtensionSection_accesskeys (2375 ms) [139/447] CrSettingsAboutPageTest.AboutPage (3427 ms) [140/447] NavigationPredictorBrowserTest.MergeMetricsSameTargetUrl_ClickHrefWithMergedImage (1595 ms) [141/447] DeclarativeNetRequestResourceTypeBrowserTest.Test1/1 (4228 ms) [142/447] TabActivityWatcherUkmTest.DiscardedTabGetsPreviousSourceId (1844 ms) [143/447] SSLNetworkTimeBrowserTest.NavigateAwayBeforeTimeoutExpires/0 (1583 ms) [144/447] NaClBrowserTestPnaclDebug.PnaclDebugURLFlagAndURL (3166 ms) [145/447] RestartTest.PRE_SessionCookies (1324 ms) [146/447] AppViewTest.TestAppViewWithUndefinedDataShouldSucceed (2640 ms) [147/447] SearchByImageBrowserTest.ImageSearchWithValidImage (1841 ms) [148/447] WebUsbTest.RequestDeviceWithGuardBlocked (1590 ms) [149/447] LazyLoadBrowserTest.CSSPseudoBackgroundImageLoaded (1594 ms) [150/447] CrManagementA11yTest.SimpleTest_td_has_header (2116 ms) [151/447] PasswordManagerInternalsWebUIBrowserTest.LogSavePasswordProgress_NotFlushedOnReloadIfMultiple (1582 ms) [152/447] LoadingPredictorBrowserTest.PreconnectCorsAndFetchNonCors (1599 ms) [153/447] ImageWriterUtilityClientTest.VerifyNoImage (1320 ms) [154/447] ChromeServiceWorkerTest.StartServiceWorkerAndDispatchMessage (1324 ms) [155/447] ExtensionOverrideTest.ShouldNotCreateDuplicateEntries (1585 ms) [156/447] DownloadProtectionServiceBrowserTest.VerifyRarHash (1851 ms) [157/447] Mock4JSWebUITestFails.NotCalledExpectFails (1846 ms) [158/447] SystemNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/1 (1080 ms) [159/447] SitePerProcessMemoryThresholdBrowserTest.TrialIsolatedOrigins_NoThreshold (1315 ms) [160/447] ProfileChooserViewExtensionsParamTest.InvokeUi_SignedIn/1 (1846 ms) [161/447] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/1 (1592 ms) [162/447] AppControllerPlatformAppBrowserTest.ActivationFocusesBrowserWindow (3158 ms) [163/447] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/6 (1326 ms) [164/447] DeveloperPrivateApiTest.InspectEmbeddedOptionsPage (2898 ms) [165/447] WebrtcAudioPrivateTest.GetAssociatedSink (1338 ms) [166/447] ProfileBrowserTest.LastSelectedDirectory (1863 ms) [167/447] SupervisedUserTest.BlockThenUnblock/1 (2117 ms) [168/447] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInCrossOriginPostRequest/0 (2120 ms) [169/447] WebAppUiDelegateImplBrowserTest.NotifyOnAllAppWindowsClosed_MultipleRequests (2375 ms) [170/447] InMemoryApp/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/1 (1326 ms) [171/447] UnifiedAutoplayBrowserTest.ForceWasActivated_Yes (1862 ms) [172/447] ServiceWorkerPaymentAppFactoryBrowserTest.ThreeRedirectsIsValid (1849 ms) [173/447] PDFTestFiles/PDFExtensionLoadTest.Load/6 (1324 ms) [174/447] PDFExtensionInternalLinkClickTest.Middle (3164 ms) [175/447] LookalikeUrlNavigationThrottleBrowserTest.IdnWithSingleLabelShouldNotCauseACrash/2 (1580 ms) [176/447] ExtensionInstallUIBrowserTest.TestThemeReset (2376 ms) [177/447] TabAppleScriptTest.ExecuteJavascriptFeatureEnabled (1321 ms) [178/447] IdentityGetAccountsFunctionTest.AllAccountsOn (1324 ms) [179/447] CrManagementA11yTest.SimpleTest_server_side_image_map (2368 ms) [180/447] PPAPINaClGLibcTest.TCPSocket_BindConnectClosePipe (2113 ms) [181/447] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagementAndTopDomain_Match/2 (1847 ms) [182/447] BackgroundPage/ExtensionContextMenuBrowserTest.TopLevel/0 (2899 ms) [183/447] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomain_Match/1 (1322 ms) [184/447] PrintPreviewDestinationSettingsTest.ChangeDropdownState (2902 ms) [185/447] TranslateManagerBrowserTest.HrefTranslateUnsupported (1857 ms) [186/447] OnboardingA11y.OnboardingFlow_checkboxgroup (2637 ms) [187/447] ExtensionURLLoaderThrottleCommandLineBrowserTest.ThrottleRequestDisabled (2115 ms) [188/447] PrintPreviewPagesPerSheetSettingsTest.All (3165 ms) [189/447] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_SameOrigin/0 (1597 ms) [190/447] ChromeNavigationBrowserTest.ErrorPageDoesNotInheritCSP (1594 ms) [191/447] TopFrameSameFrameDownloadBrowserTest.Download/1 (1598 ms) [192/447] MediaRouterIntegrationOneUABrowserTest.ReconnectSession (3160 ms) [193/447] SetIconAPITest.Overview (1593 ms) [194/447] WithoutAny/BackgroundXhrWebstoreTest.PolicyBlockedXHR/0 (1592 ms) [ RUN ] EncryptedMediaSupportedTypesClearKeyTest.Audio_MP4 [24221:14855:0524/214750.523420:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. browser_tests(24221,0x700005ac8000) malloc: *** error for object 0x7fa10c5d52e8: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Received signal 6 [0x000105544099] [0x000105464ee3] [0x000105543fb1] [0x7fff8be5952a] [0x000000000000] [0x7fff96b0e6df] [0x7fff9cb2d396] [0x7fff9cb20c03] [0x7fff9cb1f705] [0x00010554ebad] [0x7fff9cb1f5a1] [0x7fff9cb1e0cc] [0x00010542637a] [0x000105428097] [0x0001054c6b9b] [0x00010546acce] [0x00010546c100] [0x000107d12b96] [0x000107d11134] [0x000107d12e7d] [0x00010550d7a3] [0x00010550d9a9] [0x0001054d9ec0] [0x0001054fa052] [0x0001054f9bdd] [0x00010554dd09] [0x0001054f9571] [0x00010550127b] [0x000105501054] [0x00010554e227] [0x7fff8707899d] [0x7fff8707891a] [0x7fff87076351] [end of stack trace] [195/447] EncryptedMediaSupportedTypesClearKeyTest.Audio_MP4 (CRASHED) [196/447] ExtensionApiTestWithManagementPolicy.OptionalPermissionsPolicyBlocked (1600 ms) [197/447] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_EngagedDomain_Match/0 (1591 ms) [198/447] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.SecurityIndicators/6 (1606 ms) [199/447] CrManagementA11yTestWithExtension.ExtensionSection_aria_required_parent (3176 ms) [200/447] SSLUIMITMSoftwareDisabledTest.DisabledWithFinch/1 (1587 ms) [201/447] LogWebUIUrlTest.TestExtensionsPage (2113 ms) [202/447] MediaSessionPictureInPictureWindowControllerBrowserTest.SkipAdButtonVisibility (1851 ms) [203/447] SafeJsonParserTest.IsolationWithGroups (1847 ms) [204/447] SitePerProcessMemoryThresholdBrowserTest.TrialIsolatedOrigins_LowThreshold (1325 ms) [205/447] ProfileBrowserTest.DiskCacheDirOverride (1592 ms) [206/447] CustomTabBarViewBrowserTest.IsNotCreatedInTabbedBrowser (1593 ms) [207/447] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/16 (2110 ms) [208/447] ProxySettingsApiTest.ProxyPacDataUrl (1856 ms) [209/447] DownloadProtectionServiceBrowserTest.VerifyZipHash (1855 ms) [210/447] ProfileMainNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/1 (1066 ms) [211/447] HistoryOverflowMenuTest.All (2636 ms) [212/447] PlatformAppNavigationRedirectorBrowserTest.WindowOpenInAppIntercepted (3168 ms) [213/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CacheIsolation/0 (1852 ms) [214/447] DataReductionProxyBrowsertest.DoesNotOverrideExistingProxyConfig (1588 ms) [215/447] AdsPageLoadMetricsObserverBrowserTest.OriginStatusMetricEmbedded (2374 ms) [216/447] AdsPageLoadMetricsObserverBrowserTest.CpuTimesCumulativeOverSubframeNavigate (1851 ms) [217/447] BrowserCloseManagerBrowserTest.TestAddTabWithBeforeUnloadDuringShutdown (2637 ms) [218/447] LocalNTPPromoTest.PromoInjectedIntoPage (1848 ms) [219/447] PrintPreviewPreviewGenerationTest.ChangeMarginsByPagesPerSheet (3165 ms) [220/447] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/2 (1858 ms) [221/447] MediaGalleriesGalleryWatchApiTest.CorrectResponseOnModifyingWatchedGallery (1849 ms) [222/447] WebRtcEventLogCollectionAllowedPolicyTest.RunTest/0 (1849 ms) [223/447] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/4 (1582 ms) [224/447] ZoomBubbleReuseTest.UserThenExtension (1590 ms) [225/447] IsolateOriginsPrintBrowserTest.PrintIsolatedSubframe (3959 ms) [226/447] TopFrameSameFrameDownloadBrowserTest.Download/18 (2389 ms) [227/447] LoadTimingBrowserTest.FTP (2914 ms) [228/447] OneClickSigninLinksDelegateBrowserTest.LearnMoreLink (1600 ms) [229/447] UnifiedAutoplaySettingBrowserTest.Allow (2120 ms) [230/447] DataReductionProxyFallbackBrowsertest.FallbackProxyUsedOnNetError (1859 ms) [231/447] CDM_10/ECKEncryptedMediaTest.DecryptOnly_VideoOnly_MP4_VP9/0 (6321 ms) [232/447] ResourceMetricsObserverBrowserTest.RecordedMimeMetrics (2642 ms) [233/447] CrElementsToastTest.All (2111 ms) [234/447] LocalSiteCharacteristicsDataStoreFactoryTest.EndToEnd (1859 ms) [235/447] SSLNetworkTimeBrowserTest.ReloadBeforeTimeoutExpires/1 (2109 ms) [236/447] DevToolsBeforeUnloadTest.TestUndockedDevToolsInspectedTabClose (4737 ms) [237/447] PPAPINaClGLibcTest.TCPSocket_Interface_1_0 (2376 ms) [238/447] HostedAppIsolatedOriginTest.AppBroaderThanIsolatedOrigin/0 (3955 ms) [239/447] ChromeMimeHandlerViewCrossProcessTest.UMA_CrossOriginResource/0 (2120 ms) [240/447] IeemSitelistParserTest.BadXml (1858 ms) [241/447] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/11 (1854 ms) [242/447] PwaInstallViewBrowserTest.NavigateToSameScope (1598 ms) [243/447] CrManagementA11yTest.SimpleTest_p_as_heading (2388 ms) [244/447] PageActionApiTest.RemovePopup (1847 ms) [245/447] MachineLevelUserCloudPolicyPolicyFetchTest.Test/2 (3956 ms) [246/447] TaskManagerMacTest.ColumnsSettingsAreRestored (1583 ms) [247/447] CrSettingsSearchTest.All (3957 ms) [248/447] NetworkTimePolicyTest.NetworkTimeQueriesDisabled/1 (1852 ms) [249/447] PDFExtensionLinkClickTest.CtrlShiftLeft (2904 ms) [250/447] V4SafeBrowsingServiceTest.CheckBrowseUrl (1340 ms) [251/447] SupervisedUserNavigationThrottleTest.NoNavigationObserverBlock/0 (1849 ms) [252/447] UkmBackgroundRecorderBrowserTest.SourceIdReturnedWhenOriginInHistory (1586 ms) [253/447] NoMerchantResponse/PaymentHandlerChangePaymentMethodTest.Test/1 (2109 ms) [254/447] PDFPluginDisabledTest.IframePlaceholderInjectedIntoNewWindow (1323 ms) [255/447] TabHoverCardBubbleViewBrowserTest.InvokeUi_tab_hover_card (1588 ms) [256/447] CorsOriginAccessListBrowserTest.AllowAll (1604 ms) [257/447] LookalikeUrlInterstitialPageBrowserTest.MainProfileDoesNotAffectIncognito (2641 ms) [258/447] ContentSettingImageModelBrowserTest.AdsLearnMoreLinkClicked (2116 ms) [259/447] BrowserCloseManagerBrowserTest.TestShutdownMoreThanOnce (1851 ms) [260/447] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/0 (1323 ms) [261/447] MetricsServiceBrowserTest.CrashRenderers (1848 ms) [262/447] CollectedCookiesViewsTest.CloseDialog (1585 ms) [263/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/0 (1594 ms) [264/447] WebViewVisibilityTest.EmbedderVisibilityChanged (1853 ms) [265/447] ServiceWorkerTest.UpdatePackedExtension (2899 ms) [266/447] TabCaptureApiPixelTest.OffscreenTabEndToEnd (3947 ms) [267/447] PageActionApiTest.TestTriggerPageAction (1857 ms) [268/447] LookalikeUrlNavigationThrottleBrowserTest.NonTopDomainIdn_NoInterstitial/2 (1584 ms) [269/447] ContentScriptPolicyStartupTest.RuntimeBlockedHosts (1851 ms) [270/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/0 (2108 ms) [271/447] BookmarkBrowsertest.PRE_EmitUmaForEmptyTitles (1326 ms) [272/447] AllowLocalhostErrorsSSLHostStateDelegateTest.LocalhostErrorWithFlag (1851 ms) [273/447] IncognitoProfileMainNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/1 (1840 ms) [274/447] JavaScriptDialogTest.DismissalCausePromptTabHidden (1324 ms) [275/447] PermissionDialogTest.InvokeUi_notifications (1846 ms) [276/447] ExtensionCSPBypassTest.InjectIframe (2119 ms) [277/447] WebViewChannelTest.Shim_WebViewWebRequestRegistryHasNoPersistentCache/1 (2373 ms) [278/447] CrSettingsNonExistentRouteTest.NonExistentRoute (3431 ms) [279/447] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/9 (1849 ms) [280/447] ApplicationLaunchBrowserTest.ReparentWebContentsForFocusModeSingleTab (2117 ms) [281/447] SafeBrowsingTriggeredPopupBlockerBrowserTest.BlockOpenURLFromTab (2387 ms) [282/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookieIsolation/2 (2113 ms) [283/447] NetworkRequestMetricsBrowserTest.CancelBeforeHeaders/0 (1588 ms) [284/447] ToolbarPageActionIconContainerViewBrowserTest.ShouldUpdateHighlightInGuestWindow (2119 ms) [285/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/2 (1854 ms) [286/447] DnsProbeFailingProbesTest.SyncFailureWithBrokenCorrections (1585 ms) [287/447] LiveTabCountPageLoadMetricsBrowserTest.LoadSingleTabInBackground (3692 ms) [288/447] MimeHandlerViewCrossProcessTest.AdoptNodeInOnLoadDoesNotCrash/0 (1325 ms) [289/447] BrowsingDataRemoverBrowserTest.VerifyNQECacheCleared (1593 ms) [290/447] SafeBrowsingTriggeredPopupBlockerBrowserTest.BlockCreatingNewWindows (1853 ms) [291/447] InMemoryApp/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/2 (1854 ms) [292/447] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.PRE_ChangedSplitPref/1 (2639 ms) [293/447] OnboardingWelcomeNavigationBehaviorTest.All (1599 ms) [294/447] ChromePasswordProtectionServiceBrowserTest.OnEnterpriseTriggerOffGSuite (1862 ms) [295/447] PPAPINaClGLibcTest.UDPSocket_SendToBeforeDropPipeFails (2116 ms) [296/447] PdfToPwgRasterBrowserTest.TestFailure (1584 ms) [297/447] CastChannelAPITest.TestOpenReceiveClose (1853 ms) [298/447] ProfileWindowBrowserTest.GuestIsIncognito (2638 ms) [299/447] LookalikeUrlInterstitialPageBrowserTest.IncognitoDoesNotAffectMainProfile (2635 ms) [300/447] CrManagementA11yTest.SimpleTest_td_headers_attr (2106 ms) [301/447] BrowsingDataRemoverBrowserTest.PRE_SessionOnlyStorageRemoved (1588 ms) [302/447] DevToolsFrontendInWebRequestApiTest.HiddenRequests (5519 ms) [303/447] CrSettingsTextareaTest.All (3163 ms) [304/447] ServiceWorkerBasedBackgroundTest.StorageSetAndGet (1591 ms) [305/447] WithoutAny/BackgroundXhrWebstoreTest.PolicyUpdateIndividualXHR/0 (1591 ms) [306/447] InstallReplacementWebAppApiTest.InstallableWebApp (3191 ms) [307/447] OnboardingA11y.OnboardingFlow_frame_title_unique (2645 ms) [308/447] FeedbackTest.AnonymousUser (2119 ms) [309/447] DevToolsAndroidBridgeTest.DefaultValues (2114 ms) [310/447] AuthenticatorDialogTest.InvokeUi_get_pin_two_tries_remaining (1853 ms) [311/447] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_Hsts/2 (1860 ms) [312/447] AutofillCounterTest.ComplexResult (1850 ms) [313/447] NavigationPredictorBrowserTest.PipelineOffTheRecord (2120 ms) [314/447] NaClBrowserTestPnaclSubzero.SuccessfulLoadUMA (2112 ms) [315/447] OnDiskApp/NetworkContextConfigurationBrowserTest.ProxyConfig/2 (2123 ms) [316/447] OnboardingWelcomeModuleMetricsTest.All (1849 ms) [317/447] PPAPINaClGLibcTest.TCPSocket_AcceptedSocketWriteError (2376 ms) [318/447] WebrtcLoggingPrivateApiStartEventLoggingTestInIncognitoMode.StartEventLoggingFails (1588 ms) [319/447] ExtensionManagementApiEscalationTest.SetEnabled (3157 ms) [320/447] CDM_10/ECKEncryptedMediaTest.OutputProtectionTest/0 (2896 ms) [321/447] HistoryListTest.All (5793 ms) [322/447] IncognitoProfileMainNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/0 (1586 ms) [323/447] CrSettingsSubpageTest.All (3692 ms) [324/447] DefaultIsolation/TaskManagerOOPIFBrowserTest.CrossSiteIframeBecomesSameSite/0 (2117 ms) [325/447] JavaScriptDialogTest.DismissalCausePromptSubsequentDialogShown (1584 ms) [326/447] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/18 (2118 ms) [327/447] ProfileChooserViewExtensionsParamTest.InvokeUi_Guest/0 (1582 ms) [328/447] ScriptContextTest.GetEffectiveDocumentURL (468 ms) [329/447] MediaSessionPictureInPictureWindowControllerBrowserTest.PreviousTrackButtonBounds (1850 ms) [330/447] BookmarkItemAppleScriptTest.GetAndSetTitle (1320 ms) [331/447] ExtensionInstalledBubbleBrowserTest.CloseBubbleUI (1581 ms) [332/447] PDFExtensionInternalLinkClickTest.ShiftLeft (3419 ms) [333/447] NetworkingPrivateServiceClientApiTest.StartGetPropertiesNonexistent (1588 ms) [334/447] OnDiskApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/0 (1331 ms) [335/447] WakeEventPageTest.OpenPersistentBackgroundPage (1590 ms) [336/447] PrintPreviewRestoreStateTest.RestoreFalseValues (3170 ms) [337/447] GlobalErrorBubbleTest.InvokeUi_ExternalInstallBubbleAlert (2109 ms) [338/447] ProfileWithoutMediaCacheBrowserTest.PRE_DeleteIsolatedAppMediaCache (1584 ms) [339/447] MultiTabLoadingPageLoadMetricsBrowserTest.MultiTabForeground (1586 ms) [340/447] PPAPINaClGLibcTest.TCPSocket_SetSendBufferSizeError (2373 ms) [341/447] BrowserRootViewBrowserTest.ClearDropInfo (1847 ms) [342/447] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/45 (2117 ms) [343/447] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/0 (1854 ms) [344/447] CrManagementA11yTestWithExtension.ExtensionSection_table_duplicate_name (2900 ms) [345/447] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/0 (1853 ms) [346/447] InvalidationsWebUITest.testChangingInvalidationsState (1851 ms) [347/447] DataSaverBrowserTest.DataSaverEnabled (1586 ms) [348/447] InvalidationsWebUITest.testUpdatingRegisteredHandlers (1857 ms) [349/447] NewlibPackagedAppTest.MulticastPermissions (2112 ms) [350/447] SSLUIDynamicInterstitialTest.MismatchWhenOverridable (1599 ms) [351/447] ExtensionResourceRequestPolicyTest.WebAccessibleResources (2387 ms) [352/447] NetworkRequestMetricsBrowserTest.InterruptedCancelDuringBody/0 (2906 ms) [353/447] SupervisedUserNavigationThrottleTest.DontBlockSubFrame/1 (1847 ms) [354/447] ServiceWorkerMessagingTest.NativeMessagingBasic (2106 ms) [355/447] ProfileManagerBrowserTest.IncognitoProfile (1318 ms) [356/447] ProfileMainNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/2 (1845 ms) [357/447] CloudPolicyProtoTest.VerifyProtobufEquivalence (234 ms) [358/447] FramebustBlockBrowserTest.ModelAllowsRedirection (2899 ms) [359/447] LookalikeUrlNavigationThrottleBrowserTest.NonIdn_NoMatch/1 (1328 ms) [360/447] ChromeSecurityExploitBrowserTest.CreateFilesystemURLInExtensionOrigin (2109 ms) [361/447] MediaRouterUIBrowserTest.OpenDialogWithMediaRouterAction (2107 ms) [362/447] SSLUITestBlock.TestBlockRunningInsecureContent/1 (1855 ms) [363/447] OnDiskApp/NetworkContextConfigurationBrowserTest.UploadFile/2 (1588 ms) [364/447] PrintPreviewAppTest.PrintToGoogleDrive (3166 ms) [365/447] PPAPINaClGLibcTest.UDPSocket_SetOption (2115 ms) [366/447] CrExtensionsActivityLogStreamTest.All (2375 ms) [367/447] SyncInternalsWebUITest.SyncDisabledByDefault (2110 ms) [368/447] NaClBrowserTestStatic.CrossOriginFail (1846 ms) [369/447] DataReductionProxyEnabledWithNetworkServiceHoldbackBrowserTest.ProxyUsed/1 (2122 ms) [370/447] EncryptedMediaSupportedTypesWidevineTest.SessionType (2907 ms) [371/447] MultiTabLoadingPageLoadMetricsBrowserTest.MultiTabBackground (1326 ms) [372/447] AuthenticatorDialogTest.InvokeUi_ble_pin_entry (1857 ms) [373/447] AndroidBreakingUsbTest.TestDeviceBreaking (1586 ms) [374/447] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/1 (1596 ms) [375/447] DownloadStartedAnimationTest.InstantiateAndImmediatelyClose (1842 ms) [376/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/0 (1851 ms) [377/447] HistorySyncedTabsTest.All (3430 ms) [378/447] BackgroundPage/ExtensionContextMenuBrowserTest.Simple/0 (1584 ms) [379/447] WebUIAccessibilityAuditBrowserTest_TestsDisabledInFixture_ShouldFail.testRunningAuditManually_withErrors (1599 ms) [380/447] NavigationMetricsRecorderBrowserTest.TestMetrics (1588 ms) [381/447] PrintPreviewDuplexSettingsTest.All (3425 ms) [382/447] SaveCardBubbleViewsFullFormBrowserTestForStatusChip.CreditCardIconShownInStatusChip (1590 ms) [383/447] PrerenderBrowserTestWithExtensions.WebNavigation (2114 ms) [384/447] CastChannelAPITest.TestOpenInvalidConnectInfo (1855 ms) [385/447] LocalCardMigrationBrowserTest.ClickingCloseClosesBubble (2638 ms) [386/447] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowDisabled/3 (2374 ms) [387/447] BrowserNonClientFrameViewBrowserTest.CustomTabBarIsVisibleInFullscreen (2894 ms) [388/447] ErrorPageOfflineTest.CheckEasterEggIsAllowed (1864 ms) [389/447] OnDiskApp/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/2 (1596 ms) [390/447] BrowserRootViewBrowserTest.PlainString (1850 ms) [391/447] TabStatsTrackerBrowserTest.TabDeletionGetsHandledProperly (2115 ms) [392/447] ExtensionsMenuViewBrowserTest.ManageExtensionsOpensExtensionsPage (1322 ms) [393/447] BrowsingDataCacheStorageHelperTest.CannedUnique (1580 ms) [394/447] BrowserNonClientFrameViewBrowserTest.HTMLMetaThemeColorOverridesManifest (1587 ms) [395/447] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/15 (1587 ms) [396/447] CrSettingsSiteDataDetailsTest.All (3688 ms) [397/447] TaskManagerMacTest.TableStartsWithDefaultColumns (1589 ms) [398/447] SSLNetworkTimeBrowserTest.TimeoutExpiresBeforeFetchCompletes/1 (2109 ms) [399/447] IOThreadEctCommandLineBrowserTest.ForceECTFromCommandLine (1591 ms) [400/447] PolicyPrefsTestCoverageTest.AllPoliciesHaveATestCase (1585 ms) [401/447] V4SafeBrowsingServiceJsRequestSafeTest.RequestNotBlocked/2 (1601 ms) [402/447] AutofillProviderBrowserTest.LabelTagChangeImpactFormComparingWithFlagOn (1853 ms) [403/447] SitePerProcessDevToolsSanityTest.InspectElement (3160 ms) [404/447] WebSocketBrowserTest.SendCloseFrameWhenTabIsClosed (2903 ms) [405/447] MultiActionAPITest.ValuesAreClearedOnNavigationAndTabRemoval/0 (1586 ms) [406/447] CrManagementA11yTest.SimpleTest_accesskeys (2638 ms) [407/447] InMemoryApp/NetworkContextConfigurationBrowserTest.ProxyConfig/2 (1857 ms) [408/447] PPAPINaClGLibcTest.TCPSocket_AcceptHangs (2118 ms) [409/447] MediaRouterCastAllowAllIPsPolicyTestInstance/MediaRouterCastAllowAllIPsPolicyTest.RunTest/1 (1579 ms) [410/447] PrintPreviewButtonStripTest.ButtonOrder (3162 ms) [411/447] OnDiskApp/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/1 (1330 ms) [412/447] WebViewSizeTest.Shim_TestAutosizeAfterNavigation (2381 ms) [413/447] OnboardingA11y.OnboardingFlow_accesskeys (3165 ms) [414/447] IndependentOTRProfileManagerTest.CallbackNotCalledAfterUnregister (1592 ms) [415/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookieIsolation/1 (1854 ms) [416/447] ImageWriterPrivateApiTest.TestWriteFromFile (1855 ms) [417/447] LoadingPredictorBrowserTestWithProxy.PrepareForPageLoadWithoutPrediction (2381 ms) [418/447] PDFPluginDisabledTest.IframePdfPlaceholderWithCSP (2375 ms) [419/447] BrowsingDataDatabaseHelperTest.CannedAddDatabase (1328 ms) [420/447] LaunchWebAuthFlowFunctionTest.NonInteractiveSuccess (2634 ms) [421/447] ServiceWorkerTest.RegisterSucceeds (1855 ms) [422/447] LocalNTPBackgroundsAndDarkModeTest.WithTheme (2912 ms) [423/447] CrManagementA11yTestWithExtension.ExtensionSection_input_image_alt (2907 ms) [424/447] InMemoryApp/NetworkContextConfigurationFilePacBrowserTest.FilePac/1 (1586 ms) [425/447] NetworkingPrivateServiceClientApiTest.VerifyAndEncryptData (1848 ms) [426/447] LocalNTPPromoTest.PromoFetchFails (1845 ms) [427/447] BookmarksEditDialogTest.All (2636 ms) [428/447] MyIpAddressProxyScriptBrowserTest.Verify (1588 ms) [429/447] LookalikeUrlNavigationThrottleBrowserTest.NetError_TopDomain_NetErrorAfterDismiss/2 (1580 ms) [430/447] ChromeOriginTrialsDisabledTokensTest.DisabledTokensSetOnCommandLine/0 (1331 ms) [431/447] ProfileWithNetworkServiceBrowserTest.DeleteMediaCache (1070 ms) [432/447] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.UntrustedInitialized/3 (1328 ms) [433/447] BrowserShutdownBrowserTest.TwoBrowsersClosingShutdownHistograms (1330 ms) [434/447] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.UntrustedInitialized/0 (1325 ms) [435/447] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.UnchangedDefault/1 (1326 ms) [436/447] OnDiskApp/NetworkContextConfigurationBrowserTest.EnableReferrers/2 (1599 ms) [437/447] OnDiskApp/NetworkContextConfigurationBrowserTest.EnableReferrers/1 (1330 ms) [438/447] RestartTest.SessionCookies (2388 ms) [439/447] InMemoryApp/NetworkContextConfigurationBrowserTest.SSLConfig/0 (1064 ms) [440/447] BookmarkBrowsertest.EmitUmaForEmptyTitles (1333 ms) [441/447] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.ChangedSplitPref/1 (1333 ms) [442/447] BrowsingDataRemoverBrowserTest.SessionOnlyStorageRemoved (1588 ms) [443/447] ProfileWithoutMediaCacheBrowserTest.DeleteIsolatedAppMediaCache (1064 ms) [444/447] InMemoryApp/NetworkContextConfigurationBrowserTest.Hsts/2 (1321 ms) [445/447] InMemoryApp/NetworkContextConfigurationBrowserTest.EnableReferrers/1 (1590 ms) [446/447] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.EnableReferrers/0 (1581 ms) [447/447] BackgroundFetchBrowserTest.FetchesRunToCompletionAndUpdateTitle_Fetched (26608 ms) Retrying 1 test (retry #0) [448/448] EncryptedMediaSupportedTypesClearKeyTest.Audio_MP4 (1607 ms) SUCCESS: all tests passed. 450620ab8174fe10: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=5 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/ionMSCbG/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 5/10 Using 4 parallel jobs. Randomizing with seed 82002 [1/482] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_DiskCache/1 (1332 ms) [2/482] ExtensionBindingsApiTest.ModuleSystem (1600 ms) [3/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.Cache/1 (1603 ms) [4/482] UnifiedConsentBrowserTest.PRE_SettingsHistogram_UrlKeyedAnonymizedDataCollectionEnabled (2900 ms) [5/482] HttpProxyScriptBrowserTest.Verify (1580 ms) [6/482] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/26 (1578 ms) [7/482] CrExtensionsSidebarTest.LayoutAndClickHandlers (1843 ms) [8/482] ChromeURLDataManagerTest.LargeResourceScale (1339 ms) [9/482] AutofillTest.AggregatesMinValidProfileDifferentJS (1335 ms) [10/482] UnifiedConsentDisabledBrowserTest.SettingsHistogram_None (927 ms) [11/482] SafeBrowsingNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/0 (928 ms) [12/482] WebSocketBrowserTest.ReuseMainPageBasicAuthCredentialsForWebSocket (2647 ms) [13/482] ExtensionInstallDialogRatingsSectionTest.RatingsSectionA11y (3162 ms) [14/482] ExtensionURLRewriteBrowserTest.NewTabPageURL (1587 ms) [15/482] TaskManagerViewTest.AllColumnsHaveStringIds (1321 ms) [16/482] AuthenticatorDialogViewTest.InvokeUi_default (933 ms) [17/482] CrManagementA11yTestWithExtension.ExtensionSection_frame_title (2636 ms) [18/482] SafeXmlParserTest.Parse (1323 ms) [19/482] BrowserViewTest.TitleAndLoadState (938 ms) [20/482] HostZoomMapBrowserTest.WebviewBasedSigninUsesDefaultStoragePartitionForEmbedder (1587 ms) [21/482] PopupTrackerBrowserTest.WindowOpenPopup_HasTracker_GestureClose (1325 ms) [22/482] WorkerDevToolsSanityTest.InspectSharedWorkerNetworkPanel (3422 ms) [23/482] ChromePasswordProtectionServiceBrowserTest.VerifyUnhandledPasswordReuse (2647 ms) [24/482] UnifiedAutoplayBrowserTest.MatchingWebAppScopeAllowsAutoplay_Origin (1345 ms) [25/482] IndependentOTRProfileManagerTest.CreateAndDestroy (1065 ms) [26/482] HostedAppOpaqueBrowserFrameViewTest.StaticTitleBarHeight (1580 ms) [27/482] EncryptedMediaSupportedTypesWidevineTest.Audio_WebM (2375 ms) [28/482] PendingBookmarkAppManagerBrowserTest.InstallSucceeds (1323 ms) [29/482] V4SafeBrowsingServiceTest.CheckBrowseUrlForBilling (1057 ms) [30/482] UkmBrowserTestWithSyncTransport.NotEnabledForSecondaryAccountSync/0 (1583 ms) [31/482] NetworkingPrivateServiceClientApiTest.StartConnectNonexistent (1589 ms) [32/482] SecurityIndicatorTest.CheckIndicatorText (3178 ms) [33/482] SavePageSitePerProcessBrowserTest.CompleteHtmlWhenRendererIsDead (1332 ms) [34/482] ExternallyConnectableMessagingTest.InvalidExtensionIDFromHostedApp (1597 ms) [35/482] HistorySupervisedUserTest.All (2631 ms) [36/482] ServiceWorkerMessagingTest.TabToWorker_ConnectAndPostMessage (1587 ms) [37/482] CrExtensionsCodeSectionTest.LongSource (1851 ms) [38/482] ExtensionManagementApiBrowserTest.SelfUninstall (1850 ms) [39/482] CommonNameMismatchBrowserTest.WWWSubdomainMismatch_StopOnRedirects/0 (1325 ms) [40/482] SettingsPrivateApiTest.GetEnforcedPref (1323 ms) [41/482] SitePerProcess/TaskManagerOOPIFBrowserTest.NavigateToSiteWithSubframeToOriginalSite/0 (3699 ms) [42/482] DownloadsItemTest.All (2112 ms) [43/482] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/2 (1064 ms) [44/482] DataReductionProxyBrowsertest.SimpleURLLoader (1322 ms) [45/482] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.XHRToWebstore/0 (1848 ms) [46/482] WebViewPluginTest.TestLoadPluginEvent (2119 ms) [47/482] IntentPickerBubbleViewBrowserTest.IconVisibilityAfterTabSwitching/3 (2903 ms) [48/482] CrExtensionsActivityLogTest.All (2375 ms) [49/482] CastChannelAPITest.TestSendInvalidMessageInfo (1588 ms) [50/482] DesktopMediaPickerViewsBrowserTest.SingleSourceTypeChangesTitle (1320 ms) [51/482] PrintPreviewDestinationSearchTest.CloudKioskPrinter (2919 ms) [52/482] NewlibPackagedAppTest.SocketPermissions (1845 ms) [53/482] MediaSessionPictureInPictureWindowControllerBrowserTest.NextTrackButtonBounds (1586 ms) [54/482] PDFExtensionLinkClickTest.OpenPDFWithReplaceState (2383 ms) [55/482] EventsApiTest.ExtensionUpdateSendsOnInstalledEvent (2651 ms) [56/482] CrSettingsChooserExceptionListTest.All (2908 ms) [57/482] OnDiskApp/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/2 (1598 ms) [58/482] TaskManagerMacTest.SelectionConsistency (7633 ms) [59/482] ZoomControllerBrowserTest.ErrorPagesCanZoomAfterTabRestore (1857 ms) [60/482] BrowsingDataRemoverBrowserTest.DownloadProhibited (1333 ms) [61/482] QuicAllowedPolicyIsTrue.QuicAllowedForSystem (1581 ms) [62/482] AccessibilityLabelsBrowserTest.ExistingWebContents (796 ms) [63/482] OnboardingA11y.OnboardingFlow_aria_required_attr (2373 ms) [64/482] TabCaptureApiPixelTest.EndToEndThroughWebRTC (4759 ms) [65/482] ExtensionContextMenuApiTest.ShowTopLevelItemIfAllItsChildrenAreHidden (1323 ms) [66/482] SystemNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/2 (1322 ms) [67/482] PaymentSheetViewControllerContactDetailsTest.SupportedCard_CompleteContactInfo (1319 ms) [68/482] ClickModifierTest.HrefBasicClickTest (1061 ms) [69/482] OnboardingA11y.OnboardingFlow_td_headers_attr (2902 ms) [70/482] ExtensionInstallPromptBrowserTest.TrackParentWebContentsDestruction (1322 ms) [71/482] PageActionApiTest.TestCrash57333 (1583 ms) [72/482] PrintPreviewModelSettingsAvailabilityTest.All (2634 ms) [73/482] ExtensionMessageBubbleViewBrowserTest.TestClickingActionButton (1324 ms) [74/482] WorkerDevToolsSanityTest.PauseInSharedWorkerInitialization (3164 ms) [75/482] SafeBrowsingTriggeredPopupBlockerBrowserTest.NoAbusive_AllowCreatingNewWindows (1320 ms) [76/482] CrExtensionsManagerTestWithMultipleExtensionTypesInstalled.ChangePages (2898 ms) [77/482] PrintPreviewDestinationSettingsTest.SelectSaveAsPdf (2105 ms) [78/482] ClientHintsBrowserTest.ClientHintsThirdPartyNotAllowed/0 (1327 ms) [79/482] ExtensionViewTest.TestExtensionViewCreationShouldSucceed (1325 ms) [80/482] DataReductionProxyBrowsertest.EmptyConfig (1326 ms) [81/482] OriginPolicyBrowserTest.ApplyPolicy (1326 ms) [82/482] TaskManagerViewTest.TableStartsWithDefaultColumns (1335 ms) [83/482] FindBarPlatformHelperMacTest.FindBarUpdatedFromPasteboard (1329 ms) [84/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/1 (1323 ms) [85/482] EncryptedMediaSupportedTypesExternalClearKeyTest.InvalidKeySystems (2645 ms) [86/482] AppListSpeechRecognizerBrowserTest.RecognizeSpeech (1325 ms) [87/482] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.PRE_UntrustedAdditionToPrefs/1 (1320 ms) [88/482] CustomTabBarViewBrowserTest.IsUsedForDesktopPWA (1601 ms) [89/482] WebBluetoothPolicyTest.Block (1586 ms) [90/482] ServiceWorkerOnStartupEventTest.PRE_Event (1854 ms) [91/482] ExtensionBindingsApiTest.NoGinDefineOverriding (1590 ms) [92/482] ExtensionSettingsUIBrowserTest.ActivityLogInactiveWithoutSwitch (1852 ms) [93/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CacheIsolation/2 (1853 ms) [94/482] CrManagementA11yTestWithExtension.ExtensionSection_tabindex (2121 ms) [95/482] TabModalConfirmDialogTest.CloseSelf (1327 ms) [96/482] DurableStorageBrowserTest.QueryNonBookmarkedPage (1323 ms) [97/482] ErrorPageOfflineTestWithAllowDinosaurTrue.CheckEasterEggHighScoreLoaded (1586 ms) [98/482] CollectedCookiesViewsTest.ChangeAndNavigateAway (1590 ms) [99/482] MediaRouterUIBrowserTest.EphemeralToolbarIconForDialog (1324 ms) [100/482] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromDeclarativeContentScript_NoSniffXml/0 (1580 ms) [101/482] ChromeResourceDispatcherHostDelegateBrowserTest.ThrottlesAddedExactlyOnceToTinySniffedDownloads (1065 ms) [102/482] DataSaverForWorkerBrowserTest.DedicatedWorker_On (1053 ms) [103/482] CrManagementA11yTestWithExtension.ExtensionSection_link_name (2626 ms) [104/482] ServiceWorkerPaymentAppFactoryBrowserTest.OwnOrigin (1587 ms) [105/482] PolicyControl/StartupBrowserCreatorInfobarsTest.CheckInfobarForEnableAutomation/2 (1585 ms) [106/482] SitePerProcessAutofillMetricsBrowserTest.CorrectSourceForUnownedAddressCheckout (1055 ms) [107/482] TtsApiTest.EngineWordCallbacks (1585 ms) [108/482] ServiceWorkerLazyBackgroundTest.PRE_EventsAfterRestart (1848 ms) [109/482] TopFrameSameFrameDownloadBrowserTest.Download/13 (1846 ms) [110/482] CrManagementA11yTestWithExtension.ExtensionSection_definition_list (2111 ms) [111/482] ProfileNetworkContextServiceDiskCacheDirBrowsertest.DiskCacheLocation/1 (1598 ms) [112/482] CredentialManagerBrowserTest.StoreInUnloadHandler_CrossSite_OnDemandMojoPipe (1846 ms) [113/482] Incognito/ExtensionWebRequestApiAuthRequiredTest.WebRequestAuthRequiredParallel/0 (2634 ms) [114/482] OnboardingA11y.OnboardingFlow_tabindex (2369 ms) [115/482] SSLUICaptivePortalListTest.Enabled_FromProto/0 (1327 ms) [116/482] TabModalConfirmDialogTest.Navigate (1585 ms) [117/482] InMemoryApp/NetworkContextConfigurationBrowserTest.CacheIsolation/0 (1591 ms) [118/482] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInSameOriginPostRequest/0 (1592 ms) [119/482] ChromeServiceWorkerLinkFetchTest.FaviconOtherOrigin (1582 ms) [120/482] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.AudioCaptureAllowedUrls/1 (1318 ms) [121/482] TabManagerTest.ProtectPDFPages (2108 ms) [122/482] MediaSessionPictureInPictureWindowControllerBrowserTest.PlayPauseButtonVisibility (2115 ms) [123/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/1 (2110 ms) [124/482] MediaStreamPermissionTest.TestDenyingThenClearingStickyException (1582 ms) [125/482] AuthenticatorDialogTest.InvokeUi_key_already_registered (1320 ms) [126/482] ClientHintsBrowserTest.DisregardPersistenceRequestSubresource/1 (1318 ms) [127/482] ExtensionSettingsApiTest.OnChangedNotificationsBetweenBackgroundPages (1595 ms) [128/482] InstantProcessNavigationTest.ForkForNavigationsToNewTabURLs (265 ms) [129/482] ProfileMainNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/1 (1849 ms) [130/482] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match_Incognito/0 (1849 ms) [131/482] MediaStreamPermissionTest.DenyingMicDoesNotCauseStickyDenyForCameras (1580 ms) [132/482] CrExtensionsShortcutTest.IsValidKeyCode (1849 ms) [133/482] UserManagerUIAuthenticatedUserBrowserTest.ForcedPrimarySignin (1857 ms) [134/482] ClientHintsBrowserTest.ClientHintsHttpsSubresourceDifferentOrigin/0 (1325 ms) [135/482] DoubleKeyedHttpCache/NoStatePrefetchBrowserTestHttpCache.LoadAfterPrefetchCrossOrigin/0 (1591 ms) [136/482] TabModalConfirmDialogTest.Accept (1322 ms) [137/482] PrintPreviewSystemDialogBrowserTest.InvalidSettingsDisableLink (3169 ms) [138/482] BrowserCommandControllerBrowserTest.TestTabRestoreServiceInitialized (1326 ms) [139/482] ErrorCases/PaymentHandlerChangePaymentMethodTest.Test/2 (1582 ms) [140/482] EnterpriseStartupDialogViewBrowserTest.InvokeUi_Switch (1316 ms) [141/482] AppControllerReplaceNTPBrowserTest.ReplaceNTPAfterStartup (2373 ms) [142/482] BrowserViewTest.ShowFaviconInTab (1317 ms) [143/482] BrowsingDataLocalStorageHelperTest.CannedAddLocalStorage (1057 ms) [144/482] OnboardingWelcomeSigninViewTest.All (1860 ms) [145/482] ProfileNetworkContextServiceBrowsertest.BrotliEnabled/1 (1059 ms) [146/482] ExtensionManagementApiBrowserTest.GetAllIncludesTerminated (1576 ms) [147/482] BrowserCommandsTest.ReloadSelectedTabs (1581 ms) [148/482] SSLUITestWaitForDOMNotification.TestMixedContentWithHTTPInRedirectChain/0 (1320 ms) [149/482] PepperContentSettingsSpecialCasesPluginsBlockedTest.NaCl (1584 ms) [150/482] WebUIAssertionsTestFail.testExpectFailFails (1323 ms) [151/482] AutofillProviderBrowserTest.InferredLabelChangeNotImpactFormComparingWithFlagOn (1321 ms) [152/482] ExtensionFunctionalTest.TestSetExtensionsState (1579 ms) [153/482] ProfileWindowBrowserTest.OpenBrowserWindowForProfileWithSigninRequired (2630 ms) [154/482] CrSettingsToggleButtonTest.All (2633 ms) [155/482] NavigationPredictorBrowserTest.AnchorElementClickedOnNonSearchEnginePage (1321 ms) [156/482] InMemoryApp/NetworkContextConfigurationBrowserTest.Cache/0 (1051 ms) [157/482] SecurityStatePageLoadMetricsBrowserTest.OtherScheme (1327 ms) [158/482] InProcessBrowserTest.AfterStartupTaskUtils (1320 ms) [159/482] PwaInstallViewBrowserTest.TextContrast (1321 ms) [160/482] CertificateReportingServiceBrowserTest.Delayed_Resumed/0 (1846 ms) [ RUN ] AutofillAutocompleteTest.RetentionPolicy_Init_SavesVersionPref [18201:15875:0524/214725.683242:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. ../../chrome/browser/autofill/autofill_autocomplete_browsertest.cc:262: Failure Expected equality of these values: 76 saved_version Which is: 0 Stack trace: 0 browser_tests 0x000000010d2163bf StackTraceGetter::CurrentStackTrace(int, int) + 47 1 browser_tests 0x000000010d220a4b testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) + 91 2 browser_tests 0x000000010d220389 testing::internal::AssertHelper::operator=(testing::Message const&) const + 89 3 browser_tests 0x000000010b9d62d4 autofill::AutofillAutocompleteTest_RetentionPolicy_Init_SavesVersionPref_Test::RunTestOnMainThread() + 468 4 browser_tests 0x0000000110a64597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 5 browser_tests 0x0000000110546c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 6 browser_tests 0x0000000110545a6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 7 browser_tests 0x000000010e262ebf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 8 browser_tests 0x000000010e719fe7 content::StartupTaskRunner::RunAllTasksNow() + 39 9 browser_tests 0x000000010e2618c6 content::BrowserMainLoop::CreateStartupTasks() + 630 10 browser_tests 0x000000010e264c42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 11 browser_tests 0x000000010e25fe3a content::BrowserMain(content::MainFunctionParams const&) + 186 12 browser_tests 0x000000010ff663ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 13 browser_tests 0x000000010ff66041 content::ContentMainRunnerImpl::Run(bool) + 273 14 browser_tests 0x0000000113694e98 service_manager::Main(service_manager::MainParams const&) + 2280 15 browser_tests 0x000000010ff65314 content::ContentMain(content::ContentMainParams const&) + 68 16 browser_tests 0x0000000110a641ec content::BrowserTestBase::SetUp() + 2796 [18201:25859:0524/214726.558390:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/itaP1cfK/.org.chromium.Chromium.OJSdRv/dSBQULL/Default/shared_proto_db: Invalid argument: /b/s/w/itaP1cfK/.org.chromium.Chromium.OJSdRv/dSBQULL/Default/shared_proto_db: does not exist (create_if_missing is false) [18201:27139:0524/214726.710382:ERROR:browser_process_sub_thread.cc(221)] Waited 27 ms for network service [18201:775:0524/214726.727000:WARNING:pref_notifier_impl.cc(36)] Pref observer for browser.relaunch_notification_period found at shutdown. [18201:775:0524/214726.727028:WARNING:pref_notifier_impl.cc(36)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ FAILED ] AutofillAutocompleteTest.RetentionPolicy_Init_SavesVersionPref, where TypeParam = and GetParam() = (1234 ms) [161/482] AutofillAutocompleteTest.RetentionPolicy_Init_SavesVersionPref (1580 ms) [162/482] ExtensionContentSettingsApiTest.IncognitoNotAllowedInRegular (1321 ms) [163/482] UnifiedAutoplayBrowserTest.OpenWindowFromContextMenu (1322 ms) [164/482] CrManagementA11yTest.SimpleTest_input_image_alt (1582 ms) [165/482] NetworkRequestMetricsBrowserTest.SuccessWithEmptyBody/3 (1843 ms) [166/482] CrManagementA11yTest.SimpleTest_listitem (2111 ms) [167/482] SSLUITestCommitted.ProceedLinkOverridable/0 (1323 ms) [168/482] OnboardingA11y.OnboardingFlow_label_title_only (2634 ms) [169/482] MediaEngagementWebUIBrowserTest.All (1583 ms) [170/482] LocalCardMigrationBrowserTest.DialogContainsAllValidMigratableCard (2110 ms) [171/482] BackgroundPage/ExtensionContextMenuBrowserTest.ClickInFrame/0 (1581 ms) [172/482] StartupBrowserCreatorTest.StartupURLsForTwoProfiles (1847 ms) [173/482] ServiceWorkerTest.EventsToStoppedWorker (1855 ms) [174/482] LegacyShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.BrowserActionInManifest/0 (1587 ms) [175/482] ChromeSitePerProcessPDFTest.EmbeddedPDFInsideCrossOriginFrame (1579 ms) [176/482] TtsApiTest.EngineApi (1324 ms) [177/482] PresentationReceiverWindowControllerBrowserTest.WindowClosingTerminatesPresentation (2112 ms) [178/482] CrManagementA11yTestWithExtension.ExtensionSection_list (2366 ms) [179/482] FirstRunMasterPrefsImportNothing.ImportNothingAndShowNewTabPage (1587 ms) [180/482] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowDisabled/0 (1585 ms) [181/482] SSLNetworkTimeBrowserTest.StopBeforeTimeoutExpires/1 (1316 ms) [182/482] ExtensionPreferenceApiTest.OnChangeSplit (2105 ms) [183/482] AdsPageLoadMetricsObserverBrowserTest.OriginStatusMetricCross (2637 ms) [184/482] LocalNTPBackgroundsAndDarkModeTest.WithThemeAndCustomBackground (2381 ms) [185/482] SecurityStateTabHelperIncognitoTest.HttpErrorPage/0 (1071 ms) [186/482] ChromeMimeHandlerViewCrossProcessTest.UMA_CrossOriginResource/1 (1595 ms) [187/482] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrumentButDisabled (1322 ms) [188/482] CorsOriginAccessListBrowserTest.SubdomainMatchShouldNotBeAppliedForIPAddress (1316 ms) [189/482] LocalCardMigrationBrowserTest.ReusingServerCardDoesNotShowIntermediateMigrationOffer (1326 ms) [190/482] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match_IgnoreHighlyEngagedSite/1 (1066 ms) [191/482] NavigationPredictorBrowserTest.ActionAccuracy_DifferentOrigin_VisibilityChanged (1585 ms) [192/482] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.Simple/1 (1317 ms) [193/482] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/20 (1324 ms) [194/482] HostedAppProcessModelTest.BackgroundPageWithAppCoveringDifferentSites/0 (2905 ms) [195/482] BackgroundContentsTagTest.TagsManagerRecordsATag (1580 ms) [196/482] TouchLocationBarViewBrowserTest.OmniboxViewViewsSize (1581 ms) [197/482] SubframeTaskBrowserTest.TaskManagerShowsSubframeTasks (1580 ms) [198/482] ChromePasswordProtectionServiceBrowserTest.EnterprisePhishingReuseOpenChromeSettingsViaPageInfo (1601 ms) [199/482] SSLUITestIgnoreCertErrorsBySPKIWSS.TestWSSExpired/1 (2120 ms) [200/482] PrintPreviewCustomMarginsTest.MediaSizeClearsCustomMarginsPDF (2382 ms) [201/482] IntentPickerBubbleViewBrowserTest.IframeNavigationDoesNotAffectIntentPicker/2 (3424 ms) [202/482] CrExtensionsRuntimeHostPermissionsTest.All (1848 ms) [203/482] PaymentRequestAutofillInstrumentUseStatsTest.RecordUse (1587 ms) [204/482] LegacyShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.NoActionInManifest/0 (1588 ms) [205/482] InMemoryApp/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/1 (1066 ms) [206/482] PrintPreviewPreviewGenerationTest.PageRange (2637 ms) [207/482] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_AllowedTextResource/0 (1323 ms) [208/482] HostedAppBadgingTest.BadgeCanBeClearedWithZero/0 (1579 ms) [209/482] WebAppAudioFocusBrowserTest.AppHasDifferentAudioFocus (2630 ms) [210/482] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.PolicyUpdateXHR/0 (1325 ms) [211/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_Hsts/1 (1590 ms) [212/482] AdsPageLoadMetricsObserverBrowserTest.UserActivationSetOnFrame (1331 ms) [213/482] SiteIsolationPolicyBrowserTest.NoPolicyNoTrialsFlags (1058 ms) [214/482] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/15 (1328 ms) [215/482] PolicyWebStoreIconTest.NTPWebStoreIconShown (1595 ms) [216/482] ProfileHelperTest.OpenNewWindowForProfile (1594 ms) [217/482] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/1 (1069 ms) [218/482] SystemNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/2 (1327 ms) [219/482] CrElementsContainerShadowBehaviorTest.All (1325 ms) [220/482] SSLUICaptivePortalListResourceBundleTest.Enabled_AuthorityInvalid/0 (1331 ms) [221/482] MachineLevelUserCloudPolicyEnrollmentTest.Test/3 (2118 ms) [222/482] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/12 (1328 ms) [223/482] RecurrentInterstitialBrowserTest.RecurrentInterstitial/0 (11047 ms) [224/482] ServiceWorkerPushMessagingTest.OnPush (1328 ms) [225/482] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInSameOriginPostRequest/0 (1317 ms) [226/482] CrManagementA11yTestWithExtension.ExtensionSection_server_side_image_map (1855 ms) [227/482] ServiceWorkerPaymentAppFactoryBrowserTest.CrossOriginServiceWorkerIsInvalid (1357 ms) [228/482] SitePerProcess/TaskManagerOOPIFBrowserTest.SubframeHistoryNavigation/0 (5016 ms) [229/482] BackgroundContentsTagTest.PreExistingTasksAreProvided (1328 ms) [230/482] PaymentRequestShowPromiseTest.Reject (1593 ms) [231/482] TranslateManagerBrowserTest.PageTranslationInitializationError (1590 ms) [232/482] BackgroundPage/ExtensionContextMenuBrowserTest.UpdateCheckedStateOfNonfirstRadioItem/0 (1603 ms) [233/482] PPAPINaClGLibcTest.TCPSocketPrivate_SSLReadError (2118 ms) [234/482] BookmarkAppTest.EngagementHistogramForAppInWindow (1588 ms) [235/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/1 (1589 ms) [236/482] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/7 (1580 ms) [237/482] PrintPreviewModelTest.ChangeDestination (2382 ms) [238/482] LocalNTPTest.GoogleNTPLoadsWithoutError (1580 ms) [239/482] PolicyVariationsServiceTest.VariationsURLIsValid (1061 ms) [240/482] ChromeServiceWorkerTest.FailRegisterServiceWorkerWhenJSDisabled (1583 ms) [241/482] NavigationPredictorBrowserTest.NoPreconnectSearch (1325 ms) [242/482] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/18 (1322 ms) [243/482] OnboardingA11y.OnboardingFlow_radiogroup (1848 ms) [244/482] InstallableManagerWhitelistOriginBrowserTest.SecureOriginCheckRespectsUnsafeFlag (1328 ms) [245/482] BluetoothApiTest.DeviceEvents (1322 ms) [246/482] HistoryApiTest.Delete (1851 ms) [247/482] FolderUploadConfirmationViewTest.InvokeUi_default (938 ms) [248/482] LookalikeUrlNavigationThrottleBrowserTest.NonUniqueDomains_NoMatch/2 (1585 ms) [249/482] CrSettingsRouteDynamicParametersTest.All (2105 ms) [250/482] HungRendererDialogViewBrowserTest.InactiveWindow (930 ms) [251/482] MediaGalleryUtilBrowserTest.TestThirdPartyCpuInfo (1066 ms) [252/482] BrowsingDataIndexedDBHelperTest.CannedAddIndexedDB (1054 ms) [253/482] ToolbarPageActionIconContainerViewBrowserTest.ShouldUpdateHighlightInNormalWindow (1084 ms) [254/482] PPAPINaClGLibcTest.TCPSocket_AcceptedSocketWriteClosePipe (1587 ms) [255/482] CertificateReportingServiceBrowserTest.OptedIn_ShouldQueueFailedReport/0 (8410 ms) [256/482] ExperimentalAppWindowApiTest.SetIcon (1587 ms) [257/482] LocalCardMigrationBrowserTest.ReusingServerCardWithMigratableLocalCardShowIntermediateMigrationOffer (1601 ms) [258/482] LazyBackgroundPageApiTest.WaitForDialog (1588 ms) [259/482] ExtensionSettingsApiTest.IsStorageEnabled (1319 ms) [260/482] OnDiskApp/NetworkContextConfigurationBrowserTest.Cache/1 (926 ms) [261/482] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/31 (2637 ms) [262/482] PaymentRequestContactInfoEditorTest.RetryWithPayerErrors_HasSameValueButDifferentErrorsShown (1582 ms) [263/482] TabContentsTagTest.NavigateToPageNoFavicon (1326 ms) [264/482] CrElementsProfileAvatarSelectorTest.All (1851 ms) [265/482] PaymentRequestNotShownTest.OnlyNotShownMetricsLogged (1062 ms) [266/482] OnboardingA11y.OnboardingFlow_image_alt (2381 ms) [267/482] CrManagementA11yTest.SimpleTest_html_has_lang (1589 ms) [268/482] StartupBrowserCreatorTest.ReadingWasRestartedAfterNormalStart (804 ms) [269/482] CredentialManagerBrowserTest.SaveViaAPIAndAutofill (1326 ms) [270/482] SubresourceFilterInterceptingBrowserTest.SafeBrowsingNotificationsCheckLastResult (1064 ms) [271/482] WebBluetoothTest.WebBluetoothAfterCrash (1327 ms) [272/482] SavePageSitePerProcessBrowserTest.SaveAsMHTML (1337 ms) [273/482] NetworkRequestMetricsBrowserTest.SuccessWithEmptyBody/1 (1328 ms) [274/482] PwaInstallViewBrowserTest.IconVisibilityAfterInstallabilityCheck (1334 ms) [275/482] UsbInternalsTest.WebUIIncorrectValueRenderTest (1325 ms) [276/482] CDM_10/ECKEncryptedMediaTest.LoadSessionAfterClose/0 (1850 ms) [277/482] BookmarksActionsTest.All (1847 ms) [278/482] DnsProbeUnreachableProbesTest.CorrectionsLoadStoppedSlowProbe (931 ms) [279/482] PaymentRequestShowPromiseTest.SingleOptionShippingWithUpdate (1587 ms) [280/482] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/1 (1319 ms) [281/482] StartupBrowserCreatorTest.PRE_UpdateWithTwoProfiles (2379 ms) [282/482] OnboardingA11y.OnboardingFlow_scope_attr_valid (1845 ms) [283/482] BrowserSwitcherBrowserTest.DoesNotKeepSpaces (11310 ms) [284/482] MultiActionAPITest.TitleLocalization/0 (1066 ms) [285/482] LookalikeUrlNavigationThrottleBrowserTest.TopDomainIdnSubdomain_NoMatch/0 (1337 ms) [286/482] SyncInternalsWebUITest.LoadPastedAboutInfo (1844 ms) [287/482] CrashRecoveryBrowserTest.BeforeUnloadNotRun (1319 ms) [288/482] ServiceWorkerLazyBackgroundTest.PRE_FilteredEventsAfterRestart (1326 ms) [289/482] PrintPreviewDestinationSettingsTest.TwoAccountsRecentDestinations (3434 ms) [290/482] ServiceWorkerTest.WebAccessibleResourcesIframeSrc (1591 ms) [291/482] OnboardingA11y.OnboardingFlow_hidden_content (2121 ms) [292/482] CrSettingsDownloadsPageTest.All (2650 ms) [293/482] PaymentsRequestVisualTest.InvokeUi_NoShipping (1318 ms) [294/482] CDM_10/ECKEncryptedMediaTest.Playback_Encryption_CBC1/0 (1847 ms) [295/482] PaymentRequestPaymentMethodIdentifierTest.BasicCard_NetworksSpecified (1323 ms) [296/482] WithoutAny/BackgroundXhrWebstoreTest.PolicyUpdateXHR/0 (1583 ms) [297/482] SystemNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/1 (1587 ms) [298/482] MessagingApiTest.MessagingNoBackground (2104 ms) [299/482] PrintPreviewDestinationSettingsTest.NoRecentDestinations (2108 ms) [300/482] InMemoryApp/NetworkContextConfigurationBrowserTest.Cache/1 (1325 ms) [301/482] LoadingPredictorBrowserTest.PrepareForPageLoadWithPrediction (1595 ms) [302/482] TaskManagerMacTest.AllColumnsHaveStringIds (1336 ms) [303/482] TabCaptureCaptureOffscreenTabTest.DetermineInitialSize (333 ms) [304/482] OnDiskApp/NetworkContextConfigurationBrowserTest.ProxyConfig/0 (1063 ms) [305/482] PaymentRequestHasEnrolledInstrumentQueryPMITest.QueryQuotaForPaymentAppsAndCards (1323 ms) [306/482] CrExtensionsShortcutTest.KeyStrokeToString (1842 ms) [307/482] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.VideoCaptureAllowedUrls/0 (1319 ms) [308/482] LocalCardMigrationBrowserTest.ReusingLocalCardShowsIntermediateMigrationOffer (2108 ms) [309/482] OnDiskApp/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/0 (1325 ms) [310/482] MediaSessionPictureInPictureWindowControllerBrowserTest.NextTrackHandlerCalled (1587 ms) [311/482] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.PRE_UnchangedCustom/1 (1584 ms) [312/482] BrowserCrApplicationAppleScriptTest.Creation (1066 ms) [313/482] MediaRouterIntegrationOneUANoReceiverBrowserTest.Basic (2902 ms) [314/482] CookiePolicyBrowserTest.ThirdPartyCookiesIFrameBlockSetting (2133 ms) [315/482] InMemoryApp/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/2 (2129 ms) [316/482] SSLUITestHSTS.TestInterstitialOptionsNonOverridable/0 (1584 ms) [317/482] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.PRE_UntrustedInitialized/1 (934 ms) [318/482] OnboardingA11y.OnboardingFlow_marquee (2118 ms) [319/482] ExtensionSettingsApiTest.SplitModeIncognito (1590 ms) [320/482] ServiceWorkerPaymentAppFactoryBrowserTest.NotSupportedOrigin (2113 ms) [321/482] NetworkingPrivateServiceClientApiTest.GetState (1596 ms) [322/482] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureNotTriggeredOnPageShownIfNoAttribute (1581 ms) [323/482] IdentityGetAccountsFunctionTest.NoneSignedIn (1060 ms) [324/482] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingIfSessionIdNeverSetFails (1325 ms) [325/482] ProfileMainNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/0 (1321 ms) [326/482] WebViewSpeechAPITest.SpeechRecognitionAPI_HasPermissionAllow (1840 ms) [327/482] BrowserFrameTest.DevToolsHasBoundsOnOpen (2112 ms) [328/482] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/16 (1326 ms) [329/482] CrManagementA11yTest.SimpleTest_blink (1841 ms) [330/482] OnboardingA11y.OnboardingFlow_th_has_data_cells (2120 ms) [331/482] DataSaverWebAPIsBrowserTest.DataSaverToggleJS (1324 ms) [332/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/0 (2117 ms) [333/482] PPAPINaClGLibcTest.UDPSocket_SetBroadcastDropPipe (1857 ms) [334/482] WebUIResourcesListPropertyUpdateBehaviorTest.All (1589 ms) [335/482] ChromeServiceWorkerNavigationPreloadTest.SubFrameWithThirdPartyBlocking (1326 ms) [336/482] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match_IgnoreHighlyEngagedSite/0 (1314 ms) [337/482] DurableStorageBrowserTest.RequestBookmarkedPage (1319 ms) [338/482] OnDiskApp/NetworkContextConfigurationBrowserTest.FileURL/1 (1326 ms) [339/482] DistillablePageUtilsBrowserTestOGArticle.ArticlesCallDelegateOnceWithIsDistillable (1319 ms) [340/482] ChromeTestExtensionLoaderUnitTest.ContentScriptsAreFullyLoaded (1319 ms) [341/482] ExtensionMessageBubbleViewBrowserTest.ExtensionBubbleAnchoredToAppMenu (1323 ms) [342/482] NavigationPredictorBrowserTest.MergeMetricsSameTargetUrl_ClickHrefWithNoMergedImage (1320 ms) [343/482] RemoveCachedAuthTokenFunctionTest.Advice (1323 ms) [344/482] SystemNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/0 (1323 ms) [345/482] TtsApiTest.PlatformPauseSpeakNoEnqueue (1314 ms) [346/482] CrManagementA11yTestWithExtension.ExtensionSection_html_has_lang (2109 ms) [347/482] PDFExtensionLinkClickTest.CtrlLeft (2377 ms) [348/482] InMemoryApp/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/2 (1324 ms) [349/482] PromotionalTabsEnabledPolicyTest.RunTest/1 (1329 ms) [350/482] CrManagementA11yTest.SimpleTest_href_no_hash (1870 ms) [351/482] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/0 (928 ms) [352/482] BrowserAccessibilityStateImplTest.TestHistograms (1317 ms) [353/482] PaymentSheetViewControllerContactDetailsTest.RetryWithError (1591 ms) [354/482] LazyBackgroundPageApiTest.BrowserActionCreateTabAfterCallback (1588 ms) [355/482] SupervisedUserNavigationThrottleTest.NoNavigationObserverBlock/1 (1326 ms) [356/482] WebRTCInternalsIntegrationBrowserTest.IntegrationWithWebRtcEventLogger (1844 ms) [357/482] WebUIBrowserExpectFailTest.TestRuntimeErrorFailsFast (1855 ms) [358/482] PwaInstallViewBrowserTest.AnimationSuppression (2112 ms) [359/482] SpellingMenuObserverTest.EnableSpellingServiceWhenSpellcheckDisabled (1065 ms) [360/482] DomainReliabilityBrowserTest.Upload (1069 ms) [361/482] PrintPreviewButtonStripTest.ButtonStripFiresEvents (2123 ms) [362/482] AdsPageLoadMetricsObserverBrowserTest.FrameDepth (2117 ms) [363/482] PrintPreviewInvalidSettingsBrowserTest.InvalidSettingsError (2111 ms) [364/482] PPAPINaClGLibcTest.UDPSocket_BindError (1601 ms) [365/482] ChromeWorkerBrowserTest.DedicatedWorkerScriptFetchWithThirdPartyBlocking (1071 ms) [366/482] LocalCardMigrationBrowserTest.ReshowingBubbleDoesNotAddStrikes (1600 ms) [367/482] LookalikeUrlNavigationThrottleBrowserTest.Punycode_NoMatch/0 (1058 ms) [368/482] V4EmbeddedTestServerBrowserTest.SimpleTest (933 ms) [369/482] HostedAppBadgingTest.BadgeCanBeClearedWithClearMethod/0 (1317 ms) [370/482] MachineLevelUserCloudPolicyServiceIntegrationTestInstance/MachineLevelUserCloudPolicyServiceIntegrationTest.ChromeDesktopReport/0 (1849 ms) [371/482] CrSettingsAutofillPageTest.All (3160 ms) [372/482] ProfileChooserViewExtensionsParamTest.InvokeUi_MultiProfile/0 (1069 ms) [373/482] BrowsingDataCacheStorageHelperTest.CannedAddCacheStorage (1340 ms) [374/482] BrowserSwitcherServiceTest.PRE_ExternalCachedForBrowserRestart (11050 ms) [375/482] ExtensionBindingsUserGestureTest.WebUserGestureAfterMessagingCallback/1 (2119 ms) [376/482] LookalikeUrlNavigationThrottleBrowserTest.NetError_SiteEngagement_NetErrorAfterDismiss/1 (1325 ms) [377/482] ServiceWorkerPaymentAppFactoryBrowserTest.NoApps (1849 ms) [378/482] CacheCounterTest.PeriodChanged (1063 ms) [379/482] CrExtensionsLoadErrorTest.CodeSection (2114 ms) [380/482] SupervisedUserServiceTest.LocalPolicies (1058 ms) [381/482] ClientHintsBrowserTest.CorsChecks (1332 ms) [382/482] MediaFileValidatorTest.InvalidVideo (1064 ms) [383/482] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/5 (1326 ms) [384/482] ContentVerifierPolicyTest.Backoff (3427 ms) [385/482] ExtensionResourceRequestPolicyTest.WebAccessibleResourcesWithCSP (1336 ms) [386/482] TabUnderBlockerBrowserTest.ControlledByEnterprisePolicy (1324 ms) [387/482] PermissionBubbleBrowserTest.AppHasNoLocationBar (1057 ms) [388/482] ProfileStatisticsBrowserTest.GatherStatisticsTwoCallbacks (929 ms) [389/482] SitePerProcess/TaskManagerOOPIFBrowserTest.KillSubframe/0 (1575 ms) [390/482] WebViewSizeTest.Shim_TestAutosizeRemoveAttributes (1584 ms) [391/482] ImageDecoderBrowserTest.Basic (1332 ms) [392/482] CrExtensionsToggleRowTest.ToggleRowTest (1594 ms) [393/482] ServiceWorkerTest.ServiceWorkerSuspensionOnExtensionUnload (2649 ms) [394/482] WebRtcFromWebAccessibleResourceTest.GetUserMediaInWebAccessibleResourceFail (1326 ms) [395/482] DataUseMetricsObserverBrowserTest.TestContentType (1317 ms) [396/482] NetInfoBrowserTest.EffectiveConnectionTypeChangeNotfied (944 ms) [397/482] ManagedUiTest.ShouldDisplayManagedUiNoPolicies (936 ms) [398/482] TabActivityWatcherUkmTest.DiscardedTabGetsCorrectLabelId (1324 ms) [399/482] MimeHandlerViewCrossProcessTest.Basic/1 (1326 ms) [400/482] ExternallyConnectableMessagingTest.HostedAppOnWebsite (1592 ms) [401/482] PPAPINaClGLibcTest.UDPSocket_ParallelSend (1585 ms) [402/482] TextDefaultsTest.ScrapeStyles (1318 ms) [403/482] TabModalConfirmDialogTest.Quit (1059 ms) [404/482] UkmBrowserTestWithSyncTransport.SyncFeatureCheck/1 (12365 ms) [405/482] SubframeTaskBrowserTest.TaskManagerHungSubframe (1589 ms) [406/482] NetworkRequestMetricsBrowserTest.InterruptedBeforeHeaders/0 (1318 ms) [407/482] TranslateManagerBrowserTest.PageTranslationScriptLoadError (1582 ms) [408/482] VariationsHttpHeadersBrowserTest.TestStrippingHeadersFromResourceRequest (1058 ms) [409/482] LocaleTestDanish.TestStart (939 ms) [410/482] V4SafeBrowsingServiceTest.SubResourceHitWithMainFrameReferrer (1323 ms) [411/482] DeclarativeNetRequestResourceTypeBrowserTest.Test2/1 (2901 ms) [412/482] LocalNTPVoiceJavascriptTest.SpeechTests (1317 ms) [413/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.UploadFile/2 (1606 ms) [414/482] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_SiteEngagement_NoMatch/2 (1324 ms) [415/482] ProxySettingsApiTest.ProxyEventsOtherError (1319 ms) [416/482] BrowserActionsContainerBrowserTest.CanResize_AboveMaximumWidth (929 ms) [417/482] SSLUITestBlock.TestBlockDisplayingInsecureIframe/0 (1322 ms) [418/482] SecurityStateLoadingTest.NavigationStateChanges/1 (1342 ms) [419/482] ExtensionSessionsTest.GetDevicesMaxResults (1059 ms) [420/482] ImageAnnotationBrowserTest.TutorMessageOnlyOnFirstImage (1054 ms) [421/482] ZoomBubbleReuseTest.BothUserInitiated (1325 ms) [422/482] ProxySettingsApiTest.PRE_SettingsRemovedOnPolicyBlacklist (1581 ms) [423/482] SSLPolicyTestCommittedInterstitials.SSLErrorOverridingDisallowed/1 (1058 ms) [424/482] WebRtcEventLogCollectionAllowedPolicyTest.RunTest/2 (1323 ms) [425/482] SaveCardBubbleViewsFullFormBrowserTestForStatusChip.IconAndBubbleVisibilityAfterTabSwitching (1848 ms) [426/482] CrManagementA11yTest.SimpleTest_aria_required_parent (1596 ms) [427/482] PdfToPwgRasterBrowserTest.TestSuccessMono (1329 ms) [428/482] BookmarkAppNavigationThrottleCommonBrowserTest.ImmediateOutOfScopeRedirect/1 (1328 ms) [429/482] SupervisedUserBlockModeTest.HistoryVisitRecorded/1 (1591 ms) [430/482] AutofillAutocompleteTest.SubmitSimpleValue_Saves (1321 ms) [431/482] AutofillAutocompleteTest.RetentionPolicy_RemovesExpiredEntry (1588 ms) [432/482] PaymentRequestContactInfoEditorTest.RetryWithPayerErrors (1587 ms) [433/482] DefaultMemorySSLHostStateDelegateTest.PRE_AfterRestart (1068 ms) [434/482] ProcessesApiTest.OnUpdatedWithMemoryRefreshTypes (1322 ms) [435/482] AuthenticatorDialogTest.InvokeUi_activate_usb (1324 ms) [436/482] ExtensionMessageBubbleViewBrowserTest.PRE_ExtensionBubbleShowsOnStartup (1062 ms) [437/482] UserManagerUIBrowserTest.PageLoads (1587 ms) [438/482] LazyBackgroundPageApiTest.WaitForView (1332 ms) [439/482] DataReductionProxyFallbackBrowsertest.ProxyShortBypassedOn502ErrorWithFeature (1061 ms) [440/482] OutdatedUpgradeBubbleTest.InvokeUi_NoAutoUpdate (1055 ms) [441/482] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/1 (930 ms) [442/482] CtrlClickShouldEndUpInSameProcessTest.BlankTarget (1322 ms) [443/482] FirstRunMasterPrefsImportBookmarksFile.ImportBookmarksFile (1332 ms) [444/482] DeclarativeNetRequestResourceTypeBrowserTest.Test1/0 (3684 ms) [445/482] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagementAndTopDomain_Match/1 (1317 ms) [446/482] CrSettingsLanguagesTest.All (2907 ms) [447/482] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_Hsts/0 (1052 ms) [448/482] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/1 (935 ms) [449/482] EncryptedMediaSupportedTypesExternalClearKeyTest.Video_WebM (1855 ms) [450/482] ProxySettingsApiTest.ProxyEventsParseError (1331 ms) [451/482] CloudPolicyTest.InvalidatePolicy (2900 ms) [452/482] AccessibilityLabelsMenuObserverTest.AccessibilityLabelsNotShownWithoutScreenReader (1057 ms) [453/482] ProxySettingsApiTest.ProxyPacScript (1850 ms) [454/482] EncryptedMediaSupportedTypesWidevineTest.Video_MP4 (1590 ms) [455/482] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.PolicyUpdateXHR/0 (1594 ms) [456/482] BackgroundFetchBrowserTest.FetchesRunToCompletion_Upload (26287 ms) [457/482] GooglePasswordManagerNavigationThrottleTest.PasswordsWithGPMAndSyncUserClickedLink (2112 ms) [458/482] ClickModifierTest.WindowOpenControlShiftClickTest (1321 ms) [459/482] DebuggerApiTest.DebuggerNotAllowedOnOtherExtensionPages (1858 ms) [460/482] AppShimMenuControllerBrowserTest.ExtensionUninstallUpdatesMenuBar (3687 ms) [461/482] InMemoryApp/NetworkContextConfigurationBrowserTest.DiskCache/1 (1065 ms) [462/482] ProfileWindowBrowserTest.GuestAppMenuLacksBookmarks (2115 ms) [463/482] UnifiedConsentBrowserTest.SettingsHistogram_UrlKeyedAnonymizedDataCollectionEnabled (1064 ms) [464/482] InMemoryApp/NetworkContextConfigurationBrowserTest.EnableReferrers/2 (1329 ms) [465/482] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.UntrustedAdditionToPrefs/1 (1063 ms) [466/482] ServiceWorkerOnStartupEventTest.Event (952 ms) [467/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookiesEnabled/1 (1581 ms) [468/482] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.Hsts/1 (1319 ms) [469/482] OnDiskApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/1 (1072 ms) [470/482] ServiceWorkerLazyBackgroundTest.EventsAfterRestart (1850 ms) [471/482] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.UnchangedCustom/1 (1324 ms) [472/482] PrefHashBrowserTestUntrustedInitializedInstance/PrefHashBrowserTestUntrustedInitialized.UntrustedInitialized/1 (1317 ms) [473/482] ServiceWorkerLazyBackgroundTest.FilteredEventsAfterRestart (1586 ms) [474/482] StartupBrowserCreatorTest.UpdateWithTwoProfiles (2918 ms) [475/482] OnDiskApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/0 (1059 ms) [476/482] BrowserSwitcherServiceTest.ExternalCachedForBrowserRestart (1067 ms) [477/482] ProxySettingsApiTest.SettingsRemovedOnPolicyBlacklist (1068 ms) [478/482] DefaultMemorySSLHostStateDelegateTest.AfterRestart (1577 ms) [479/482] InMemoryApp/NetworkContextConfigurationBrowserTest.CookiesEnabled/1 (1066 ms) [480/482] OnDiskApp/NetworkContextConfigurationBrowserTest.Hsts/0 (1055 ms) [481/482] ExtensionMessageBubbleViewBrowserTest.ExtensionBubbleShowsOnStartup (1316 ms) [482/482] InMemoryApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/1 (810 ms) Retrying 1 test (retry #0) [483/483] AutofillAutocompleteTest.RetentionPolicy_Init_SavesVersionPref (813 ms) SUCCESS: all tests passed. 450620b0c89cbe10: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=6 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/ioCyYrqX/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 6/10 Using 4 parallel jobs. Randomizing with seed 8319 [1/432] InstanceIDApiTest.GetCreationTime (2383 ms) [2/432] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/14 (2391 ms) [3/432] TopFrameSameFrameDownloadBrowserTest.Download/6 (2395 ms) [4/432] PlatformAppNavigationRedirectorBrowserTest.FormSubmissionInTabNotIntercepted (3960 ms) [5/432] BrowserActionsContainerOverflowTest.TestBasicActionOverflow (1614 ms) [6/432] PolicyUITest.SendPolicyValues (2120 ms) [7/432] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowEnabled/0 (2127 ms) [8/432] PasswordBubbleBrowserTest.InvokeUi_AutomaticPasswordBubble (2639 ms) [9/432] BackgroundFetchBrowserTest.FetchRejectedWithoutPermission (2643 ms) [10/432] PaymentRequestHasEnrolledInstrumentQueryPMITest.NoQueryQuotaForPaymentAppsAndCardsInIncognito (2135 ms) [11/432] PermissionDialogTest.ActiveTabClosedAfterRendererCrashesWithPendingPermissionRequest (2132 ms) [12/432] ImageAnnotationBrowserTest.AnnotateImageInAccessibilityTree (2392 ms) [13/432] CrExtensionsToolbarTest.DevModeToggle (2912 ms) [14/432] EncryptedMediaSupportedTypesClearKeyTest.EncryptionScheme (3183 ms) [15/432] PopupTrackerBrowserTest.WhitelistedPopup_HasTracker (1849 ms) [16/432] AdsPageLoadMetricsObserverResourceBrowserTest.RecordedUKMMetrics (2645 ms) [17/432] BrowsingDataRemoverBrowserTest.PRE_MediaLicenseTimedDeletion (2374 ms) [18/432] BookmarksDNDManagerTest.All (6593 ms) [19/432] TLSLegacyVersionSSLUITest.ManySubresources (1853 ms) [20/432] CustomTabBarViewBrowserTest.BackToAppButtonIsNotVisibleInBookmarkAppOnOrigin (2905 ms) [21/432] LookalikeUrlInterstitialPageBrowserTest.UkmRecordedAfterSuggestionIgnored (1850 ms) [22/432] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.PRE_UntrustedAdditionToPrefsAfterWipe/2 (1597 ms) [23/432] AppViewTest.TestAppViewGoodDataShouldSucceed (3689 ms) [24/432] UnifiedAutoplayBrowserTest.OpenCrossDomainFromMenu (2115 ms) [25/432] ServiceWorker/ExtensionContextMenuBrowserTest.UpdateCheckedStateOfFirstRadioItem/0 (2640 ms) [26/432] NotificationPermissionContextApiTest.Denied (2377 ms) [27/432] ExtensionDisabledGlobalErrorTest.UninstallWhilePromptBeingShown (4217 ms) [28/432] ChromeRenderProcessHostTestWithCommandLine.ProcessOverflowCommandLine (2383 ms) [29/432] OnboardingA11y.OnboardingFlow_table_duplicate_name (2903 ms) [30/432] WebUIBrowserExpectFailTest.TestFailsFast (2670 ms) [31/432] AutoPictureInPictureWindowControllerBrowserTest.AutoExitPictureInPictureIsTriggeredInRegularWebApp (2373 ms) [32/432] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingIfSessionIdNeverSetFailsForEmptySessionId (2114 ms) [33/432] LoadTimeDataTest.sanitizeInnerHtml (1848 ms) [34/432] PaymentRequestIframeTest.IframeNavigation_UserAborted (3167 ms) [35/432] WebAppUrlLoaderTest.Success (1850 ms) [36/432] PPAPINaClGLibcTest.TCPSocketPrivate_SSLWriteClosePipe (2641 ms) [37/432] LocalNTPCustomBackgroundsThemeTest.KeepBackgroundImageAfterThemeApplied (3428 ms) [38/432] TabActivityWatcherUkmTest.BeforeUnloadHandler (1851 ms) [39/432] NetworkQualityTrackerBrowserTest.NetworkQualityTrackerNotifiedOnInitialization (2378 ms) [40/432] CrElementsDialogTest.All (3173 ms) [41/432] WakeEventPageTest.NoBackgroundPage (2121 ms) [42/432] TabAppleScriptTest.ExecuteJavascriptFeatureDisabled (2644 ms) [43/432] StartupBrowserCreatorTest.OpenAppShortcutTabPref (1627 ms) [44/432] MessagingApiTest.MessagingOnUnload (2377 ms) [45/432] LazyBackgroundPageApiTest.OnUnload (1860 ms) [46/432] DataReductionProxyBrowsertestWithNetworkService.DataUsePrefsRecorded (3955 ms) [47/432] BookmarkAppTest.EngagementHistogramRecordedForNonApps (2389 ms) [48/432] NetworkRequestMetricsBrowserTest.CancelDuringBody/2 (2909 ms) [49/432] OnboardingA11y.OnboardingFlow_aria_valid_attr (3442 ms) [50/432] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareImg/0 (1601 ms) [51/432] LazyLoadBrowserTest.CSSBackgroundImageDeferred (1863 ms) [52/432] TabHoverCardBubbleViewBrowserTest.WidgetDataUpdate (1585 ms) [53/432] IdentityGetAccountsFunctionTest.NoPrimaryAccount (1851 ms) [54/432] MimeHandlerViewCrossProcessTest.AdoptNodeInOnLoadDoesNotCrash/1 (1852 ms) [55/432] IeemSitelistParserTest.V1Full (1848 ms) [56/432] CDM_10/ECKEncryptedMediaTest.Playback_Encryption_CBCS/0 (3956 ms) [57/432] ChromePasswordProtectionServiceBrowserTest.VerifyIsPasswordReuseProtectionConfiguredForDomainUser (1590 ms) [58/432] PlatformAppDevToolsBrowserTest.ReOpenedWithURL (3433 ms) [59/432] BluetoothApiTest.GetDevices (2117 ms) [60/432] BrowserSwitcherBrowserTest.DoesNotRunOnRandomUrls (12144 ms) [61/432] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/3 (2926 ms) [62/432] DownloadTestWithFakeSafeBrowsing.SendUncommonDownloadReportIfUserProceed (2176 ms) [63/432] CrManagementA11yTestWithExtension.ExtensionSection_aria_valid_attr_value (4231 ms) [64/432] DomainReliabilityBrowserTest.UploadAtShutdown (3204 ms) [65/432] ProxySettingsApiTest.ProxyFixedIndividual (2379 ms) [66/432] TtsApiTest.UpdateVoicesApi (2113 ms) [67/432] PrintPreviewHeaderTest.HeaderWithDuplex (4011 ms) [68/432] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.PRE_UntrustedAdditionToPrefs/3 (1852 ms) [69/432] ClientHintsBrowserTest.ClientHintsHttps/0 (2419 ms) [70/432] PepperContentSettingsSpecialCasesTest.Flash (2423 ms) [71/432] QuicAllowedPolicyDynamicTest.QuicAllowedFalseAfterTwoProfilesCreated (3436 ms) [72/432] DnsProbeSuccessfulProbesTest.NxdomainProbeResultWithWorkingCorrections (2118 ms) [73/432] OnDiskApp/NetworkContextConfigurationBrowserTest.FileURL/0 (2917 ms) [74/432] SystemNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/1 (2114 ms) [75/432] OnboardingA11y.OnboardingFlow_aria_allowed_attr (3176 ms) [76/432] InMemoryApp/NetworkContextConfigurationDataPacBrowserTest.DataPac/2 (3112 ms) [77/432] ExtensionsLoadMultipleTest.Test (2736 ms) [78/432] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaVideo/1 (3478 ms) [79/432] SubresourceFilterWorkerFetchBrowserTest.WorkerFetch (2375 ms) [80/432] OnboardingA11y.OnboardingFlow_aria_valid_attr_value (5163 ms) [81/432] ExtensionBindingsApiTest.ExtensionSubframeGetsBindings (2377 ms) [82/432] PrintPreviewAdvancedItemTest.UpdateInput (3695 ms) [83/432] FolderUploadConfirmationViewTest.InitiallyFocusesCancel (1853 ms) [84/432] MediaRouterIntegrationOneUANoReceiverBrowserTest.ReconnectSessionSameTab (3481 ms) [85/432] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.Cache/2 (2933 ms) [86/432] CertificateReportingServiceBrowserTest.Delayed_Resumed_ServiceShutdown/1 (3167 ms) [87/432] SafeBrowsingTriggeredPopupBlockerBrowserTest.BlockOpenURLFromTabInIframe (2395 ms) [88/432] CrManagementA11yTestWithExtension.ExtensionSection_aria_valid_attr (4299 ms) [89/432] UnifiedAutoplayBrowserTest.NotMatchingWebAppScopeDoesNotAllowAutoplay (1943 ms) [90/432] BrowsingDataRemoverBrowserTest.ClearCacheAndNetworkServiceCrashes (2515 ms) [91/432] MimeHandlerViewCrossProcessTest.BackgroundPage/0 (2740 ms) [92/432] CredentialManagerBrowserTest.AccountChooserWithOldCredentialAndNavigation (2119 ms) [93/432] CrManagementA11yTest.SimpleTest_duplicate_id (2661 ms) [94/432] InlineLoginUISafeIframeBrowserTest.NoWebUIInIframe (1849 ms) [95/432] BookmarksAppTest.All (3175 ms) [96/432] LocalSiteCharacteristicsDatabaseTest.TitleUpdateFeatureUsage (8216 ms) [97/432] LookalikeUrlNavigationThrottleBrowserTest.Punycode_NoMatch/2 (1861 ms) [98/432] AuthenticatorDialogTest.InvokeUi_key_not_registered (1589 ms) [99/432] DefaultIsolation/TaskManagerOOPIFBrowserTest.NavigateToSiteWithSubframeToOriginalSite/0 (4514 ms) [ RUN ] EncryptedMediaSupportedTypesWidevineTest.EncryptionScheme [27207:3843:0524/214731.438036:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. browser_tests(27207,0x70000c2ef000) malloc: *** error for object 0x7fd32df168f8: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Received signal 6 [0x00010b857099] [0x00010b777ee3] [0x00010b856fb1] [0x7fff912dc52a] [0x7fff7b47b568] [0x7fff8d39d6df] [0x7fff9aeef396] [0x7fff9aee2c03] [0x7fff9aee1705] [0x00010b861bad] [0x7fff9aee15a1] [0x7fff9aee00cc] [0x00010b73937a] [0x00010b73b60b] [0x00010b7d9bfb] [0x00010b77dee2] [0x00010e006714] [0x00010e005a02] [0x00010b7bdce1] [0x00010b7bdcbe] [0x00010e024103] [0x00010e025e7d] [0x00010b8207a3] [0x00010b8209a9] [0x00010b7ecec0] [0x00010b80d052] [0x00010b80cbdd] [0x00010b860d09] [0x00010b80c571] [0x00010b81427b] [0x00010b814054] [0x00010b861227] [0x7fff9bc6e99d] [0x7fff9bc6e91a] [0x7fff9bc6c351] [end of stack trace] [100/432] EncryptedMediaSupportedTypesWidevineTest.EncryptionScheme (CRASHED) [101/432] DidChangeVisibleSecurityStateTest.DidChangeVisibleSecurityStateObserverGoBack/0 (2914 ms) [102/432] Incognito/ExtensionWebRequestApiAuthRequiredTest.WebRequestAuthRequired/0 (6068 ms) [103/432] ChromeDoNotTrackTest.FetchFromWorker (2115 ms) [104/432] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/12 (1857 ms) [105/432] ProfileHelperTest.DeleteActiveProfile (3450 ms) [106/432] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureNotTriggeredIfVideoNotPlaying (3174 ms) [107/432] BookmarkBarNavigationTest.SecFetchSiteNoneFromNonEmptyTab (3431 ms) [108/432] ChromeSecurityExploitBrowserTest.CreateFilesystemURLInOtherChromeUIOrigin (3708 ms) [109/432] AuthenticatorDialogTest.InvokeUi_get_pin_one_try_remaining (2120 ms) [110/432] VariationsHttpHeadersBrowserTest.TestStrippingHeadersFromSubresourceRequest (2385 ms) [111/432] NetworkTimePolicyTest.NetworkTimeQueriesDisabled/0 (2657 ms) [112/432] OnDiskApp/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/2 (2644 ms) [113/432] AcceleratorsCocoaBrowserTest.MainMenuAcceleratorsInMapping (2116 ms) [114/432] ExtensionPreferenceApiTest.Clear (2641 ms) [115/432] CaptivePortalBlockingPageIDNTest.ShowLoginIDNIfPortalRedirectsDetectionURL (2376 ms) [116/432] AmpUkmObserverBrowserTest.NoAmp (2386 ms) [117/432] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareMainFrame/0 (2388 ms) [118/432] RestartTest.PRE_PostWithPassword (2651 ms) [119/432] MediaSessionPictureInPictureWindowControllerBrowserTest.NextTrackButtonVisibility (2909 ms) [120/432] CertificateReportingServiceBrowserTest.DisableSafebrowsing/1 (6589 ms) [121/432] DeclarativeNetRequestBrowserTest_Packed.PRE_BrowserRestart/0 (3963 ms) [122/432] PrintPreviewPreviewGenerationTest.CssBackground (4766 ms) [123/432] SafeBrowsingNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/0 (1849 ms) [124/432] WebRtcEventLogCollectionAllowedPolicyTest.RunTest/1 (1850 ms) [125/432] PrintExtensionBrowserTest.PrintOptionPage (6594 ms) [126/432] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_EnableReferrers/0 (2904 ms) [127/432] ApplicationLaunchBrowserTest.ReparentWebContentsForFocusModeMultipleTabs (2373 ms) [128/432] DidChangeVisibleSecurityStateTest.DidChangeVisibleSecurityStateObserver/0 (3430 ms) [129/432] PrintPreviewDestinationSettingsTest.RecentDestinations (4215 ms) [130/432] WebViewVisibilityTest.GuestVisibilityChanged (3182 ms) [131/432] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/2 (2912 ms) [132/432] CredentialManagerBrowserTest.StoreUpdatesPasswordOfExistingCredentialWithAttributes (2374 ms) [133/432] CrManagementA11yTestWithExtension.ExtensionSection_aria_hidden_body (3442 ms) [134/432] AppShimHostManagerBrowserTest.PRE_ReCreate (2125 ms) [135/432] ClientHintsBrowserTest.ClientHintsMalformedContentSettings/1 (2650 ms) [136/432] PaymentRequestProfileListTest.PrioritizeCompleteness (2900 ms) [137/432] TabUnderBlockerBrowserTest.ControlledBySetting (2659 ms) [138/432] WithoutAny/BackgroundXhrWebstoreTest.XHRAnyPortPermission/0 (2681 ms) [139/432] CredentialManagerBrowserTest.MojoConnectionRecreatedAfterNavigation (3187 ms) [140/432] NetworkingPrivateServiceClientApiTest.GetProperties (3233 ms) [141/432] SupervisedUserTest.DontShowInterstitialTwice/0 (3050 ms) [142/432] PrintPreviewPreviewGenerationTest.SelectionOnly (4488 ms) [143/432] PPAPINaClGLibcTest.TCPServerSocketPrivate_ListenClosePipe (3173 ms) [144/432] IncognitoApiTest.IncognitoDisabled (3977 ms) [145/432] ExtensionLoadingTest.KeepAliveWithDevToolsOpenOnReload (4773 ms) [146/432] LookalikeUrlNavigationThrottleBrowserTest.IdnWithSingleLabelShouldNotCauseACrash/0 (2228 ms) [147/432] MimeHandlerViewCrossProcessTest.EmbeddedDataUrlLong/1 (3216 ms) [148/432] CertificateReportingServiceBrowserTest.NotOptedIn_ShouldNotSendReports/1 (3004 ms) [149/432] ChromePasswordProtectionServiceBrowserTest.MarkSiteAsLegitimate (3033 ms) [150/432] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureAttributeApplies (3335 ms) [151/432] MimeHandlerViewCrossProcessTest.BeforeUnload_NoDialog/0 (3496 ms) [152/432] NetInfoBrowserTest.NetworkQualityChangeNotified (2450 ms) [153/432] ChromeRenderProcessHostTest.ProcessOverflow (2725 ms) [154/432] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookieIsolation/0 (2638 ms) [155/432] DurableStorageBrowserTest.Incognito (3164 ms) [156/432] NetworkRequestMetricsBrowserTest.SuccessWithBody/2 (2645 ms) [157/432] CrManagementA11yTestWithExtension.ExtensionSection_table_fake_caption (3990 ms) [158/432] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowEnabled/1 (2652 ms) [159/432] SafeBrowsingNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/2 (2928 ms) [160/432] AndroidUsbCountTest.TestNoMultipleCallsRemoveInCallback (2685 ms) [161/432] CtrlClickShouldEndUpInNewProcessTest.NoTarget (2936 ms) [162/432] CrExtensionsActivityLogHistoryTest.All (4269 ms) [163/432] NetworkRequestMetricsBrowserTest.CancelBeforeHeaders/3 (2125 ms) [164/432] TopFrameSameFrameDownloadBrowserTest.Download/3 (2940 ms) [165/432] TabContentsTagTest.BasicTagsTracking (2936 ms) [166/432] ChromeRenderProcessHostBackgroundingTestWithAudio.ProcessPriorityAfterAudioStartsFromBackgroundTab (2385 ms) [167/432] ExtensionBindingsApiTest.ChromeExtensionIsAliasedToChromeRuntime (2385 ms) [168/432] SignedExchangePolicyTest.SignedExchangeEnabled (2383 ms) [169/432] CredentialManagerBrowserTest.ObsoleteHttpCredentialMovedOnMigrationToHstsSite (2634 ms) [170/432] ContentSettingsWorkerModulesBrowserTest.WorkerImportModule (2446 ms) [171/432] TabStatsTrackerBrowserTest.TabsAndWindowsAreCountedAccurately (2908 ms) [172/432] ExtensionApiTestWithManagementPolicy.ContentScriptPolicyWildcard (2392 ms) [173/432] PrintPreviewKeyEventTest.EnterOnButtonDoesNotPrint (5075 ms) [174/432] LazyBackgroundPageApiTest.EventListenerCleanup (2642 ms) [175/432] PaymentRequestDebitTest.PayWithLocalCard (2664 ms) [176/432] MimeHandlerViewCrossProcessTest.EmbedWithInitialCrossOriginFrame/0 (2650 ms) [177/432] BookmarkEditorViewBrowserTest.InvokeUi_all_tabs (2917 ms) [178/432] PrintPreviewKeyEventTest.EnterTriggersPrint (4259 ms) [179/432] SupervisedUserTest.ClosingBlockedTabDoesNotCrash/0 (2386 ms) [180/432] LocalNTPDarkModeStartupTest.DarkModeApplied/0 (2650 ms) [181/432] LocalNTPTest.EmbeddedSearchAPIExposesStaticFunctions (3436 ms) [182/432] ExtensionLoadingTest.RuntimeValidWhileDevToolsOpen (5277 ms) [183/432] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.PRE_SearchProtected/1 (1864 ms) [184/432] PaymentRequestHasEnrolledInstrumentQueryPMITest.QueryQuotaForPaymentApps (2383 ms) [185/432] PaymentRequestShippingAddressUseStatsTest.RecordUse (3168 ms) [186/432] ExtensionCrxInstallerTestWithExperimentalApis.GrantScopes (3201 ms) [187/432] CrManagementA11yTestWithExtension.ExtensionSection_object_alt (4247 ms) [188/432] DevToolsSanityExtensionTest.PolicyDisallowedForForceInstalledExtensionsAfterNavigation (3191 ms) [189/432] ExternallyConnectableMessagingTest.IllegalArguments (2119 ms) [190/432] ZoomBubbleBrowserTest.NoWebContentsIsSafe (2670 ms) [191/432] AdsPageLoadMetricsObserverResourceBrowserTest.ReceivedSubframeNavigationAds (2388 ms) [192/432] ExtensionBindingsUserGestureTest.WebUserGestureAfterApiCallback/0 (2950 ms) [193/432] BookmarkAppNavigationThrottleExperimentalWindowOpenBrowserTest.WindowOpenInBrowser/0 (2902 ms) [194/432] ClientHintsBrowserTest.ClientHintsLifetimePersistedCookiesBlocked/0 (1886 ms) [195/432] RemoveBrowsingHistorySSLHostStateDelegateTest.DeleteHistory (2416 ms) [196/432] TopFrameSameFrameDownloadBrowserTest.Download/16 (2662 ms) [197/432] ImageAnnotationBrowserTest.NoAnnotationsAvailable (2381 ms) [198/432] HostZoomMapSanitizationBrowserTest.ClearOnStartup (2636 ms) [199/432] MimeHandlerViewCrossProcessTest.NavigationRaceFromEmbedder/1 (3168 ms) [200/432] BrowserCloseManagerBrowserTest.TestWithDownloads (2400 ms) [201/432] ServiceWorkerPaymentAppFactoryBrowserTest.CrossOriginServiceWorkerScopeIsInvalid (3177 ms) [202/432] ScreenCaptureNotificationUiBrowserTest.InvokeUi (1860 ms) [203/432] ExperimentalApiTest.PermissionsSucceed (2119 ms) [204/432] PaymentRequestUpdateWithTest.UpdateWithModifiers (3171 ms) [205/432] LookalikeUrlNavigationThrottleBrowserTest.NetError_TopDomain_Interstitial/1 (2651 ms) [206/432] CrExtensionsShortcutTest.ScopeChange (3469 ms) [207/432] PaymentRequestPaymentMethodIdentifierTest.MultiplePaymentMethodIdentifiers (2933 ms) [208/432] ProcessManagementTest.TestForkingBehaviorForUninstalledAndNonAccessibleExtensions (2391 ms) [209/432] BrowserWindowMacA11yTest.A11yTreeIsWellFormed (2386 ms) [210/432] PaymentRequestContactInfoEditorTest.ModifyExistingSelectsIt (3492 ms) [211/432] InMemoryApp/NetworkContextConfigurationBrowserTest.ProxyConfig/1 (2465 ms) [212/432] RemoveCachedAuthTokenFunctionTest.NonMatchingToken (1891 ms) [213/432] BackgroundPage/ExtensionContextMenuBrowserTest.Enabled/0 (2656 ms) [214/432] LookalikeUrlNavigationThrottleBrowserTest.TopDomainIdnSubdomain_NoMatch/2 (2147 ms) [215/432] MDnsAPITest.RegisterMultipleListeners (2389 ms) [216/432] SubresourceFilterListInsertingBrowserTest.MainFrameActivation_SubresourceFilterList (2126 ms) [217/432] MuteButtonPictureInPictureWindowControllerBrowserTest.MuteButtonEnabled (10564 ms) [218/432] BackgroundXhrTest.TlsClientAuth (2386 ms) [219/432] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInSameOriginPostRequest/0 (2661 ms) [220/432] PrerenderBrowserTestWithExtensions.TabsApi (2930 ms) [221/432] PolicyHeaderServiceBrowserTest.NoPolicyHeader (2388 ms) [222/432] ProfileResetTest.ResetCookiesAndSiteData (2387 ms) [223/432] ExtensionBindingsUserGestureTest.UserGestureFromExtensionMessageTest/1 (2640 ms) [224/432] PPAPINaClGLibcTest.UDPSocket_DropPipeAfterBindSendToFails (2680 ms) [225/432] CrSettingsPeoplePageSyncPageTest.All (5834 ms) [226/432] ComponentCloudPolicyTest.UpdateExtensionPolicy (5303 ms) [227/432] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/0 (2385 ms) [228/432] SSLUITestIgnoreCertErrors.TestWSS/1 (3206 ms) [229/432] DiscardsTest.CompareTabDiscardsInfo (2901 ms) [230/432] OnboardingA11y.OnboardingFlow_button_name (2921 ms) [231/432] ChromePasswordProtectionServiceBrowserTest.UserDirectlyNavigateToResetPasswordPage (2684 ms) [232/432] OnboardingWelcomeAppChooserTest.All (3440 ms) [233/432] AllUrlsApiTest.RegularExtensions (2981 ms) [234/432] SSLUIDynamicInterstitialTest.MatchUnknownCertError (2140 ms) [235/432] PluginResponseInterceptorURLLoaderThrottleBrowserTest.DownloadPdf (2120 ms) [236/432] WebRtcGetMediaDevicesBrowserTest.EnumerateDevicesWithAccess/0 (2647 ms) [237/432] ExtensionWebUITest.EmbedDisabledExtension (2676 ms) [238/432] TabHoverCardBubbleViewBrowserTest.WidgetVisibleOnHover (1857 ms) [239/432] NavigationPredictorBrowserTest.ActionAccuracy_timeout_no_retry (2122 ms) [240/432] WebViewScrollBubbling/WebViewGuestScrollTouchTest.TestGuestGestureScrollsBubble/0 (2645 ms) [241/432] ImageAnnotationBrowserTest.DoesntAnnotateInternalPages (2119 ms) [242/432] BrowsingDataLocalStorageHelperTest.CannedUnique (1847 ms) [243/432] OnDiskApp/NetworkContextConfigurationDataPacBrowserTest.DataPac/1 (2110 ms) [244/432] PrintPreviewKeyEventTest.CmdPeriodClosesDialogOnMacOnly (3692 ms) [245/432] CrControlledButtonTest.All (3968 ms) [246/432] PwaInstallViewBrowserTest.NavigateToDifferentEmptyScope (2127 ms) [247/432] CrExtensionsNavigationHelperTest.SupportedRoutes (2388 ms) [248/432] SSLPKPBrowserTest.SendPKPReportServerHangs (1857 ms) [249/432] ChromeServiceWorkerLinkFetchTest.FaviconSameOrigin (1849 ms) [250/432] ExtensionURLLoaderThrottleBrowserTest.ThrottleRequest_RedirectCached (2378 ms) [251/432] WebUIImplBrowserTest.SameDocumentNavigationsAndReload (2127 ms) [252/432] IdentityOldProfilesGetAccountsFunctionTest.TwoAccountsSignedIn (1852 ms) [253/432] BackgroundFetchBrowserTest.ClickEventIsDispatched (26591 ms) [254/432] OnboardingA11y.OnboardingFlow_valid_lang (3961 ms) [255/432] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_DiskCache/2 (2141 ms) [256/432] CtrlClickShouldEndUpInNewProcessTest.BlankTarget (2664 ms) [257/432] PaymentRequestContactInfoEditorTest.HappyPath (2650 ms) [258/432] SSLNetworkTimeBrowserTest.OnDemandFetchClockOk/1 (2375 ms) [259/432] LookalikeUrlNavigationThrottleBrowserTest.NonTopDomainIdn_NoInterstitial/0 (2384 ms) [260/432] ClientHintsBrowserTest.DisregardPersistenceRequestSubresourceIframe/0 (2911 ms) [261/432] NetworkingPrivateServiceClientApiTest.CreateNetwork (2651 ms) [262/432] RestartTest.PRE_Post (2382 ms) [263/432] PasswordManagerInternalsWebUIBrowserTest.LogSavePasswordProgress_FlushedOnReload (2914 ms) [264/432] SSLPolicyTestCommittedInterstitials.SafeBrowsingExtendedReportingPolicyManaged/0 (2383 ms) [265/432] OnboardingA11y.OnboardingFlow_video_caption (3437 ms) [266/432] CrElementsToastManagerTest.All (2656 ms) [267/432] AuthenticatorDialogTest.InvokeUi_timeout (2669 ms) [268/432] ChromeMimeHandlerViewCrossProcessTest.UMA_SameOriginResource/1 (2371 ms) [269/432] InMemoryApp/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/0 (2649 ms) [270/432] ExtensionDisabledGlobalErrorTest.HigherPermissionsFromSync (6122 ms) [271/432] WebAppPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureWhenPictureInPictureWindowAlreadyVisible (2656 ms) [272/432] OnboardingA11y.OnboardingFlow_empty_heading (3238 ms) [273/432] TabUnderBlockerBrowserTest.SpoofCtrlClickTabUnder_IsBlocked (2428 ms) [274/432] SafeBrowsingBlockingPageIDNTestWithThreatType/SafeBrowsingBlockingPageIDNTest.SafeBrowsingBlockingPageDecodesIDN/0 (2642 ms) [275/432] CrExtensionsErrorPageTest.Layout (3988 ms) [276/432] WebViewBrowserTest.ResizeWebView (2132 ms) [277/432] SitePerProcessPrintBrowserTest.PrintNup (5553 ms) [278/432] EncryptedMediaSupportedTypesClearKeyTest.Robustness (4028 ms) [279/432] WebViewNewWindowTest.UserAgent_NewWindow (2646 ms) [280/432] ExtensionURLLoaderThrottleBrowserTest.ThrottleRequest (2121 ms) [281/432] OnboardingA11y.OnboardingFlow_html_has_lang (3433 ms) [282/432] DataReductionProxyBrowsertest.ProxyNotUsedForWebSocket (2122 ms) [283/432] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/4 (1850 ms) [284/432] OnboardingWelcomeWelcomeAppTest.All (3688 ms) [285/432] ProfileChooserViewExtensionsParamTest.InvokeUi_ManageAccountLink/1 (2388 ms) [286/432] PrintPreviewLinkContainerTest.HideInAppKioskMode (2634 ms) [287/432] ChromePasswordProtectionServiceBrowserTest.EnterprisePhishingReuseMarkSiteAsLegitimate (2121 ms) [288/432] ExtensionModuleTest.TestModulesAvailable (1851 ms) [289/432] DoubleKeyedHttpCache/NoStatePrefetchBrowserTestHttpCache.LoadAfterPrefetch/0 (1855 ms) [290/432] BackgroundFetchBrowserTest.FetchFromChildFrameWithAsk (2117 ms) [291/432] TtsApiTest.PlatformPauseResume (2133 ms) [292/432] DevToolsBeforeUnloadTest.TestUndockedDevToolsApplicationClose (4487 ms) [293/432] CommonNameMismatchBrowserTest.InterstitialNavigateAwayWhileLoading/0 (1853 ms) [294/432] CrExtensionsManagerTestWithMultipleExtensionTypesInstalled.ItemListVisibility (2918 ms) [295/432] OnDiskApp/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/1 (1852 ms) [296/432] AutofillAutocompleteTest.SubmitSimpleValue_Disabled_DoesNotSave (2125 ms) [297/432] PolicyControl/StartupBrowserCreatorInfobarsTest.CheckInfobarForBadFlag/2 (2382 ms) [298/432] ExtensionCrxInstallerTestWithExperimentalApis.PlatformAppCrx (2900 ms) [299/432] ExtensionsMenuViewBrowserTest.InvokeUi_NoExtensions (1594 ms) [300/432] SpellingMenuObserverTest.EnableSpellingService (1851 ms) [301/432] PPAPINaClGLibcTest.TCPSocket_SetOption (2380 ms) [302/432] NetworkRequestMetricsBrowserTest.CancelBeforeHeaders/1 (2369 ms) [303/432] ExtensionResourceRequestPolicyTest.Audio (2116 ms) [304/432] WebAppUiDelegateImplBrowserTest.GetNumWindowsForApp_AppWindowsRemoved (2644 ms) [305/432] V4SafeBrowsingServiceJsRequestNoInterstitialTest.MalwareBlocked/0 (1583 ms) [306/432] PrintPreviewAdvancedItemTest.DisplayInput (3692 ms) [307/432] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.PRE_UntrustedAdditionToPrefs/0 (1585 ms) [308/432] ServiceWorker/ExtensionContextMenuBrowserTest.Simple/0 (1846 ms) [309/432] ChromeServiceWorkerNavigationHintTest.NoServiceWorkerRegistration (1853 ms) [310/432] WithBlinkCors/ExtensionActiveTabTest.ActiveTab/0 (2368 ms) [311/432] MimeHandlerViewCrossProcessTest.EmbeddedDataUrlEmbed/1 (2108 ms) [312/432] NavigationPredictorBrowserTest.ClickAnchorElement (1854 ms) [313/432] SSLUICaptivePortalListTest.Enabled_FromProto/1 (2377 ms) [314/432] SSLUIDynamicInterstitialTest.MismatchHash (1863 ms) [315/432] WebAppUiDelegateImplBrowserTest.GetNumWindowsForApp_AppWindowsAdded (1851 ms) [316/432] ChromeSendPassthroughWebUITest.CanCallOriginal (2119 ms) [317/432] CommonNameMismatchBrowserTest.InterstitialReloadNavigationWhileLoading/1 (2120 ms) [318/432] MediaEngagementPrerenderBrowserTest.Ignored (1857 ms) [319/432] TtsApiTest.PlatformSpeakFinishesImmediately (2372 ms) [320/432] ExtensionMessageBubbleViewBrowserTest.TestBubbleWithMultipleWindows (2649 ms) [321/432] MimeHandlerViewBrowserPluginSpecificTest.MouseCaptureOnMouseDown (2386 ms) [322/432] CorsOriginAccessListBrowserTest.BlockDifferentPort (1851 ms) [323/432] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/2 (1846 ms) [324/432] ProxyBrowserTest.BasicAuthWSConnect (4214 ms) [325/432] CrExtensionsDetailViewTest.Warnings (2380 ms) [326/432] OnboardingA11y.OnboardingFlow_heading_order (2643 ms) [327/432] UnifiedAutoplayBrowserTest.OpenFromRendererNoGesture (1327 ms) [328/432] SettingsSiteSettingsPageBrowserTest.labels (3170 ms) [329/432] IsolateOriginsPolicyBrowserTest.Simple (1073 ms) [330/432] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/2 (1859 ms) [331/432] WebUIAccessibilityAuditBrowserTest_IssuesAreWarnings.testCanIgnoreSelectors (2115 ms) [332/432] UnifiedAutoplayBrowserTest.OpenFromRendererGesture (2119 ms) [333/432] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/2 (1853 ms) [334/432] DownloadsManagerTest.All (3428 ms) [335/432] InMemoryApp/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/0 (1861 ms) [336/432] PaymentRequestCvcUnmaskViewControllerTest.EnterAcceleratorConfirmsCvc (2896 ms) [337/432] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_DiskCache/2 (1844 ms) [338/432] CrManagementA11yTest.SimpleTest_meta_viewport (2638 ms) [339/432] FastShutdown.SpareRenderProcessHostDuringShutdown (1317 ms) [340/432] CrElementsIconButtonTest.All (2378 ms) [341/432] NetworkRequestMetricsBrowserTest.FileURLSuccess/3 (1607 ms) [342/432] SpeechRecognitionTest.SpeechFromBackgroundPage (2119 ms) [343/432] InMemoryApp/NetworkContextConfigurationFilePacBrowserTest.FilePac/0 (1851 ms) [344/432] ExtensionUnloadBrowserTest.TestUnload (2114 ms) [345/432] CrashRecoveryBrowserTest.Reload (2376 ms) [346/432] ExtensionContentSettingsApiTest.Standard (2379 ms) [347/432] TopFrameSameFrameDownloadBrowserTest.Download/0 (2113 ms) [348/432] ExtensionsMenuViewBrowserTest.TriggeringExtensionClosesMenu (1851 ms) [349/432] ChromeOriginTrialsDisabledTokensTest.PRE_DisabledTokensSetOnCommandLine/2 (1869 ms) [350/432] ContentAutofillDriverBrowserTest.GetElementFormAndFieldData (2146 ms) [351/432] CredentialManagerBrowserTest.StoreSavesPSLMatchedCredential (2377 ms) [352/432] CrSettingsCategoryDefaultSettingTest.All (3977 ms) [353/432] ModernShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.RulesAddedFromManifest/0 (1843 ms) [354/432] CrExtensionsPackDialogTest.PackError (2659 ms) [355/432] PPAPINaClGLibcTest.TCPSocket_Backlog (2371 ms) [356/432] MediaRouterEnabledPolicyTest.MediaRouterEnabled (1849 ms) [357/432] AdsPageLoadMetricsObserverBrowserTest.TwoRAFFramesTriggerCpuUpdates (2379 ms) [358/432] OnboardingA11y.OnboardingFlow_link_name (2651 ms) [359/432] LocalNTPCustomBackgroundsThemeTest.CustomBackgroundOverridesThemeAttribution (4211 ms) [360/432] LoadTimeDataTest.getStringPieces (1597 ms) [361/432] NetworkRequestMetricsBrowserTest.Download/3 (1318 ms) [362/432] CrManagementA11yTest.SimpleTest_area_alt (2642 ms) [363/432] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrument_GooglePayCardsEnabled (1847 ms) [364/432] CrSettingsSiteListTest.EditExceptionDialog (3953 ms) [365/432] SystemNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/2 (1586 ms) [366/432] WasmTrapHandlerBrowserTest.OutOfBounds (1846 ms) [367/432] ClientHintsBrowserTest.ClientHintsLifetimeNotAttachedJavaScriptBlocked/1 (1852 ms) [368/432] PasswordManagerInternalsWebUIBrowserTest.LogSavePasswordProgress_EmptyOnLoad (1582 ms) [369/432] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/0 (2111 ms) [370/432] PPAPINaClGLibcTest.TCPSocket_ConnectError (2637 ms) [371/432] BrowserCloseManagerBrowserTest.TestAddWindowWithBeforeUnloadDuringShutdown (2107 ms) [372/432] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/41 (1867 ms) [373/432] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.PRE_ChangedSplitPref/3 (2141 ms) [374/432] ExtensionIconSourceTest.InvalidURL (1848 ms) [375/432] ImageAnnotationBrowserTest.AnnotationError (1869 ms) [376/432] UnifiedAutoplaySettingBrowserTest.Allow_Wildcard (2109 ms) [377/432] BookmarkAppNavigationThrottleCommonBrowserTest.ImmediateOutOfScopeRedirect/0 (2372 ms) [378/432] BrowsingDataRemoverBrowserTest.HistoryDeletion (2114 ms) [379/432] Mock4JSWebUITest.CalledExpectPasses (1583 ms) [380/432] MDnsAPITest.RegisterListener (2385 ms) [381/432] AdClickNavigationBrowserTest.UseCounter/3 (1858 ms) [382/432] DataReductionProxyWithHoldbackBrowsertest.UpdateConfig/1 (2126 ms) [383/432] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/27 (2381 ms) [384/432] HostedAppOpaqueBrowserFrameViewTest.DarkThemeColor (1851 ms) [385/432] PendingBookmarkAppManagerBrowserTest.RequireManifestFailsIfNoManifest (1861 ms) [386/432] CrSettingsAppearanceFontsPageTest.All (4232 ms) [387/432] PushMessagingIncognitoBrowserTest.IncognitoGetSubscriptionDoesNotHang (2383 ms) [388/432] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomainMixedScript_Match/2 (2116 ms) [389/432] TabManagerTest.ProtectRecentlyUsedTabsFromUrgentDiscarding (1879 ms) [390/432] PPAPINaClGLibcTest.TCPSocket_ReadError (2389 ms) [391/432] OnDiskApp/NetworkContextConfigurationBrowserTest.PolicyViolatingReferrers/1 (1846 ms) [392/432] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/1 (1852 ms) [393/432] PrintPreviewPreviewGenerationTest.PagesPerSheet (3421 ms) [394/432] PrintPreviewPreviewAreaTest.StateChanges (3168 ms) [395/432] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromDeclarativeContentScript_NoSniffXml/0 (1866 ms) [396/432] PPAPIBrokerInfoBarTest.Blocked (2114 ms) [397/432] NetworkRequestMetricsBrowserTest.NetErrorDuringBody/1 (1845 ms) [398/432] IsolatedOriginWebViewTest.LoadIsolatedOriginInWebviewAfterLoadingInRegularTab (3176 ms) [399/432] AdTaggingEventFromSubframeBrowserTest.WindowOpenFromSubframe/1 (1853 ms) [400/432] CrManagementA11yTest.SimpleTest_layout_table (2642 ms) [401/432] BackgroundPage/ExtensionContextMenuBrowserTest.Patterns/0 (1859 ms) [402/432] SiteIsolationForPasswordSitesBrowserTest.IncognitoWithIsolatedSites (2904 ms) [403/432] PrintPreviewPolicyTest.EnableHeaderFooterByPref (3155 ms) [404/432] ImageWriterUtilityClientTest.WriteNoDevice (2116 ms) [405/432] PrintPreviewDestinationSettingsTest.SelectRecentDestination (2905 ms) [406/432] OnboardingA11y.OnboardingFlow_table_fake_caption (2921 ms) [407/432] AutoPictureInPictureWindowControllerBrowserTest.AutoPictureInPictureTriggeredWhenFullscreen (2900 ms) [408/432] PermissionDialogTest.InvokeUi_flash (1584 ms) [409/432] PaymentRequestJourneyLoggerNoSupportedPaymentMethodTest.OnlyBobpaySupported (1850 ms) [410/432] CrManagementA11yTestWithExtension.ExtensionSection_meta_viewport (2902 ms) [411/432] SupervisedUserNavigationThrottleNotSupervisedTest.DontBlock/0 (1848 ms) [412/432] ExternallyConnectableMessagingTest.WebConnectableWithTlsChannelIdWithNonMatchingSite (1854 ms) [413/432] NetworkingPrivateServiceClientApiTest.SetProperties (2119 ms) [414/432] ChromeUIOverridesBrowserTest.BookmarkShortcutOverrides (2377 ms) [415/432] BookmarkAppTest.EngagementHistogramAppWithoutScope (2384 ms) [416/432] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.UntrustedAdditionToPrefs/3 (1334 ms) [417/432] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.UntrustedAdditionToPrefsAfterWipe/2 (1601 ms) [418/432] BrowsingDataRemoverBrowserTest.MediaLicenseTimedDeletion (3439 ms) [419/432] RestartTest.PostWithPassword (1591 ms) [420/432] InMemoryApp/NetworkContextConfigurationBrowserTest.EnableReferrers/0 (1592 ms) [421/432] AppShimHostManagerBrowserTest.ReCreate (1871 ms) [422/432] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.SearchProtected/1 (1847 ms) [423/432] DeclarativeNetRequestBrowserTest_Packed.BrowserRestart/0 (2131 ms) [424/432] OnDiskApp/NetworkContextConfigurationBrowserTest.DiskCache/2 (1856 ms) [425/432] RestartTest.Post (1597 ms) [426/432] PrefHashBrowserTestUntrustedAdditionToPrefsInstance/PrefHashBrowserTestUntrustedAdditionToPrefs.UntrustedAdditionToPrefs/0 (1590 ms) [427/432] OnDiskApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/2 (1591 ms) [428/432] InMemoryApp/NetworkContextConfigurationBrowserTest.DiskCache/2 (1604 ms) [429/432] ChromeOriginTrialsDisabledTokensTest.DisabledTokensSetOnCommandLine/2 (1614 ms) [430/432] InMemoryApp/NetworkContextConfigurationBrowserTest.SSLConfig/2 (1855 ms) [431/432] InMemoryApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/2 (1852 ms) [432/432] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.ChangedSplitPref/3 (964 ms) Retrying 1 test (retry #0) [433/433] EncryptedMediaSupportedTypesWidevineTest.EncryptionScheme (1869 ms) SUCCESS: all tests passed. 450620b617c39d10: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=7 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/io33bds2/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 7/10 Using 4 parallel jobs. Randomizing with seed 55694 [1/500] PaymentRequestHasEnrolledInstrumentQueryCCTest.HasEnrolledInstrumentQueryQuota (1590 ms) [2/500] BrowserActionsBarRuntimeHostPermissionsBrowserTest.RuntimeHostPermissionsDecoration (1590 ms) [3/500] CrElementsViewManagerTest.EventFiringTest (2114 ms) [4/500] ProfileManagerBrowserTest.EphemeralProfile (2117 ms) [5/500] LazyBackgroundPageApiTest.NaClInView (1583 ms) [6/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/2 (1847 ms) [7/500] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomain_EngagedSite_NoMatch/1 (1322 ms) [8/500] LocalCardMigrationBrowserTest.ClickingCancelClosesDialog (2375 ms) [9/500] CtrlClickShouldEndUpInSameProcessTest.NoTarget (1580 ms) [10/500] LocalNTPCustomBackgroundsTest.BackgroundImageSetandReset (1848 ms) [11/500] LoadingPredictorBrowserTest.DnsPrefetch (1054 ms) [12/500] MediaRouterIntegrationIncognitoBrowserTest.Basic (2368 ms) [13/500] LookalikeUrlNavigationThrottleBrowserTest.NetError_TopDomain_Interstitial/0 (1331 ms) [14/500] ServiceWorkerPaymentAppFactoryBrowserTest.AllOringsSupported (1592 ms) [15/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationDataPacBrowserTest.DataPac/1 (1583 ms) [16/500] PPAPINaClGLibcTest.TCPSocketPrivate_SSLReadClosePipe (1846 ms) [17/500] MetricsServiceBrowserNoUploadTest.FilesRemoved (1053 ms) [18/500] SafeBrowsingNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/2 (1853 ms) [19/500] MediaStreamPermissionTest.TestDenyingUserMedia (1325 ms) [20/500] PPAPINaClGLibcTest.TCPServerSocketPrivate_ListenError (1847 ms) [21/500] DevToolsAllowedByCommandLineSwitch.SwitchOverridesPolicyOnChromeOS (1853 ms) [22/500] FindBarPlatformHelperMacTest.FindBarPopulatedWithPasteboardOnConstruction (932 ms) [23/500] IsolateOriginsPrintBrowserTest.OopifPrinting (1055 ms) [24/500] SystemNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/0 (1585 ms) [25/500] TtsApiTest.PlatformSpeakEnqueue (1329 ms) [26/500] ImageWriterUtilityClientTest.WriteNoImage (1323 ms) [27/500] DownloadProtectionServiceBrowserTest.MultipartRarInspection (1323 ms) [28/500] ExtensionSessionsTest.GetRecentlyClosedIncognito (1319 ms) [29/500] ChromeServiceWorkerTest.CanShutDownWithRegisteredServiceWorker (1073 ms) [30/500] NetworkRequestMetricsBrowserTest.InterruptedCancelDuringBody/3 (2107 ms) [31/500] PrintPreviewAdvancedDialogTest.AdvancedSettings2Options (2115 ms) [32/500] LookalikeUrlNavigationThrottleBrowserTest.NonTopDomainIdn_NoInterstitial/1 (807 ms) [33/500] TabManagerTest.ProactiveFastShutdownSharedTabProcess (1325 ms) [34/500] PaymentRequestPaymentResponseOneContactDetailTest.TestPaymentResponse (1604 ms) [35/500] CrManagementA11yTestWithExtension.ExtensionSection_label (2112 ms) [36/500] DistillablePageUtilsBrowserTestOGArticle.NonArticleCallsDelegateOnceWithIsNotDistillable (1060 ms) [37/500] BrowserActionsBarRuntimeHostPermissionsBrowserTest.ContextMenuPageAccess_RefreshRequired (1066 ms) [38/500] SignedExchangePolicyBrowserTest/SignedExchangePolicyBrowserTest.BlackList/0 (1577 ms) [39/500] WebRtcFromWebAccessibleResourceTest.GetUserMediaInWebAccessibleResourceSuccess (1848 ms) [40/500] PasswordManagerInternalsWebUIBrowserTest.LogSavePasswordProgress (1063 ms) [41/500] TabUnderBlockerBrowserTest.RedirectAfterGesture_IsNotBlocked (1066 ms) [42/500] TranslateManagerBrowserTest.PageTranslationIdenticalLanguagesError (1591 ms) [43/500] SocketApiTest.SocketTCPExtension (2642 ms) [44/500] TtsApiTest.PlatformSpeakOptionalArgs (1332 ms) [45/500] SystemNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/2 (1061 ms) [46/500] CertificateReportingServiceBrowserTest.DropOldReportsFromQueue/1 (12099 ms) [47/500] ChromeNetworkServiceRestartBrowserTest.StoragePartitionGetNetworkContext (1059 ms) [48/500] ImageFetcherImplBrowserTest.InvalidFetch (1324 ms) [49/500] CrSettingsLanguagesPageTest.Spellcheck (2369 ms) [50/500] OnDiskApp/NetworkContextConfigurationBrowserTest.SecureCookiesAllowedForChromeScheme/0 (1325 ms) [ RUN ] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToPlaintext [88477:6403:0524/214640.559630:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [88477:25603:0524/214641.202511:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/itvOckeo/.org.chromium.Chromium.g2dSxR/dhDgjt5/Default/shared_proto_db: Invalid argument: /b/s/w/itvOckeo/.org.chromium.Chromium.g2dSxR/dhDgjt5/Default/shared_proto_db: does not exist (create_if_missing is false) ../../chrome/browser/page_load_metrics/observers/data_saver_site_breakdown_metrics_observer_browsertest.cc:222: Failure Expected: (10u) <= (GetDataUsage(test_url.HostNoBrackets()) - data_usage_before_navigation), actual: 10 vs 0 Stack trace: 0 browser_tests 0x0000000107cc93bf StackTraceGetter::CurrentStackTrace(int, int) + 47 1 browser_tests 0x0000000107cd3a4b testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) + 91 2 browser_tests 0x0000000107cd3389 testing::internal::AssertHelper::operator=(testing::Message const&) const + 89 3 browser_tests 0x00000001068c5162 DataSaverSiteBreakdownMetricsObserverBrowserTest_NavigateToPlaintext_Test::RunTestOnMainThread() + 962 4 browser_tests 0x000000010b517597 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 487 5 browser_tests 0x000000010aff9c9b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4459 6 browser_tests 0x000000010aff8a6d ChromeBrowserMainParts::PreMainMessageLoopRun() + 45 7 browser_tests 0x0000000108d15ebf content::BrowserMainLoop::PreMainMessageLoopRun() + 47 8 browser_tests 0x00000001091ccfe7 content::StartupTaskRunner::RunAllTasksNow() + 39 9 browser_tests 0x0000000108d148c6 content::BrowserMainLoop::CreateStartupTasks() + 630 10 browser_tests 0x0000000108d17c42 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) + 82 11 browser_tests 0x0000000108d12e3a content::BrowserMain(content::MainFunctionParams const&) + 186 12 browser_tests 0x000000010aa193ba content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 842 13 browser_tests 0x000000010aa19041 content::ContentMainRunnerImpl::Run(bool) + 273 14 browser_tests 0x000000010e147e98 service_manager::Main(service_manager::MainParams const&) + 2280 15 browser_tests 0x000000010aa18314 content::ContentMain(content::ContentMainParams const&) + 68 16 browser_tests 0x000000010b5171ec content::BrowserTestBase::SetUp() + 2796 17 browser_tests 0x000000010af6a183 InProcessBrowserTest::SetUp() + 563 [88477:28675:0524/214641.587206:ERROR:browser_process_sub_thread.cc(221)] Waited 37 ms for network service [88477:775:0524/214641.604134:WARNING:pref_notifier_impl.cc(36)] Pref observer for browser.relaunch_notification_period found at shutdown. [88477:775:0524/214641.604321:WARNING:pref_notifier_impl.cc(36)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ FAILED ] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToPlaintext, where TypeParam = and GetParam() = (1197 ms) [51/500] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToPlaintext (1592 ms) [52/500] ClientHintsBrowserTest.PersistenceRequestIframe_SameOrigin/0 (1590 ms) [53/500] PrintPreviewLinkContainerTest.InvalidState (2119 ms) [54/500] FolderUploadConfirmationViewTest.AcceptRunsCallbackWithFileInfo (1070 ms) [55/500] ServiceWorkerTest.GetBackgroundClientFailsWithNoBackgroundPage (1585 ms) [56/500] WebViewSurfaceSynchronizationTest.AutoSizeHeight (1857 ms) [57/500] RelaunchRecommendedBubbleViewDialogTest.InvokeUi_default (933 ms) [58/500] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_TopDomain_Match/2 (1058 ms) [59/500] TtsApiTest.LangMatching (1589 ms) [60/500] PaymentRequestAbortTest.OpenThenAbort (1324 ms) [61/500] SavePageSitePerProcessBrowserTest.SaveAsCompleteHtml (1585 ms) [62/500] CrExtensionsNavigationHelperTest.PushAndReplaceState (2111 ms) [63/500] MediaRouterUIBrowserTest.OpenDialogFromAppMenu (1315 ms) [64/500] LoadingPredictorBrowserTest.PreconnectNonCors (1587 ms) [65/500] CrManagementA11yTest.SimpleTest_link_in_text_block (1857 ms) [66/500] MediaFileValidatorTest.InvalidImage (1321 ms) [67/500] SafeBrowsingNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/1 (1077 ms) [68/500] PlatformAppDevToolsBrowserTest.ReOpenedWithID (2374 ms) [69/500] AppControllerNewProfileManagementBrowserTest.AboutChromeForcesUserManager (1852 ms) [70/500] ProcessManagementTest.ExtensionProcessBalancing (1844 ms) [71/500] NetworkingPrivateServiceClientApiTest.StartDisconnect (1853 ms) [72/500] ExtensionViewLoadApiTest.LoadAPISameIdAndSrc (2373 ms) [73/500] PaymentRequestPaymentResponseAutofillPaymentInstrumentTest.TestPaymentResponse (1331 ms) [74/500] CrManagementA11yTest.SimpleTest_checkboxgroup (1592 ms) [75/500] ExtensionSessionsTest.GetDevicesListEmpty (1062 ms) [76/500] WebViewTestNoDomAutomationController.LoadWebviewInsideIframe (3161 ms) [77/500] ClientSideDetectionHostBrowserTest.VerifyIPAddressCollection (1339 ms) [78/500] ZoomControllerBrowserTest.PerTabModeResetSendsEvent (2113 ms) [79/500] PrintPreviewDestinationSettingsTest.SaveAsPdfRecent (2381 ms) [80/500] CredentialManagerBrowserTest.CredentialsAutofilled (2110 ms) [81/500] AdsPageLoadMetricsObserverBrowserTest.OriginStatusMetricSame (1587 ms) [82/500] AdClickNavigationBrowserTest.UseCounter/2 (1327 ms) [83/500] SystemNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/2 (1326 ms) [84/500] SupervisedUserTest.BlockNewTabAfterLoading/1 (1331 ms) [85/500] TLSLegacyVersionSSLUITest.WarningTLS11 (1588 ms) [86/500] BackgroundFetchBrowserTest.AbortFromUI (1334 ms) [87/500] JavaScriptDialogTest.DismissalCausePromptCancelButton (1328 ms) [88/500] ModernShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.PageActionInManifest/0 (1587 ms) [89/500] ProfileChooserViewExtensionsParamTest.InvokeUi_ManageAccountLink/0 (1332 ms) [90/500] NetworkRequestMetricsBrowserTest.InterruptedBeforeHeaders/2 (1594 ms) [91/500] ShareMenuControllerTest.MenuHasKeyEquivalent (1590 ms) [92/500] CrElementsToolbarSearchFieldTest.All (1852 ms) [93/500] PaymentRequestPaymentMethodIdentifierTest.Url_Valid (1322 ms) [94/500] ChromeSecurityExploitBrowserTest.CreateBlobInOtherChromeUIOrigin (1329 ms) [95/500] LookalikeUrlInterstitialPageBrowserTest.RefreshDoesntDismiss (1583 ms) [96/500] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_EngagedDomain_Match/2 (938 ms) [97/500] ExtensionsActivityLogTest.TestActivityLogVisible (1838 ms) [98/500] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/5 (1582 ms) [99/500] PDFTestFiles/PDFExtensionLoadTest.Load/1 (3431 ms) [100/500] MimeHandlerViewCrossProcessTest.TargetBlankAnchor/0 (1592 ms) [101/500] ReportingBrowserTest.CrashReport (1324 ms) [102/500] CrManagementA11yTest.SimpleTest_audio_caption (1859 ms) [103/500] ComponentUpdaterPolicyTest.EnabledComponentUpdates (1055 ms) [104/500] TtsApiTest.RegisterEngine (1584 ms) [105/500] IncognitoApiTest.IncognitoNoScript (1321 ms) [106/500] SafeBrowsingTriggeredPopupBlockerBrowserTest.NoList_AllowCreatingNewWindows (1062 ms) [107/500] NetworkingPrivateServiceClientApiTest.OnNetworkListChangedEvent (1329 ms) [108/500] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.Simple/2 (1331 ms) [109/500] ProxySettingsApiTest.ProxyAutoSettings (1334 ms) [110/500] IntentPickerBubbleViewBrowserTest.NavigationToOutofScopeLinkDoesNotShowIntentPicker/3 (1330 ms) [111/500] DeclarativeNetRequestAPItest.PageAllowingAPI (1330 ms) [112/500] EnterpriseStartupDialogViewBrowserTest.InvokeUi_Error (1068 ms) [113/500] OnDiskApp/NetworkContextConfigurationBrowserTest.CookieIsolation/0 (1327 ms) [114/500] DevToolsTagTest.DevToolsTaskIsProvided (1599 ms) [115/500] Incognito/ExtensionWebRequestApiAuthRequiredTest.WebRequestAuthRequiredAsync/0 (7105 ms) [116/500] NetworkRequestMetricsBrowserTest.NetErrorBeforeHeaders/2 (933 ms) [117/500] InMemoryApp/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/0 (1078 ms) [118/500] FirstRunMasterPrefsImportDefault.ImportDefault (1317 ms) [119/500] MimeHandlerViewCrossProcessTest.Abort/1 (930 ms) [120/500] ExtensionInstalledBubbleBrowserTest.DoNotShowHowToUseForSynthesizedActions (1085 ms) [121/500] ServiceWorker/ExtensionContextMenuBrowserTest.TargetURLs/0 (1322 ms) [122/500] AdTaggingBrowserTest.VerifySameOriginWithCrossOriginRenavigate (1327 ms) [123/500] AutofillServerTest.AlwaysQueryForPasswordFields (925 ms) [124/500] ExtensionOverrideTest.OverrideNewTabMultiple (3683 ms) [125/500] ExtensionResourceRequestPolicyTest.IframeNavigateToInaccessible (1583 ms) [126/500] WebViewSpeechAPITest.SpeechRecognitionAPI_HasPermissionDeny (2104 ms) [127/500] ClientHintsBrowserTest.UserAgentVersion/0 (1323 ms) [128/500] ProfileBrowserTest.ExitType (1591 ms) [129/500] DevToolsAutoOpenerTest.TestAutoOpenForTabs (3688 ms) [130/500] DiceBrowsingDataRemoverBrowserTest.NoSync (1320 ms) [131/500] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/13 (1854 ms) [132/500] BackgroundPage/ExtensionContextMenuBrowserTest.Frames/0 (1320 ms) [133/500] WebRtcDisableEncryptionFlagBrowserTest.VerifyEncryption (2905 ms) [134/500] ServiceWorkerTest.FetchArbitraryPaths (1582 ms) [135/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/11 (1316 ms) [136/500] PrintPreviewPreviewGenerationTest.Layout (2118 ms) [137/500] ChromeMojoProxyResolverFactoryBrowserTest.ServiceLifecycle (4215 ms) [138/500] AutofillPrivateApiTest.GetAddressComponents (1325 ms) [139/500] TopFrameSameFrameDownloadBrowserTest.Download/11 (1588 ms) [140/500] ProfileManagerBrowserTest.DeleteCurrentProfile (1857 ms) [141/500] InstanceIDApiTest.GetID (1319 ms) [142/500] IdentityInternalsSingleTokenWebUITest.getAllTokens (1324 ms) [143/500] ProfileMainNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/0 (1335 ms) [144/500] PaymentRequestNoUpdateWithTest.BuyWithoutPromises (2108 ms) [145/500] ExternallyConnectableMessagingTestNoChannelID.TlsChannelIdEmptyWhenDisabled (1327 ms) [146/500] AdsPageLoadMetricsObserverBrowserTest.OriginStatusMetricEmbeddedEmpty (1325 ms) [147/500] ProfileMainNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/2 (1847 ms) [148/500] WebAppAudioFocusBrowserTest.BookmarkAppHasSameAudioFocus (1321 ms) [149/500] SSLUITestBlock.TestBlockRunningInsecureContent/0 (1580 ms) [150/500] WebstoreReinstallerBrowserTest.TestWebstoreReinstall (2112 ms) [151/500] TranslateManagerBrowserTest.HrefTranslateSuccess (1580 ms) [152/500] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/25 (1317 ms) [153/500] JSToGtestBrowserTest.TestFeatureEnabling (930 ms) [154/500] ZoomControllerBrowserTest.NavigationResetsManualMode (2107 ms) [155/500] IntentPickerBubbleViewBrowserTest.IframeNavigationDoesNotAffectIntentPicker/3 (3688 ms) [156/500] DurableStorageBrowserTest.BookmarkThenUnbookmark (1082 ms) [157/500] SupervisedUserServiceTestSupervised.ProfileName (1328 ms) [158/500] PDFExtensionLinkClickTest.ShiftMiddle (2106 ms) [159/500] AutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedUnownedAddressCheckout (1058 ms) [160/500] StartupBrowserCreatorTest.ReadingWasRestartedAfterRestart (1060 ms) [161/500] CrSettingsDefaultBrowserTest.All (2917 ms) [162/500] BrowserTestWithExtensionsDisabled.DisableExtensionsAndSettingsWhenIncognitoIsDisabled (1325 ms) [163/500] ErrorCases/PaymentHandlerChangePaymentMethodTest.Test/0 (1589 ms) [164/500] WebViewSurfaceSynchronizationTest.AutoSize (1847 ms) [165/500] FeedbackTest.ShowLoginFeedback (1586 ms) [166/500] ErrorCases/PaymentHandlerChangePaymentMethodTest.Test/3 (1323 ms) [167/500] CorsOriginAccessListBrowserTest.AllowExactHost (1061 ms) [168/500] CrSettingsChooserExceptionListEntryTest.All (2634 ms) [169/500] OnboardingA11y.OnboardingFlow_audio_caption (1850 ms) [170/500] ProxySettingsApiTest.ProxyFixedSingle (1328 ms) [171/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/26 (1581 ms) [172/500] ShareMenuControllerTest.Histograms (1321 ms) [173/500] HistoryManipulationInterventionBrowserTest.AllEntriesNotSkippableBackButtonEnabled (1061 ms) [174/500] AppWindowBrowserTest.FrameInsetsForNoFrame (1324 ms) [175/500] BluetoothApiTest.OnAdapterStateChanged (1054 ms) [176/500] SessionRestoreObserverTest.SingleTabSessionRestore (3684 ms) [177/500] ExtensionPreferenceApiTest.OnChangeSplitWithoutIncognitoAccess (1586 ms) [178/500] DataReductionProxyBrowsertest.ChromeProxyHeaderSetForSubresource (1054 ms) [179/500] ChromeRenderProcessHostTest.ProcessPerTab (1582 ms) [180/500] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.VideoCaptureAllowedUrls/1 (1315 ms) [181/500] DevToolsReattachAfterCrashTest.TestReattachAfterCrashOnTimeline (3687 ms) [182/500] FirstRunMasterPrefsWithTrackedPreferencesInstance/FirstRunMasterPrefsWithTrackedPreferences.TrackedPreferencesSurviveFirstRun/1 (933 ms) [183/500] PPAPINaClGLibcTest.TCPSocket_ConnectHangs (1589 ms) [184/500] MetricsReportingStateTests/MetricsReportingStateTest.ChangeMetricsReportingState/0 (1324 ms) [185/500] MultiActionAPITest.TitleLocalization/2 (1057 ms) [186/500] CredentialManagerBrowserTest.StoreExistingCredentialIsNoOp (1329 ms) [187/500] MediaRouterIntegrationOneUABrowserTest.Basic (2655 ms) [188/500] SSLCertificateViewerMacTest.HideShow (1847 ms) [189/500] CrElementsViewManagerTest.VisibilityTest (1584 ms) [190/500] ExpectCTBrowserTest.TestDynamicExpectCTReporting (1329 ms) [191/500] ChromePasswordProtectionServiceBrowserTest.EnterprisePhishingReuseMode (1607 ms) [192/500] LaunchWebAuthFlowFunctionTest.LoadFailed (1866 ms) [193/500] ExtensionWebUITest.CanEmbedExtensionOptions (1856 ms) [194/500] NoBestEffortTasksTest.LoadExtensionAndSendMessages (1849 ms) [195/500] AppControllerWebAppBrowserTest.WebAppReopenWithNoWindows (1323 ms) [196/500] ExtensionOptionsApiTest.CannotEmbedUsingInvalidExtensionIds (2372 ms) [197/500] MimeHandlerViewCrossProcessTest.BeforeUnload_ShowDialog/0 (1583 ms) [198/500] ProfileChooserViewExtensionsParamTest.InvokeUi_default/1 (933 ms) [199/500] PrintPreviewAdvancedItemTest.UpdateSelect (2112 ms) [200/500] FeedbackTest.GetTargetTabUrl (3947 ms) [201/500] ContentVerifierTest.ContentScriptsInLocales (1589 ms) [202/500] ChromePasswordProtectionServiceBrowserTest.ChromeEnterprisePasswordAlertMode (1847 ms) [203/500] CrManagementA11yTestWithExtension.ExtensionSection_meta_refresh (2112 ms) [204/500] PrintPreviewMediaSizeSettingsTest.All (2370 ms) [205/500] CrManagementA11yTestWithExtension.ExtensionSection_marquee (2106 ms) [206/500] PaymentRequestContactInfoEditorTest.Validation (1846 ms) [207/500] TtsApiTest.PlatformWordCallbacks (1322 ms) [208/500] CrSettingsPrefsTest.All (2367 ms) [209/500] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.PRE_UnchangedDefault/2 (925 ms) [210/500] ExtensionsMenuViewBrowserTest.TriggerPopup (934 ms) [211/500] ProfileManagerBrowserTest.DeleteAllProfiles (2371 ms) [212/500] CrManagementA11yTestWithExtension.ExtensionSection_dlitem (1853 ms) [213/500] SupervisedUserBlockModeTest.Unblock/1 (1062 ms) [214/500] ServiceProcessControlBrowserTest.LaunchAndIPC (2110 ms) [215/500] PrintPreviewPrintButtonTest.PDFPrintVisiblePreview (2632 ms) [216/500] IsolatedOriginNTPBrowserTest.IsolatedOriginDoesNotInterfereWithNTP (1325 ms) [217/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.FileURL/0 (1318 ms) [218/500] SupervisedUserTest.BlockThenUnblock/0 (1321 ms) [219/500] PdfToPwgRasterBrowserTest.TestSuccessLongDuplex (1582 ms) [220/500] SystemNetworkContextManagerBrowsertest.StubResolverDefaultConfig (933 ms) [221/500] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.VideoCaptureAllowed/1 (1064 ms) [222/500] EncryptedMediaSupportedTypesClearKeyTest.Basic (2376 ms) [223/500] LookalikeUrlNavigationThrottleBrowserTest.Idn_TopDomain_EngagedSite_NoMatch/2 (1317 ms) [224/500] AutofillCounterTest.TimeRanges (1588 ms) [225/500] WebUIAccessibilityAuditBrowserTest_IssuesAreWarnings_ShouldFail.testWithAuditFailuresAndIssuesAreErrors (1588 ms) [226/500] ProcessManagementTest.ProcessOverflow (3424 ms) [227/500] CrElementsSearchFieldTest.All (1867 ms) [228/500] SystemNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/0 (1327 ms) [229/500] TopFrameSameFrameDownloadBrowserTest.Download/15 (1597 ms) [230/500] CrSettingsZoomLevelsTest.All (2124 ms) [231/500] ExtensionViewLoadApiTest.QueuedLoadAPIFunction (2390 ms) [232/500] TabModalConfirmDialogTest.Close (1081 ms) [233/500] BrowserActionsContainerBrowserTest.CannotResize_BelowMinimumWidth (1058 ms) [234/500] PrintPreviewHeaderTest.EnterprisePolicy (2126 ms) [235/500] PaymentRequestJourneyLoggerSelectedPaymentInstrumentTest.TestSelectedPaymentMethod (1583 ms) [236/500] PageActionApiTest.Getters (1320 ms) [237/500] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareMainFrame/2 (1320 ms) [238/500] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_TopDomain_Match/0 (1073 ms) [239/500] OmniboxApiTest.OnInputEntered (1846 ms) [240/500] CrExtensionsDetailViewTest.ClickableElements (2109 ms) [241/500] OnboardingWelcomeSetAsDefaultTest.All (1587 ms) [242/500] ServiceWorkerPaymentAppFactoryBrowserTest.BasicCard (1330 ms) [243/500] NaClBrowserTestStatic.CrossOriginCors (1319 ms) [244/500] NavigationPredictorBrowserTest.ActionPrefetch_NoSameHostAnchorElement (1055 ms) [245/500] PPAPINaClGLibcTest.TCPSocket_ListenClosePipe (1584 ms) [246/500] DataReductionProxyBrowsertest.ChromeProxyHeaderSetForSubresourceSync (933 ms) [247/500] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/7 (1319 ms) [248/500] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/0 (1324 ms) [249/500] PendingBookmarkAppManagerBrowserTest.AlwaysUpdate (1323 ms) [250/500] DistillablePageUtilsBrowserTestAdaboost.NonArticleCallsDelegateTwiceWithIsNotDistillable (1066 ms) [251/500] FeatureEnabled/WebrtcLoggingPrivateApiStartEventLoggingTestFeatureOrPolicyDisabled.StartEventLoggingFails/1 (929 ms) [252/500] ServiceWorker/ExtensionContextMenuBrowserTest.IncognitoSplitContextMenuCount/0 (929 ms) [253/500] LocalNTPTest.EmbeddedSearchAPIAfterDownload (1596 ms) [254/500] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInCrossOriginGetRequest/0 (1324 ms) [255/500] PasswordsCounterTest.Blacklisted (928 ms) [256/500] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareIFrame/1 (1062 ms) [257/500] LookalikeUrlInterstitialPageBrowserTest.UkmRecordedAfterSuggestionAccepted (1320 ms) [258/500] UsbInternalsTest.WebUICorrectValueRenderTest (1326 ms) [259/500] ProcessManagementTest.NavigateExtensionTabToWebViaPost (1325 ms) [260/500] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrument_InIncognitoMode (1062 ms) [261/500] WithOutOfBlinkCorsAndNetworkService/BackgroundXhrWebstoreTest.XHRAnyPortPermission/0 (1070 ms) [262/500] LazyBackgroundPageApiTest.EventDispatchToTab (1319 ms) [263/500] SerialApiTest.SerialFakeHardware (1316 ms) [264/500] ExtensionPageCaptureApiTest.SaveAsMHTMLWithActiveTabWithFileAccess (1320 ms) [265/500] DomainReliabilityDisabledBrowserTest.ServiceNotCreated (1055 ms) [266/500] BrowserSwitcherServiceTest.ExternalIgnoresNonManagedPref (11046 ms) [267/500] NavigationConsumingTest.NavigationConsumesUserGesture_Fullscreen (1856 ms) [268/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/33 (1320 ms) [269/500] AuthenticatorDialogTest.InvokeUi_set_pin (1321 ms) [270/500] WebViewScrollBubbling/WebViewGuestScrollTest.TestGuestWheelScrollsBubble/1 (2119 ms) [271/500] ExtensionContextMenuApiTest.ShowOneTopLevelItem (1320 ms) [272/500] EventsApiTest.NewlyIntroducedListener (2911 ms) [273/500] PaymentRequestUpdateWithTest.UpdateWithDisplayItems (1844 ms) [274/500] AdTaggingEventFromSubframeBrowserTest.WindowOpenFromSubframe/0 (1064 ms) [275/500] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInCrossOriginGetRequest/0 (1587 ms) [276/500] LoadImageBrowserTest.LoadImageWithMap (1589 ms) [277/500] SupervisedUserNavigationThrottleTest.DontBlockSubFrame/0 (1316 ms) [278/500] PrintPreviewDestinationSettingsTest.UpdateRecentDestinations (2371 ms) [279/500] LocalNTPTest.DontShowAddCustomLinkButtonWhenMaxLinks (1592 ms) [280/500] CastMirroringServiceHostBrowserTest.TabIndicator (1325 ms) [281/500] PrintPreviewDestinationSettingsTest.SelectGoogleDrive (2112 ms) [282/500] BrowserCommandControllerBrowserTest.DisableFind (1058 ms) [283/500] AppManagementArcPermissionViewTest.All (1848 ms) [284/500] MimeHandlerViewBrowserPluginSpecificTest.AcceptTouchEvents (1329 ms) [285/500] ExtensionPreferenceApiTest.DataReductionProxy (3427 ms) [286/500] ChromeMimeHandlerViewBrowserPluginTest.NoFindInPageForUnattachedGuest (1329 ms) [287/500] HistoryDrawerTest.All (1589 ms) [288/500] ProfileBrowserTest.CreateNewProfileSynchronous (1060 ms) [289/500] V4SafeBrowsingServiceJsRequestInterstitialTest.MalwareBlocked/1 (1321 ms) [290/500] ServiceWorkerMessagingTest.TabToWorkerOneWay (1578 ms) [291/500] UnifiedAutoplayBrowserTest.OpenCrossOriginFromMenu (1054 ms) [292/500] ChromeSpeechRecognitionTest.BasicTearDown (1323 ms) [293/500] OnboardingA11y.OnboardingFlow_listitem (1587 ms) [294/500] ExtensionURLRewriteBrowserTest.BookmarksURLOverride (1578 ms) [295/500] StartupBrowserCreatorTest.OpenURLsPopup (1060 ms) [296/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/21 (1319 ms) [297/500] PaymentRequestDebitTest.UnknownCardTypeIsNotPreselected (1324 ms) [298/500] MimeHandlerViewCrossProcessTest.PostMessage/0 (1313 ms) [299/500] WebViewNewWindowTest.Shim_TestNewWindowTwoListeners (1585 ms) [300/500] BookmarksItemTest.All (1846 ms) [301/500] ServiceWorkerAppTest.RegisterAndPostMessage (1327 ms) [302/500] SerialApiTest.SerialRealHardwareFail (1334 ms) [303/500] SafeBrowsingBlockingPageIDNTestWithThreatType/SafeBrowsingBlockingPageIDNTest.SafeBrowsingBlockingPageDecodesIDN/4 (1325 ms) [304/500] PrintPreviewModelTest.SetStickySettings (1850 ms) [305/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/2 (2369 ms) [306/500] CastChannelAPITest.TestPingTimeout (1058 ms) [307/500] ChromeServiceWorkerNavigationHintTest.NoActiveServiceWorkerVersion (924 ms) [308/500] PrintPreviewRestoreStateTest.SaveValues (2117 ms) [309/500] ProfileMainNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/1 (936 ms) [310/500] CrManagementA11yTest.SimpleTest_table_fake_caption (1319 ms) [311/500] CrSettingsSiteDetailsPermissionTest.All (1848 ms) [312/500] ExtensionApiNewTabTest.Tabs (9226 ms) [313/500] MachineLevelUserCloudPolicyPolicyFetchTest.Test/1 (2118 ms) [314/500] ExtensionFunctionalTest.FindingUnrelatedExtensionFramesFromAboutBlank (1331 ms) [315/500] UnifiedAutoplayBrowserTest.BypassUsingAutoplayFlag_SameDocument (1331 ms) [316/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/3 (1585 ms) [317/500] DnsProbeSuccessfulProbesTest.OtherErrorWithCorrectionsSuccess (1065 ms) [318/500] IntentPickerBubbleViewBrowserTest.NavigationToOutofScopeLinkDoesNotShowIntentPicker/2 (1328 ms) [319/500] BackgroundFetchBrowserTest.FetchCanBePausedAndResumed (26020 ms) [320/500] MessagingApiTest.MessagingEventURL (1348 ms) [321/500] ChromePasswordProtectionServiceBrowserTest.VerifyCheckGaiaPasswordChange (1586 ms) [322/500] DevToolsBeforeUnloadTest.TestUndockedDevToolsInspectedBrowserClose (2642 ms) [323/500] DefaultProfileExtensionBrowserTest.NoExtensionHosts (934 ms) [324/500] ChromePasswordProtectionServiceBrowserTest.OpenChromeSettingsViaPageInfo (1594 ms) [325/500] CastV2PerformanceTest.Performance/8 (6588 ms) [326/500] PaymentRequestPaymentResponseAllContactDetailsTest.TestPaymentResponse (1585 ms) [327/500] CrExtensionsPackDialogTest.Interaction (1850 ms) [328/500] SupervisedUserBlockModeTest.NavigateFromBlockedPageToBlockedPage/1 (1323 ms) [329/500] SitePerProcess/TaskManagerOOPIFBrowserTest.OrderingOfDependentRows/0 (2379 ms) [330/500] NtpExtensionBubbleViewBrowserTest.TestControlledNewTabPageMessageBubbleLearnMore (2117 ms) [331/500] ViewExtensionSourceTest.ViewSourceTabRestore (1588 ms) [332/500] DefaultIsolation/TaskManagerOOPIFBrowserTest.LeavePageWithCrossSiteIframes/0 (3684 ms) [333/500] ServiceWorker/ExtensionContextMenuBrowserTest.Patterns/0 (1329 ms) [334/500] ServiceWorkerLazyBackgroundTest.ConsoleLogging (1343 ms) [335/500] BackgroundFetchBrowserTest.FetchFromServiceWorkerWithAsk (1336 ms) [336/500] BrowserCloseManagerBrowserTest.TestAddTabDuringShutdown (1850 ms) [337/500] LazyBackgroundPageApiTest.WaitForRequest (1584 ms) [338/500] MediaGalleriesPlatformAppPpapiTest.SendFilesystem (1843 ms) [339/500] ExtensionDisabledGlobalErrorTest.Uninstall (2638 ms) [340/500] ClientHintsBrowserTest.DisregardPersistenceRequestSubresource/0 (1327 ms) [341/500] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaVideo/0 (1589 ms) [342/500] SSLUITestIgnoreLocalhostCertErrors.TestNoInterstitialOnLocalhost/0 (1061 ms) [343/500] AppShimMenuControllerBrowserTest.ClosingBackgroundWindowLeavesMenuBar (2383 ms) [344/500] TabManagerTest.ProtectVideoTabs (1330 ms) [345/500] AppModeTest.EnableAppModeTest (1582 ms) [346/500] SupervisedUserTest.GoBackOnDontProceed/1 (1320 ms) [347/500] ExtensionBindingsApiTest.UnavailableBindingsNeverRegistered (1330 ms) [348/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/0 (1581 ms) [349/500] LookalikeUrlNavigationThrottleBrowserTest.TopDomainChromeUrl_NoMatch/2 (1581 ms) [350/500] CustomTabBarViewBrowserTest.IsNotCreatedInPopup (1592 ms) [351/500] HistoryRoutingWithQueryParamTest.All (1847 ms) [352/500] JavaScriptDialogTest.ClosingPageSharingRendererDoesntHang (923 ms) [353/500] InMemoryApp/NetworkContextConfigurationDataPacBrowserTest.DataPac/0 (930 ms) [354/500] FtpBrowserTest.DirectoryListingNavigation (2104 ms) [355/500] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingWithTooLargeOutputPeriodMsFails (1069 ms) [356/500] AndroidUsbDiscoveryTest.TestDeviceDiscovery (1578 ms) [357/500] CommonNameMismatchBrowserTest.NoCrashIfBothSubdomainsHaveCommonNameErrors/0 (1319 ms) [358/500] SSLNetworkTimeBrowserTest.OnDemandFetchClockOk/0 (1322 ms) [359/500] SSLNetworkTimeBrowserTest.ReloadBeforeTimeoutExpires/0 (1323 ms) [360/500] DnsProbeUnreachableProbesTest.CorrectionsLoadStopped (1316 ms) [361/500] CustomTabBarViewBrowserTest.InterstitialCanHideOrigin (2108 ms) [362/500] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingForAlreadyLoggedPeerConnectionFails (1063 ms) [363/500] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.PRE_SearchProtected/3 (1073 ms) [364/500] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_EmptyAndBlocked/0 (1853 ms) [365/500] OnDiskApp/NetworkContextConfigurationBrowserTest.ProxyConfig/1 (1327 ms) [366/500] ContentSettingImageModelBrowserTest.ShouldRunAnimation (1323 ms) [367/500] AuthenticatorDialogTest.InvokeUi_ble_verifying (1325 ms) [368/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/25 (1326 ms) [369/500] MessagingApiTest.MessagingUserGesture (1590 ms) [370/500] ServiceWorker/ExtensionContextMenuBrowserTest.Enabled/0 (1319 ms) [371/500] ExtensionTabsZoomTest.GetZoomSettings (1324 ms) [372/500] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/5 (1857 ms) [373/500] BrowserCloseManagerBrowserTest.TestMultipleWindows (2115 ms) [374/500] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/29 (1321 ms) [375/500] AutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedCreditCardForm (1317 ms) [376/500] NTPTilesTest.LoadURL (1060 ms) [377/500] PrintPreviewAdvancedItemTest.QueryName (2372 ms) [378/500] DefaultIsolation/TaskManagerOOPIFBrowserTest.NavigateToSubframeProcess/0 (3155 ms) [379/500] LogNetLogTest.Basic/1 (1063 ms) [380/500] ExternalInstallErrorTest.TestShutdown (1328 ms) [381/500] ServiceWorkerMessagingTest.TabToWorker (1328 ms) [382/500] SyncedPrefChangeRegistrarTest.DifferentiateRemoteAndLocalChanges (1071 ms) [383/500] ClientHintsBrowserTest.ClientHintsLifetimeAttachedCookiesBlocked/0 (1321 ms) [384/500] TranslateManagerBrowserTest.HrefTranslateOverridesManualTranslate (1586 ms) [385/500] UserManagerBrowserTest.UserManagerTest (3158 ms) [386/500] FlagOffExtensionActionRunnerBrowserTest.ScriptsExecuteWhenFlagAbsent_ExecuteScripts (1068 ms) [387/500] V4SafeBrowsingServiceTest.MainFrameHitWithReferrer (1080 ms) [388/500] ExtensionInstallUIBrowserTest.TestThemeInstallUndoResetsToPreviousTheme (3160 ms) [389/500] IdentityInternalsWebUITestAsync.revokeToken (1589 ms) [390/500] WebRtcGetMediaDevicesBrowserTest.EnumerateDevicesWithAccess/1 (1588 ms) [391/500] LocalNTPTest.EmbeddedSearchAPIEndToEnd (1598 ms) [392/500] PaymentRequestContactInfoEditorTest.HappyPathInIncognito (2123 ms) [393/500] TopFrameSameFrameDownloadBrowserTest.Download/19 (1324 ms) [394/500] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareIFrame/2 (1328 ms) [395/500] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/11 (1321 ms) [396/500] AutoPictureInPictureWindowControllerBrowserTest.AutoEnterPictureInPictureIsNotTriggeredInRegularWebApp (1317 ms) [397/500] ErrorPageOfflineTestWithAllowDinosaurTrue.CheckEasterEggHighScoreSaved (1055 ms) [398/500] PDFTestFiles/PDFExtensionLoadTest.Load/0 (3432 ms) [399/500] CrSettingsSiteListEntryTest.All (2905 ms) [400/500] ChromeContentBrowserClientPopupsTest.AllowPopupsDuringPageUnload (934 ms) [401/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/2 (1605 ms) [402/500] SSLUICaptivePortalListResourceBundleTest.Enabled/0 (1324 ms) [403/500] BrowsingDataCounterUtilsBrowserTest.ShouldShowCookieException/1 (1321 ms) [404/500] ExtensionResourceRequestPolicyTest.OriginPrivileges (1582 ms) [405/500] ExtensionCrxInstallerTestWithExperimentalApis.DoNotGrantScopes (1583 ms) [406/500] BitmapFetcherBrowserTest.OnImageDecodedTest (956 ms) [407/500] PaymentRequestInitiatedCompletionStatusMetricsTest.Aborted_NotShown (1321 ms) [408/500] AppShimMenuControllerBrowserTest.PlatformAppFocusUpdatesMenuBar (3421 ms) [409/500] CrExtensionsSidebarTest.SetSelected (1844 ms) [410/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/20 (1320 ms) [411/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/0 (1323 ms) [412/500] DevToolsBeforeUnloadTest.TestDockedDevToolsClose (2915 ms) [413/500] WebViewSizeTest.Shim_TestResizeWebviewWithDisplayNoneResizesContent (1842 ms) [414/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CacheIsolation/1 (1324 ms) [415/500] SpellCheckMacViewBrowserTest.SpellCheckPanelVisible (1055 ms) [416/500] PrintPreviewHeaderNewTest.EnterprisePolicy (2120 ms) [417/500] IncognitoProfileMainNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/1 (1583 ms) [418/500] DataReductionProxyBrowsertest.NestedWebWorker (1320 ms) [419/500] WebRtcUdpPortRangeEnabledPolicyTest.WebRtcUdpPortRangeEnabled (1076 ms) [420/500] SitePerProcessMemoryThresholdBrowserTest.SitePerProcessDisabled_HighThreshold (1059 ms) [421/500] WebViewSizeTest.Shim_TestAutosizeHeight (1851 ms) [422/500] PrintPreviewCustomMarginsTest.RestoreStickyMarginsAfterDefault (2641 ms) [423/500] PolicyUpdateServiceTest.PRE_PolicyCorruptedOnStartup (1585 ms) [424/500] WebViewSizeTest.Shim_TestAutosizeBeforeNavigation (1585 ms) [425/500] WebDialogBrowserTest.CloseParentWindow (1597 ms) [426/500] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.PRE_RunTest/1 (1594 ms) [427/500] PasswordReuseModalWarningTest.CloseDialogWhenWebContentsDestroyed (1854 ms) [428/500] DevToolsNetInfoTest.EmulateNetworkConditions (2909 ms) [429/500] SessionCrashedBubbleViewTest.InvokeUi_SessionCrashedBubbleOfferUma (1326 ms) [430/500] SitePerProcessAutofillMetricsBrowserTest.CorrectSourceForUnownedCreditCardCheckout (1325 ms) [431/500] ClientHintsBrowserTest.ClientHintsLifetimeCookiesNotAllowed/1 (1066 ms) [432/500] ExtensionWebstoreGetWebGLStatusTest.Allowed (1321 ms) [433/500] SupervisedUserNavigationThrottleTest.BlockMainFrameWithInterstitial/0 (1858 ms) [434/500] FramebustBlockBrowserTest.FramebustAllowedByGlobalSetting (1848 ms) [435/500] DeveloperPrivateApiTest.InspectAppWindowView (2115 ms) [436/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/36 (1326 ms) [437/500] InMemoryApp/NetworkContextConfigurationBrowserTest.UploadFile/0 (1054 ms) [438/500] SupervisedUserBlockModeTest.SendAccessRequestOnBlockedURL/0 (1316 ms) [439/500] UkmConsentParamBrowserTests/UkmConsentParamBrowserTest.GroupPolicyConsentCheck/0 (1577 ms) [440/500] NetworkRequestMetricsBrowserTest.NetErrorBeforeHeaders/3 (1059 ms) [441/500] SupervisedUserBrowserCreatorTest.StartupSupervisedUserProfile (1582 ms) [442/500] ServiceWorkerTest.MimeHandlerView (1850 ms) [443/500] ProxySettingsApiTest.SettingsChangeOnDisableEnable (1581 ms) [444/500] OnboardingA11y.OnboardingFlow_layout_table (2110 ms) [445/500] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/10 (1321 ms) [446/500] SSLUITestIgnoreCertErrorsBySPKIHTTPS.TestHTTPS/1 (1321 ms) [447/500] PDFTestFiles/PDFExtensionLoadTest.Load/3 (2109 ms) [448/500] CrManagementA11yTest.SimpleTest_tabindex (1585 ms) [449/500] ExtensionBindingsApiTest.ExtensionListenersRemoveContext (1053 ms) [450/500] ExternallyConnectableMessagingTest.NotInstalled (1331 ms) [451/500] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.FileURL/1 (1321 ms) [452/500] MediaRouterIntegrationOneUANoReceiverBrowserTest.Fail_SendMessage (2376 ms) [453/500] NetworkRequestMetricsBrowserTest.CancelDuringBody/1 (2128 ms) [454/500] CrSettingsSliderTest.All (2119 ms) [455/500] InstantProcessNavigationTest.ForkForNavigationsFromInstantProcess (242 ms) [456/500] OnboardingA11y.OnboardingFlow_area_alt (1605 ms) [457/500] PrintPreviewPagesSettingsTest.InvalidPageRanges (7111 ms) [458/500] ProfileMainNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/2 (1065 ms) [459/500] WebUsbTest.NavigateWithChooserCrossOrigin (1329 ms) [460/500] LocalNTPTest.FrenchGoogleNTPLoadsWithoutError (1320 ms) [461/500] EncryptedMediaSupportedTypesClearKeyTest.InvalidKeySystems (2109 ms) [462/500] ServiceWorker/ExtensionContextMenuBrowserTest.UpdateCheckboxes/0 (1590 ms) [463/500] CrManagementA11yTest.SimpleTest_object_alt (2117 ms) [464/500] ChromeRenderProcessHostTest.DevToolsOnSelfInOwnProcessPPT (1843 ms) [465/500] BatteryMetricsBrowserTest.BatteryDropUMA (1328 ms) [466/500] InMemoryApp/NetworkContextConfigurationBrowserTest.Cache/2 (1327 ms) [467/500] UnifiedAutoplayBrowserTest.OpenWindowNotContextMenu (1573 ms) [468/500] ExtensionSettingsUIBrowserTest.ViewSource (2391 ms) [469/500] WebUIAssertionsTest.testTwoIdenticalExpects (1325 ms) [470/500] ShareMenuControllerTest.SharingDelegate (1852 ms) [471/500] BackgroundSyncBrowserTest.VerifyShutdownBehavior (1323 ms) [472/500] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingForWrongSessionIdFails (1060 ms) [473/500] SafeBrowsingNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/1 (939 ms) [474/500] CustomTabBarViewBrowserTest.OutOfScopeUrlShouldBeClosable (1853 ms) [475/500] CrExtensionsErrorPageTest.CodeSection (2109 ms) [476/500] CastStreamingApiTest.BadLogging (2635 ms) [477/500] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/1 (1332 ms) [478/500] ClickModifierTest.HrefShiftClickTest (1321 ms) [479/500] AdsPageLoadMetricsObserverResourceBrowserTest.IncompleteResourcesRecordedToFrameMetrics (3690 ms) [480/500] ClickModifierTest.HrefControlClickTest (1325 ms) [481/500] NoBestEffortTasksTest.LoadAndPaintFromNetwork (1054 ms) [482/500] AutofillCounterTest.Addresses (2124 ms) [483/500] SaveCardBubbleViewsFullFormBrowserTestForStatusChip.ClickingOnCreditCardIconInStatusChipReshowsBubble (1323 ms) [484/500] InProcessBrowserTest.BrowserCloseWithBeforeUnload (1323 ms) [485/500] ClickModifierTest.HrefShiftMiddleClickTest (1330 ms) [486/500] V4EmbeddedTestServerBrowserTest.WrongFullHash_NoInterstitial (1330 ms) [487/500] FramebustBlockBrowserTest.FramebustAllowedBySiteSetting (1593 ms) [488/500] ProfileWindowBrowserTest.GuestIgnoresHistory (1869 ms) [489/500] ZoomBubbleReuseTest.SameExtension (1061 ms) [490/500] EncryptedMediaSupportedTypesExternalClearKeyTest.Basic (2642 ms) [491/500] MimeHandlerViewCrossProcessTest.Abort/0 (936 ms) [492/500] AppControllerNewProfileManagementBrowserTest.GuestProfileReopenWithNoWindows (2116 ms) [493/500] SyncInternalsWebUITest.Uninitialized (1320 ms) [494/500] LoadImageBrowserTest.LoadImage (1598 ms) [495/500] PrefHashBrowserTestUnchangedDefaultInstance/PrefHashBrowserTestUnchangedDefault.UnchangedDefault/2 (922 ms) [496/500] InMemoryApp/NetworkContextConfigurationBrowserTest.CookiesEnabled/0 (928 ms) [497/500] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.SearchProtected/3 (944 ms) [498/500] CrSettingsPersonalizationOptionsTest.AllBuilds (2894 ms) [499/500] PolicyUpdateServiceTest.PolicyCorruptedOnStartup (1323 ms) [500/500] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.RunTest/1 (2908 ms) Retrying 1 test (retry #0) [501/501] DataSaverSiteBreakdownMetricsObserverBrowserTest.NavigateToPlaintext (811 ms) SUCCESS: all tests passed. 450620ba80689610: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=8 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/ioNdx_RI/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 8/10 Using 4 parallel jobs. Randomizing with seed 68016 [1/508] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.PRE_ClearedAtomic/1 (1333 ms) [2/508] ChromeWorkerBrowserTest.SharedWorkerScriptFetchWithThirdPartyBlocking (1339 ms) [3/508] ExtensionPreferenceApiTest.SessionOnlyIncognito (1597 ms) [4/508] BookmarksRouterTest.All (2387 ms) [5/508] ChromeServiceWorkerLinkFetchTest.ManifestSameOrigin (1067 ms) [6/508] NoStartupWindowTest.NoStartupWindowBasicTest (1324 ms) [7/508] ChromeServiceWorkerNavigationHintTest.NoFetchHandler (1068 ms) [8/508] ProfileBrowserTest.SimpleURLLoaderUsingMainContextDuringShutdown (1060 ms) [9/508] ProcessesApiTest.CannotTerminateBrowserProcess (1322 ms) [10/508] SystemNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/1 (2375 ms) [11/508] DevToolsBeforeUnloadTest.TestDockedDevToolsInspectedBrowserClose (2376 ms) [12/508] PreferenceServiceTest.Test (804 ms) [13/508] PaymentRequestDataUrlTest.SecurityError (935 ms) [14/508] WebViewPluginTest.TestLoadPluginInternalResource (1588 ms) [15/508] FramebustBlockBrowserTest.ManageButtonClicked (1340 ms) [16/508] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_IgnoreChromeUrl/0 (1058 ms) [17/508] ProfileMainNetworkContext/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/2 (929 ms) [18/508] MessagingApiTest.MessagingBackgroundOnly (1316 ms) [19/508] TabCapturePerformanceTest.Performance/3 (6583 ms) [20/508] BookmarksPolicyTest.All (1590 ms) [21/508] PPAPIFileChooserTestWithSBService.FileChooser_SaveAs_DangerousExtensionList_Disallowed (1065 ms) [22/508] OnDiskApp/NetworkContextConfigurationBrowserTest.UploadFile/0 (795 ms) [23/508] OnDiskApp/NetworkContextConfigurationBrowserTest.UploadFile/1 (920 ms) [24/508] ExtensionApiTestWithManagementPolicy.ContentScriptPolicy (1322 ms) [25/508] PaymentRequestBlobUrlTest.ConnectionTerminated (1056 ms) [26/508] ProxySettingsApiTest.ProxyBypass (1323 ms) [27/508] BrowserSwitcherServiceTest.ExternalGreylistFetchAndParseAfterStartup (11057 ms) [28/508] CrManagementA11yTestWithExtension.ExtensionSection_meta_viewport_large (1589 ms) [29/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.BasicRequest/2 (1329 ms) [30/508] ZoomControllerBrowserTest.CrashedTabsDoNotChangeZoom (947 ms) [31/508] JavaScriptDialogTest.DismissalCausePromptHandleDialog (1066 ms) [32/508] ServiceWorker/ExtensionContextMenuBrowserTest.UpdateCheckedStateOfNonfirstRadioItem/0 (1319 ms) [33/508] ServiceWorkerTaskProviderBrowserTest.CreateTasksForSingleProfile (1056 ms) [34/508] ServiceWorkerTest.SWServedBackgroundPage (1332 ms) [35/508] ClientHintsBrowserTest.ClientHintsLifetimeNotPersistedJavaScriptBlocked/0 (1332 ms) [36/508] TtsApiTest.NoNetworkSpeechEngineWhenOffline (1594 ms) [37/508] ExtensionDialogTest.TextInputViaKeyEvent (1868 ms) [38/508] LoadTimeDataTest.unescapedDollarSign (953 ms) [39/508] FramebustBlockBrowserTest.AllowRadioButtonSelected (1054 ms) [40/508] SecurityStatePageLoadMetricsBrowserTest.MixedContent (925 ms) [41/508] ChromeRenderProcessHostBackgroundingTestWithAudio.ProcessPriorityAfterStoppedAudio (1060 ms) [42/508] EncryptedMediaSupportedTypesWidevineTest.InvalidKeySystems (1839 ms) [43/508] AppControllerOpenShortcutBrowserTest.OpenShortcutOnStartup (1056 ms) [44/508] CrManagementA11yTest.SimpleTest_valid_lang (1602 ms) [45/508] LocalNTPRTLTest.RightToLeft (1581 ms) [46/508] PasswordReuseModalWarningTest.InvokeUi_default (1588 ms) [47/508] ChromeServiceWorkerLinkFetchTest.ManifestSameOriginUseCredentials (1059 ms) [48/508] ChromeSecurityExploitBrowserTest.CommitWebStoreURLInWebProcess (1317 ms) [49/508] LocalSiteCharacteristicsDatabaseTest.AudioFeatureUsage (11587 ms) [50/508] WebUIBrowserExpectFailTest.TestFailsAsyncFast (1842 ms) [51/508] PaymentRequestJourneyLoggerMultipleShowTest.ShowSameRequest (1577 ms) [52/508] LocalNTPDarkModeTest.ToggleDarkMode (1589 ms) [53/508] ChromeNetworkServiceRestartBrowserTest.SystemNetworkContextManagerGetContext (1061 ms) [54/508] MediaSessionPictureInPictureWindowControllerBrowserTest.SkipAdHandlerCalled (1332 ms) [55/508] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.XHRPortSpecificPermissionBlock/0 (1327 ms) [56/508] ServiceWorkerPaymentAppFactoryBrowserTest.InstallablePaymentApp (1848 ms) [57/508] TabManagerTest.UrgentFastShutdownWithBeforeunloadHandler (1321 ms) [58/508] DistillablePageUtilsBrowserTestAllArticles.NonArticlesCallDelegateTwiceWithIsNotDistillable (1056 ms) [59/508] SSLUIDynamicInterstitialTest.MismatchOrganizationRegex (1325 ms) [60/508] CrSettingsResetPageTest.All (2897 ms) [61/508] AccessibilityLabelsBrowserTest.NotEnabledWithoutScreenReader (929 ms) [62/508] PrintPreviewPagesSettingsTest.NupChangesPages (3949 ms) [63/508] LocalCardMigrationBrowserTest.ClickingContinueOpensDialog (1851 ms) [64/508] ExtensionCrxInstallerTestWithExperimentalApis.ExperimentalExtensionFromOutsideGalleryWithFlag (1583 ms) [65/508] IeemSitelistParserTest.V1OnlyBogusElements (1315 ms) [66/508] ChromeDoNotTrackTest.FetchFromServiceWorker (1316 ms) [67/508] NavigationPredictorBrowserTest.Pipeline (1060 ms) [68/508] PaymentRequestUpdateWithTest.UpdateWithError (1583 ms) [69/508] PDFExtensionLinkClickTest.ShiftLeft (2375 ms) [70/508] ExtensionSettingsApiTest.SyncAndLocalAreasAreSeparate (1594 ms) [71/508] MachineLevelUserCloudPolicyEnrollmentTest.Test/4 (2899 ms) [72/508] WebUIRequiringGestureBrowserTest.MessageRequiringGestureIgnoresNonInteractiveEvents (2657 ms) [73/508] V4SafeBrowsingServiceJsRequestNoInterstitialTest.MalwareBlocked/2 (1590 ms) [74/508] DiceBrowsingDataRemoverBrowserTest.SyncToken (946 ms) [75/508] CastStreamingApiTest.Stats (2915 ms) [76/508] WebSocketBrowserConnectToTest.WebSocketBasicAuthInWSURL (1845 ms) [77/508] LocalSiteCharacteristicsDatabaseTest.PRE_DatabaseObservationTimeTrackedAcrossSessions (3433 ms) [78/508] NetworkRequestMetricsBrowserTest.NetErrorBeforeHeaders/0 (1851 ms) [79/508] CrManagementA11yTest.SimpleTest_image_redundant_alt (2119 ms) [80/508] LocalNTPVoiceJavascriptTest.ViewTests (1586 ms) [81/508] WebUIAssertionsTest.testTwoExpects (1594 ms) [82/508] DeclarativeNetRequestResourceTypeBrowserTest.Test2/0 (3957 ms) [83/508] FolderUploadConfirmationViewTest.CancelRunsCallbackWithEmptyFileInfo (2112 ms) [84/508] MimeHandlerViewCrossProcessTest.Embedded/0 (1859 ms) [85/508] BrowserNonClientFrameViewBrowserTest.BookmarkAppFrameColorSystemTheme (1854 ms) [86/508] ExtensionBindingsUserGestureTest.WebUserGestureAfterApiCallback/1 (2378 ms) [87/508] PrerenderBrowserTestWithNaCl.PrerenderNaClPluginEnabled (1587 ms) [88/508] GooglePasswordManagerNavigationThrottleTest.ExampleWithoutGPMAndSync (1595 ms) [89/508] NaClBrowserTestPnaclDebugMasked.PnaclDebugURLFlagMaskedOff (2123 ms) [90/508] ContentSettingBubbleModelPopupTest.PopupsActionsCount (1584 ms) [91/508] TabCapturePerformanceTest.Performance/1 (7640 ms) [92/508] CrossOriginXHR.FileAccessAllURLs (1589 ms) [93/508] ServiceWorker/ExtensionContextMenuBrowserTest.TopLevel/0 (2640 ms) [94/508] ImageAnnotationBrowserTest.ImageDoc (1584 ms) [95/508] WebUIResourceBrowserTestV0.I18nProcessTest (1600 ms) [96/508] EncryptedMediaSupportedTypesExternalClearKeyTest.Robustness (2373 ms) [97/508] MachineLevelUserCloudPolicyEnrollmentTest.Test/7 (3435 ms) [98/508] AutofillTest.ProfileSavedWithValidCountryPhone (2388 ms) [99/508] PaymentRequestJourneyLoggerNoContactDetailSectionStatsTest.NumberOfSuggestionsShown_UserAborted (2658 ms) [100/508] PaymentRequestShowPromiseTest.CannotShipError (2638 ms) [101/508] SSLPolicyTestCommittedInterstitials.SSLErrorOverridingAllowed/1 (1585 ms) [102/508] DataSaverWebAPIsBrowserTest.DataSaverDisabledJS (1849 ms) [103/508] CrExtensionsManagerUnitTest.Uninstall (2906 ms) [104/508] ExtensionViewTest.ShimExtensionAttribute (2900 ms) [105/508] LaunchWebAuthFlowFunctionTest.InteractionRequired (2372 ms) [106/508] ExtensionViewLoadApiTest.LoadAPIFunction (3688 ms) [107/508] ExtensionResourceRequestPolicyTest.Iframe (2109 ms) [108/508] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match/1 (7106 ms) [109/508] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_Hsts/2 (1851 ms) [110/508] MimeHandlerViewCrossProcessTest.BackgroundPage/1 (2380 ms) [111/508] BrowserNonClientFrameViewBrowserTest.FullscreenForTabTitlebarHeight (2899 ms) [112/508] DataReductionProxyFallbackBrowsertest.FallbackProxyUsedWhenBlockHeaderSent (1858 ms) [113/508] FileIFrameAPITest.NoFileAccessAllURLs (2116 ms) [114/508] CrElementsScrollableBehaviorTest.All (2372 ms) [115/508] PPAPIBrokerInfoBarTest.Accept (1849 ms) [116/508] BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details_signed_in (1848 ms) [117/508] OnDiskApp/NetworkContextConfigurationBrowserTest.UserAgentAndLanguagePrefs/0 (1319 ms) [118/508] WebDialogBrowserTest.SizeWindow (2374 ms) [119/508] ServiceWorkerBasedBackgroundTest.PRE_Basic (1845 ms) [120/508] PaymentRequestShowPromiseTest.SkipUI (2110 ms) [121/508] UserProfile/ExtensionWebRequestApiAuthRequiredTest.WebRequestAuthRequiredParallel/0 (2635 ms) [122/508] PrintPreviewDestinationSelectTest.MultipleRecentDestinationsAccounts (3153 ms) [123/508] MultiRealmLoginPromptBrowserTest.MultipleRealmConfirmation (1847 ms) [124/508] WebUIAccessibilityAuditBrowserTest_IssuesAreWarnings.testWithAuditFailures (1856 ms) [125/508] Mock4JSWebUITest.CalledTwiceExpectTwice (2116 ms) [126/508] IncognitoApiTest.IncognitoYesScript (2905 ms) [127/508] HostZoomMapBrowserTest.ZoomEventsWorkForOffTheRecord (1846 ms) [128/508] LazyBackgroundPageApiTest.BrowserActionCreateTab (2374 ms) [129/508] ExtensionApiTestWithSwitch.ExtensionDebugger (1590 ms) [130/508] PrintPreviewInvalidSettingsBrowserTest.InvalidCertificateError (3694 ms) [131/508] CrManagementA11yTest.SimpleTest_aria_allowed_attr (2373 ms) [132/508] CrossOriginReadBlockingExtensionTest.WebViewContentScript (2365 ms) [133/508] SubresourceFilterSettingsBrowserTest.ContentSettingsWhitelistGlobal_DoNotActivate (1588 ms) [134/508] EncryptedMediaSupportedTypesWidevineTest.Audio_MP4 (2902 ms) [135/508] BrowsingDataDatabaseHelperTest.FetchData (1587 ms) [136/508] MessagingApiTest.MessagingInterstitial (1594 ms) [137/508] ChromeOriginTrialsDisabledTokensTest.PRE_DisabledTokensSetOnCommandLine/1 (1325 ms) [138/508] DevToolsTagTest.TagsManagerRecordsATag (3432 ms) [139/508] AuthenticatorDialogTest.InvokeUi_touchid (1320 ms) [140/508] ImageAnnotationBrowserTest.ImagesInLinks (1587 ms) [141/508] CommonNameMismatchBrowserTest.CheckWWWSubdomainMismatchInverse/1 (1333 ms) [142/508] AndroidUsbTraitsTest.TestDeviceCounting (1847 ms) [143/508] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingWithExcessiveMaxSizeFails (1586 ms) [144/508] CastV2PerformanceTest.Performance/6 (8421 ms) [145/508] OnboardingA11y.OnboardingFlow_server_side_image_map (2401 ms) [146/508] PPAPINaClGLibcTest.TCPSocketPrivate_SSLHandshakeHangs (1858 ms) [147/508] AppWindowBrowserTest.FrameInsetsForDefaultFrame (1850 ms) [148/508] AuthenticatorDialogTest.InvokeUi_second_tap (1339 ms) [149/508] AdsPageLoadMetricsObserverResourceBrowserTest.ReceivedMainResourceAds (1854 ms) [150/508] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.PRE_RunTest/0 (2106 ms) [151/508] LoadingPredictorBrowserTest.PrepareForPageLoadWithoutPrediction (2105 ms) [152/508] ProfileChooserViewExtensionsParamTest.InvokeUi_Guest/1 (1587 ms) [153/508] NetworkRequestMetricsBrowserTest.Download/0 (1861 ms) [154/508] CertificateTransparencySSLUITest.EnforcedAfterApril2018UnlessPoliciesSet (2383 ms) [155/508] InMemoryApp/NetworkContextConfigurationBrowserTest.BasicRequest/0 (1592 ms) [156/508] BookmarkAppNavigationThrottleExperimentalWindowOpenBrowserTest.WindowOpenInBrowser/1 (2370 ms) [157/508] LocalNTPCustomBackgroundsTest.AttributionSetAndReset (2385 ms) [158/508] MediaEngagementSessionRestoreBrowserTest.RestoredSession_Playback_MEI (2668 ms) [159/508] PWAConfirmationDialogViewTest.InvokeUi_short_text (1580 ms) [160/508] ExternallyConnectableMessagingTest.EnablingAndDisabling (2376 ms) [161/508] ZoomBubbleDialogTest.InvokeUi_default (1581 ms) [162/508] DistillablePageUtilsBrowserTestAlways.AllRealPathsCallDelegateOnceWithIsDistillable (2115 ms) [163/508] SubresourceFilterListInsertingBrowserTest.MainFrameActivationWithWarning_BetterAdsList (1603 ms) [164/508] TranslateBubbleViewBrowserTest.CloseAnotherTabWithoutTranslating (2117 ms) [165/508] AuthenticatorDialogTest.InvokeUi_touchid_incognito (1581 ms) [166/508] PPAPINaClGLibcTest.TCPSocket_SetSendBufferSizeClosePipe (2375 ms) [167/508] ExtensionBindingsApiTest.InternalAPIsNotOnChromeObject (1850 ms) [168/508] WebBluetoothTest.BlocklistShouldBlock (1341 ms) [169/508] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingForTooHighWebAppIdFails (1332 ms) [170/508] AutofillProviderBrowserTest.FrameDetachedOnFormSubmission (1583 ms) [171/508] ChromeTracingDelegateBrowserTest.ExistingIncognitoSessionBlockingTraceStart (1587 ms) [172/508] SystemNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/2 (3707 ms) [173/508] ProxySettingsApiTest.SettingsRemovedOnUninstall (2110 ms) [174/508] PrintPreviewSettingsSelectTest.All (3688 ms) [175/508] IOThreadEctFieldTrialBrowserTest.ForceECTUsingFieldTrial (1328 ms) [176/508] ExtensionResourceRequestPolicyTest.IframeNavigateToInaccessibleViaServerRedirect (1853 ms) [177/508] CrManagementA11yTestWithExtension.ExtensionSection_label_title_only (3167 ms) [178/508] SubresourceFilterSettingsBrowserTest.DoNotShowUIUntilThresholdReached (1856 ms) [179/508] InMemoryApp/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/0 (1586 ms) [180/508] TabActivityWatcherUkmTest.SwitchTabs (2120 ms) [181/508] PolicyMakeDefaultBrowserTest.MakeDefaultDisabled (669 ms) [182/508] PDFTestFiles/PDFExtensionLoadTest.Load/4 (1349 ms) [183/508] ServiceWorkerTest.SWServedBackgroundPageReceivesEvent (1862 ms) [184/508] InMemoryApp/NetworkContextConfigurationFilePacBrowserTest.FilePac/2 (1849 ms) [185/508] IndependentOTRProfileManagerTest.DeleteWaitsForLastBrowser (2377 ms) [186/508] WithOutOfBlinkCors/ExtensionActiveTabTest.ActiveTab/0 (2377 ms) [187/508] MDnsAPITest.ForceDiscovery (2111 ms) [188/508] ChromeSecurityExploitBrowserTest.CommitExtensionURLInWebProcess (1853 ms) [189/508] ErrorPageForIDNTest.IDN (1849 ms) [190/508] ChromeDoNotTrackTest.Enabled (1851 ms) [191/508] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/8 (1851 ms) [192/508] FirstRunMasterPrefsWithTrackedPreferencesInstance/FirstRunMasterPrefsWithTrackedPreferences.TrackedPreferencesSurviveFirstRun/3 (1584 ms) [193/508] WebDriverSitePerProcessPolicyBrowserTest.Simple (1592 ms) [194/508] ExtensionsInternalsTest.TestExtensionsInternalsAreServed (2109 ms) [195/508] ClientHintsBrowserTest.ClientHintsLifetimeNotAttachedJavaScriptBlocked/0 (1589 ms) [196/508] AppManagementAppTest.All (4220 ms) [197/508] SSLUITestIgnoreCertErrorsBySPKIHTTPS.TestInsecureSubresource/0 (1589 ms) [198/508] LocationBarViewBrowserTest.LocationBarDecoration (1846 ms) [199/508] ClipboardApiTest.HostedAppNoPermission (1851 ms) [200/508] ChromeSitePerProcessBrowserPluginPDFTest.SendSyntheticTapGestureOOPIF (2371 ms) [201/508] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/7 (1850 ms) [202/508] CredentialManagerBrowserTest.UpdatingPSLMatchedCredentialCreatesSecondEntry (1585 ms) [203/508] ExtensionInstallPromptBrowserTest.TrackParentWindowDestruction (1587 ms) [204/508] PrintPreviewScalingSettingsTest.InputNotDisabledOnValidityChange (4740 ms) [205/508] BookmarkBrowsertest.DragSingleBookmark (1320 ms) [206/508] WebUIResourceAsyncTest.SendWithPromise (1585 ms) [207/508] TopSitesExtensionTest.GetTopSites (1853 ms) [208/508] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/2 (1864 ms) [209/508] ChromeRenderWidgetHostViewMacHistorySwiperTest.InnerScrollersOverscrollBehaviorPreventsNavigation (2384 ms) [210/508] SaveCardBubbleViewsSyncTransportFullFormBrowserTest.Upload_TransportMode_ClickingSaveClosesBubble (2379 ms) [211/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/1 (2373 ms) [212/508] LookalikeUrlInterstitialPageBrowserTest.Interstitial_CapturesRedirects (3163 ms) [213/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/2 (2383 ms) [214/508] PPAPINaClGLibcTest.TCPSocket_BindConnectHangs (2372 ms) [215/508] GooglePasswordManagerNavigationThrottleTest.PasswordsWithGPMAndSyncUserTyped (1852 ms) [216/508] PPAPINaClGLibcTest.UDPSocket_ReadWrite (2380 ms) [217/508] ChromeWebStoreProcessTest.NavigateWebTabToChromeWebStoreViaPost (2374 ms) [218/508] TopFrameSameFrameDownloadBrowserTest.Download/12 (2376 ms) [219/508] CrElementsLinkRowTest.All (2395 ms) [220/508] BrowserCloseManagerBrowserTest.TestOpenAndCloseWindowDuringShutdown (2386 ms) [221/508] BookmarksFolderNodeTest.All (2380 ms) [222/508] AppShimHostManagerBrowserTest.LaunchRegisterOnly (1332 ms) [223/508] PPAPINaClGLibcTest.TCPSocket_SetReceiveBufferSizeClosePipe (1851 ms) [224/508] CrExtensionsPackDialogTest.PackSuccess (2103 ms) [225/508] PaymentRequestUpdateWithTest.UpdateWithEmpty (2107 ms) [226/508] NetworkRequestMetricsBrowserTest.NetErrorDuringBody/2 (1061 ms) [227/508] PaymentRequestPaymentMethodIdentifierTest.BasicCard_NetworkThenBasicCard_DifferentList (1581 ms) [228/508] V4SafeBrowsingServiceJsRequestInterstitialTest.MalwareBlocked/0 (1318 ms) [229/508] DataReductionProxyBrowsertest.BlockOnceWorksAfterUpdateConfig (1590 ms) [230/508] ServiceWorkerMessagingTest.ExternalMessageToWorker (1855 ms) [231/508] PwaInstallViewBrowserTest.IconVisibilityAfterTabSwitching (2902 ms) [232/508] LogNetLogTest.Basic/0 (1594 ms) [233/508] CrElementsPolicyIndicatorTest.All (1863 ms) [234/508] NTPInterceptionWebRequestAPITest.NTPRendererRequestsHidden (1867 ms) [235/508] BrowserSwitcherServiceTest.ExternalSitelistInvalidUrl (11316 ms) [236/508] CastChannelAPITest.TestPingTimeoutSslVerified (1591 ms) [237/508] ExtensionManagementTest.PolicyOverridesUserInstall (4758 ms) [238/508] PaymentSheetViewControllerContactDetailsTest.NoData (1867 ms) [239/508] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.PRE_UnchangedCustom/3 (2135 ms) [240/508] ProfileManagerBrowserTest.DeleteSingletonProfile (2118 ms) [241/508] PatchTest.InvalidPatchFile (1590 ms) [242/508] SecurityStatePageLoadMetricsBrowserTest.Simple_Http (1581 ms) [243/508] ChromePasswordProtectionServiceBrowserTest.SuccessfullyChangeSignInPassword (2644 ms) [244/508] WebSocketBrowserConnectToTest.WebSocketBasicAuthInWSURLBadCreds (2901 ms) [245/508] SafeBrowsingTriggeredPopupBlockerBrowserTest.ShowBlockedPopup (1591 ms) [246/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationFilePacBrowserTest.FilePac/2 (2110 ms) [247/508] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_AllowedTextResource/0 (1594 ms) [248/508] WebUIAssertionsTestFail.testAssertFailFails (1593 ms) [249/508] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_TopDomain_NoMatch/0 (1859 ms) [250/508] HostedAppSitePerProcessTest.DoNotShareProcessForDifferentSitesCoveredBySameApp/0 (3699 ms) [251/508] ResourcesPrivateApiTest.GetStrings (1851 ms) [252/508] AutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedAddressForm (1595 ms) [253/508] CommonNameMismatchBrowserTest.ShouldShowWWWSubdomainMismatchInterstitial/0 (1593 ms) [254/508] SitePerProcessMemoryThresholdBrowserTest.SitePerProcessEnabled_NoThreshold (1587 ms) [255/508] OnboardingA11y.OnboardingFlow_meta_viewport (3166 ms) [256/508] CollectedCookiesViewsTest.ChangeAndCloseDialog (1334 ms) [257/508] PrintPreviewPreviewGenerationTest.FitToPage (3162 ms) [258/508] SpellCheckHostChromeImplMacBrowserTest.SpellCheckReturnMessage (1589 ms) [259/508] ExtensionOverrideTest.ShouldCleanUpDuplicateEntries (1334 ms) [260/508] ClientHintsWebHoldbackBrowserTest.EffectiveConnectionTypeChangeNotified (1586 ms) [261/508] MediaFileValidatorTest.UnsupportedExtension (1315 ms) [262/508] CertificateReportingServiceBrowserTest.Delayed_Reset/0 (5550 ms) [263/508] InMemoryApp/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/1 (1324 ms) [264/508] OriginPolicyBrowserTest.ErrorPolicy302Redirect (1586 ms) [265/508] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.SecurityIndicators/5 (1586 ms) [266/508] ExtensionSettingsApiTest.ManagedStorage (1853 ms) [267/508] DataReductionProxyBrowsertest.DisabledOnIncognito (2112 ms) [268/508] SSLNetworkTimeBrowserTest.NavigateAwayBeforeTimeoutExpires/1 (1845 ms) [269/508] SignedExchangePolicyTest.SignedExchangeDisabled (1848 ms) [270/508] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/22 (1854 ms) [271/508] LocaleTestTraditionalChinese.TestStart (1592 ms) [272/508] UnifiedAutoplayBrowserTest.ForceWasActivated_Default (1600 ms) [273/508] PPAPINaClGLibcTest.UDPSocket_SetOption_1_1 (2132 ms) [274/508] PrintPreviewColorSettingsTest.All (3427 ms) [275/508] PrintPreviewDestinationSelectTest.SingleRecentDestination (2892 ms) [276/508] ExtensionDetermineDownloadFilenameInternal.ExtensionDetermineDownloadFilenameInternal (404 ms) [277/508] IntentPickerBubbleViewBrowserTest.NavigationToOutofScopeLinkDoesNotShowIntentPicker/1 (1588 ms) [278/508] BrowserActionsContainerBrowserTest.CanResize_AtMinimumWidth (1323 ms) [279/508] HistoryBrowserServiceTest.All (2376 ms) [280/508] DataSaverForWorkerBrowserTest.SharedWorker_On (1589 ms) [281/508] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.XHRPortSpecificPermissionAllow/0 (1843 ms) [282/508] ExtensionTabsZoomTest.SetAndGetZoom (1861 ms) [283/508] SettingsPrivateApiTest.GetRecommendedPref (1859 ms) [284/508] PaymentRequestJourneyLoggerAllSectionStatsTest.NumberOfSuggestionsShown_Completed (2370 ms) [285/508] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.PRE_UnchangedCustom/2 (2113 ms) [286/508] ManagedUiTest.ShouldDisplayManagedUiFlagDisabled (1589 ms) [287/508] ExtensionLoadingTest.UpgradeAddingNewTabPagePermissionNoPrompt (2893 ms) [288/508] BookmarkAppTest.EngagementHistogramDefaultApp (2112 ms) [289/508] ExtensionSettingsApiTest.StorageAreaOnChanged (1599 ms) [290/508] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/15 (2117 ms) [291/508] PaymentRequestJourneyLoggerNoContactDetailSectionStatsTest.NumberOfSuggestionsShown_Completed (2382 ms) [292/508] CredentialManagerBrowserTest.StoreUpdatesPasswordOfExistingCredential (2129 ms) [293/508] JavaScriptDialogTest.DismissalCausePromptTabClosedByUser (1594 ms) [294/508] ChromeServiceWorkerNavigationPreloadTest.TopFrameWithThirdPartyBlocking (1854 ms) [295/508] TopFrameSameFrameDownloadBrowserTest.Download/10 (2906 ms) [296/508] ServiceWorkerTest.UpdateUnpackedExtension (3433 ms) [297/508] LocalNTPVoiceJavascriptTest.TextTests (1621 ms) [298/508] PrintPreviewHeaderTest.HeaderPrinterTypes (2909 ms) [299/508] ExtensionWebRequestMockedClockTest.OnActionIgnored_Redirect (2916 ms) [300/508] DataSaverWebAPIsBrowserTest.DataSaverEnabledJS (1594 ms) [301/508] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/9 (1599 ms) [302/508] ServiceWorkerTest.WebAccessibleResourcesFetch (1583 ms) [303/508] MediaGalleriesGalleryWatchApiTest.BasicGalleryWatch (1591 ms) [304/508] PPAPINaClGLibcTest.TCPServerSocketPrivate_AcceptClosePipe (2120 ms) [305/508] DefaultSettingsFetcherTest.FetchingSettingsFailed (1593 ms) [306/508] ComponentCloudPolicyTest.FetchExtensionPolicy (3430 ms) [307/508] VariationsHttpHeadersBrowserTest.ServiceWorkerRespondWithFetch (1587 ms) [308/508] SubresourceFilterSpecialSubframeNavigationsBrowserTest.NavigateCrossProcessDataUrl_MaintainsActivation (1866 ms) [309/508] PrintPreviewPreviewGenerationTest.HeaderFooter (3187 ms) [310/508] PrintPreviewCopiesSettingsTest.All (4736 ms) [311/508] LoadingPredictorBrowserTest.NonHttpNavigation (1325 ms) [312/508] CommonNameMismatchBrowserTest.InterstitialStopNavigationWhileLoading/0 (1589 ms) [313/508] AppControllerNewProfileManagementBrowserTest.OpenGuestProfileOnlyIfGuestModeIsEnabled (2657 ms) [314/508] BackgroundPage/ExtensionContextMenuBrowserTest.UpdateOnclick/0 (1845 ms) [315/508] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/19 (1848 ms) [316/508] ExtensionBindingsApiTest.TestFreezingChrome (1605 ms) [317/508] TopFrameSameFrameDownloadBrowserTest.Download/5 (2113 ms) [318/508] UnifiedConsentBrowserTest.SettingsOptInTakeOverServicePrefChanges (3168 ms) [319/508] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.AudioCaptureAllowed/0 (1323 ms) [320/508] NaClBrowserTestPnaclSubzero.PnaclNMFOptionsO0 (2137 ms) [321/508] ExtensionWebstoreGetWebGLStatusTest.Blocked (1325 ms) [322/508] MimeHandlerViewCrossProcessTest.NavigationRaceFromCrossProcessRenderer/1 (2132 ms) [323/508] CorsOriginAccessListBrowserTest.AllowSubdomain (1343 ms) [324/508] AppViewTest.TestAppViewConnectFollowingPreviousConnect (3698 ms) [325/508] ExtensionUninstallDialogViewInteractiveBrowserTest.InvokeUi_UninstallByExtension (2118 ms) [326/508] DnsProbeUnreachableProbesTest.NoInternetProbeResultWithBrokenCorrections (1588 ms) [327/508] EncryptedMediaSupportedTypesExternalClearKeyTest.Video_MP4 (2390 ms) [328/508] CastV2PerformanceTest.Performance/4 (9746 ms) [329/508] JavaScriptDialogTest.NoDismissalAlertTabHidden (1601 ms) [330/508] LocalNTPBackgroundsAndDarkModeTest.WithThemeNoImage (2913 ms) [331/508] PPAPINaClGLibcTest.TCPSocket_AcceptedSocketReadError (2375 ms) [332/508] AppControllerBrowserTest.OpenInRegularBrowser (2636 ms) [333/508] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_Hsts/0 (1320 ms) [334/508] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.PRE_ClearedAtomic/2 (1587 ms) [335/508] TabManagerTest.TabPendingFreezeAndUnfreeze (2665 ms) [336/508] MediaEngagementPreloadBrowserTest.EnsureSingletonListIsLoaded (2397 ms) [337/508] BrowserCloseManagerBrowserTest.TestCloseTabDuringShutdown (2917 ms) [338/508] ChromeNavigationBrowserTest.TestViewFrameSource (2934 ms) [339/508] PaymentRequestDebitTest.DebitCardIsPreselected (2149 ms) [340/508] LocalCardMigrationBrowserTest.IntermediateMigrationOfferDoesNotShowWhenPaymentsDeclines (2114 ms) [341/508] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_EmptyAndBlocked/0 (2130 ms) [342/508] WithoutAny/BackgroundXhrWebstoreTest.PolicyUpdateDefaultXHR/0 (2110 ms) [343/508] SafeBrowsingTriggeredInterceptingBrowserTest.AbusiveMetadata (2113 ms) [344/508] BookmarkItemAppleScriptTest.GetAndSetURL (1602 ms) [345/508] InMemoryApp/NetworkContextConfigurationBrowserTest.FileURL/0 (1852 ms) [346/508] ScriptContextTest.GetMainWorldContextForFrame (544 ms) [347/508] NetworkRequestMetricsBrowserTest.FileURLError/1 (1321 ms) [348/508] IntentPickerBubbleViewBrowserTest.NavigationToInScopeLinkShowsIntentPicker/3 (1594 ms) [349/508] LookalikeUrlNavigationThrottleBrowserTest.NonIdn_NoMatch/0 (1588 ms) [350/508] SitePerProcessMemoryThresholdBrowserTest.SitePerProcessDisabled_NoThreshold (1316 ms) [351/508] AppManagementReducersTest.All (2376 ms) [352/508] NetworkRequestMetricsBrowserTest.FileURLSuccess/1 (1325 ms) [353/508] ExtensionWindowCreateTest.ValidateCreateWindowState (1323 ms) [354/508] PaymentRequestDebitTest.CanMakePaymentWithUnknownCardType (1582 ms) [355/508] MediaFileValidatorTest.ValidImage (1322 ms) [356/508] DeclarativeNetRequestBrowserTest_Packed.PRE_PageAllowingAPI_PersistedAcrossSessions/0 (2369 ms) [357/508] LocalSiteCharacteristicsDatabaseTest.FaviconUpdateFeatureUsage (7633 ms) [358/508] ProfileWindowBrowserTest.OpenBrowserWindowForProfile (1592 ms) [359/508] PasswordsCounterTest.StoreChanged (1601 ms) [360/508] ExternallyConnectableMessagingTest.FromIncognitoDenyApp (2376 ms) [361/508] MultiRealmLoginPromptBrowserTest.MultipleRealmCancellation (1856 ms) [362/508] ProxySettingsApiTest.ProxyPacData (1846 ms) [363/508] EncryptedMediaSupportedTypesClearKeyTest.Audio_WebM (2911 ms) [364/508] ImageWriterUtilityClientTest.VerifyCancel (1590 ms) [365/508] WebUsbTest.AddRemoveDeviceEphemeral (1350 ms) [366/508] CredentialManagerBrowserTest.UpdateViaAPIAndAutofill (2113 ms) [367/508] MultiActionAPITest.TitleLocalization/1 (1852 ms) [368/508] BackgroundPage/ExtensionContextMenuBrowserLazyTest.EventPage/0 (2109 ms) [369/508] ExternallyConnectableMessagingTest.WebConnectableAndNotConnectable (3430 ms) [370/508] AppControllerPlatformAppBrowserTest.PlatformAppReopenWithWindows (2141 ms) [371/508] CookiePolicyBrowserTest.ThirdPartyCookiesIFrameAllowReading (2118 ms) [372/508] LazyBackgroundPageApiTest.Messaging (2388 ms) [373/508] ChromeDoNotTrackTest.FetchFromNestedWorker (2645 ms) [374/508] WebRtcGetDisplayMediaBrowserTestWithFakeUI.GetDisplayMediaWithConstraints/0 (2638 ms) [375/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationHttpPacBrowserTest.HttpPac/1 (2114 ms) [376/508] TouchLocationBarViewBrowserTest.IMEInlineAutocompletePosition (1340 ms) [377/508] OmniboxPopupContentsViewTest.PopupAlignment (1855 ms) [378/508] CrossOriginReadBlockingExtensionTest.ProgrammaticContentScriptVsWebUI (3955 ms) [379/508] PolicyControl/StartupBrowserCreatorInfobarsTest.CheckInfobarForBadFlag/0 (1850 ms) [380/508] ImageDecoderBrowserTest.BasicDecodeString (1328 ms) [381/508] MediaRouterUIBrowserTest.EphemeralToolbarIconForRoutesAndIssues (1597 ms) [382/508] BluetoothApiTest.GetDevice (1594 ms) [383/508] DeprecatedLoadComponentExtensionSwitchBrowserTest.DefunctLoadComponentExtensionFlag (1602 ms) [384/508] SSLUIDynamicInterstitialTest.Match (1584 ms) [385/508] CommonNameMismatchBrowserTest.CheckWWWSubdomainMismatchInverse/0 (1581 ms) [386/508] OnDiskApp/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesAllowedForExtensions/1 (1334 ms) [387/508] ExtensionBindingsUserGestureTest.UserGestureFromExtensionMessageTest/0 (1584 ms) [388/508] SupervisedUserServiceTestSupervised.LocalPolicies (1055 ms) [389/508] CookiePolicyBrowserTest.ThirdPartyCookiesIFrameBlockReading (2124 ms) [390/508] CredentialManagerBrowserTest.AutoSigninOldCredentialAndNavigation (2374 ms) [391/508] ChromeAppAPITest.InstallAndRunningState (2386 ms) [392/508] ProfileWindowBrowserTest.GuestClearsCookies (2900 ms) [393/508] SSLUIDynamicInterstitialTest.MatchEmptyOrganizationRegex (1585 ms) [394/508] DataReductionProxyBrowsertest.ProxyNotUsedWhenDisabled (1854 ms) [395/508] ChromeWorkerBrowserTest.SharedWorkerScriptFetchWithoutThirdPartyBlocking (1320 ms) [396/508] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_AllowedTextResource/0 (1318 ms) [397/508] ChromeRenderProcessHostTest.CloseAllTabsDuringProcessDied (1319 ms) [398/508] PaymentRequestIframeTest.HistoryPushState_Completed (1321 ms) [399/508] MaybeSetMetadata/V4SafeBrowsingServiceMetadataTest.MalwareImg/2 (1062 ms) [400/508] CrossOriginXHR.ContentScript (2375 ms) [401/508] DefaultMemorySSLHostStateDelegateTest.QueryPolicyExpired (935 ms) [402/508] ErrorPageSniffTest.SniffSmallHttpErrorResponseAsDownload (1063 ms) [403/508] AuthenticatorDialogTest.InvokeUi_no_available_transports (921 ms) [404/508] ExtensionCrxInstallerTestWithExperimentalApis.GrantScopes_WithCallback (1861 ms) [405/508] BlockedAppApiTest.OpenAppFromIframe (924 ms) [406/508] ErrorPageAutoReloadTest.IgnoresSameDocumentNavigation (6577 ms) [407/508] NetworkingPrivateServiceClientApiTest.OnNetworksChangedEventConnect (1317 ms) [408/508] OnboardingA11y.OnboardingFlow_dlitem (2110 ms) [409/508] CrComponentsManagedFootnoteTest.All (1847 ms) [410/508] LogWebUIUrlTest.TestHistoryPage (1320 ms) [411/508] ServiceWorkerPaymentAppFactoryBrowserTest.CrossOriginHttpLinkHeaderIsInvalid (1318 ms) [412/508] AutofillProviderBrowserTest.InferredLabelChangeImpactFormComparingWithFlagOff (1327 ms) [413/508] PaymentRequestCanMakePaymentQueryPMITest.NoQueryQuotaForPaymentAppsAndCardsInIncognito (1583 ms) [414/508] ConsistencyCookieBrowserTest.Basic (1323 ms) [ RUN ] DiscardsTest.MaybeMakePlural [24468:6403:0524/214954.495236:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. [24468:26115:0524/214954.949271:WARNING:leveldb_database.cc(106)] Unable to open /b/s/w/ith4ol8X/.org.chromium.Chromium.63AcWO/dPNEGh7/Default/shared_proto_db: Invalid argument: /b/s/w/ith4ol8X/.org.chromium.Chromium.63AcWO/dPNEGh7/Default/shared_proto_db: does not exist (create_if_missing is false) [24468:775:0524/214955.173093: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) [24468:775:0524/214956.076169:INFO:CONSOLE(335)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgY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uXy50aWNrKCk7CiAgICAgIH0KICAgIH0KCiAgICB0aGlzLnJlc3RhcnRTaW11bGF0aW9uXygpOwogIH0KfQoKbGV0IGdyYXBoID0gbnVsbDsKZnVuY3Rpb24gb25Mb2FkKCkgewogIGdyYXBoID0gbmV3IEdyYXBoKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ3N2ZycpKTsKCiAgZ3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.288117:INFO:CONSOLE(142)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50IG5lZWRzIHRvIGJlIHNlbGYtY29udGFpbmVkLCBoZW5jZSBpbmxpbmUgc2NyaXB0cy4KLS0+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBodG1sLAogICAgICBib2R5IHsKICAgICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIH0KCiAgICAgIGJvZ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Z3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.288331:INFO:CONSOLE(142)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50IG5lZWRzIHRvIGJlIHNlbGYtY29udGFpbmVkLCBoZW5jZSBpbmxpbmUgc2NyaXB0cy4KLS0+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBodG1sLAogICAgICBib2R5IHsKICAgICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIH0KCiAgICAgIGJvZHkgewogICAgICAgIG1hcmdpbjogMDsKICAgICAgfQoKICAgICAgLmxpbmtzIGxpbmUgewogICAgICAgIHN0cm9rZTogIzk5OTsKICAgICAgICBzdHJva2Utb3BhY2l0eTogMC42OwogICAgICB9CgogICAgICAubm9kZXMgY2lyY2xlIHsKICAgICAgICBzdHJva2U6ICMwMDA7CiAgICAgICAgc3Ryb2tlLXdpZ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CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.288805:INFO:CONSOLE(142)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50IG5lZWRzIHRvIGJlIHNlbGYtY29udGFpbmVkLCBoZW5jZSBpbmxpbmUgc2NyaXB0cy4KLS0+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBodG1sLAogICAgICBib2R5IHsKICAgICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIH0KCiAgICAgIGJvZHkgewogICAgICAgIG1hcmdpbjogMDsKICAgICAgfQoKICAgICAgLmxpbmtzIGxpbmUgewogICAgICAgIHN0cm9rZTogIzk5OTsKICAgICAgICBzdHJva2Utb3BhY2l0eTogMC42OwogICAgICB9CgogICAgICAubm9kZXMgY2lyY2xlIHsKICAgICAgICBzdHJva2U6ICMwMDA7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAxLjVweDsKICAgICAgfQoKICAgICAgLmRlYWQgaW1hZ2UgewogICAgICAgIGRpc3BsYXk6IG5vbmU7CiAgICAgIH0KCiAgICA8L3N0eWxlPgogIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2QzanMvNS43LjAvZDMubWluLmpzIgogICAgICBpb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AgICBpZiAoIXRoaXMud2FzUmVzaXplZF8pIHsKICAgICAgdGhpcy53YXNSZXNpemVkXyA9IHRydWU7CgogICAgICAvLyBSZWluaXRpYWxpemUgYWxsIG5vZGUgcG9zaXRpb25zIG9uIGZpcnN0IHJlc2l6ZS4KICAgICAgdGhpcy5ub2Rlc18uZm9yRWFjaCgKICAgICAgICAgIG5vZGUgPT4gbm9kZS5zZXRJbml0aWFsUG9zaXRpb24odGhpcy53aWR0aF8sIHRoaXMuaGVpZ2h0XykpOwoKICAgICAgLy8gQWxsb3cgdGhlIHNpbXVsYXRpb24gdG8gc2V0dGxlIGJ5IHJ1bm5pbmcgaXQgZm9yIGEgYml0LgogICAgICBmb3IgKGxldCBpID0gMDsgaSA8IDIwMDsgKytpKSB7CiAgICAgICAgdGhpcy5zaW11bGF0aW9uXy50aWNrKCk7CiAgICAgIH0KICAgIH0KCiAgICB0aGlzLnJlc3RhcnRTaW11bGF0aW9uXygpOwogIH0KfQoKbGV0IGdyYXBoID0gbnVsbDsKZnVuY3Rpb24gb25Mb2FkKCkgewogIGdyYXBoID0gbmV3IEdyYXBoKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ3N2ZycpKTsKCiAgZ3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.289404:INFO:CONSOLE(142)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlI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bm9kZS5zZXRJbml0aWFsUG9zaXRpb24odGhpcy53aWR0aF8sIHRoaXMuaGVpZ2h0XykpOwoKICAgICAgLy8gQWxsb3cgdGhlIHNpbXVsYXRpb24gdG8gc2V0dGxlIGJ5IHJ1bm5pbmcgaXQgZm9yIGEgYml0LgogICAgICBmb3IgKGxldCBpID0gMDsgaSA8IDIwMDsgKytpKSB7CiAgICAgICAgdGhpcy5zaW11bGF0aW9uXy50aWNrKCk7CiAgICAgIH0KICAgIH0KCiAgICB0aGlzLnJlc3RhcnRTaW11bGF0aW9uXygpOwogIH0KfQoKbGV0IGdyYXBoID0gbnVsbDsKZnVuY3Rpb24gb25Mb2FkKCkgewogIGdyYXBoID0gbmV3IEdyYXBoKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ3N2ZycpKTsKCiAgZ3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.290763:INFO:CONSOLE(1328)] "Running TestCase DiscardsTest.MaybeMakePlural", source: file:///b/s/w/ir/chrome/test/data/webui/test_api.js (1328) [24468:775:0524/214956.290903:INFO:CONSOLE(472)] "Uncaught TypeError: Cannot read property 'selectAll' of null", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgo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GF0aW9uXygpOwogIH0KfQoKbGV0IGdyYXBoID0gbnVsbDsKZnVuY3Rpb24gb25Mb2FkKCkgewogIGdyYXBoID0gbmV3IEdyYXBoKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ3N2ZycpKTsKCiAgZ3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (472) [24468:775:0524/214956.292090:INFO:CONSOLE(142)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50IG5lZWRzIHRvIGJlIHNlbGYtY29udGFpbmVkLCBoZW5jZSBpbmxpbmUgc2NyaXB0cy4KLS0+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBodG1sLAogICAgICBib2R5IHsKICAgICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIH0KCiAgICAgIGJvZHkgewogICAgICAgIG1hcmdpbjogMDsKICAgICAgfQoKICAgICAgLmxpbmtzIGxpbmU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0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.292626:INFO:CONSOLE(472)] "Uncaught TypeError: Cannot read property 'selectAll' of null", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50IG5lZWRzIHRvIGJlIHNlbGYtY29udGFpbmVkLCBoZW5jZSBpbmxpbmUgc2NyaXB0cy4KLS0+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBodG1sLAogICAgICBib2R5IHsKICAgICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIH0KCiAgICAgIGJvZHkgewogICAgICAgIG1hcmdpbjogMDsKICAgICAgfQoKICAgICAgLmxpbmtzIGxpbmUgewogICAgICAgIHN0cm9rZTogIzk5OTsKICAgICAgICBzdHJva2Utb3BhY2l0eTogMC42OwogICAgICB9CgogICAgICAubm9kZXMgY2lyY2xlIHsKICAgICAgICBzdHJva2U6ICMwMDA7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAxLjVweDsKICAgICAgfQoKICAgICAgLmRlYWQgaW1hZ2UgewogICA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CONSOLE(142)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50IG5lZWRzIHRvIGJlIHNlbGYtY29udGFpbmVkLCBoZW5jZSBpbmxpbmUgc2NyaXB0cy4KLS0+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBodG1sLAogICAgICBib2R5IHsKICAgICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIH0KCiAgICAgIGJvZHkgewogICAgICAgIG1hcmdpbjogMDsKICAgICAgfQoKICAgICAgLmxpbmtzIGxpbmUgewogICAgICAgIHN0cm9rZTogIzk5OTsKICAgICAgICBzdHJva2Utb3BhY2l0eTogMC42OwogICAgICB9CgogICAgICAubm9kZXMgY2lyY2xlIHsKICAgICAgICBzdHJva2U6ICMwMDA7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAxLjVweDsKICAgICAgfQoKICAgICAgLmRlYWQgaW1hZ2UgewogICAgICAgIGRpc3BsYXk6IG5vbmU7CiAgICAgIH0KCiAgICA8L3N0eWxlPgogIDxzY3JpcHQgc3JjPSJodHRwczovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2QzanMvNS43LjAvZDMubWluLmpzIgogICAgICBpbnRlZ3JpdHk9InNoYTM4NC1ITDk2ZHVuMUtiWUVxNlVUL1psc3Nw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SZXNpemVkXyA9IHRydWU7CgogICAgICAvLyBSZWluaXRpYWxpemUgYWxsIG5vZGUgcG9zaXRpb25zIG9uIGZpcnN0IHJlc2l6ZS4KICAgICAgdGhpcy5ub2Rlc18uZm9yRWFjaCgKICAgICAgICAgIG5vZGUgPT4gbm9kZS5zZXRJbml0aWFsUG9zaXRpb24odGhpcy53aWR0aF8sIHRoaXMuaGVpZ2h0XykpOwoKICAgICAgLy8gQWxsb3cgdGhlIHNpbXVsYXRpb24gdG8gc2V0dGxlIGJ5IHJ1bm5pbmcgaXQgZm9yIGEgYml0LgogICAgICBmb3IgKGxldCBpID0gMDsgaSA8IDIwMDsgKytpKSB7CiAgICAgICAgdGhpcy5zaW11bGF0aW9uXy50aWNrKCk7CiAgICAgIH0KICAgIH0KCiAgICB0aGlzLnJlc3RhcnRTaW11bGF0aW9uXygpOwogIH0KfQoKbGV0IGdyYXBoID0gbnVsbDsKZnVuY3Rpb24gb25Mb2FkKCkgewogIGdyYXBoID0gbmV3IEdyYXBoKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ3N2ZycpKTsKCiAgZ3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.293526:INFO:CONSOLE(142)] "Uncaught ReferenceError: d3 is not defined", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5z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uaGVpZ2h0XykpOwoKICAgICAgLy8gQWxsb3cgdGhlIHNpbXVsYXRpb24gdG8gc2V0dGxlIGJ5IHJ1bm5pbmcgaXQgZm9yIGEgYml0LgogICAgICBmb3IgKGxldCBpID0gMDsgaSA8IDIwMDsgKytpKSB7CiAgICAgICAgdGhpcy5zaW11bGF0aW9uXy50aWNrKCk7CiAgICAgIH0KICAgIH0KCiAgICB0aGlzLnJlc3RhcnRTaW11bGF0aW9uXygpOwogIH0KfQoKbGV0IGdyYXBoID0gbnVsbDsKZnVuY3Rpb24gb25Mb2FkKCkgewogIGdyYXBoID0gbmV3IEdyYXBoKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ3N2ZycpKTsKCiAgZ3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (142) [24468:775:0524/214956.294034:INFO:CONSOLE(472)] "Uncaught TypeError: Cannot read property 'selectAll' of null", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50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0KICAgIH0KCiAgICB0aGlzLnJlc3RhcnRTaW11bGF0aW9uXygpOwogIH0KfQoKbGV0IGdyYXBoID0gbnVsbDsKZnVuY3Rpb24gb25Mb2FkKCkgewogIGdyYXBoID0gbmV3IEdyYXBoKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoJ3N2ZycpKTsKCiAgZ3JhcGguaW5pdGlhbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (472) [24468:775:0524/214956.307285:INFO:CONSOLE(472)] "Uncaught TypeError: Cannot read property 'selectAll' of null", source: data:text/html;base64,PCEtLQpDb3B5cmlnaHQgMjAxOCBUaGUgQ2hyb21pdW0gQXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZQpmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKVGhpcyBkb2N1bWVudCBpcyBsb2FkZWQgaW50byBhIDx3ZWJ2aWV3PiBmcm9tIHRoZSBncmFwaF90YWIgZWxlbWVudCBhcyBhIGRhdGE6ClVSTC4gQXMgcmVzdWx0LCB0aGlzIGRvY3VtZW50IG5lZWRzIHRvIGJlIHNlbGYtY29udGFpbmVkLCBoZW5jZSBpbmxpbmUgc2NyaXB0cy4KLS0+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBodG1sLAogICAgICBib2R5IHsKICAgICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIH0KCiAgICAgIGJvZHkgewogICAgICAgIG1h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hbGl6ZSgpOwp9Cgp3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIG9uTG9hZCk7CgogIDwvc2NyaXB0PgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxzdmcgaWQ9ImdyYXBoQm9keSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PC9zdmc+CiAgPC9ib2R5Pgo8L2h0bWw+Cg== (472) [24468:28419:0524/214956.398932:ERROR:browser_process_sub_thread.cc(221)] Waited 19 ms for network service [24468:775:0524/214956.413276:WARNING:pref_notifier_impl.cc(36)] Pref observer for browser.relaunch_notification_period found at shutdown. [24468:775:0524/214956.413305:WARNING:pref_notifier_impl.cc(36)] Pref observer for media_router.cast_allow_all_ips found at shutdown. [ OK ] DiscardsTest.MaybeMakePlural (2076 ms) [415/508] DiscardsTest.MaybeMakePlural (2374 ms) [416/508] IndependentOTRProfileManagerTest.OriginalProfileDestroyedFirstTwoOTR (1317 ms) [417/508] AuthenticatorDialogTest.InvokeUi_get_pin (926 ms) [418/508] BrowserNonClientFrameViewBrowserTest.BrowserFrameColorThemed (1843 ms) [419/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ProxyConfig/0 (1581 ms) [420/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationDataPacBrowserTest.DataPac/2 (1847 ms) [421/508] ExternallyConnectableMessagingTest.FromIncognitoDenyExtensionAndApp (2630 ms) [422/508] NotAllowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.OriginHeaderInCrossOriginPostRequest/0 (1581 ms) [423/508] ManagementUITest.ManagementStateChange (1591 ms) [424/508] ZoomControllerBrowserTest.ErrorPagesCanZoom (1583 ms) [425/508] HostedAppSitePerProcessTest.CrossSiteNavigationsWithinApp/0 (2897 ms) [426/508] CorsOriginAccessListBrowserTest.AllowExactHostInCaseInsensitive (1329 ms) [427/508] V4SafeBrowsingServiceTest.CheckDownloadUrlRedirects (1320 ms) [428/508] ChromeSecurityExploitBrowserTest.CommitExtensionFilesystemURLInWebProcess (1059 ms) [429/508] IeemSitelistParserTest.V2Full (1053 ms) [430/508] DownloadFramePolicyBrowserTest.SubframeNavigationDownloadBlockedByLoadPolicy (1317 ms) [431/508] ForegroundDurationUKMObserverBrowserTest.TabSwitching (1317 ms) [432/508] StartupBrowserCreatorTest.StartupURLsOnNewWindowWithNoTabbedBrowsers (1582 ms) [433/508] LocalNTPTest.InterstitialsAreNotNTPs (1847 ms) [434/508] SubresourceFilterSpecialSubframeNavigationsBrowserTest.NavigationsWithNoIPC_HaveActivation (1332 ms) [435/508] SubresourceFilterSettingsBrowserTest.ContentSettingsWhitelistViaReload_DoNotActivate (1066 ms) [436/508] LookalikeUrlNavigationThrottleBrowserTest.NonUniqueDomains_NoMatch/0 (1584 ms) [437/508] SubresourceFilterInterceptingBrowserTest.SafeBrowsingNotificationsWaitOnAllRedirects (3165 ms) [438/508] IndependentOTRProfileManagerTest.OriginalProfileDestroyedFirst (1321 ms) [439/508] CrManagementA11yTest.SimpleTest_dlitem (1847 ms) [440/508] CacheCounterTest.Empty (928 ms) [441/508] LegacyShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.ActionInManifest/0 (1326 ms) [442/508] LocalNTPSearchSuggestTest.NoSuggestionsjectedIntoPageOnResponseWithoutSuggestions (2368 ms) [443/508] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.PRE_ChangedSplitPref/0 (1327 ms) [444/508] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/1 (1320 ms) [445/508] IsolatedAppTest.IsolatedAppProcessModel (1850 ms) [446/508] ParameterizedExtensionUninstallDialogViewBrowserTest.EnsureExtensionUninstallURLIsActiveTabAfterUninstall/0 (1313 ms) [447/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_Hsts/2 (1849 ms) [448/508] WebViewNewWindowTest.OpenURLFromTab_NewWindow_Abort (1853 ms) [449/508] ChromeNavigationBrowserTest.OpenerNavigation_DownloadPolicy_Allowed (1059 ms) [450/508] CrSettingsPeoplePageTest.All (2901 ms) [451/508] HatsBubbleTest.InvokeUi_default (927 ms) [452/508] AutoplayExtensionBrowserTest.AutoplayAllowedInHostedApp (1327 ms) [453/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_DiskCache/1 (1330 ms) [454/508] NavigationPredictorBrowserTest.ActionAccuracy_DifferentOrigin (1063 ms) [455/508] AdTaggingEventFromSubframeBrowserTest.WindowOpenFromSubframe/2 (1320 ms) [456/508] MetricsServiceBrowserSampledOutTest.FilesRemoved (1065 ms) [457/508] ServiceWorkerPaymentAppFactoryBrowserTest.UnknownMethod (1842 ms) [458/508] HostedAppOpaqueBrowserFrameViewTest.LightThemeColor (1328 ms) [459/508] PermissionDialogTest.InvokeUi_geolocation (1331 ms) [460/508] LocalCardMigrationBrowserTestForStatusChip.CreditCardIconShownInStatusChip (1595 ms) [461/508] QuicAllowedPolicyIsFalse.QuicDisallowedForSystem (1069 ms) [462/508] CastMirroringServiceHostBrowserTest.CaptureTabVideo (1853 ms) [463/508] WithoutAny/BackgroundXhrWebstoreTest.XHRToWebstorePolicy/0 (1329 ms) [464/508] WebRtcGetMediaDevicesBrowserTest.DeviceIdEqualsGroupIdDiffersAcrossTabs/0 (1594 ms) [465/508] CrControlledRadioButtonTest.All (2378 ms) [466/508] AdsPageLoadMetricsObserverBrowserTest.DocWriteAboutBlankAdframe (1064 ms) [467/508] ErrorConsoleBrowserTest.BadAPIArgumentsRuntimeError (1067 ms) [468/508] SafeBrowsingTriggeredPopupBlockerDisabledTest.NoFeature_AllowCreatingNewWindows (1059 ms) [469/508] CastV2PerformanceTest.Performance/0 (7371 ms) [470/508] PaymentRequestSettingsLinkTest.ClickSettingsLink (1322 ms) [471/508] HistorySearchedLabelTest.All (1855 ms) [472/508] UnifiedConsentBrowserTest.SettingsHistogram_None (929 ms) [473/508] BackgroundFetchBrowserTest.OfflineItemCollection_VerifyResourceDownloadedWhenDownloadTotalSmallerThanActualSize (26295 ms) [474/508] ChromeTracingDelegateBrowserTest.BackgroundTracingThrottleTimeElapsed (1583 ms) [475/508] SSLPolicyTestCommittedInterstitials.CertificateTransparencyEnforcementDisabledForUrls/1 (1595 ms) [476/508] ExtensionBindingsUserGestureTest.WebUserGestureAfterMessagingCallback/0 (2111 ms) [477/508] CertificateTransparencySSLUITest.EnforcedAfterApril2018 (1063 ms) [478/508] DnsProbeFailingProbesTest.Incognito (1588 ms) [479/508] CDM_10/ECKEncryptedMediaTest.DecryptOnly_VideoOnly_MP4_CBCS/0 (4748 ms) [480/508] TabActivityWatcherTest.CalculateReactivationScore (1056 ms) [481/508] CrExtensionsActivityLogStreamItemTest.All (1587 ms) [482/508] CrSettingsDropdownMenuTest.All (2638 ms) [483/508] LocalNTPTest.ReorderCustomLinks (1872 ms) [484/508] TopFrameSameFrameDownloadBrowserTest.Download/4 (1605 ms) [ RUN ] CDM_10/ECKEncryptedMediaTest.MultipeCdmTypes/0 [25260:3843:0524/215029.422670:WARNING:notification_platform_bridge_mac.mm(540)] AlertNotificationService: XPC connection invalidated. browser_tests(25260,0x700004a3f000) malloc: *** error for object 0x7fe89b453848: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Received signal 6 [0x000107c71099] [0x000107b91ee3] [0x000107c70fb1] [0x7fff85db252a] [0x00011f060000] [0x7fff972896df] [0x7fff95ff3396] [0x7fff95fe6c03] [0x7fff95fe5705] [0x7fff95fe9bba] [0x000107c7bd04] [0x7fff95fe97eb] [0x000109d03b42] [0x000109c2f886] [0x000109c495ae] [0x000109ca8a0b] [0x000109c8d089] [0x000109c415c3] [0x000109ccb008] [0x000109c9e65d] [0x000109c8de0f] [0x000109c415c3] [0x000109c3fc13] [0x000109c40413] [0x000109c2396e] [0x000109c223f8] [0x000109c265ba] [0x00010b2501d6] [0x00010b286402] [0x000107ea3bf7] [0x000104a7901e] [0x000104a790b7] [0x000107c3a7a3] [0x000107c3a9a9] [0x000107c06ec0] [0x000107c27052] [0x000107c26bdd] [0x000107c7ad09] [0x000107c26571] [0x000107c2e27b] [0x000107c2e054] [0x000107c7b227] [0x7fff9b10699d] [0x7fff9b10691a] [0x7fff9b104351] [end of stack trace] [485/508] CDM_10/ECKEncryptedMediaTest.MultipeCdmTypes/0 (CRASHED) [486/508] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_IgnoreChromeUrl/2 (1333 ms) [487/508] QuicAllowedPolicyIsFalse.QuicDisallowedForProfile (1317 ms) [488/508] PrintPreviewHeaderNewTest.HeaderPrinterTypes (2113 ms) [489/508] CertificateReportingServiceBrowserTest.DisableSafebrowsing/0 (4753 ms) [490/508] DevToolsExperimentalExtensionTest.TestDevToolsExperimentalExtensionAPI (3163 ms) [491/508] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.ClearedAtomic/1 (1071 ms) [492/508] LocalSiteCharacteristicsDatabaseTest.DatabaseObservationTimeTrackedAcrossSessions (1060 ms) [493/508] OnDiskApp/NetworkContextConfigurationBrowserTest.Hsts/2 (1322 ms) [494/508] ServiceWorkerBasedBackgroundTest.Basic (1058 ms) [495/508] ChromeOriginTrialsDisabledTokensTest.DisabledTokensSetOnCommandLine/1 (930 ms) [496/508] OnDiskApp/NetworkContextConfigurationBrowserTest.CookiesEnabled/2 (1327 ms) [497/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.SSLConfig/1 (1317 ms) [498/508] CrElementsDrawerTest.All (4210 ms) [499/508] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.UnchangedCustom/3 (940 ms) [500/508] PrefHashBrowserTestUnchangedCustomInstance/PrefHashBrowserTestUnchangedCustom.UnchangedCustom/2 (1066 ms) [501/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.SSLConfig/2 (1597 ms) [502/508] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.RunTest/0 (3157 ms) [503/508] InMemoryApp/NetworkContextConfigurationBrowserTest.Hsts/0 (945 ms) [504/508] PrefHashBrowserTestClearedAtomicInstance/PrefHashBrowserTestClearedAtomic.ClearedAtomic/2 (1064 ms) [505/508] PrefHashBrowserTestChangedSplitPrefInstance/PrefHashBrowserTestChangedSplitPref.ChangedSplitPref/0 (1063 ms) [506/508] DeclarativeNetRequestBrowserTest_Packed.PageAllowingAPI_PersistedAcrossSessions/0 (1331 ms) [507/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.Hsts/2 (1582 ms) [508/508] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.DiskCache/1 (1322 ms) Retrying 2 tests (retry #0) [509/510] CDM_10/ECKEncryptedMediaTest.MultipeCdmTypes/0 (1866 ms) [510/510] DiscardsTest.MaybeMakePlural (1607 ms) SUCCESS: all tests passed. 450620bf10f43010: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 GTEST_SHARD_INDEX=9 GTEST_TOTAL_SHARDS=10 LANG=en_US.UTF-8 Command: ./browser_tests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/ioCHcW4t/output.json --test-launcher-filter-file=../../testing/buildbot/filters/mac_window_server_killers.browser_tests.filter --gtest_shuffle IMPORTANT DEBUGGING NOTE: each test is run inside its own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with either --single_process (to run the test in one launcher/browser process) or --single-process (to do the above, and also run Chrome in single-process mode). Using sharding settings from environment. This is shard 9/10 Using 4 parallel jobs. Randomizing with seed 47865 [1/415] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagementAndTopDomain_Match/0 (1602 ms) [2/415] OtherFrameNavigationDownloadBrowserTest_Sandbox.Download/6 (2121 ms) [3/415] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.PRE_RunTest/3 (2389 ms) [4/415] OnboardingA11y.OnboardingFlow_definition_list (2911 ms) [5/415] AutofillTest.AggregatesMinValidProfile (1584 ms) [6/415] ZoomViewBrowserTest.SharedPageVisibility (1856 ms) [7/415] MessagingApiTest.MessagingExternal (2115 ms) [8/415] Allowlisted/CrossOriginReadBlockingExtensionAllowlistingTest.FromProgrammaticContentScript_NoSniffXml/0 (1850 ms) [9/415] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.PRE_ChangedAtomic/0 (1322 ms) [10/415] PrintPreviewPreviewGenerationTest.Destination (3161 ms) [11/415] EncryptedMediaSupportedTypesTest.ClearKeyCdmNotRegistered (2381 ms) [12/415] WebViewAccessibilityTest.LoadWebViewAccessibility (2107 ms) [13/415] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/30 (1583 ms) [14/415] ExtensionBindingsApiTest.ApiEnums (1851 ms) [15/415] LookalikeUrlNavigationThrottleBrowserTest.NonUniqueDomains_NoMatch/1 (2636 ms) [16/415] OnboardingA11y.OnboardingFlow_href_no_hash (3694 ms) [17/415] LegacyShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.PageActionInManifest/0 (1854 ms) [18/415] ExtensionBindingsApiTest.ExceptionInHandlerShouldNotCrash (2901 ms) [19/415] WebUIResourceAsyncTest.WebUIListeners (1842 ms) [20/415] ProfileMainNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/2 (1589 ms) [21/415] IncognitoProfileMainNetworkContext/NetworkContextConfigurationDataPacBrowserTest.DataPac/2 (2123 ms) [22/415] PortForwardingDisconnectTest.DisconnectOnRelease (2910 ms) [23/415] PDFTestFiles/PDFExtensionLoadTest.Load/7 (1337 ms) [24/415] PPAPINaClGLibcTest.UDPSocket_DropReceiverPipeOnConstruction (2373 ms) [25/415] SSLCertificateViewerMacTest.Basic (2110 ms) [26/415] PermissionDialogTest.SwitchBrowserWindow (1866 ms) [27/415] SafeXmlParserTest.IsolationWithBatchId (1861 ms) [28/415] ImageDecoderBrowserTest.BasicDecode (1851 ms) [29/415] ExtensionSessionsTest.RestoreForeignSessionInvalidId (1592 ms) [30/415] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingWithUnlimitedSizeFails (1593 ms) [31/415] CrManagementA11yTestWithExtension.ExtensionSection_button_name (2901 ms) [32/415] VariationsHttpHeadersBrowserTest.TestStrippingHeadersFromRequestUsingSimpleURLLoaderWithProfileNetworkContext (1596 ms) [33/415] CookiePolicyBrowserTest.ThirdPartyCookiesIFrameAllowSetting (2123 ms) [34/415] PDFExtensionHitTestTest.ContextMenuCoordinates/1 (3435 ms) [35/415] SSLUITestIgnoreCertErrorsBySPKIWSS.TestWSSExpired/0 (3436 ms) [36/415] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFilePacBrowserTest.FilePac/1 (1593 ms) [37/415] WebSocketBrowserTest.WebSocketSplitSegments (2116 ms) [38/415] OnDiskApp/NetworkContextConfigurationBrowserTest.CookieIsolation/2 (2112 ms) [39/415] BookmarksListTest.All (2901 ms) [40/415] AuthenticatorDialogTest.InvokeUi_hard_block (1061 ms) [41/415] PrintPreviewHeaderTest.HeaderWithCopies (2900 ms) [42/415] DataReductionProxyFallbackBrowsertest.FallbackProxyUsedOn500Status (1595 ms) [43/415] MessagingApiTest.Messaging (1861 ms) [44/415] SitePerProcessMemoryThresholdBrowserTest.TrialIsolatedOrigins_HighThreshold (1586 ms) [45/415] CertificateReportingServiceBrowserTest.Delayed_Reset/1 (5805 ms) [46/415] PrefsInternalsTest.TestPrefsAreServed (1855 ms) [47/415] DebuggerApiTest.DebuggerNotAllowedOnFileUrlsWithoutAccess (2122 ms) [48/415] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.SecurityIndicators/1 (1590 ms) [49/415] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_ThirdPartyCookiesBlocked/2 (2115 ms) [50/415] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/0 (1324 ms) [51/415] CrSettingsSiteEntryTest.All (3165 ms) [52/415] MimeHandlerViewCrossProcessTest.EmbedderFrameRemovedNoCrash/0 (1072 ms) [53/415] BookmarksUtilTest.All (1860 ms) [54/415] SafeJsonParserTest.Isolation (1850 ms) [55/415] SitePerProcessAutofillMetricsBrowserTest.CorrectSourceForCrossSiteEmbeddedUnownedAddressCheckout (1339 ms) [56/415] TabManagerTest.TabManagerWasDiscardedCrossSiteSubFrame (2914 ms) [57/415] NetworkRequestMetricsBrowserTest.NetErrorBeforeHeaders/1 (1589 ms) [58/415] DevToolsBeforeUnloadTest.TestDevToolsOnDevTools (5530 ms) [59/415] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_SSLConfig/0 (1068 ms) [60/415] PrintPreviewCustomMarginsTest.SetControlsWithTextbox (11583 ms) [61/415] ChromeSignInWebViewTest.ClosingChromeSignInShouldNotCrash (3161 ms) [62/415] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.PolicyUpdateDefaultXHR/0 (1852 ms) [63/415] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_TopDomain_NoMatch/1 (1851 ms) [64/415] BrowserCloseManagerBrowserTest.PRE_TestSessionRestore (2646 ms) [65/415] EncryptedMediaSupportedTypesWidevineTest.Robustness (2899 ms) [66/415] ImageFetcherImplBrowserTest.NormalFetch (1590 ms) [67/415] PrintPreviewKeyEventTest.EnterOnDropdownDoesNotPrint (2376 ms) [68/415] NetInfoNetworkQualityEstimatorHoldbackBrowserTest.EffectiveConnectionTypeChangeNotified/0 (1324 ms) [69/415] FramesExtensionBindingsApiTest.FramesBeforeNavigation (1849 ms) [70/415] PermissionBubbleBrowserTest.HasLocationBarByDefault (1339 ms) [71/415] CrManagementA11yTest.SimpleTest_table_duplicate_name (1847 ms) [72/415] AdTaggingEventFromSubframeBrowserTest.WindowOpenFromSubframe/3 (1590 ms) [73/415] OnDiskApp/NetworkContextConfigurationBrowserTest.CookieIsolation/1 (1579 ms) [74/415] ChromeSendWebUITest.NotInPreload (1318 ms) [75/415] PaymentRequestContactInfoEditorTest.EnterAcceleratorHappyPath (1846 ms) [76/415] DefaultBlockSandboxDownloadBrowserTest.PdfNotBlocked (1057 ms) [77/415] SpellingMenuObserverTest.NoMoreSuggestionsNotDisplayed (1057 ms) [78/415] PaymentRequestCanMakePaymentQueryCCTest.QueryQuota (1326 ms) [79/415] ExtensionResourceRequestPolicyTest.LinkToWebAccessibleResources (1842 ms) [80/415] CDM_10/ECKEncryptedMediaTest.CdmProxy/0 (1842 ms) [81/415] CookiePolicyBrowserTest.AllowFirstPartyCookies (1053 ms) [82/415] PPAPINaClGLibcTest.TCPSocket_Connect (1589 ms) [83/415] NetworkRequestMetricsBrowserTest.FileURLError/3 (929 ms) [84/415] StatusBubbleViewsTest.NeverHideOrCloseOnMac (1066 ms) [85/415] WasmTrapHandlerBrowserTest.TrapHandlerCorrectlyConfigured (1325 ms) [86/415] ProfileWindowBrowserTest.OpenGuestBrowser (1323 ms) [87/415] ProcessMemoryMetricsEmitterTest.FetchAndEmitMetrics (1062 ms) [88/415] ImageWriterUtilityClientTest.WriteVerify (937 ms) [89/415] WebUsbTest.AddRemoveDevice (933 ms) [90/415] ClickModifierTest.WindowOpenControlClickTest (934 ms) [91/415] ErrorPageOfflineTestWithAllowDinosaurFalse.CheckEasterEggIsDisabled (933 ms) [92/415] BluetoothApiTest.DiscoveryCallback (1067 ms) [93/415] ServiceWorkerMessagingTest.WorkerToTab (1065 ms) [94/415] BrowsingDataLocalStorageHelperTest.CallbackCompletes (934 ms) [95/415] ErrorPageAutoReloadTest.AutoReload (6332 ms) [96/415] ChromeResourceDispatcherHostDelegateBrowserTest.ThrottlesAddedExactlyOnceToADownloads (937 ms) [97/415] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.PRE_SearchProtected/2 (1067 ms) [98/415] SaveCardBubbleControllerImplTest.InvokeUi_Server_WithCardholderNameTextfield (1589 ms) [99/415] PaymentRequestShowPromiseTest.Timeout (11583 ms) [100/415] SecureOriginWhitelistBrowsertest/SecureOriginWhitelistBrowsertest.Simple/0 (1060 ms) [101/415] JavaScriptDialogTest.DismissalCausePromptTabNavigated (1060 ms) [102/415] CrSettingsCategorySettingExceptionsTest.All (2909 ms) [103/415] LocalCardMigrationBrowserTestForStatusChip.ClickingOmniboxIconReshowsBubble (1840 ms) [104/415] CrossOriginXHR.NoFileAccessAllURLs (1315 ms) [105/415] ExtensionContextMenuApiTest.ShowExtensionNamedTopLevelItemIfSomeChildrenAreVisible (1315 ms) [106/415] DesktopMediaPickerViewsBrowserTest.InitiallyFocusesDisabledOK (1065 ms) [107/415] PrintPreviewInvalidSettingsBrowserTest.NoPDFPluginError (2634 ms) [108/415] SecurityStatePageLoadMetricsBrowserTest.NonZeroForegroundTime (1055 ms) [109/415] QuicAllowedPolicyDynamicTest.QuicAllowedFalseThenTrue (1063 ms) [110/415] ChromeTracingDelegateBrowserTest.NewIncognitoSessionBlockingTraceFinalization (1325 ms) [111/415] CrSettingsResetProfileBannerTest.All (2386 ms) [112/415] DesktopMediaPickerViewsBrowserTest.InvokeUi_tabs (1063 ms) [113/415] ZoomBubbleBrowserTest.DestroyedWebContents (1327 ms) [114/415] ChromeMojoProxyResolverFactoryBrowserTest.DestroyFactory (4211 ms) [115/415] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/6 (1596 ms) [116/415] TranslateManagerBrowserTest.PageTranslationAboutBlank (1590 ms) [117/415] ExtensionBindingsApiTest.UseAPIsAfterContextRemoval (1332 ms) [118/415] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/0 (1852 ms) [119/415] WebSocketBrowserTest.SecureWebSocketSplitRecords (1859 ms) [120/415] DeclarativeNetRequestAPItest.ExtensionWithNoRuleset (1323 ms) [121/415] NaClExtensionTest.MainFrameIsRemote (1330 ms) [122/415] PolicyUITest.ExtensionLoadAndSendPolicy (2121 ms) [123/415] ServiceWorkerTest.NotificationAPI (1061 ms) [124/415] NavigationPredictorBrowserTest.NoPreconnectNonSearchOnOtherHostLinks (927 ms) [125/415] All/PrefersColorSchemeTest.PrefersColorScheme/0 (931 ms) [126/415] ZoomBubbleReuseTest.DifferentExtension (1059 ms) [127/415] ProfileChooserViewExtensionsParamTest.InvokeUi_MultiProfile/1 (1054 ms) [128/415] ProfileManagerBrowserTest.DeletePasswords (1582 ms) [129/415] ContentVerifierTest.VerificationFailureOnNavigate (1848 ms) [130/415] SessionRestoreObserverTest.MultipleTabSessionRestore (7629 ms) [131/415] ChromeWebStoreInIsolatedOriginTest.NavigationLoadsChromeWebStore (1584 ms) [132/415] WebViewNewWindowTest.Shim_TestNewWindowNoPreventDefault (1848 ms) [133/415] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/23 (2642 ms) [134/415] PrintPreviewDestinationSelectTest.RecentSaveAsPdf (2372 ms) [135/415] SSLUITestCommitted.ErrorPage/0 (1061 ms) [136/415] RegisterProtocolHandlerBrowserTest.CustomHandler (1325 ms) [137/415] PaymentSheetViewControllerNoShippingTest.NoShippingNoContactRows (1325 ms) [138/415] PaymentRequestShippingAddressInstanceTest.ShouldBeSameInstance (1587 ms) [139/415] ServiceProcessControlBrowserTest.LaunchAndReconnect (2377 ms) [140/415] SSLUICaptivePortalListResourceBundleTest.Enabled_NameMismatchAndWeakKey/0 (1326 ms) [141/415] GlobalErrorServiceBrowserTest.ShowBubbleView (1333 ms) [142/415] HostedAppOpaqueBrowserFrameViewTest.MediumThemeColor (1586 ms) [143/415] NetworkRequestMetricsBrowserTest.FileURLSuccess/0 (1318 ms) [144/415] ManagedUiTest.ShouldDisplayManagedUiOnDesktop (1324 ms) [145/415] ProfileWithoutMediaCacheBrowserTest.PRE_DeleteMediaCache (921 ms) [146/415] AppManagementRouterTest.All (2639 ms) [147/415] PaymentRequestCvcUnmaskViewControllerTest.ButtonDisabled (1857 ms) [148/415] TranslateManagerBrowserTest.HrefTranslateNoHrefLang (2122 ms) [149/415] WebAppUiDelegateImplBrowserTest.NotifyOnAllAppWindowsClosed_MultipleOpenedWindows (2644 ms) [150/415] CrSettingsAppearancePageTest.All (2643 ms) [151/415] InstanceIDApiTest.DeleteToken (1329 ms) [152/415] ProcessMemoryMetricsEmitterTest.FetchAndEmitMetricsWithExtensionsAndHostReuse (1065 ms) [153/415] WebAppInstallForceListPolicyTest.StartUpInstallation (1326 ms) [154/415] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/9 (1847 ms) [155/415] BrowserEncodingTest.TestEncodingAutoDetect (2365 ms) [156/415] MediaRouterIntegrationOneUANoReceiverBrowserTest.ReconnectSession (3162 ms) [157/415] EncryptedMediaSupportedTypesExternalClearKeyTest.Audio_WebM (2107 ms) [158/415] TabUnderBlockerBrowserTest.NavigateFromExtensions_Allowed (1598 ms) [159/415] IPBTP/InProcessBrowserTestP.TestP/0 (1071 ms) [160/415] AllowlistingDisabled/CrossOriginReadBlockingExtensionAllowlistingTest.FromDeclarativeContentScript_NoSniffXml/0 (1342 ms) [161/415] CloudPolicyManagerTest.RegisterWithRetry (1345 ms) [162/415] IncognitoProfileMainNetworkContext/NetworkContextConfigurationFtpPacBrowserTest.FtpPac/1 (2110 ms) [163/415] PepperContentSettingsSpecialCasesJavaScriptBlockedTest.Flash (2118 ms) [164/415] CustomTabBarViewBrowserTest.OriginsWithEmojiArePunyCoded (1849 ms) [165/415] EncryptedMediaSupportedTypesWidevineTest.NoCodecs (2109 ms) [166/415] CacheCounterTest.AfterDoom (1321 ms) [167/415] PolicyPrefsTest.PolicyToPrefsMapping (1847 ms) [168/415] ChromeSitePerProcessBrowserPluginPDFTest.SendSyntheticTapGestureNonOOPIF (1581 ms) [169/415] WebViewWithZoomForDSFTest.Shim_TestAutosizeRemoveAttributes (2109 ms) [170/415] SSLNetworkTimeBrowserTest.OnDemandFetchClockWrong/1 (1330 ms) [171/415] BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details (1329 ms) [172/415] SSLUICaptivePortalListResourceBundleTest.Enabled/1 (1854 ms) [173/415] AudioFocusWebContentsObserverBrowserTest.PlatformAppHasDifferentAudioFocus (2637 ms) [174/415] SignedExchangePageLoadMetricsBrowserTest.UkmSignedExchangeMetric (1586 ms) [175/415] StartupBrowserCreatorTest.OpenAppUrlShortcut (1589 ms) [176/415] PrintPreviewInvalidSettingsBrowserTest.InvalidCertificateErrorReselectDestination (2898 ms) [177/415] StartupBrowserCreatorTest.ProfilesWithoutPagesNotLaunched (3425 ms) [178/415] ExtensionManagementTest.AutoUpdateDisabledExtensions (2897 ms) [179/415] AdClickNavigationBrowserTest.UseCounter/1 (1320 ms) [180/415] PPAPINaClGLibcTest.TCPSocket_WriteClosePipe (1595 ms) [181/415] AdTaggingBrowserTest.VerifySameOriginWithoutNavigate (1599 ms) [182/415] MDnsAPITest.MaxServiceInstancesPerEventConst (1580 ms) [183/415] MerchantResponse/PaymentHandlerChangePaymentMethodTest.Test/1 (1580 ms) [184/415] InProcessBrowserTest.ExternalConnectionFail (1318 ms) [185/415] ChromeDoNotTrackTest.FetchFromSharedWorker (1320 ms) [186/415] OnDiskApp/NetworkContextConfigurationBrowserTest.PRE_CookiesEnabled/1 (1059 ms) [187/415] SecurityStateTabHelperIncognitoTest.HttpErrorPage/1 (1581 ms) [188/415] PDFPluginDisabledTest.DirectNavigationToPDF (1319 ms) [189/415] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/13 (1847 ms) [190/415] PrintPreviewAdvancedDialogTest.AdvancedSettingsApply (2635 ms) [191/415] ChromeNavigationBrowserTest.NavigationToErrorURLIsDisallowed (1062 ms) [192/415] PPAPINaClGLibcTest.UDPSocket_BindDropPipe (1844 ms) [193/415] FirstRunInternalPosixTest.HandleSigint (931 ms) [194/415] OutOfProcessPPAPIPrivateTest.FileIO_Private (1844 ms) [195/415] ExtensionsDisabledBrowserTest.PRE_TestStartupWithInstalledExtensions (1848 ms) [196/415] PaymentRequestHasEnrolledInstrumentQueryTest.HasEnrolledInstrument_GooglePayCardsDisabled (1338 ms) [197/415] BrowsingDataRemoverBrowserTest.ExternalProtocolHandlerPrefs (1319 ms) [198/415] HostZoomMapBrowserTest.PageScaleIsOneChanged (1057 ms) [199/415] SecurityStateLoadingTest.NavigationStateChanges/0 (1317 ms) [200/415] DataSaverHoldbackBrowserTest.DataSaverEnabledWithHoldbackEnabled/1 (1348 ms) [201/415] NoOverrideSitePerProcessPolicyBrowserTest.Simple (1323 ms) [202/415] LookalikeUrlNavigationThrottleBrowserTest.UkmRecordedWhenNoInterstitialShown/0 (1330 ms) [203/415] CrManagementA11yTest.SimpleTest_scope_attr_valid (1589 ms) [204/415] DeclarativeNetRequestAPItest.DynamicRules (2106 ms) [205/415] EncryptedMediaSupportedTypesExternalClearKeyTest.Audio_MP4 (2371 ms) [206/415] BrowserActionsBarUiBrowserTest.InvokeUi_blocked_actions (1604 ms) [207/415] ChromeServiceWorkerTest.StartServiceWorkerForLongRunningMessage (1340 ms) [208/415] CtrlClickShouldEndUpInSameProcessTest.SubframeTarget (1586 ms) [209/415] PaymentRequestSameShippingAndContactAddressUseStatsTest.RecordUse (2369 ms) [210/415] DebuggerApiTest.DebuggerAllowedOnFileUrlsWithFileAccess (1850 ms) [211/415] LookalikeUrlNavigationThrottleBrowserTest.IdnWithSingleLabelShouldNotCauseACrash/1 (1585 ms) [212/415] LocalCardMigrationBrowserTest.ClickingSaveClosesDialog (2635 ms) [213/415] LookalikeUrlNavigationThrottleBrowserTest.NetError_SiteEngagement_Interstitial/0 (1584 ms) [214/415] BluetoothApiTest.Discovery (1062 ms) [215/415] SyncAwareCounterTest.AutofillCounter (2114 ms) [216/415] ProxySettingsApiTest.ProxySystem (1581 ms) [217/415] NaClBrowserTestStatic.SameOriginCookie (1582 ms) [218/415] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.PRE_UntrustedAdditionToPrefsAfterWipe/1 (938 ms) [219/415] ServiceWorkerTest.WorkerRefCount (1326 ms) [220/415] WebrtcLoggingPrivateApiBrowserTest.TestNoGetLogsDirectoryPermissionsFromHangoutsExtension (1328 ms) [221/415] MachineLevelUserCloudPolicyManagerTest.NoDmToken (944 ms) [222/415] CrManagementA11yTestWithExtension.ExtensionSection_area_alt (1859 ms) [223/415] AdsPageLoadMetricsObserverBrowserTest.FramePixelSize (2386 ms) [224/415] DataReductionProxyExpFeatureBrowsertest.ChromeProxyExpHeaderSet (1328 ms) [225/415] ServiceWorkerBasedBackgroundTest.WebRequestBlocking (1598 ms) [226/415] SocketApiTest.SocketMulticast (5259 ms) [227/415] DevToolsAgentHostTest.TestAgentHostReleased (1326 ms) [228/415] FirstRunBrowserTest.SetShouldShowWelcomePage (1335 ms) [229/415] ExtensionPreferenceApiTest.OnChange (1601 ms) [230/415] BrowsingDataDatabaseHelperTest.CannedUnique (1336 ms) [231/415] MimeHandlerViewCrossProcessTest.EmbedWithInitialFrameAcceptBeforeUnloadDialog/0 (1325 ms) [232/415] MimeHandlerViewCrossProcessTest.NavigationRaceFromEmbedder/0 (1329 ms) [233/415] SyncInternalsWebUITest.NetworkEventsTest (1861 ms) [234/415] CustomTabBarViewBrowserTest.OriginsWithNonASCIICharactersDisplayNormally (2119 ms) [235/415] NetworkQualityEstimatorPrefsBrowserTest.PrefsWritten (1325 ms) [236/415] VariationsHttpHeadersBrowserTest.ServiceWorkerNavigationPreload (1323 ms) [237/415] InstallReplacementWebAppApiTest.NoGesture (2116 ms) [238/415] OnDiskApp/NetworkContextConfigurationProxyOnStartBrowserTest.TestInitialProxyConfig/2 (1585 ms) [239/415] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/19 (1849 ms) [240/415] BrowserActionsContainerBrowserTest.CanResize_InHighlightMode (1586 ms) [241/415] SystemNetworkContextManagerBrowsertest.StaticAuthParams (1340 ms) [242/415] ExtensionContentSettingsApiTest.EmbeddedSettingsPermissionDelegation (1580 ms) [243/415] PrintPreviewKeyEventTest.CtrlShiftPOpensSystemDialog (3168 ms) [244/415] IntentPickerBubbleViewBrowserTest.NavigationInAppWindowToInScopeLinkDoesNotShowIntentPickerWhenDesktopPWAsStayInWindowEnabled/3 (1589 ms) [245/415] MimeHandlerViewCrossProcessTest.ActivatePostMessageSupportOnce/0 (1855 ms) [246/415] NetworkingCastPrivateApiTest.Basic (1585 ms) [247/415] LookalikeUrlNavigationThrottleBrowserTest.Idn_SiteEngagement_Match_Incognito/2 (3164 ms) [248/415] DefaultIsolation/TaskManagerOOPIFBrowserTest.KillSubframe/0 (1853 ms) [249/415] SyncInternalsWebUITest.NodeBrowserTest (1858 ms) [250/415] PolicyStatisticsCollectorTest.Startup (1062 ms) [251/415] CrSettingsAutofillSectionCompanyEnabledTest.All (5528 ms) [252/415] ExtensionUninstallDialogViewInteractiveBrowserTest.InvokeUi_UninstallByExtensionShowReportAbuse (1848 ms) [253/415] ExternallyConnectableMessagingTest.WebConnectableWithTlsChannelIdWithEmptyTlsChannelId (1588 ms) [254/415] SupervisedUserServiceTest.ProfileName (1318 ms) [255/415] AdTaggingBrowserTest.VerifyCrossOriginWithImmediateNavigate (2632 ms) [256/415] HistoryManipulationInterventionBrowserTest.PDFDoNotSkipOnBackForward (1597 ms) [257/415] CrManagementA11yTest.SimpleTest_video_description (2115 ms) [258/415] BrowserActionsContainerBrowserTest.CannotResize_AtZeroWidth (1588 ms) [259/415] ClickModifierTest.HrefMiddleClickTest (1588 ms) [260/415] CrSettingsMenuTest.SettingsMenu (3447 ms) [261/415] ContentSuggestionsServiceFactoryTest.CreatesServiceOnlyOnAndroid (1327 ms) [262/415] TabManagerTest.OomPressureListener (2108 ms) [263/415] AuthenticatorDialogTest.InvokeUi_ble_device_selection (2374 ms) [264/415] BrowsingDataRemoverBrowserTest.Database (2111 ms) [265/415] ExtensionEnableFlowBrowserTest.TryEnablingPolicyForbiddenExtension (1324 ms) [266/415] WebRtcSimulcastBrowserTest.TestVgaReturnsTwoSimulcastStreams (3425 ms) [267/415] WakeEventPageTest.ClosedPersistentBackgroundPage (1587 ms) [268/415] AutofillProviderBrowserTest.LabelTagChangeImpactFormComparingWithFlagOff (1856 ms) [269/415] ClientHintsBrowserTest.ClientHintsMalformedContentSettings/0 (1847 ms) [270/415] LazyBackgroundPageApiTest.Filters (2376 ms) [271/415] PPAPINaClGLibcTest.TCPSocket_ConnectClosePipe (2375 ms) [272/415] CrSettingsStartupUrlsPageTest.All (3961 ms) [273/415] ImageAnnotationBrowserTest.ImageUrl (1853 ms) [274/415] ContentVerifierPolicyTest.PRE_PolicyCorruptedOnStartup (1855 ms) [275/415] MimeHandlerViewCrossProcessTest.EmbeddedDataUrlLong/0 (1860 ms) [276/415] AuthenticatorDialogTest.InvokeUi_missing_capability (1587 ms) [277/415] MimeHandlerViewCrossProcessTest.EmbeddedDataUrlObject/1 (1851 ms) [278/415] LocalCardMigrationBrowserTest.ReusingLocalCardDoesNotShowIntermediateMigrationOffer (2641 ms) [279/415] EncryptedMediaSupportedTypesWidevineTest.Video_WebM (2907 ms) [280/415] PolicyWebStoreIconHiddenTest.NTPWebStoreIconHidden (1857 ms) [281/415] CrExtensionsManagerUnitTest.ToggleIncognito (2109 ms) [282/415] SitePerProcessMemoryThresholdBrowserTest.SitePerProcessEnabled_HighThreshold (1333 ms) [283/415] WebUsbTest.RequestAndGetDevices (2113 ms) [284/415] PrintPreviewDestinationSettingsTest.GoogleDriveRecent (2901 ms) [285/415] OtherFrameNavigationDownloadBrowserTest_AdFrame.Download/0 (1586 ms) [286/415] TabActivityWatcherUkmTest.TabDrag (1855 ms) [287/415] CrSettingsSiteListTest.AddExceptionDialog (3420 ms) [288/415] ServiceWorkerTest.BackgroundPagePostsMessageToServiceWorker (1591 ms) [289/415] CrExtensionsManagerTestWithMultipleExtensionTypesInstalled.SplitItems (2641 ms) [290/415] DownloadsToolbarTest.All (2119 ms) [291/415] PrintPreviewKeyEventTest.EscapeClosesDialogOnMacOnly (2910 ms) [292/415] SubframeSameFrameDownloadBrowserTest_Sandbox.Download/7 (2117 ms) [293/415] SafeBrowsingNetworkContext/NetworkContextConfigurationFixedPortBrowserTest.TestingFixedPort/1 (1854 ms) [294/415] AutoplayExtensionBrowserTest.AutoplayAllowed (1861 ms) [295/415] ClickModifierTest.WindowOpenBasicClickTest (1333 ms) [296/415] ImageDecoderBrowserTest.StartAndDestroy (1340 ms) [297/415] WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.StartEventLoggingForNeverAddedPeerConnectionFails (1592 ms) [298/415] ErrorConsoleBrowserTest.DontStoreErrorsWithoutDeveloperMode (1323 ms) [299/415] ProxySettingsApiTest.ProxyFixedIndividualIncognitoOnly (1594 ms) [300/415] PrintPreviewKeyEventTest.EnterOnInputTriggersPrint (2645 ms) [301/415] DataReductionProxyBrowsertest.UpdateConfig (1589 ms) [302/415] UserProfile/ExtensionWebRequestApiAuthRequiredTest.WebRequestAuthRequiredAsync/0 (7372 ms) [303/415] BackgroundFetchBrowserTest.OfflineItemCollection_VerifyResourceDownloadedWhenCorrectDownloadTotalSpecified (1325 ms) [304/415] PrintPreviewCustomMarginsTest.DragControls (2647 ms) [305/415] AppShimHostManagerBrowserTest.LaunchNormal (1318 ms) [306/415] HistoryApiTest.DeleteProhibited (1844 ms) [307/415] BrowsingDataCounterUtilsBrowserTest.ShouldShowCookieException/0 (1588 ms) [308/415] WebSocketBrowserTest.WebSocketAppliesHSTS (2383 ms) [309/415] UserManagerUIAuthenticatedUserBrowserTest.Reauth (2105 ms) [310/415] PaymentRequestHasEnrolledInstrumentQueryPMITest.QueryQuotaForPaymentAppsInIncognitoMode (1599 ms) [311/415] ZoomControllerBrowserTest.Observe (1329 ms) [312/415] PaymentRequestShowPromiseTest.ResolveWithEmptyDictionary (2380 ms) [313/415] PasswordsCounterTest.PeriodChanged (1321 ms) [314/415] OnboardingA11y.OnboardingFlow_color_contrast (2632 ms) [315/415] WebDialogBrowserTest.TextInputViaKeyEvent (1850 ms) [316/415] LookalikeUrlNavigationThrottleBrowserTest.NetError_SiteEngagement_Interstitial/2 (1586 ms) [317/415] RelaunchRequiredDialogViewDialogTest.InvokeUi_default (1854 ms) [318/415] SubframeSameFrameDownloadBrowserTest_AdFrame.Download/6 (1854 ms) [319/415] OriginPolicyBrowserTest.ErrorCantDownloadPolicy (1318 ms) [320/415] DataSaverForWorkerBrowserTest.DedicatedWorker_Off (1325 ms) [321/415] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ShutdownWithLiveRequest/2 (1581 ms) [322/415] ImageFetcherImplBrowserTest.MultipleFetch (4214 ms) [323/415] AdClickNavigationBrowserTest.UseCounter/4 (1068 ms) [324/415] CrSettingsSecurityKeysSubpageTest.All (3423 ms) [325/415] LookalikeUrlNavigationThrottleBrowserTest.EditDistance_EngagedDomain_Match/1 (1316 ms) [326/415] ChromeAppAPITest.IsInstalledFromRemovedFrame (1584 ms) [327/415] AppViewTest.KillGuestCommunicatingWithWrongAppView (3431 ms) [328/415] AdsPageLoadMetricsObserverResourceBrowserTest.ReceivedAdResources (1587 ms) [329/415] ZoomControllerBrowserTest.ObserveDisabledModeEvent (1324 ms) [330/415] PPAPIPrivateTest.FileIO_Private (2117 ms) [331/415] CrManagementA11yTest.SimpleTest_link_name (2642 ms) [332/415] DebuggerExtensionApiTest.Debugger (2638 ms) [333/415] OnboardingWelcomeNtpBackgroundTest.All (2371 ms) [334/415] PaymentRequestIframeTest.HistoryPushState_UserAborted (1853 ms) [335/415] PaymentSheetViewControllerContactDetailsTest.SupportedCard_IncompleteContactInfo (1586 ms) [336/415] ChromeServiceWorkerNavigationHintTest.Started (1845 ms) [337/415] AppWindowBrowserTest.FrameInsetsForColoredFrame (2635 ms) [338/415] LocalCardMigrationBrowserTest.DeleteSuccessfullyMigratedCardsFromLocal (2372 ms) [339/415] SSLUITestIgnoreCertErrors.TestWSS/0 (2377 ms) [340/415] BookmarksExtensionAPITest.All (2385 ms) [341/415] LaunchWebAuthFlowFunctionTest.UserCloseWindow (1849 ms) [342/415] LoadingPredictorBrowserTest.TwoConcurrentNavigations (1596 ms) [343/415] QuicAllowedPolicyDynamicTest.SecondProfileCreatedWhenQuicAllowedFalse (1848 ms) [344/415] PaymentRequestDebitTest.CannotMakePaymentWithCreditAndPrepaidCard (2116 ms) [345/415] ExternallyConnectableMessagingTest.FromIncognitoNoEventHandlerInApp (2370 ms) [346/415] BrowserActionAPITest.TestNoUnnecessaryIO (1847 ms) [347/415] ZoomBubbleReuseTest.ExtensionThenUser (1333 ms) [348/415] PaymentRequestUpdateWithTest.UpdateWithShippingOptions (2392 ms) [349/415] ExternallyConnectableMessagingTest.FromIncognitoAllowExtension (2638 ms) [350/415] OnDiskApp/NetworkContextConfigurationBrowserTest.BasicRequest/2 (1584 ms) [351/415] CastChannelAPITest.TestOpenErrorSend (1872 ms) [352/415] AppBannerManagerDesktopBrowserTest.DestroyWebContents (1858 ms) [353/415] WebBluetoothTest.NavigateWithChooserCrossOrigin (2128 ms) [354/415] ExtensionBindingsApiTest.NoExportOverriding (2382 ms) [355/415] DurableStorageBrowserTest.SessionOnly (1334 ms) [356/415] ServiceWorkerBasedBackgroundTest.FilteredEvents (1859 ms) [357/415] PaymentRequestContactInfoEditorTest.ModifyExisting (2124 ms) [358/415] OnboardingA11y.OnboardingFlow_aria_roles (3175 ms) [359/415] ExtensionCloudPrintPrivateApiTest.CloudPrintHostedIncognito (1608 ms) [360/415] AppBannerManagerDesktopBrowserTest.WebAppBannerFiresAppInstalled (2117 ms) [361/415] PDFExtensionClipboardTest.CombinedShiftArrowPresses (3685 ms) [362/415] LegacyShowActionKey/ParameterizedShowActionDeclarativeContentApiTest.RulesAddedFromManifest/0 (1591 ms) [363/415] TabManagerTest.TabFreezeAndUnfreeze (2370 ms) [364/415] CrManagementA11yTest.SimpleTest_bypass (2633 ms) [365/415] SettingsPrivateApiTest.GetAllPrefs (1586 ms) [366/415] DefaultKeyedHttpCache/NoStatePrefetchBrowserTestHttpCache.LoadAfterPrefetchCrossOrigin/0 (1858 ms) [367/415] NetworkingPrivateServiceClientApiTest.GetStateNonExistent (1850 ms) [368/415] LookalikeUrlNavigationThrottleBrowserTest.Interstitial_Dismiss/0 (1590 ms) [369/415] RemoveCachedAuthTokenFunctionTest.NotFound (1861 ms) [370/415] PrintPreviewAdvancedItemTest.DisplaySelect (3435 ms) [371/415] DomainReliabilityBrowserTest.RequestAtShutdown (1331 ms) [372/415] SubresourceFilterSettingsBrowserTest.DrivenByEnterprisePolicy (1849 ms) [373/415] AppViewTest.KillGuestWithInvalidInstanceID (2370 ms) [374/415] BackgroundPage/ExtensionContextMenuBrowserTest.IncognitoSplit/0 (2647 ms) [375/415] SupervisedUserTest.BlockNewTabAfterLoading/0 (2374 ms) [376/415] BrowsingDataRemoverBrowserTest.Download (1852 ms) [377/415] BookmarkAppTest.EngagementHistogramManyUserApps (3173 ms) [378/415] PasswordGenerationAgentTestForHtmlAnnotation.AnnotateNoForm (796 ms) [379/415] PolicyControl/StartupBrowserCreatorInfobarsTest.CheckInfobarForEnableAutomation/0 (1843 ms) [380/415] PageActionApiTest.AddPopup (1848 ms) [381/415] AppControllerHandoffBrowserTest.TestHandoffURLs (1857 ms) [382/415] MediaStreamDevicesControllerBrowserTestInstance/MediaStreamDevicesControllerBrowserTest.AudioCaptureAllowedUrls/0 (1332 ms) [383/415] InMemoryApp/NetworkContextConfigurationBrowserTest.PRE_CookieSettings/1 (1329 ms) [384/415] PrerenderIncognitoBrowserTest.PrerenderIncognito (1850 ms) [385/415] BrowserCloseManagerBrowserTest.TestCloseWindowDuringShutdown (1849 ms) [386/415] ClientHintsBrowserTest.ClientHintsHttpsSubresourceDifferentOrigin/1 (1576 ms) [387/415] BrowserActionsContainerOverflowTest.TestOverflowDragging (1322 ms) [388/415] AutofillServerTest.QueryAndUploadBothIncludeFieldsWithAutocompleteOff (1334 ms) [389/415] AndroidNoConfigUsbTest.TestDeviceNoConfig (1851 ms) [390/415] UnifiedAutoplayBrowserTest.Redirect_SameOrigin_WithGesture (1588 ms) [391/415] WebBluetoothTest.KillSwitchShouldBlock (1587 ms) [392/415] SitePerProcessPrintBrowserTest.SubframeUnavailableBeforePrint (3424 ms) [393/415] CookiePolicyBrowserTest.AllowFirstPartyCookiesRedirect (1329 ms) [394/415] TaskManagerViewTest.ColumnsSettingsAreRestored (1582 ms) [395/415] ServiceProcessControlBrowserTest.HistogramsNoService (1587 ms) [396/415] UnifiedAutoplaySettingBrowserTest.DefaultAllow (1852 ms) [397/415] ChromeRenderProcessHostTest.DevToolsOnSelfInOwnProcess (2374 ms) [398/415] PdfPluginContextMenuBrowserTest.FullPagePdfHasPageItems (2901 ms) [399/415] WithOutOfBlinkCors/BackgroundXhrWebstoreTest.PolicyBlockedXHR/0 (1596 ms) [400/415] SystemNetworkContextManagerBrowsertest.AuthParams (1596 ms) [401/415] SSLUIDynamicInterstitialTest.MismatchCertError (1582 ms) [402/415] PrefHashBrowserTestChangedAtomicInstance/PrefHashBrowserTestChangedAtomic.ChangedAtomic/0 (1327 ms) [403/415] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.ThirdPartyCookiesBlocked/2 (1585 ms) [404/415] MessagingApiTest.LargeMessages (2637 ms) [405/415] OnDiskAppWithIncognitoProfile/NetworkContextConfigurationBrowserTest.CookieSettings/0 (1323 ms) [406/415] BrowserCloseManagerBrowserTest.TestSessionRestore (940 ms) [407/415] OnDiskApp/NetworkContextConfigurationBrowserTest.SSLConfig/0 (1060 ms) [408/415] PrefHashBrowserTestDefaultSearchInstance/PrefHashBrowserTestDefaultSearch.SearchProtected/2 (806 ms) [409/415] ProfileWithoutMediaCacheBrowserTest.DeleteMediaCache (942 ms) [410/415] OnDiskApp/NetworkContextConfigurationBrowserTest.CookiesEnabled/1 (941 ms) [411/415] ExtensionsDisabledBrowserTest.TestStartupWithInstalledExtensions (930 ms) [412/415] PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipeInstance/PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe.UntrustedAdditionToPrefsAfterWipe/1 (930 ms) [413/415] RestoreOnStartupPolicyTestInstance/RestoreOnStartupPolicyTest.RunTest/3 (5267 ms) [414/415] ContentVerifierPolicyTest.PolicyCorruptedOnStartup (1325 ms) [415/415] InMemoryApp/NetworkContextConfigurationBrowserTest.CookieSettings/1 (793 ms) SUCCESS: all tests passed. 2019-05-24 22:11:45,315 - root: [DEBUG] Contents of task_output_dir: ['/b/s/w/ir/tmp/t/tmpiaCK4x/4506207969d5fa10', '/b/s/w/ir/tmp/t/tmpiaCK4x/4506207e657f6f10', '/b/s/w/ir/tmp/t/tmpiaCK4x/45062090c06ec810', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a078329710', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a61cb53b10', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ab8174fe10', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b0c89cbe10', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b617c39d10', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ba80689610', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620bf10f43010'] 2019-05-24 22:11:45,320 - root: [DEBUG] Found shard_json_files: ['/b/s/w/ir/tmp/t/tmpiaCK4x/4506207969d5fa10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/4506207e657f6f10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/45062090c06ec810/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a078329710/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a61cb53b10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ab8174fe10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b0c89cbe10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b617c39d10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ba80689610/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620bf10f43010/output.json'] 2019-05-24 22:11:45,330 - root: [INFO] merge_cmd: /b/s/w/ir/cache/vpython/5b0713/bin/python /b/s/w/ir/cache/builder/src/testing/merge_scripts/standard_gtest_merge.py --build-properties {"bot_id": "vm51-m9", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1558759399488492, "id": "8912516019880995184", "project": "chromium", "tags": ["build_address:luci.chromium.ci/Mac10.11 Tests/38272", "builder:Mac10.11 Tests", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/a56a9e1309a23bdcb8e60595929f935e6f52ca88", "gitiles_ref:refs/heads/master", "parent_buildername:Mac Builder", "parent_buildnumber:99957", "scheduler_invocation_id:9077946081891714208", "scheduler_job_id:chromium/Mac10.11 Tests", "user_agent:luci-scheduler", "user_agent:recipe"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "Mac10.11 Tests", "buildnumber": 38272, "got_angle_revision": "40757b28bdc8bd1ac7312dd975a33f96abe87429", "got_dawn_revision": "8aa036e9e498fb99756d507fc7a6b6f7ebce6767", "got_nacl_revision": "0ddc033406886a709b901e0c312872529f9705e8", "got_revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "got_revision_cp": "refs/heads/master@{#663389}", "got_swarming_client_revision": "779c4f0f8488c64587b75dbb001d18c3c0c4cda9", "got_v8_revision": "376299599eab0ec7932adb28c55209e8daf3b8d8", "got_v8_revision_cp": "refs/heads/7.6.274@{#1}", "got_webrtc_revision": "3a1b92772f661b6b52710fee27c5707bcfdda4a6", "got_webrtc_revision_cp": "refs/heads/master@{#28066}", "mastername": "chromium.mac", "parent_buildername": "Mac Builder", "parent_got_angle_revision": "40757b28bdc8bd1ac7312dd975a33f96abe87429", "parent_got_dawn_revision": "8aa036e9e498fb99756d507fc7a6b6f7ebce6767", "parent_got_nacl_revision": "0ddc033406886a709b901e0c312872529f9705e8", "parent_got_revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "parent_got_revision_cp": "refs/heads/master@{#663389}", "parent_got_swarming_client_revision": "779c4f0f8488c64587b75dbb001d18c3c0c4cda9", "parent_got_v8_revision": "376299599eab0ec7932adb28c55209e8daf3b8d8", "parent_got_v8_revision_cp": "refs/heads/7.6.274@{#1}", "parent_got_webrtc_revision": "3a1b92772f661b6b52710fee27c5707bcfdda4a6", "parent_got_webrtc_revision_cp": "refs/heads/master@{#28066}", "parent_mastername": "chromium.mac", "path_config": "generic", "recipe": "chromium", "revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "swarm_hashes": {"accessibility_unittests": "76f772ba468611add895a30f6001fac4d45a7e24", "angle_unittests": "0c4f92364e7c592ee48ded685b0dfb838f540526", "app_shell_unittests": "8e5fb7aa85f93dac3767176fd91d5529751b4899", "base_unittests": "54b48c4cc601bacbe28fc2a4e7b7d1c9047aec5d", "base_util_unittests": "b48dadcf13c332b16402dd1e2c54b4cd0853df0e", "blink_common_unittests": "462250c6820971795fe8c49a8f978cb34551b963", "blink_fuzzer_unittests": "86cd38ad30382f5e47f40c40f9729a0eb238f3bc", "blink_heap_unittests": "eae72e6607eb11346cdc90b216193ea7c6c407b7", "blink_platform_unittests": "8a0aba4d4e35d82b461061ffc66579722c5f5dd1", "blink_python_tests": "012d1e5cd6459335fdc75b8e7fc574c27fb5dd64", "blink_unittests": "16c5b7d56547c9e57f729b0638b13199f83a5ed4", "blink_web_tests_exparchive": "09d46bf374947fa7878c9a9460c6c524d3d429b7", "boringssl_crypto_tests": "201f69ac332408d68e476d2dd9af63e4dda4a652", "boringssl_ssl_tests": "1cbd26a846b087adb987056e8572f75492d34a96", "browser_tests": "d094af0d0542372bb653b0cb07b6c99b0a2995c5", "cacheinvalidation_unittests": "327bc229335fbda950e1ab86fbe47f8f63e40c06", "capture_unittests": "354fa5f2c9a64e4b867392ce21903a9735401af9", "cast_unittests": "623dfb85d2e6bf03fbf7ab4f7bf8fce3efeac99d", "cc_unittests": "4c59362d1a3866db71e1fd1cfe4a3ef4a92f54bd", "chrome_app_unittests": "f9a210ff3ea119a056286669e843521499f186f6", "chromedriver_py_tests": "f43a7f4e045d01eb768f82e51a1b8fdd2d20626e", "chromedriver_replay_unittests": "fea058f456e14f9a7fcabd94466c2d0c1867844f", "chromedriver_unittests": "7486d6b7adeda02da3169135ad95689e08dfe927", "components_browsertests": "f9612091c714abadf182353fe27043b83b5a946d", "components_perftests": "23cf2c3365bd27c50015f412e21ebc11df069474", "components_unittests": "5f9656f9f63c8be7f2a9ec02a8bd1c272f340c67", "content_browsertests": "346ef9642c3a7cf81db571ee8b049d3ff6bd690d", "content_shell_crash_test": "3e2788d94d5eece0ff5b1c1d05dd084f67ea6b11", "content_unittests": "364e0ff2cfade3b47067766ffc2de797e6c8bc84", "crashpad_tests": "0e47f676c21e8b6a7ab9f20b350ea70307f9036b", "cronet_tests": "9d37be5ff84d2f5e139d405c533f3f53e179eaf6", "cronet_unittests": "f03023d30dfa825a1d6f1233a68d0e3e3173d477", "crypto_unittests": "83d8d33ee9b649adb1aff39e1de449935bfc233f", "device_unittests": "2edcbd0e6bd1f6c47a4c578a6efb72859dddcc23", "display_unittests": "50eb9f21ec1013324a0bc4017df63110c9996936", "events_unittests": "0ad956b0eb6fd5a3e71a021c4b0d5d53d290b500", "extensions_browsertests": "79a4df7e192e497b72a21213a22ddfb3a3d0881f", "extensions_unittests": "fb4b7d7c948a4fb90bfadff4f51adc4803764eb5", "filesystem_service_unittests": "8bbfb939d04dbdac156de9ce0ef8a5b26c603998", "flatbuffers_unittests": "22e5a939f0c731b7f80ab39129f5f5e6129c698d", "gcm_unit_tests": "f8db2c2a498660d47929e8c1dcb3accdedbf7867", "gfx_unittests": "23c6a0d73f5aa14b5695a43d7930cce7921c6a42", "gin_unittests": "cade9e173ba1288bec9871ae2a11960f7cb99f74", "google_apis_unittests": "85b47564f0667e531da9efe7143a0a68d260a1a2", "gpu_unittests": "e4bc5306c181cddbcf38adf3e1e7e2eb9a5257e8", "grit_python_unittests": "4b29c2f024a19ec1d1828c38e756e42284d8613c", "headless_browsertests": "40cfd94a41afe020cf571e700eac34e179adf941", "headless_unittests": "bfd0307e3634682520136a74887d624a36383d92", "interactive_ui_tests": "ba91e52c698e18654ad7f39c42cdc5e2de524040", "ipc_tests": "ebc063b642c0bdfec9c6bd0c8f6fef114daf171c", "jingle_unittests": "89946f4e7a3757fc1668c977c4c2c7e974318d84", "latency_unittests": "d619cfe86a121edd9485f2ad19fc080cd74d50b3", "leveldb_service_unittests": "bb59728c2a0bb86593fe555535e9f8e928d03e5d", "libjingle_xmpp_unittests": "98c175801c68aeace2c7e31201b5912c6fa3a79f", "mac_signing_tests": "135b5e52da846b7ae66243130f441b7232309887", "media_blink_unittests": "a99ef3ed7bb285ec372203d9ce58a7f6afb4aab2", "media_service_unittests": "6ec0a352c06f0070495bac1f80632f30a2a2a015", "media_unittests": "b43fa6c6c0cbb5b1c569f6ddb2fd0192a687150b", "message_center_unittests": "74bc8d683717bf4d2ce93e1a2e1760244a849fa5", "metrics_python_tests": "24054ed1fdd38f47e887de69b3cdc450f28119f2", "midi_unittests": "c842c6457dccb6918e09b0cbf38fb938e4b1ea13", "mojo_unittests": "a0d35b29b64f692f34ecf4adfbddf332e36fd8d1", "nacl_loader_unittests": "d5a8fcfaf17b46e0725ee515b0c1f83f04fb710b", "native_theme_unittests": "50a79a5fbfdc3494987ca1fa4ebf56e451173b7a", "net_unittests": "3924777a3135bae826fff92d449af3ee571afbc0", "pdf_unittests": "1e0ebba42f56c30ac10f238ec4cecacf684e6a59", "perfetto_unittests": "a51ac57958ce0de551311bd1fce094f714eb1d9a", "ppapi_unittests": "2a9ff1b05c650b5e17ecc8bb60d887807bc33a3c", "printing_unittests": "7fe506bad16c28eb65c4dcd5ac81534787a609c7", "remoting_unittests": "f4adeb07899e517d63e535a86d13372967f3d222", "sandbox_mac_unittests": "dc64a52138b96908365b45a117e26cf4dbb434f3", "service_manager_unittests": "b67402812c3fbe9dc466915cacb3cc75cab279b9", "services_unittests": "63c11cb8567f5e1f0ccff7dc709db61dd0d5f55d", "shell_dialogs_unittests": "692e26e7cc3a7b146ea7562571f95c58c49403d4", "skia_unittests": "b2e1d8c9651e286fde9faee389cdb3af652fb33e", "snapshot_unittests": "55f47f346dda48a048781d4fe3adc3736658bef4", "sql_unittests": "2cc6df5518a5a2d13a0d37c06f0635606c31243d", "storage_unittests": "969ed0e13893baea1543e684a4de1e7cc6d7665f", "sync_integration_tests": "007c00f227e341f4652879dc3ee8c3931af4d0c7", "telemetry_gpu_unittests": "fa833c583d779ab22b97bd72bad7cb5654911f85", "telemetry_perf_unittests": "8e2a80f50191b6670d25eafa72b27c0f1ed2968d", "telemetry_unittests": "507d5fc069b98fbe68afa10aa378d8625d1ea631", "ui_base_unittests": "d6121a339f8e6b159bd4b4ae9cd3a25a8af15880", "ui_touch_selection_unittests": "79d562224f7beff853469c9f521a098d5fee9620", "unit_tests": "639bea08e685318984ee457f599800a7c45383aa", "url_unittests": "3bf2338264b4ccc156b612df8e45c3ee26ecf31b", "views_perftests": "99ce25eed5d7ddcaa8b74e4d04ed8b723ea0c325", "views_unittests": "cc9eaa75f46e6c1befc15df96807cf71517d3e04", "viz_unittests": "49742fcf1ef476bde998ce12007f819680c6c430", "wtf_unittests": "a42b619aca98ae3ccdfad13e78f36e6e751f6f3d"}} --summary-json /b/s/w/ir/tmp/t/tmpI7jPMF.json --task-output-dir /b/s/w/ir/tmp/t/tmpiaCK4x -o /b/s/w/ir/tmp/t/tmpEJjVS_.json /b/s/w/ir/tmp/t/tmpiaCK4x/4506207969d5fa10/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/4506207e657f6f10/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/45062090c06ec810/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/450620a078329710/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/450620a61cb53b10/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/450620ab8174fe10/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/450620b0c89cbe10/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/450620b617c39d10/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/450620ba80689610/output.json /b/s/w/ir/tmp/t/tmpiaCK4x/450620bf10f43010/output.json Running ['/b/s/w/ir/cache/vpython/5b0713/bin/python', '/b/s/w/ir/cache/builder/src/testing/merge_scripts/standard_gtest_merge.py', '--build-properties', '{"bot_id": "vm51-m9", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1558759399488492, "id": "8912516019880995184", "project": "chromium", "tags": ["build_address:luci.chromium.ci/Mac10.11 Tests/38272", "builder:Mac10.11 Tests", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/a56a9e1309a23bdcb8e60595929f935e6f52ca88", "gitiles_ref:refs/heads/master", "parent_buildername:Mac Builder", "parent_buildnumber:99957", "scheduler_invocation_id:9077946081891714208", "scheduler_job_id:chromium/Mac10.11 Tests", "user_agent:luci-scheduler", "user_agent:recipe"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "Mac10.11 Tests", "buildnumber": 38272, "got_angle_revision": "40757b28bdc8bd1ac7312dd975a33f96abe87429", "got_dawn_revision": "8aa036e9e498fb99756d507fc7a6b6f7ebce6767", "got_nacl_revision": "0ddc033406886a709b901e0c312872529f9705e8", "got_revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "got_revision_cp": "refs/heads/master@{#663389}", "got_swarming_client_revision": "779c4f0f8488c64587b75dbb001d18c3c0c4cda9", "got_v8_revision": "376299599eab0ec7932adb28c55209e8daf3b8d8", "got_v8_revision_cp": "refs/heads/7.6.274@{#1}", "got_webrtc_revision": "3a1b92772f661b6b52710fee27c5707bcfdda4a6", "got_webrtc_revision_cp": "refs/heads/master@{#28066}", "mastername": "chromium.mac", "parent_buildername": "Mac Builder", "parent_got_angle_revision": "40757b28bdc8bd1ac7312dd975a33f96abe87429", "parent_got_dawn_revision": "8aa036e9e498fb99756d507fc7a6b6f7ebce6767", "parent_got_nacl_revision": "0ddc033406886a709b901e0c312872529f9705e8", "parent_got_revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "parent_got_revision_cp": "refs/heads/master@{#663389}", "parent_got_swarming_client_revision": "779c4f0f8488c64587b75dbb001d18c3c0c4cda9", "parent_got_v8_revision": "376299599eab0ec7932adb28c55209e8daf3b8d8", "parent_got_v8_revision_cp": "refs/heads/7.6.274@{#1}", "parent_got_webrtc_revision": "3a1b92772f661b6b52710fee27c5707bcfdda4a6", "parent_got_webrtc_revision_cp": "refs/heads/master@{#28066}", "parent_mastername": "chromium.mac", "path_config": "generic", "recipe": "chromium", "revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "swarm_hashes": {"accessibility_unittests": "76f772ba468611add895a30f6001fac4d45a7e24", "angle_unittests": "0c4f92364e7c592ee48ded685b0dfb838f540526", "app_shell_unittests": "8e5fb7aa85f93dac3767176fd91d5529751b4899", "base_unittests": "54b48c4cc601bacbe28fc2a4e7b7d1c9047aec5d", "base_util_unittests": "b48dadcf13c332b16402dd1e2c54b4cd0853df0e", "blink_common_unittests": "462250c6820971795fe8c49a8f978cb34551b963", "blink_fuzzer_unittests": "86cd38ad30382f5e47f40c40f9729a0eb238f3bc", "blink_heap_unittests": "eae72e6607eb11346cdc90b216193ea7c6c407b7", "blink_platform_unittests": "8a0aba4d4e35d82b461061ffc66579722c5f5dd1", "blink_python_tests": "012d1e5cd6459335fdc75b8e7fc574c27fb5dd64", "blink_unittests": "16c5b7d56547c9e57f729b0638b13199f83a5ed4", "blink_web_tests_exparchive": "09d46bf374947fa7878c9a9460c6c524d3d429b7", "boringssl_crypto_tests": "201f69ac332408d68e476d2dd9af63e4dda4a652", "boringssl_ssl_tests": "1cbd26a846b087adb987056e8572f75492d34a96", "browser_tests": "d094af0d0542372bb653b0cb07b6c99b0a2995c5", "cacheinvalidation_unittests": "327bc229335fbda950e1ab86fbe47f8f63e40c06", "capture_unittests": "354fa5f2c9a64e4b867392ce21903a9735401af9", "cast_unittests": "623dfb85d2e6bf03fbf7ab4f7bf8fce3efeac99d", "cc_unittests": "4c59362d1a3866db71e1fd1cfe4a3ef4a92f54bd", "chrome_app_unittests": "f9a210ff3ea119a056286669e843521499f186f6", "chromedriver_py_tests": "f43a7f4e045d01eb768f82e51a1b8fdd2d20626e", "chromedriver_replay_unittests": "fea058f456e14f9a7fcabd94466c2d0c1867844f", "chromedriver_unittests": "7486d6b7adeda02da3169135ad95689e08dfe927", "components_browsertests": "f9612091c714abadf182353fe27043b83b5a946d", "components_perftests": "23cf2c3365bd27c50015f412e21ebc11df069474", "components_unittests": "5f9656f9f63c8be7f2a9ec02a8bd1c272f340c67", "content_browsertests": "346ef9642c3a7cf81db571ee8b049d3ff6bd690d", "content_shell_crash_test": "3e2788d94d5eece0ff5b1c1d05dd084f67ea6b11", "content_unittests": "364e0ff2cfade3b47067766ffc2de797e6c8bc84", "crashpad_tests": "0e47f676c21e8b6a7ab9f20b350ea70307f9036b", "cronet_tests": "9d37be5ff84d2f5e139d405c533f3f53e179eaf6", "cronet_unittests": "f03023d30dfa825a1d6f1233a68d0e3e3173d477", "crypto_unittests": "83d8d33ee9b649adb1aff39e1de449935bfc233f", "device_unittests": "2edcbd0e6bd1f6c47a4c578a6efb72859dddcc23", "display_unittests": "50eb9f21ec1013324a0bc4017df63110c9996936", "events_unittests": "0ad956b0eb6fd5a3e71a021c4b0d5d53d290b500", "extensions_browsertests": "79a4df7e192e497b72a21213a22ddfb3a3d0881f", "extensions_unittests": "fb4b7d7c948a4fb90bfadff4f51adc4803764eb5", "filesystem_service_unittests": "8bbfb939d04dbdac156de9ce0ef8a5b26c603998", "flatbuffers_unittests": "22e5a939f0c731b7f80ab39129f5f5e6129c698d", "gcm_unit_tests": "f8db2c2a498660d47929e8c1dcb3accdedbf7867", "gfx_unittests": "23c6a0d73f5aa14b5695a43d7930cce7921c6a42", "gin_unittests": "cade9e173ba1288bec9871ae2a11960f7cb99f74", "google_apis_unittests": "85b47564f0667e531da9efe7143a0a68d260a1a2", "gpu_unittests": "e4bc5306c181cddbcf38adf3e1e7e2eb9a5257e8", "grit_python_unittests": "4b29c2f024a19ec1d1828c38e756e42284d8613c", "headless_browsertests": "40cfd94a41afe020cf571e700eac34e179adf941", "headless_unittests": "bfd0307e3634682520136a74887d624a36383d92", "interactive_ui_tests": "ba91e52c698e18654ad7f39c42cdc5e2de524040", "ipc_tests": "ebc063b642c0bdfec9c6bd0c8f6fef114daf171c", "jingle_unittests": "89946f4e7a3757fc1668c977c4c2c7e974318d84", "latency_unittests": "d619cfe86a121edd9485f2ad19fc080cd74d50b3", "leveldb_service_unittests": "bb59728c2a0bb86593fe555535e9f8e928d03e5d", "libjingle_xmpp_unittests": "98c175801c68aeace2c7e31201b5912c6fa3a79f", "mac_signing_tests": "135b5e52da846b7ae66243130f441b7232309887", "media_blink_unittests": "a99ef3ed7bb285ec372203d9ce58a7f6afb4aab2", "media_service_unittests": "6ec0a352c06f0070495bac1f80632f30a2a2a015", "media_unittests": "b43fa6c6c0cbb5b1c569f6ddb2fd0192a687150b", "message_center_unittests": "74bc8d683717bf4d2ce93e1a2e1760244a849fa5", "metrics_python_tests": "24054ed1fdd38f47e887de69b3cdc450f28119f2", "midi_unittests": "c842c6457dccb6918e09b0cbf38fb938e4b1ea13", "mojo_unittests": "a0d35b29b64f692f34ecf4adfbddf332e36fd8d1", "nacl_loader_unittests": "d5a8fcfaf17b46e0725ee515b0c1f83f04fb710b", "native_theme_unittests": "50a79a5fbfdc3494987ca1fa4ebf56e451173b7a", "net_unittests": "3924777a3135bae826fff92d449af3ee571afbc0", "pdf_unittests": "1e0ebba42f56c30ac10f238ec4cecacf684e6a59", "perfetto_unittests": "a51ac57958ce0de551311bd1fce094f714eb1d9a", "ppapi_unittests": "2a9ff1b05c650b5e17ecc8bb60d887807bc33a3c", "printing_unittests": "7fe506bad16c28eb65c4dcd5ac81534787a609c7", "remoting_unittests": "f4adeb07899e517d63e535a86d13372967f3d222", "sandbox_mac_unittests": "dc64a52138b96908365b45a117e26cf4dbb434f3", "service_manager_unittests": "b67402812c3fbe9dc466915cacb3cc75cab279b9", "services_unittests": "63c11cb8567f5e1f0ccff7dc709db61dd0d5f55d", "shell_dialogs_unittests": "692e26e7cc3a7b146ea7562571f95c58c49403d4", "skia_unittests": "b2e1d8c9651e286fde9faee389cdb3af652fb33e", "snapshot_unittests": "55f47f346dda48a048781d4fe3adc3736658bef4", "sql_unittests": "2cc6df5518a5a2d13a0d37c06f0635606c31243d", "storage_unittests": "969ed0e13893baea1543e684a4de1e7cc6d7665f", "sync_integration_tests": "007c00f227e341f4652879dc3ee8c3931af4d0c7", "telemetry_gpu_unittests": "fa833c583d779ab22b97bd72bad7cb5654911f85", "telemetry_perf_unittests": "8e2a80f50191b6670d25eafa72b27c0f1ed2968d", "telemetry_unittests": "507d5fc069b98fbe68afa10aa378d8625d1ea631", "ui_base_unittests": "d6121a339f8e6b159bd4b4ae9cd3a25a8af15880", "ui_touch_selection_unittests": "79d562224f7beff853469c9f521a098d5fee9620", "unit_tests": "639bea08e685318984ee457f599800a7c45383aa", "url_unittests": "3bf2338264b4ccc156b612df8e45c3ee26ecf31b", "views_perftests": "99ce25eed5d7ddcaa8b74e4d04ed8b723ea0c325", "views_unittests": "cc9eaa75f46e6c1befc15df96807cf71517d3e04", "viz_unittests": "49742fcf1ef476bde998ce12007f819680c6c430", "wtf_unittests": "a42b619aca98ae3ccdfad13e78f36e6e751f6f3d"}}', '--summary-json', '/b/s/w/ir/tmp/t/tmpI7jPMF.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpiaCK4x', '-o', '/b/s/w/ir/tmp/t/tmpEJjVS_.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/4506207969d5fa10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/4506207e657f6f10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/45062090c06ec810/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a078329710/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a61cb53b10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ab8174fe10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b0c89cbe10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b617c39d10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ba80689610/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620bf10f43010/output.json'] in None (env: None) Command ['/b/s/w/ir/cache/vpython/5b0713/bin/python', '/b/s/w/ir/cache/builder/src/testing/merge_scripts/standard_gtest_merge.py', '--build-properties', '{"bot_id": "vm51-m9", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1558759399488492, "id": "8912516019880995184", "project": "chromium", "tags": ["build_address:luci.chromium.ci/Mac10.11 Tests/38272", "builder:Mac10.11 Tests", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/a56a9e1309a23bdcb8e60595929f935e6f52ca88", "gitiles_ref:refs/heads/master", "parent_buildername:Mac Builder", "parent_buildnumber:99957", "scheduler_invocation_id:9077946081891714208", "scheduler_job_id:chromium/Mac10.11 Tests", "user_agent:luci-scheduler", "user_agent:recipe"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "Mac10.11 Tests", "buildnumber": 38272, "got_angle_revision": "40757b28bdc8bd1ac7312dd975a33f96abe87429", "got_dawn_revision": "8aa036e9e498fb99756d507fc7a6b6f7ebce6767", "got_nacl_revision": "0ddc033406886a709b901e0c312872529f9705e8", "got_revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "got_revision_cp": "refs/heads/master@{#663389}", "got_swarming_client_revision": "779c4f0f8488c64587b75dbb001d18c3c0c4cda9", "got_v8_revision": "376299599eab0ec7932adb28c55209e8daf3b8d8", "got_v8_revision_cp": "refs/heads/7.6.274@{#1}", "got_webrtc_revision": "3a1b92772f661b6b52710fee27c5707bcfdda4a6", "got_webrtc_revision_cp": "refs/heads/master@{#28066}", "mastername": "chromium.mac", "parent_buildername": "Mac Builder", "parent_got_angle_revision": "40757b28bdc8bd1ac7312dd975a33f96abe87429", "parent_got_dawn_revision": "8aa036e9e498fb99756d507fc7a6b6f7ebce6767", "parent_got_nacl_revision": "0ddc033406886a709b901e0c312872529f9705e8", "parent_got_revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "parent_got_revision_cp": "refs/heads/master@{#663389}", "parent_got_swarming_client_revision": "779c4f0f8488c64587b75dbb001d18c3c0c4cda9", "parent_got_v8_revision": "376299599eab0ec7932adb28c55209e8daf3b8d8", "parent_got_v8_revision_cp": "refs/heads/7.6.274@{#1}", "parent_got_webrtc_revision": "3a1b92772f661b6b52710fee27c5707bcfdda4a6", "parent_got_webrtc_revision_cp": "refs/heads/master@{#28066}", "parent_mastername": "chromium.mac", "path_config": "generic", "recipe": "chromium", "revision": "a56a9e1309a23bdcb8e60595929f935e6f52ca88", "swarm_hashes": {"accessibility_unittests": "76f772ba468611add895a30f6001fac4d45a7e24", "angle_unittests": "0c4f92364e7c592ee48ded685b0dfb838f540526", "app_shell_unittests": "8e5fb7aa85f93dac3767176fd91d5529751b4899", "base_unittests": "54b48c4cc601bacbe28fc2a4e7b7d1c9047aec5d", "base_util_unittests": "b48dadcf13c332b16402dd1e2c54b4cd0853df0e", "blink_common_unittests": "462250c6820971795fe8c49a8f978cb34551b963", "blink_fuzzer_unittests": "86cd38ad30382f5e47f40c40f9729a0eb238f3bc", "blink_heap_unittests": "eae72e6607eb11346cdc90b216193ea7c6c407b7", "blink_platform_unittests": "8a0aba4d4e35d82b461061ffc66579722c5f5dd1", "blink_python_tests": "012d1e5cd6459335fdc75b8e7fc574c27fb5dd64", "blink_unittests": "16c5b7d56547c9e57f729b0638b13199f83a5ed4", "blink_web_tests_exparchive": "09d46bf374947fa7878c9a9460c6c524d3d429b7", "boringssl_crypto_tests": "201f69ac332408d68e476d2dd9af63e4dda4a652", "boringssl_ssl_tests": "1cbd26a846b087adb987056e8572f75492d34a96", "browser_tests": "d094af0d0542372bb653b0cb07b6c99b0a2995c5", "cacheinvalidation_unittests": "327bc229335fbda950e1ab86fbe47f8f63e40c06", "capture_unittests": "354fa5f2c9a64e4b867392ce21903a9735401af9", "cast_unittests": "623dfb85d2e6bf03fbf7ab4f7bf8fce3efeac99d", "cc_unittests": "4c59362d1a3866db71e1fd1cfe4a3ef4a92f54bd", "chrome_app_unittests": "f9a210ff3ea119a056286669e843521499f186f6", "chromedriver_py_tests": "f43a7f4e045d01eb768f82e51a1b8fdd2d20626e", "chromedriver_replay_unittests": "fea058f456e14f9a7fcabd94466c2d0c1867844f", "chromedriver_unittests": "7486d6b7adeda02da3169135ad95689e08dfe927", "components_browsertests": "f9612091c714abadf182353fe27043b83b5a946d", "components_perftests": "23cf2c3365bd27c50015f412e21ebc11df069474", "components_unittests": "5f9656f9f63c8be7f2a9ec02a8bd1c272f340c67", "content_browsertests": "346ef9642c3a7cf81db571ee8b049d3ff6bd690d", "content_shell_crash_test": "3e2788d94d5eece0ff5b1c1d05dd084f67ea6b11", "content_unittests": "364e0ff2cfade3b47067766ffc2de797e6c8bc84", "crashpad_tests": "0e47f676c21e8b6a7ab9f20b350ea70307f9036b", "cronet_tests": "9d37be5ff84d2f5e139d405c533f3f53e179eaf6", "cronet_unittests": "f03023d30dfa825a1d6f1233a68d0e3e3173d477", "crypto_unittests": "83d8d33ee9b649adb1aff39e1de449935bfc233f", "device_unittests": "2edcbd0e6bd1f6c47a4c578a6efb72859dddcc23", "display_unittests": "50eb9f21ec1013324a0bc4017df63110c9996936", "events_unittests": "0ad956b0eb6fd5a3e71a021c4b0d5d53d290b500", "extensions_browsertests": "79a4df7e192e497b72a21213a22ddfb3a3d0881f", "extensions_unittests": "fb4b7d7c948a4fb90bfadff4f51adc4803764eb5", "filesystem_service_unittests": "8bbfb939d04dbdac156de9ce0ef8a5b26c603998", "flatbuffers_unittests": "22e5a939f0c731b7f80ab39129f5f5e6129c698d", "gcm_unit_tests": "f8db2c2a498660d47929e8c1dcb3accdedbf7867", "gfx_unittests": "23c6a0d73f5aa14b5695a43d7930cce7921c6a42", "gin_unittests": "cade9e173ba1288bec9871ae2a11960f7cb99f74", "google_apis_unittests": "85b47564f0667e531da9efe7143a0a68d260a1a2", "gpu_unittests": "e4bc5306c181cddbcf38adf3e1e7e2eb9a5257e8", "grit_python_unittests": "4b29c2f024a19ec1d1828c38e756e42284d8613c", "headless_browsertests": "40cfd94a41afe020cf571e700eac34e179adf941", "headless_unittests": "bfd0307e3634682520136a74887d624a36383d92", "interactive_ui_tests": "ba91e52c698e18654ad7f39c42cdc5e2de524040", "ipc_tests": "ebc063b642c0bdfec9c6bd0c8f6fef114daf171c", "jingle_unittests": "89946f4e7a3757fc1668c977c4c2c7e974318d84", "latency_unittests": "d619cfe86a121edd9485f2ad19fc080cd74d50b3", "leveldb_service_unittests": "bb59728c2a0bb86593fe555535e9f8e928d03e5d", "libjingle_xmpp_unittests": "98c175801c68aeace2c7e31201b5912c6fa3a79f", "mac_signing_tests": "135b5e52da846b7ae66243130f441b7232309887", "media_blink_unittests": "a99ef3ed7bb285ec372203d9ce58a7f6afb4aab2", "media_service_unittests": "6ec0a352c06f0070495bac1f80632f30a2a2a015", "media_unittests": "b43fa6c6c0cbb5b1c569f6ddb2fd0192a687150b", "message_center_unittests": "74bc8d683717bf4d2ce93e1a2e1760244a849fa5", "metrics_python_tests": "24054ed1fdd38f47e887de69b3cdc450f28119f2", "midi_unittests": "c842c6457dccb6918e09b0cbf38fb938e4b1ea13", "mojo_unittests": "a0d35b29b64f692f34ecf4adfbddf332e36fd8d1", "nacl_loader_unittests": "d5a8fcfaf17b46e0725ee515b0c1f83f04fb710b", "native_theme_unittests": "50a79a5fbfdc3494987ca1fa4ebf56e451173b7a", "net_unittests": "3924777a3135bae826fff92d449af3ee571afbc0", "pdf_unittests": "1e0ebba42f56c30ac10f238ec4cecacf684e6a59", "perfetto_unittests": "a51ac57958ce0de551311bd1fce094f714eb1d9a", "ppapi_unittests": "2a9ff1b05c650b5e17ecc8bb60d887807bc33a3c", "printing_unittests": "7fe506bad16c28eb65c4dcd5ac81534787a609c7", "remoting_unittests": "f4adeb07899e517d63e535a86d13372967f3d222", "sandbox_mac_unittests": "dc64a52138b96908365b45a117e26cf4dbb434f3", "service_manager_unittests": "b67402812c3fbe9dc466915cacb3cc75cab279b9", "services_unittests": "63c11cb8567f5e1f0ccff7dc709db61dd0d5f55d", "shell_dialogs_unittests": "692e26e7cc3a7b146ea7562571f95c58c49403d4", "skia_unittests": "b2e1d8c9651e286fde9faee389cdb3af652fb33e", "snapshot_unittests": "55f47f346dda48a048781d4fe3adc3736658bef4", "sql_unittests": "2cc6df5518a5a2d13a0d37c06f0635606c31243d", "storage_unittests": "969ed0e13893baea1543e684a4de1e7cc6d7665f", "sync_integration_tests": "007c00f227e341f4652879dc3ee8c3931af4d0c7", "telemetry_gpu_unittests": "fa833c583d779ab22b97bd72bad7cb5654911f85", "telemetry_perf_unittests": "8e2a80f50191b6670d25eafa72b27c0f1ed2968d", "telemetry_unittests": "507d5fc069b98fbe68afa10aa378d8625d1ea631", "ui_base_unittests": "d6121a339f8e6b159bd4b4ae9cd3a25a8af15880", "ui_touch_selection_unittests": "79d562224f7beff853469c9f521a098d5fee9620", "unit_tests": "639bea08e685318984ee457f599800a7c45383aa", "url_unittests": "3bf2338264b4ccc156b612df8e45c3ee26ecf31b", "views_perftests": "99ce25eed5d7ddcaa8b74e4d04ed8b723ea0c325", "views_unittests": "cc9eaa75f46e6c1befc15df96807cf71517d3e04", "viz_unittests": "49742fcf1ef476bde998ce12007f819680c6c430", "wtf_unittests": "a42b619aca98ae3ccdfad13e78f36e6e751f6f3d"}}', '--summary-json', '/b/s/w/ir/tmp/t/tmpI7jPMF.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpiaCK4x', '-o', '/b/s/w/ir/tmp/t/tmpEJjVS_.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/4506207969d5fa10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/4506207e657f6f10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/45062090c06ec810/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a078329710/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620a61cb53b10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ab8174fe10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b0c89cbe10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620b617c39d10/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620ba80689610/output.json', '/b/s/w/ir/tmp/t/tmpiaCK4x/450620bf10f43010/output.json'] returned exit code 0