| Summary: | 5.111.0: test suite is failing in kfiltertest unit | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-karchive | Reporter: | kloczek <kloczko.tomasz> |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | kdelibs-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.105.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Looks like in 5.111.0 kfiltertest unit is OK however an other one popped out
+ cd karchive-5.111.0
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 -E '^(kfiltertest)'
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/karchive-5.111.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/karchive-5.111.0/x86_64-redhat-linux-gnu
Start 1: karchivetest
Start 2: deprecatedtest
Start 3: klimitediodevicetest
Start 4: kcompressiondevicetest
1/4 Test #3: klimitediodevicetest ............. Passed 0.01 sec
2/4 Test #2: deprecatedtest ................... Passed 0.02 sec
3/4 Test #4: kcompressiondevicetest ........... Passed 0.05 sec
4/4 Test #1: karchivetest .....................Subprocess aborted***Exception: 3.02 sec
********* Start testing of KArchiveTest *********
Config: Using QtTest library 5.15.11, Qt 5.15.11 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.1 20231011 (Red Hat 13.2.1-4)), fedora 40
PASS : KArchiveTest::initTestCase()
PASS : KArchiveTest::testEmptyFilename()
PASS : KArchiveTest::testNullDevice()
PASS : KArchiveTest::testNonExistentFile()
PASS : KArchiveTest::testCreateTar(.tar)
RESULT : KArchiveTest::testCreateTar():".tar":
2.5 msecs per iteration (total: 83, iterations: 32)
PASS : KArchiveTest::testCreateTarXXX(.tar.gz)
RESULT : KArchiveTest::testCreateTarXXX():".tar.gz":
1.8 msecs per iteration (total: 60, iterations: 32)
PASS : KArchiveTest::testCreateTarXXX(.tar.bz2)
RESULT : KArchiveTest::testCreateTarXXX():".tar.bz2":
2.1 msecs per iteration (total: 68, iterations: 32)
PASS : KArchiveTest::testCreateTarXXX(.tar.lzma)
RESULT : KArchiveTest::testCreateTarXXX():".tar.lzma":
5.6 msecs per iteration (total: 90, iterations: 16)
PASS : KArchiveTest::testCreateTarXXX(.tar.xz)
RESULT : KArchiveTest::testCreateTarXXX():".tar.xz":
6.5 msecs per iteration (total: 52, iterations: 8)
PASS : KArchiveTest::testCreateTarXXX(.tar.zst)
RESULT : KArchiveTest::testCreateTarXXX():".tar.zst":
1.9 msecs per iteration (total: 61, iterations: 32)
PASS : KArchiveTest::testReadTar(.tar.gz)
RESULT : KArchiveTest::testReadTar():".tar.gz":
1.6 msecs per iteration (total: 54, iterations: 32)
PASS : KArchiveTest::testReadTar(.tar.bz2)
RESULT : KArchiveTest::testReadTar():".tar.bz2":
1.6 msecs per iteration (total: 53, iterations: 32)
PASS : KArchiveTest::testReadTar(.tar.lzma)
RESULT : KArchiveTest::testReadTar():".tar.lzma":
1.7 msecs per iteration (total: 55, iterations: 32)
PASS : KArchiveTest::testReadTar(.tar.xz)
RESULT : KArchiveTest::testReadTar():".tar.xz":
1.6 msecs per iteration (total: 52, iterations: 32)
PASS : KArchiveTest::testReadTar(.tar.zst)
RESULT : KArchiveTest::testReadTar():".tar.zst":
1.6 msecs per iteration (total: 53, iterations: 32)
PASS : KArchiveTest::testUncompress(.tar.gz)
QWARN : KArchiveTest::testUncompress(.tar.bz2) kf.archive: bzDecompress returned -5
FAIL! : KArchiveTest::testUncompress(.tar.bz2) 'totalSize > 26000' returned FALSE. ()
Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.111.0/autotests/karchivetest.cpp(586)]
PASS : KArchiveTest::testUncompress(.tar.lzma)
PASS : KArchiveTest::testUncompress(.tar.xz)
PASS : KArchiveTest::testUncompress(.tar.zst)
PASS : KArchiveTest::testTarFileData(.tar.gz)
PASS : KArchiveTest::testTarFileData(.tar.bz2)
PASS : KArchiveTest::testTarFileData(.tar.lzma)
PASS : KArchiveTest::testTarFileData(.tar.xz)
PASS : KArchiveTest::testTarFileData(.tar.zst)
PASS : KArchiveTest::testTarCopyTo(.tar.gz)
PASS : KArchiveTest::testTarCopyTo(.tar.bz2)
PASS : KArchiveTest::testTarCopyTo(.tar.lzma)
PASS : KArchiveTest::testTarCopyTo(.tar.xz)
PASS : KArchiveTest::testTarCopyTo(.tar.zst)
PASS : KArchiveTest::testTarReadWrite(.tar.gz)
=== Received signal at function time: 5ms, total time: 2890ms, dumping stack ===
=== End of stack trace ===
QFATAL : KArchiveTest::testTarReadWrite(.tar.bz2) Received signal 11
Function time: 5ms Total time: 2890ms
FAIL! : KArchiveTest::testTarReadWrite(.tar.bz2) Received a fatal error.
Loc: [Unknown file(0)]
Totals: 30 passed, 2 failed, 0 skipped, 0 blacklisted, 2894ms
********* Finished testing of KArchiveTest *********
75% tests passed, 1 tests failed out of 4
Total Test time (real) = 3.03 sec
The following tests FAILED:
1 - karchivetest (Subprocess aborted)
Errors while running CTest
|
Looks like something is wrong because test suite is failing in one unit + cd karchive-5.105.0 + /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' ' Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/x86_64-redhat-linux-gnu Test project /home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/x86_64-redhat-linux-gnu Start 1: karchivetest Start 2: kfiltertest Start 3: deprecatedtest Start 4: klimitediodevicetest Start 5: kcompressiondevicetest 1/5 Test #4: klimitediodevicetest ............. Passed 0.01 sec 2/5 Test #3: deprecatedtest ................... Passed 0.01 sec 3/5 Test #2: kfiltertest ......................***Failed 0.02 sec ********* Start testing of KFilterTest ********* Config: Using QtTest library 5.15.8, Qt 5.15.8 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.0.1 20230324 (Red Hat 13.0.1-0)), fedora 39 PASS : KFilterTest::initTestCase() QDEBUG : KFilterTest::test_block_write() -- test_block_write gzip -- FAIL! : KFilterTest::test_block_write() Compared values are not the same Actual (QFileInfo(pathgz).size()): 43 Expected (40LL) : 40 Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(71)] QDEBUG : KFilterTest::test_block_read() -- test_block_read gzip -- FAIL! : KFilterTest::test_block_read() Compared values are not the same Actual (read) : "hello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\n"... Expected (testData): "hello world\n" Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(173)] QDEBUG : KFilterTest::test_block_read() -- test_block_read bzip2 -- FAIL! : KFilterTest::test_block_read() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(156)] QDEBUG : KFilterTest::test_block_read() -- test_block_read lzma -- FAIL! : KFilterTest::test_block_read() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(156)] QDEBUG : KFilterTest::test_block_read() -- test_block_read none -- FAIL! : KFilterTest::test_block_read() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(156)] QDEBUG : KFilterTest::test_block_read() -- test_block_read zstd -- FAIL! : KFilterTest::test_block_read() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(156)] QDEBUG : KFilterTest::test_biggerWrites() 8170 compressed into 8194 QDEBUG : KFilterTest::test_biggerWrites() 8171 compressed into 8195 QDEBUG : KFilterTest::test_biggerWrites() 8172 compressed into 8196 QDEBUG : KFilterTest::test_biggerWrites() 8173 compressed into 8197 QDEBUG : KFilterTest::test_biggerWrites() 8174 compressed into 8198 QDEBUG : KFilterTest::test_biggerWrites() 8175 compressed into 8199 QDEBUG : KFilterTest::test_biggerWrites() 8176 compressed into 8200 PASS : KFilterTest::test_biggerWrites() QDEBUG : KFilterTest::test_getch() -- test_getch gzip -- FAIL! : KFilterTest::test_getch() Compared values are not the same Actual (read) : "hello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\n"... Expected (testData): "hello world\n" Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(217)] QDEBUG : KFilterTest::test_getch() -- test_getch bzip2 -- FAIL! : KFilterTest::test_getch() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(209)] QDEBUG : KFilterTest::test_getch() -- test_getch lzma -- FAIL! : KFilterTest::test_getch() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(209)] QDEBUG : KFilterTest::test_getch() -- test_getch none -- FAIL! : KFilterTest::test_getch() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(209)] QDEBUG : KFilterTest::test_getch() -- test_getch zstd -- FAIL! : KFilterTest::test_getch() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(209)] QDEBUG : KFilterTest::test_textstream() -- test_textstream gzip -- FAIL! : KFilterTest::test_textstream() Compared values are not the same Actual (read) : "hello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\nhello world\n"... Expected (testData): "hello world\n" Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(250)] QDEBUG : KFilterTest::test_textstream() -- test_textstream bzip2 -- FAIL! : KFilterTest::test_textstream() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(244)] QDEBUG : KFilterTest::test_textstream() -- test_textstream lzma -- FAIL! : KFilterTest::test_textstream() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(244)] QDEBUG : KFilterTest::test_textstream() -- test_textstream none -- FAIL! : KFilterTest::test_textstream() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(244)] QDEBUG : KFilterTest::test_textstream() -- test_textstream zstd -- FAIL! : KFilterTest::test_textstream() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(244)] QDEBUG : KFilterTest::test_readall() -- test_readall gzip -- FAIL! : KFilterTest::test_readall() Compared values are not the same Actual (read.size()) : 600 Expected (expectedData.size()): 12 Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(281)] QDEBUG : KFilterTest::test_readall() -- test_readall bzip2 -- FAIL! : KFilterTest::test_readall() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(279)] QDEBUG : KFilterTest::test_readall() -- test_readall lzma -- FAIL! : KFilterTest::test_readall() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(279)] QDEBUG : KFilterTest::test_readall() -- test_readall gzip-derived -- FAIL! : KFilterTest::test_readall() Compared values are not the same Actual (read.size()) : 600 Expected (expectedData.size()): 12 Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(281)] QDEBUG : KFilterTest::test_readall() -- test_readall none -- FAIL! : KFilterTest::test_readall() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(279)] QDEBUG : KFilterTest::test_readall() -- test_readall zstd -- FAIL! : KFilterTest::test_readall() 'ok' returned FALSE. () Loc: [/home/tkloczko/rpmbuild/BUILD/karchive-5.105.0/autotests/kfiltertest.cpp(279)] QDEBUG : KFilterTest::test_uncompressed() -- test_uncompressed -- PASS : KFilterTest::test_uncompressed() PASS : KFilterTest::test_findFilterByMimeType(application/gzip) PASS : KFilterTest::test_findFilterByMimeType(application/x-bzip) PASS : KFilterTest::test_findFilterByMimeType(application/x-bzip2) PASS : KFilterTest::test_findFilterByMimeType(application/x-gzdvi) PASS : KFilterTest::test_findFilterByMimeType(text/plain) PASS : KFilterTest::test_findFilterByMimeType(application/x-tar) PASS : KFilterTest::test_deflateWithZlibHeader() QDEBUG : KFilterTest::test_pushData() "hello wor" QDEBUG : KFilterTest::test_pushData() "hello wor" PASS : KFilterTest::test_pushData() PASS : KFilterTest::test_saveFile(gz) PASS : KFilterTest::test_saveFile(none) PASS : KFilterTest::test_twofilesgztogether() PASS : KFilterTest::test_threefilesgztogether() PASS : KFilterTest::cleanupTestCase() Totals: 16 passed, 22 failed, 0 skipped, 0 blacklisted, 13ms ********* Finished testing of KFilterTest ********* 4/5 Test #5: kcompressiondevicetest ........... Passed 0.05 sec 5/5 Test #1: karchivetest ..................... Passed 4.02 sec 80% tests passed, 1 tests failed out of 5 Total Test time (real) = 4.02 sec The following tests FAILED: 2 - kfiltertest (Failed) Errors while running CTest