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

Issue 794408 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocked on:
issue 786414



Sign in to add a comment

"PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Dec 13 2017

Issue description

"PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 36 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyNwsSBUZsYWtlIixQYWdlTG9hZE1ldHJpY3NCcm93c2VyVGVzdC5Ob25IdHRwT3JIdHRwc1VybAw.

Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
 

Comment 1 by noel@chromium.org, Dec 13 2017

Cc: kbr@chromium.org loonyb...@chromium.org
Owner: bmcquade@chromium.org
Flaked for me also in mac_chromium_rel_ng also in review:
  https://chromium-review.googlesource.com/c/chromium/src/+/823503

Test output was:
https://ci.chromium.org/buildbot/tryserver.chromium.mac/mac_chromium_rel_ng/610974

[ RUN      ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl
[80026:55299:1212/171636.759549:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/dsYGeQL/Default/History': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
[80026:6659:1212/171636.775816:WARNING:notification_platform_bridge_mac.mm(533)] AlertNotificationService: XPC connection invalidated.
[80040:771:1212/171636.889268:WARNING:vt_video_decode_accelerator_mac.cc(178)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)" (codecOpenErr) (-8973)
[80040:771:1212/171636.894589:WARNING:vt_video_decode_accelerator_mac.cc(200)] Failed to create hardware VideoToolbox session
[80040:771:1212/171636.987378:ERROR:vt_video_encode_accelerator_mac.cc(517)]  VTCompressionSessionCreate failed: -12908
[80026:55299:1212/171637.076809:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/dsYGeQL/Default/Favicons': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
../../chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc:639: Failure
Value of: NoPageLoadMetricsRecorded()
  Actual: false
Expected: true
[80026:771:1212/171639.104482:INFO:chrome_cryptauth_service.cc(233)] Profile is not authenticated yet; waiting before starting CryptAuth managers.
[80026:771:1212/171639.198091:WARNING:url_request_context_getter.cc(43)] URLRequestContextGetter leaking due to no owning thread.
[  FAILED  ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl, where TypeParam =  and GetParam() =  (2647 ms)
[ RUN      ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl
[85653:55555:1212/172532.165529:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/dskZuH7/Default/History': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
[85653:5635:1212/172532.172294:WARNING:notification_platform_bridge_mac.mm(533)] AlertNotificationService: XPC connection invalidated.
[85658:771:1212/172532.272293:WARNING:vt_video_decode_accelerator_mac.cc(178)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)" (codecOpenErr) (-8973)
[85658:771:1212/172532.273285:WARNING:vt_video_decode_accelerator_mac.cc(200)] Failed to create hardware VideoToolbox session
[85658:771:1212/172532.329345:ERROR:vt_video_encode_accelerator_mac.cc(517)]  VTCompressionSessionCreate failed: -12908
[85653:55555:1212/172532.375142:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/dskZuH7/Default/Favicons': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
../../chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc:639: Failure
Value of: NoPageLoadMetricsRecorded()
  Actual: false
Expected: true
[85653:771:1212/172533.740684:INFO:chrome_cryptauth_service.cc(233)] Profile is not authenticated yet; waiting before starting CryptAuth managers.
[85653:771:1212/172533.765404:WARNING:url_request_context_getter.cc(43)] URLRequestContextGetter leaking due to no owning thread.
[  FAILED  ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl, where TypeParam =  and GetParam() =  (1725 ms)
[ RUN      ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl
[85662:55555:1212/172534.347487:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/dDWqv1j/Default/History': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
[85662:5123:1212/172534.355623:WARNING:notification_platform_bridge_mac.mm(533)] AlertNotificationService: XPC connection invalidated.
[85667:771:1212/172534.447345:WARNING:vt_video_decode_accelerator_mac.cc(178)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)" (codecOpenErr) (-8973)
[85667:771:1212/172534.448766:WARNING:vt_video_decode_accelerator_mac.cc(200)] Failed to create hardware VideoToolbox session
[85667:771:1212/172534.528342:ERROR:vt_video_encode_accelerator_mac.cc(517)]  VTCompressionSessionCreate failed: -12908
[85662:55555:1212/172534.601335:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/dDWqv1j/Default/Favicons': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
../../chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc:639: Failure
Value of: NoPageLoadMetricsRecorded()
  Actual: false
Expected: true
[85662:771:1212/172535.996029:INFO:chrome_cryptauth_service.cc(233)] Profile is not authenticated yet; waiting before starting CryptAuth managers.
[85662:771:1212/172536.022363:WARNING:url_request_context_getter.cc(43)] URLRequestContextGetter leaking due to no owning thread.
[  FAILED  ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl, where TypeParam =  and GetParam() =  (1805 ms)
[ RUN      ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl
[85671:55299:1212/172536.503312:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/d65asWS/Default/History': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
[85671:5635:1212/172536.511602:WARNING:notification_platform_bridge_mac.mm(533)] AlertNotificationService: XPC connection invalidated.
[85676:771:1212/172536.634266:WARNING:vt_video_decode_accelerator_mac.cc(178)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)" (codecOpenErr) (-8973)
[85676:771:1212/172536.635511:WARNING:vt_video_decode_accelerator_mac.cc(200)] Failed to create hardware VideoToolbox session
[85676:771:1212/172536.710863:ERROR:vt_video_encode_accelerator_mac.cc(517)]  VTCompressionSessionCreate failed: -12908
[85671:55299:1212/172536.789047:WARNING:mac_util.mm(226)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.zWQUgP/d65asWS/Default/Favicons': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
../../chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc:639: Failure
Value of: NoPageLoadMetricsRecorded()
  Actual: false
Expected: true
[85671:771:1212/172538.213182:INFO:chrome_cryptauth_service.cc(233)] Profile is not authenticated yet; waiting before starting CryptAuth managers.
[85671:771:1212/172538.243919:WARNING:url_request_context_getter.cc(43)] URLRequestContextGetter leaking due to no owning thread.
[  FAILED  ] PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl, where TypeParam =  and GetParam() =  (1889 ms)

-------

Last change was https://crrev/523443 so speculatively assigning to bmcquade@ for triage.

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

Blockedon: 786414
Components: Internals>FeatureControl Internals>Metrics
Cc: bmcquade@chromium.org
 Issue 794879  has been merged into this issue.
I reprod this on Win 10. The problem is with the PageLoad.Experimental.Renderer* metrics which don't have the same filtering rules. I see two approaches:

1. Rename them to be prefixed with PageLoad.Internal
2. Filter them out in the browsertest

Bryan, WDYT?
Project Member

Comment 6 by chromium...@appspot.gserviceaccount.com, Dec 14 2017

Detected 53 new flakes for test/step "PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyNwsSBUZsYWtlIixQYWdlTG9hZE1ldHJpY3NCcm93c2VyVGVzdC5Ob25IdHRwT3JIdHRwc1VybAw. This message was posted automatically by the chromium-try-flakes app.
Thanks Charles for digging in! This really helps, since I don't have a Windows machine.

I put together a patch to address this here: https://chromium-review.googlesource.com/c/chromium/src/+/826386
Project Member

Comment 8 by bugdroid1@chromium.org, Dec 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7221ce9c43366b8ea5fe64a6cd7418875c30c272

commit 7221ce9c43366b8ea5fe64a6cd7418875c30c272
Author: Bryan McQuade <bmcquade@chromium.org>
Date: Fri Dec 15 05:34:58 2017

Fix page load metrics flake, and re-enable test.

Page load metrics browser tests sometimes want to assert that
no page load metrics are logged for a given page load.

They do this by checking to see that no PageLoad.* histograms
were logged, but excluding PageLoad.Internal.* histograms,
which are considered internal and thus allowed to be logged
during non tracked page loads.

Recently, the PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl
test started flaking on Windows, due to
PageLoad.Experimental.Renderer.* metrics being logged during
this page load.

These are really internal metrics, so should use the
PageLoad.Internal.* naming convention, which also allows them
to be ignored by this test.


Bug:  794408 
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I593adf3b8c995e50b74431cc89e782cf4456abff
Reviewed-on: https://chromium-review.googlesource.com/826386
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Charlie Harrison <csharrison@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524335}
[modify] https://crrev.com/7221ce9c43366b8ea5fe64a6cd7418875c30c272/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
[modify] https://crrev.com/7221ce9c43366b8ea5fe64a6cd7418875c30c272/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp
[modify] https://crrev.com/7221ce9c43366b8ea5fe64a6cd7418875c30c272/tools/metrics/histograms/histograms.xml

Project Member

Comment 9 by chromium...@appspot.gserviceaccount.com, Dec 15 2017

Detected 4 new flakes for test/step "PageLoadMetricsBrowserTest.NonHttpOrHttpsUrl". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyNwsSBUZsYWtlIixQYWdlTG9hZE1ldHJpY3NCcm93c2VyVGVzdC5Ob25IdHRwT3JIdHRwc1VybAw. This message was posted automatically by the chromium-try-flakes app.

Comment 10 by mek@chromium.org, Dec 22 2017

Labels: -Sheriff-Chromium
Was this fixed or not? The bug is still marked as untriaged, but apparently some work seems to have taken place...

At least removing from sheriff queue on the assumption that the last detected flakes actually predated the CL above it...

Comment 11 by mek@chromium.org, Dec 22 2017

Status: Assigned (was: Untriaged)
Status: Fixed (was: Assigned)

Sign in to add a comment