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

Q2-2020 Flaky failing autotest function dynamic in scion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.1, 6.1.0 Alpha
    • 5.12.8, 5.12
    • XML: SCXML
    • None
    • Host OS: macOS_10_12, target OS: macOS_10_12, Clang compiler
      Host OS: Windows_10, target OS: Windows_10, MSCV2015 compiler
    • macOS, Windows
    • 5
    • 2427b675711119c6aac68b662434eb8a0910c3a3 (qt/qtscxml/dev) 0c7536902901a882fd3e58f5314d03a37a386033 (qt/qtscxml/5.15)
    • Qt6_Foundation_Sprint 15

    Description

      I made a quick check if there is already a bug report or a bug fix for this test case. No obvious explicit information was found. Therefore a new bug report is added.

      Here is the log from the incident

      Coin task #1: http://coin/coin/integration/qt/qtscxml/tasks/1585128351

      Log #1: http://coin/coin/logview/qt/qtscxml/55e0a9be64ca978b3bf230af2e04a253e6b5bdbf/MacOSMacOS_10_12x86_64MacOSMacOS_10_12x86_64Clangqtci-macos-10.12-x86_64-9-ff51ab/7b2b57c62a7d709d3724341acba23c11aab01f12/test_1585128469

      Externally accessible log: https://testresults.qt.io/coin/integration/qt/qtscxml/tasks/1585128351

      ********* Start testing of TestScion *********
      Config: Using QtTest library 5.12.8, Qt 5.12.8 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.0.0 (clang-900.0.39.2) (Apple))
      ...
      PASS : TestScion::dynamic(content-expr-in-send/test0.txml)
      PASS : TestScion::dynamic(default-initial-state/initial1)
      PASS : TestScion::dynamic(default-initial-state/initial2)
      QWARN : TestScion::dynamic(delayedSend/send1) Incorrect nextConfiguration (2)!
      QWARN : TestScion::dynamic(delayedSend/send1) Current configuration: ("b")
      QWARN : TestScion::dynamic(delayedSend/send1) Expected configuration: ("d")
      QWARN : TestScion::dynamic(delayedSend/send1) ... after sending event QJsonObject({"name":"t2"})
      FAIL! : TestScion::dynamic(delayedSend/send1) 'runResult' returned FALSE. ()
      Loc: [tst_scion.cpp(219)]
      QWARN : TestScion::dynamic(delayedSend/send2) Incorrect nextConfiguration (2)!
      QWARN : TestScion::dynamic(delayedSend/send2) Current configuration: ("b")
      QWARN : TestScion::dynamic(delayedSend/send2) Expected configuration: ("d")
      QWARN : TestScion::dynamic(delayedSend/send2) ... after sending event QJsonObject({"name":"t2"})
      FAIL! : TestScion::dynamic(delayedSend/send2) 'runResult' returned FALSE. ()
      Loc: [tst_scion.cpp(219)]
      ...
      Totals: 274 passed, 1 failed, 0 skipped, 0 blacklisted, 86488ms
      ********* Finished testing of TestScion *********

      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
      • Find any possible directly or indirectly related bug reports and mark it as a resolved duplicate.

      Guidelines for debugging

      Sometimes the test is flaky because of the load in the virtual machine. This Qt wiki page tells you how to reproduce similar circumstances.

      https://wiki.qt.io/How_to_reproduce_autotest_fails

      The TQtC members can use internal CI-system virtual machines for debugging:

      https://intranet.qt.io/display/QTRD/Metrics+Guidelines+for+Grafana+Tool+for+Autotests+with+Issues

      Anyone can use the MiniCoin system at the need for handling the virtual machines:

      https://git.qt.io/vohilshe/minicoin

      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%2Fqtscxml&var-testcase=tests%2Fauto%2Fscion&var-testfunction=dynamic&var-branch=5.12&var-branch=5.12.8&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%2Fqtscxml&var-testcase=tests%2Fauto%2Fscion&var-testfunction=All&var-branch=5.12&var-branch=5.12.8&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

            jkobus Jarek Kobus
            assaarel Asmo Saarela (Inactive)
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes