Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82952

Q12020 Flaky failing autotest function localStorageVisibilty in qwebenginepage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.14.2
    • 5.14, 5.15
    • WebEngine
    • None
    • macOS
    • 616781369e8787a02e5629b73a0c8cfffe3c5239

    Description

      Here is the log from the incident

      Coin task #1: http://coin/coin/integration/qt/qtwebengine/tasks/1583249901

      Host OS versions: macOS_10_13 and macOS_10_14, targe OS versions macOS_10_13 and macOS_10_14, Clang compiler

      Log #1: http://coin/coin/logview/qt/qtwebengine/00353310f31ba1d41d4a9874c617c8fdf6557a66/MacOSMacOS_10_13x86_64MacOSMacOS_10_13x86_64Clangqtci-macos-10.13-x86_64-2-dc4a1e/e4c6c954cb7662c57f8758e5f7ae4065004ea8f1/test_1583250009

      ********* Start testing of tst_QWebEnginePage *********
      Config: Using QtTest library 5.15.0, Qt 5.15.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.5) (Apple))
      PASS : tst_QWebEnginePage::initTestCase()
      ...
      PASS : tst_QWebEnginePage::backActionUpdate()
      FAIL! : tst_QWebEnginePage::localStorageVisibility() 'evaluateJavaScriptSync(&webPage2, QString("(window.localStorage != undefined)")).toBool()' returned FALSE. ()
      Loc: [tst_qwebenginepage.cpp(831)]
      PASS : tst_QWebEnginePage::consoleOutput()
      ...
      Totals: 132 passed, 1 failed, 0 skipped, 2 blacklisted, 143489ms
      ********* Finished testing of tst_QWebEnginePage *********
      ...
      ********* Start testing of tst_QWebEnginePage *********
      Config: Using QtTest library 5.15.0, Qt 5.15.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.5) (Apple))
      PASS : tst_QWebEnginePage::initTestCase()
      ...
      FAIL! : tst_QWebEnginePage::localStorageVisibility() 'evaluateJavaScriptSync(&webPage2, QString("(window.localStorage != undefined)")).toBool()' returned FALSE. ()
      Loc: [tst_qwebenginepage.cpp(831)]
      ...
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 822ms
      ********* Finished testing of tst_QWebEnginePage *********
      

      Externally accessible log: https://testresults.qt.io/coin/integration/qt/qtwebengine/tasks/1583249901

      The wanted action

      • Please delegate this task to a suitable developer
      • Fix the autotest flakiness in all affected versions, not just one. 
      • Cherry-pick the fix to all relevant branches
      • Mark the fix versions to Jira
      • Try to fix the actual issue instead of just blacklisting the test function

      Guidelines for debugging

      Please see the internal page https://intranet.qt.io/display/QTRD/Metrics+Guidelines+for+Grafana+Tool+for+Autotests+with+Issues

      How to locate the failed flaky test:

      Please open the link to the Grafana dashboard showing the failure history of the test:

      https://testresults.qt.io/grafana/d/5GKDJSPZz/02-qt-framework-please-fix-these-flaky-tests-random-fails?orgId=1&from=now%2Fy&to=now&var-project=qt%2Fqtwebengine&var-testcase=tests%2Fauto%2Fwidgets%2Fqwebenginepage&var-testfunction=localStorageVisibility&var-branch=5.12&var-branch=5.13&var-branch=5.14&var-branch=5.15&var-branch=dev&var-inter=24h

      Please see the panel List of the recent flaky tests (both passed and failed). Sort it based on the results to see the failed instances. 

      Please open the links to the Coin tasks containing the logs. Please see the test section containing state "Error" and open corresponding logs. 

      Need to know more about the test binary execution history?

      Please see this Grafana dashboard: 

      https://testresults.qt.io/grafana/d/C-1oxSEWz/04-qt-framework-please-see-the-flakiness-history-of-tests?orgId=1&from=now%2Fy&to=now&var-project=qt%2Fqtwebengine&var-testcase=tests%2Fauto%2Fwidgets%2Fqwebenginepage&var-testfunction=All&var-branch=5.12&var-branch=5.13&var-branch=5.14&var-branch=5.15&var-branch=dev&var-inter=24h

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes