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

Q12020 Flaky failing autotest function pauseResume in qpauseanimation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.14, 5.15
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      macOS
    • Story Points:
      21
    • Sprint:
      Qt6_Foundation_Sprint 23, Qt6_Foundation_Sprint 24

      Description

      Here is the log from the incident

      Coin task #1: http://coin/coin/integration/qt/qtbase/tasks/1582106603

      Host OS version: macOS_10_14, target OS version macOS_10_14, Clang compiler

      Log #1: http://coin/coin/logview/qt/qtbase/a5938a8b30c68c0ef2937bcda7426b030f023a87/MacOSMacOS_10_14x86_64MacOSMacOS_10_14x86_64Clangqtci-macos-10.14-x86_64-d27186/d538217039922c1f5b3be1b4fc80f0033ee75dbd/test_1582106837

      ********* Start testing of tst_QPauseAnimation *********
      Config: Using QtTest library 5.15.0, Qt 5.15.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 11.0.0 (clang-1100.0.33.16) (Apple))
      PASS : tst_QPauseAnimation::initTestCase()
      PASS : tst_QPauseAnimation::changeDirectionWhileRunning()
      BPASS : tst_QPauseAnimation::noTimerUpdates(0)
      BPASS : tst_QPauseAnimation::noTimerUpdates(1)
      BPASS : tst_QPauseAnimation::noTimerUpdates(2)
      BPASS : tst_QPauseAnimation::noTimerUpdates(3)
      PASS : tst_QPauseAnimation::multiplePauseAnimations()
      BFAIL : tst_QPauseAnimation::pauseAndPropertyAnimations() QTestLib: This test case check ("(((animation.state()) == (QAbstractAnimation::Stopped)))") failed because the requested timeout (400 ms) was too short, 600 ms would have been sufficient this time.
      Loc: [tst_qpauseanimation.cpp(227)]
      FAIL! : tst_QPauseAnimation::pauseResume() Compared values are not the same
      Actual (animation.state()) : Stopped
      Expected (QAbstractAnimation::Paused): Paused
      Loc: [tst_qpauseanimation.cpp(241)]
      PASS : tst_QPauseAnimation::sequentialPauseGroup()
      PASS : tst_QPauseAnimation::sequentialGroupWithPause()
      BFAIL : tst_QPauseAnimation::multipleSequentialGroups() QTestLib: This test case check ("(((group.state()) == (QAbstractAnimation::Stopped)))") failed because the requested timeout (1750 ms) was too short, 2100 ms would have been sufficient this time.
      Loc: [tst_qpauseanimation.cpp(399)]
      PASS : tst_QPauseAnimation::zeroDuration()
      PASS : tst_QPauseAnimation::cleanupTestCase()
      Totals: 7 passed, 1 failed, 0 skipped, 6 blacklisted, 7935ms
      ********* Finished testing of tst_QPauseAnimation *********
      ...
      ********* Start testing of tst_QPauseAnimation *********
      Config: Using QtTest library 5.15.0, Qt 5.15.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 11.0.0 (clang-1100.0.33.16) (Apple))
      PASS : tst_QPauseAnimation::initTestCase()
      FAIL! : tst_QPauseAnimation::pauseResume() Compared values are not the same
      Actual (animation.state()) : Stopped
      Expected (QAbstractAnimation::Paused): Paused
      Loc: [tst_qpauseanimation.cpp(241)]
      PASS : tst_QPauseAnimation::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 686ms
      ********* Finished testing of tst_QPauseAnimation *********
      

      Externally accessible log: https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1582106603

      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%2Fqtbase&var-testcase=tests%2Fauto%2Fcorelib%2Fanimation%2Fqpauseanimation&var-testfunction=pauseResume&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%2Fqtbase&var-testcase=tests%2Fauto%2Fcorelib%2Fanimation%2Fqpauseanimation&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

            Assignee:
            ivan.solovev Ivan Solovev
            Reporter:
            assaarel Asmo Saarela
            PM Owner:
            Maurice Kalinowski Maurice Kalinowski
            RnD Owner:
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes