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

tst_QEventDispatcher::registerTimer() on macOS 10.13 flaky in CI/COIN

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.12.1, 5.13.0 Alpha 1
    • Fix Version/s: 5.14.2, 5.15.0 Alpha
    • Component/s: Core: Event loop
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      67491e2df5357706dbf88ddaf1f030ff095b4528, 5c520f4b0ad4b539dc0184c764ca9f12c98730d9 67491e2df5357706dbf88ddaf1f030ff095b4528 (qt/qtbase/dev) 1ce3585305febbd2fed6899cad0c58729991ec43 (qt/qtbase/5.14)

      Description

      https://testresults.qt.io/grafana/d/000000009/coin-single-test-details?orgId=1&var-project=qt%2Fqtbase&var-testcase=tests%2Fauto%2Fcorelib%2Fkernel%2Fqeventdispatcher&var-testfunction=registerTimer&var-branch=5.11&var-branch=dev&var-inter=24h

      15 times in 5.12, 18 times in dev

      https://codereview.qt-project.org/#/c/240983/

      https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1543764990

      https://testresults.qt.io/logs/qt/qtbase/51c5eafe87638e79961c63898cc63bce87edcadd/MacOSMacOS_10_13x86_64MacOSMacOS_10_13x86_64Clangqtci-macos-10.13-x86_64-2-76c1b1DebugAndRelease_Release/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/test_1543765041/log.txt.gz

      agent:2018/11/12 10:46:51 build.go:193: /Users/qt/work/qt/qtbase/tests/auto/gui/kernel/qguieventdispatcher/target_wrapper.sh  ./tst_qguieventdispatcher -o /Users/qt/work/testresults/tests/auto/gui/kernel/qguieventdispatcher749442026,xml -o -,txt
      agent:2018/11/12 10:46:51 build.go:193: ********* Start testing of tst_QEventDispatcher *********
      agent:2018/11/12 10:46:51 build.go:193: Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.2) (Apple))
      agent:2018/11/12 10:46:51 build.go:193: PASS   : tst_QEventDispatcher::initTestCase()
      agent:2018/11/12 10:46:51 build.go:193: FAIL!  : tst_QEventDispatcher::registerTimer() QTestLib: This test case check ("(((receivedEventType) == (int(QEvent::Timer))))") failed because the requested timeout (20 ms) was too short, 20 ms would have been sufficient this time.
      agent:2018/11/12 10:46:51 build.go:193:    Loc: [../../../corelib/kernel/qeventdispatcher/tst_qeventdispatcher.cpp(139)]
      agent:2018/11/12 10:46:51 build.go:193: FAIL!  : tst_QEventDispatcher::sendPostedEvents(WaitForMoreEvents) Compared values are not the same
      agent:2018/11/12 10:46:51 build.go:193:    Actual   (receivedEventType): 1
      agent:2018/11/12 10:46:51 build.go:193:    Expected (int(QEvent::User)): 1000
      agent:2018/11/12 10:46:51 build.go:193:    Loc: [../../../corelib/kernel/qeventdispatcher/tst_qeventdispatcher.cpp(194)]
      agent:2018/11/12 10:46:51 build.go:193: FAIL!  : tst_QEventDispatcher::sendPostedEvents(AllEvents) Compared values are not the same
      agent:2018/11/12 10:46:51 build.go:193:    Actual   (receivedEventType): 1
      agent:2018/11/12 10:46:51 build.go:193:    Expected (int(QEvent::User)): 1000
      agent:2018/11/12 10:46:51 build.go:193:    Loc: [../../../corelib/kernel/qeventdispatcher/tst_qeventdispatcher.cpp(194)]
      agent:2018/11/12 10:46:51 build.go:193: PASS   : tst_QEventDispatcher::processEventsOnlySendsQueuedEvents()
      agent:2018/11/12 10:46:51 build.go:193: PASS   : tst_QEventDispatcher::cleanupTestCase()
      agent:2018/11/12 10:46:51 build.go:193: Totals: 3 passed, 3 failed, 0 skipped, 0 blacklisted, 188ms
      agent:2018/11/12 10:46:51 build.go:193: ********* Finished testing of tst_QEventDispatcher *********
      agent:2018/11/12 10:46:51 build.go:193: make: *** [check] Error 3
      

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-71751
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes