Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8, 5.9, 5.12
-
Windows
macOS 10.12
macOS 10.13
-
715468df40e4ce97da04f327b6e34d535ff9b97d (qt/qtbase/5.14) 423ddcb23295384cee4cc83b5d890790bf0d8b86 (qt/qtbase/5.12)
Description
E.g. in https://codereview.qt-project.org/184913
********* Start testing of tst_QElapsedTimer *********
Config: Using QtTest library 5.8.1, Qt 5.8.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2013)
PASS : tst_QElapsedTimer::initTestCase()
QDEBUG : tst_QElapsedTimer::statics() Clock type is 4
QDEBUG : tst_QElapsedTimer::statics() Said clock is monotonic
QDEBUG : tst_QElapsedTimer::statics() Current time is 1104347
PASS : tst_QElapsedTimer::statics()
PASS : tst_QElapsedTimer::validity()
QDEBUG : tst_QElapsedTimer::basics() value1: 1104347 t1: (1104347)
QDEBUG : tst_QElapsedTimer::basics() value2: 1104347 t1: (1104347) elapsed: 0 nsecs: 29333
PASS : tst_QElapsedTimer::basics()
FAIL! : tst_QElapsedTimer::elapsed() 'elapsed < 5*minResolution' returned FALSE. ()
tst_qelapsedtimer.cpp(132) : failure location
PASS : tst_QElapsedTimer::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 274ms
********* Finished testing of tst_QElapsedTimer *********
The re-run fails differently:
********* Start testing of tst_QElapsedTimer *********
Config: Using QtTest library 5.8.1, Qt 5.8.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2013)
PASS : tst_QElapsedTimer::initTestCase()
FAIL! : tst_QElapsedTimer::elapsed() 't1.nsecsElapsed() - t1.elapsed() * 1000000 < 1000000' returned FALSE. ()
tst_qelapsedtimer.cpp(122) : failure location
PASS : tst_QElapsedTimer::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 208ms
********* Finished testing of tst_QElapsedTimer *********
Attachments
Issue Links
- is required for
-
QTBUG-58968 Meta bug for Qt 5.9 on macOS 10.12
- Closed
-
QTQAINFRA-1301 Enable autotests for macOS 10.13 in the CI
- Closed
- relates to
-
QTBUG-59057 Time-dependent autotest fails in the CI has increased
- Closed
- replaces
-
QTBUG-58970 tst_QElapsedTimer::elapsed() failed on macOS 10.12
- Closed
For Gerrit Dashboard: QTBUG-58713 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
184958,2 | Blacklist tst_QElapsedTimer::elapsed() on Windows | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |
185178,2 | 50 ms isn't enough for the CI, so increase to 100 ms | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |
195625,3 | Extend blacklisting of tst_QElapsedTimer::elapsed to cover macOS 10.12 | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
232788,2 | Extend blacklisting of tst_QElapsedTimer::elapsed to cover macOS 10.13 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
292179,3 | Fix flaky QElapsedTimer::elapsed test case | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
292181,4 | Un-blacklist QElapsedTimer::elapsed test | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
292667,2 | Fix flaky QElapsedTimer::elapsed test case | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |