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

Issue 921151 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Buried. Ping if important.
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

http/tests/security/mixedContent/insecure-iframe-with-hsts.https.html is flaky on Linux

Project Member Reported by adithyas@chromium.org, Jan 11

Issue description

Example failing build: https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Linux%20Tests%20%28dbg%29%281%29/77128

Flakiness dashboard: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=webkit_layout_tests&tests=http%2Ftests%2Fsecurity%2FmixedContent%2Finsecure-iframe-with-hsts.https.html

Looks like the test doesn't emit the error for loading mixed content sometimes:

--- /b/s/w/ioDPAD1_/layout-test-results/virtual/outofblink-cors/http/tests/security/mixedContent/insecure-iframe-with-hsts.https-expected.txt
+++ /b/s/w/ioDPAD1_/layout-test-results/virtual/outofblink-cors/http/tests/security/mixedContent/insecure-iframe-with-hsts.https-actual.txt
@@ -4,7 +4,6 @@
 main frame - didFinishLoadForFrame
 frame "<!--framePath //<!--frame0-->-->" - didReceiveTitle: 
 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
-CONSOLE ERROR: line 18: Mixed Content: The page at 'https://127.0.0.1:8443/security/mixedContent/insecure-iframe-with-hsts.https.html' was loaded over HTTPS, but requested an insecure resource 'http://hsts-example.test:8443/security/resources/hsts.php'. This request has been blocked; the content must be served over HTTPS.
 frame "<!--framePath //<!--frame0-->-->" - didFailProvisionalLoadWithError
 This is a testharness.js-based test.
 PASS HSTS does not bypass MIX.
 
Cc: carlosil@chromium.org livvielin@chromium.org
CCing some folks who've touched mixed_content_checker.cc recently
Components: Blink>Loader
Labels: -Sheriff-Chromium
CL to disable the test on linux is in the CQ. As an owner is assigned, I am taking this out of the sheriff queue.

https://chromium-review.googlesource.com/c/chromium/src/+/1409549
Project Member

Comment 4 by bugdroid1@chromium.org, Jan 14

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

commit 56126823ba553ebe0dc4eef005bdeb0705051750
Author: Dominic Battre <battre@chromium.org>
Date: Mon Jan 14 17:34:52 2019

Disable http/tests/security/mixedContent/insecure-iframe-with-hsts.https.html

This CL disables a number of variations of the above mentioned test on Linux.
Details on the failure can be found on the bug.

TBR=mkwst@chromium.org

Bug: 921151
Change-Id: Ic64404b128fa5f40042d0d81ac33f4a3e585b6d3
Reviewed-on: https://chromium-review.googlesource.com/c/1409549
Reviewed-by: Dominic Battré <battre@chromium.org>
Commit-Queue: Dominic Battré <battre@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622496}
[modify] https://crrev.com/56126823ba553ebe0dc4eef005bdeb0705051750/third_party/blink/web_tests/TestExpectations

Sign in to add a comment