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

Q12020 Flaky failing autotest function scrollTo in qscroller

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.14
    • Fix Version/s: 5.15.0 Beta4
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      8ed14a3c481c3fc59f10cd084ea203cb45e89309 (qt/qtbase/5.14)
    • Sprint:
      Q1/2020 Finale, Q2/2020 kick off

      Description

      Here is the log from the incident

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

      Log #1: http://coin/coin/logview/qt/qtbase/cc839983fb46c086d7ee9022d7a65160a8b056e2/MacOSMacOS_10_13x86_64MacOSMacOS_10_13x86_64Clangqtci-macos-10.13-x86_64-2-c36e90/89071310d9526b58b431ca0e718769076cac353c/test_1578392183

      ********* Start testing of tst_QGuiEventDispatcher *********
      Config: Using QtTest library 5.14.1, Qt 5.14.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.5) (Apple))
      PASS : tst_QGuiEventDispatcher::initTestCase()
      FAIL! : tst_QGuiEventDispatcher::registerTimer() Compared values are not the same
      Actual (timerIdFromEvent) : 2
      Expected (timers.preciseTimerId()): 1
      Loc: [../../../corelib/kernel/qeventdispatcher/tst_qeventdispatcher.cpp(212)]
      PASS : tst_QGuiEventDispatcher::sendPostedEvents(WaitForMoreEvents)
      PASS : tst_QGuiEventDispatcher::sendPostedEvents(AllEvents)
      PASS : tst_QGuiEventDispatcher::processEventsOnlySendsQueuedEvents()
      PASS : tst_QGuiEventDispatcher::cleanupTestCase()
      Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 651ms
      ********* Finished testing of tst_QGuiEventDispatcher *********
      ...
      ********* Start testing of tst_QScroller *********
      Config: Using QtTest library 5.14.1, Qt 5.14.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.5) (Apple))
      PASS : tst_QScroller::initTestCase()
      QWARN : tst_QScroller::staticScrollers() QScroller::scroller() was called with a null target.
      ...
      FAIL! : tst_QScroller::scrollTo() Compared values are not the same
      Actual (sw->receivedScroll): 0
      Expected (true) : 1
      Loc: [tst_qscroller.cpp(364)]
      FAIL! : tst_QScroller::scroll() Compared values are not the same
      Actual (s1->state()) : Inactive
      Expected (QScroller::Pressed): Pressed
      Loc: [tst_qscroller.cpp(164)]
      FAIL! : tst_QScroller::scroll() Compared values are not the same
      Actual (((s1->state()))) : Inactive
      Expected (QScroller::Scrolling): Scrolling
      Loc: [tst_qscroller.cpp(387)]
      ...
      Totals: 6 passed, 3 failed, 0 skipped, 0 blacklisted, 27152ms
      ********* Finished testing of tst_QScroller *********
      ...
      ********* Start testing of tst_QScroller *********
      Config: Using QtTest library 5.14.1, Qt 5.14.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.5) (Apple))
      PASS : tst_QScroller::initTestCase()
      FAIL! : tst_QScroller::scrollTo() Compared values are not the same
      Actual (sw->receivedScroll): 0
      Expected (true) : 1
      Loc: [tst_qscroller.cpp(364)]
      PASS : tst_QScroller::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 265ms
      ********* Finished testing of tst_QScroller *********
      

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

      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%2Fwidgets%2Futil%2Fqscroller&var-testfunction=scrollTo&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%2Fwidgets%2Futil%2Fqscroller&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:
            vhilshei Volker Hilsheimer
            Reporter:
            assaarel Asmo Saarela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes