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

Q12020 Flaky failing autotest function setUpdateInterval_delayedUpdate in qnmeapositioninfosource_realtime

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.14
    • Fix Version/s: 6.2.0 Beta2, 6.3.0 Alpha
    • Component/s: Positioning
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      2712c51db4e0cc7344b372c87240b9980d3ceaa1 (qt/qtlocation/dev) 5bd10f771727af7953843c27dcc6386c445cec7c (qt/qtlocation/6.2)

      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/qtlocation/tasks/1580118466

      Host OS: macOS_10_13, target OS: macOS_10_13, Clang compiler

      Log #1: http://coin/coin/logview/qt/qtlocation/f397c85d22342ec87f2e64b3707c39f19fbc0256/MacOSMacOS_10_13x86_64MacOSMacOS_10_13x86_64Clangqtci-macos-10.13-x86_64-2-d14fc1/1928a09f82e19a0cf094aab350d3ba8a0a2c7d60/test_1580118666

      ********* Start testing of tst_QNmeaPositionInfoSource_RealTime *********
      Config: Using QtTest library 6.0.0, Qt 6.0.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 10.0.0 (clang-1000.11.45.5) (Apple))
      PASS : tst_QNmeaPositionInfoSource_RealTime::initTestCase()
      PASS : tst_QNmeaPositionInfoSource_RealTime::constructor()
      PASS : tst_QNmeaPositionInfoSource_RealTime::supportedPositioningMethods()
      PASS : tst_QNmeaPositionInfoSource_RealTime::minimumUpdateInterval()
      PASS : tst_QNmeaPositionInfoSource_RealTime::userEquivalentRangeError()
      QDEBUG : tst_QNmeaPositionInfoSource_RealTime::setUpdateInterval_delayedUpdate() listening on QHostAddress("127.0.0.1") 49263
      QWARN : tst_QNmeaPositionInfoSource_RealTime::setUpdateInterval_delayedUpdate() Received pending connection: QTcpSocket(0x7f9d8ae140d0) true
      FAIL! : tst_QNmeaPositionInfoSource_RealTime::setUpdateInterval_delayedUpdate() 'now.time().msecsTo(QDateTime::currentDateTime().time()) < 200' returned FALSE. ()
      Loc: [../tst_qnmeapositioninfosource.cpp(127)]
      QDEBUG : tst_QNmeaPositionInfoSource_RealTime::lastKnownPosition() listening on QHostAddress("127.0.0.1") 49265
      QWARN : tst_QNmeaPositionInfoSource_RealTime::lastKnownPosition() Received pending connection: QTcpSocket(0x7f9d8ac04d70) true
      PASS : tst_QNmeaPositionInfoSource_RealTime::lastKnownPosition()
      ...
      Totals: 24 passed, 1 failed, 0 skipped, 0 blacklisted, 12345ms
      ********* Finished testing of tst_QNmeaPositionInfoSource_RealTime *********
      

      Externally accessible log: https://testresults.qt.io/coin/integration/qt/qtlocation/tasks/1580118466

      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

      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%2Fqtlocation&var-testcase=tests%2Fauto%2Fqnmeapositioninfosource%2Fqnmeapositioninfosource_realtime&var-testfunction=setUpdateInterval_delayedUpdate&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%2Fqtlocation&var-testcase=tests%2Fauto%2Fqnmeapositioninfosource%2Fqnmeapositioninfosource_realtime&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:
            tpochep Timur Pocheptsov
            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