https://bugs.kde.org/show_bug.cgi?id=468285

            Bug ID: 468285
           Summary: 5.105.0: test suite is failing in kfiltertest unit
    Classification: Frameworks and Libraries
           Product: frameworks-karchive
           Version: 5.105.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: kloczko.tom...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to