Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.5
-
None
-
-
6e68b4d83 (dev), 5036562bd (6.5)
Description
The tst_qlogging test case fails sporadically on OpenSUSE 15.4:
6507: ********* Start testing of tst_qmessagehandler ********* FAIL! : tst_qmessagehandler::qMessagePattern(backtrace) 'output.contains(e)' returned FALSE. (Got: "[T::T|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] static constructor\n[main|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] qDebug\n[main|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] qInfo\n[main|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] qWarning\n[main|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] qCritical\n[main|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] qDebug with category\n[main|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] qDebug2\n[MyClass::myFunction|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] from_a_function 34\n[T::~T|?libQt6Core.so.6?|?libQt6Core.so.6?|qFormatLogMessage|?libQt6Core.so.6?] static destructor\n" ; Expected: "[MyClass::myFunction|MyClass::mySlot1|?qlogging_helper?|" ) Loc: [/home/qt/work/qt/qtbase/tests/auto/corelib/global/qlogging/tst_qlogging.cpp(792)] FAIL! : tst_qmessagehandler::qMessagePattern(backtrace depth,separator) 'output.contains(e)' returned FALSE. (Got: "[T::T\n?libQt6Core.so.6?] static constructor\n[main\n?libQt6Core.so.6?] qDebug\n[main\n?libQt6Core.so.6?] qInfo\n[main\n?libQt6Core.so.6?] qWarning\n[main\n?libQt6Core.so.6?] qCritical\n[main\n?libQt6Core.so.6?] qDebug with category\n[main\n?libQt6Core.so.6?] qDebug2\n[MyClass::myFunction\n?libQt6Core.so.6?] from_a_function 34\n[T::~T\n?libQt6Core.so.6?] static destructor\n" ; Expected: "[MyClass::myFunction\nMyClass::mySlot1] from_a_function 34" ) Loc: [/home/qt/work/qt/qtbase/tests/auto/corelib/global/qlogging/tst_qlogging.cpp(792)] PASS : tst_qmessagehandler::setMessagePattern() PASS : tst_qmessagehandler::formatLogMessage(basic) Totals: 167 passed, 2 failed, 0 skipped, 0 blacklisted, 322ms
e.g. when integrating https://codereview.qt-project.org/c/qt/qtbase/+/449888, full log at https://testresults.qt.io/logs/qt/qtbase/6a25a0fd6567d42902eb6a35ea5ccb81f796ba94/LinuxopenSUSE_15_4x86_64LinuxopenSUSE_15_4x86_64GCCqtci-linux-openSUSE-15.4-x86_64-50-83e418Sccache_UseAddressSanitizer_UseConfigure_WarningsAreErrors/cbfa906f2c98fc3ef489740ff00657c64308070e/test_1680802586/log.txt.gz
The integration ultimately fails due to a tst_qprocess failure.
Attachments
Issue Links
- relates to
-
QTBUG-109329 tst_qprocess crash in OpenSUSE 15.4
-
- Reported
-
For Gerrit Dashboard: QTBUG-109559 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
450129,2 | tst_qlogging: Skip backtrace tests under ASan | dev | qt/qtbase | Status: MERGED | +2 | 0 |
450181,3 | tst_qlogging: Skip backtrace tests under ASan | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
450182,1 | tst_qlogging: Skip backtrace tests under ASan | 6.4 | qt/qtbase | Status: ABANDONED | 0 | 0 |