Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
dev
-
None
-
-
3c5e37fe0 (dev), 744313ae7 (6.7), 0ecb6b018 (6.6), 237c2c9bc (tqtc/lts-6.5)
Description
The test function is flaky and blocks integrations.
EDIT by jimis:
This bug is about the error "socket.gaierror: [Errno -3] Temporary failure in name resolution" in tst_QHostInfo:
agent:2023/12/31 09:44:23 build.go:404: qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/qtbase_standalone_tests/tests/auto/network/kernel/qhostinfo/tst_qhostinfo', '-o', '/home/qt/work/testresults/tst_qhostinfo-1704015857179.xml,xml', '-o', '/home/qt/work/testresults/tst_qhostinfo-1704015857179.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qhostinfo-1704015857179.txt,txt', '-o', '-,txt', '-v2', '-maxwarnings', '0', 'reverseLookup:WithCache:dns.google'] agent:2023/12/31 09:44:23 build.go:404: ********* Start testing of tst_QHostInfo ********* agent:2023/12/31 09:44:23 build.go:404: Config: Using QtTest library 6.7.0, Qt 6.7.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0), b2qt 3.2 agent:2023/12/31 09:44:23 build.go:404: INFO : tst_QHostInfo::initTestCase() entering agent:2023/12/31 09:44:23 build.go:404: PASS : tst_QHostInfo::initTestCase() agent:2023/12/31 09:44:23 build.go:404: INFO : tst_QHostInfo::reverseLookup() entering agent:2023/12/31 09:44:23 build.go:404: Traceback (most recent call last): agent:2023/12/31 09:44:23 build.go:404: File "<string>", line 1, in <module> agent:2023/12/31 09:44:23 build.go:404: socket.gaierror: [Errno -3] Temporary failure in name resolution agent:2023/12/31 09:44:23 build.go:404: QDEBUG : tst_QHostInfo::reverseLookup(WithCache) [ 0.004 D] default unknown:0 unknown() - Python failed, falling back to nslookup agent:2023/12/31 09:44:23 build.go:404: QDEBUG : tst_QHostInfo::reverseLookup(WithCache) [ 0.041 D] default unknown:0 unknown() - Failure to parse nslookup output: QList("** server can't find 8.8.8.8.in-addr.arpa: SERVFAIL", "", "") agent:2023/12/31 09:44:23 build.go:404: QDEBUG : tst_QHostInfo::reverseLookup(WithCache:dns.google) [ 5.162 D] default unknown:0 unknown() - Failure: expecting QList() ,got "8.8.8.8" agent:2023/12/31 09:44:23 build.go:404: INFO : tst_QHostInfo::reverseLookup(WithCache:dns.google) QVERIFY(hostNames.contains(info.hostName())) agent:2023/12/31 09:44:23 build.go:404: Loc: [/home/qt/work/qt/qtbase/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp(452)] agent:2023/12/31 09:44:23 build.go:404: FAIL! : tst_QHostInfo::reverseLookup(WithCache:dns.google) 'hostNames.contains(info.hostName())' returned FALSE. () agent:2023/12/31 09:44:23 build.go:404: Loc: [/home/qt/work/qt/qtbase/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp(452)] agent:2023/12/31 09:44:23 build.go:404: INFO : tst_QHostInfo::cleanupTestCase() entering agent:2023/12/31 09:44:23 build.go:404: PASS : tst_QHostInfo::cleanupTestCase() agent:2023/12/31 09:44:23 build.go:404: Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 5836ms agent:2023/12/31 09:44:23 build.go:404: ********* Finished testing of tst_QHostInfo ********* agent:2023/12/31 09:44:23 build.go:404: qt-testrunner.py INFO: Test process exited with code: 1 agent:2023/12/31 09:44:23 build.go:404: qt-testrunner.py INFO: Test has FAILed despite all repetitions! re-runs:5 failures:5
Attachments
Issue Links
- is duplicated by
-
QTBUG-120466 Top flaky test: tst_qhostinfo::reverseLookup on QEMU ARMv7.
-
- Closed
-
- relates to
-
QTBUG-120644 Top flaky test: tst_qhostinfo::reverseLookup on QNX_710 X86_64.
-
- Closed
-
-
QTBUG-120645 Top flaky test: tst_qhostinfo::reverseLookup on Windows_10_22H2 X86_64.
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-120460 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
532827,1 | Provisioning: Invalidate nscd hosts in cache cleanup | dev | qt/qt5 | Status: NEW | 0 | 0 |