Bug 467541 - 0.26.10: Test suite is failing
Summary: 0.26.10: Test suite is failing
Status: RESOLVED FIXED
Alias: None
Product: okteta
Classification: Applications
Component: general (show other bugs)
Version: 0.26.10
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-18 19:01 UTC by kloczek
Modified: 2023-05-04 14:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.26.11
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kloczek 2023-03-18 19:01:30 UTC
Looks like 0.26.10 test suitr is failing in two units

+ cd okteta-0.26.10
+ xvfb-run -a /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/okteta-0.26.10/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/x86_64-redhat-linux-gnu
      Start  1: libkasten-core-testdocumenttest
      Start  2: libkasten-core-testdocumentfilesynchronizertest
      Start  3: libkasten-core-testdocumentfilesynchronizerfactorytest
      Start  4: libkasten-core-documentmanagertest
      Start  5: libpiecetable-piecetest
      Start  6: libpiecetable-piecetabletest
      Start  7: libpiecetable-testpiecetablechangetest
      Start  8: libpiecetable-testpiecetablechangeabstractpiecetablechangeiftest
      Start  9: libpiecetable-insertpiecetablechangeabstractpiecetablechangeiftest
      Start 10: libpiecetable-removepiecetablechangeabstractpiecetablechangeiftest
      Start 11: libpiecetable-replacepiecetablechangeabstractpiecetablechangeiftest
      Start 12: libpiecetable-swaprangespiecetablechangeabstractpiecetablechangeiftest
      Start 13: libpiecetable-grouppiecetablechangetest
      Start 14: libpiecetable-piecetablechangehistorytest
      Start 15: libpiecetable-revertablepiecetabletest
      Start 16: libokteta-core-arraychangemetricstest
      Start 17: libokteta-core-addressrangetest
      Start 18: libokteta-core-addressrangelisttest
      Start 19: libokteta-core-fixedsizebytearraymodeltest
      Start 20: libokteta-core-fixedsizebytearraymodelabstractbytearraymodeliftest
      Start 21: libokteta-core-bytearraymodeltest
      Start 22: libokteta-core-bytearraymodelabstractbytearraymodeliftest
      Start 23: libokteta-core-piecetablebytearraymodelabstractbytearraymodeliftest
      Start 24: libokteta-core-piecetablebytearraymodelversionableiftest
      Start 25: libokteta-core-valuecodectest
      Start 26: libokteta-core-charcodectest
      Start 27: libokteta-core-textcharcodectest
      Start 28: libokteta-core-textcharcodeccharcodeciftest
      Start 29: libokteta-core-ebcdic1047charcodeccharcodeciftest
      Start 30: libokteta-core-bookmarktest
      Start 31: libokteta-core-bookmarklisttest
      Start 32: libokteta-gui-selectiontest
      Start 33: libokteta-gui-coordtest
      Start 34: libokteta-gui-coordrangetest
      Start 35: libokteta-gui-coordrangelisttest
      Start 36: libokteta-gui-bytearraytablelayouttest
      Start 37: libokteta-gui-bytearraytablecursortest
      Start 38: oktetakasten-document-bytearraydocumenttest
      Start 39: oktetakasten-document-bytearraydocumentfactorytest
      Start 40: oktetakasten-io-bytearrayrawfilesynchronizertest
      Start 41: oktetakasten-io-bytearrayrawfilesynchronizerfactorytest
      Start 42: structures-primitivearraytest
      Start 43: structures-arraydatainformationtest
      Start 44: structures-basicdatainformationtest
      Start 45: structures-primitivedatainformationtest
      Start 46: structures-scriptclassestest
      Start 47: structures-uniondatainformationtest
      Start 48: structures-allprimitivetypestest
 1/56 Test  #1: libkasten-core-testdocumenttest ..........................................   Passed    0.08 sec
      Start 49: structures-scriptvalueconvertertest
 2/56 Test  #2: libkasten-core-testdocumentfilesynchronizertest ..........................***Failed    0.08 sec
********* Start testing of TestDocumentFileSynchronizerTest *********
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 20230304 (Red Hat 13.0.1-0)), fedora 39
PASS   : TestDocumentFileSynchronizerTest::initTestCase()
PASS   : TestDocumentFileSynchronizerTest::testLoadFromFile()
FAIL!  : TestDocumentFileSynchronizerTest::testLoadSaveFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(80)]
QWARN  : TestDocumentFileSynchronizerTest::testLoadReloadFile() QIODevice::write (QFile, "/home/tkloczko//.kde-unit-test//testdocumentfile1synchronizertest//test1.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testLoadReloadFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(164)]
QWARN  : TestDocumentFileSynchronizerTest::testChangeFile() QIODevice::write (QFile, "/home/tkloczko//.kde-unit-test//testdocumentfile1synchronizertest//test1.data"): device not open
QWARN  : TestDocumentFileSynchronizerTest::testChangeFile() QIODevice::write (QFile, "/home/tkloczko//.kde-unit-test//testdocumentfile1synchronizertest//test2.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testChangeFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(80)]
QWARN  : TestDocumentFileSynchronizerTest::testConnectToFile() QIODevice::write (QFile, "/home/tkloczko//.kde-unit-test//testdocumentfile1synchronizertest//test1.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testConnectToFile() Compared pointers are not the same
   Actual   (synchronizer->document()): (nil)
   Expected (document)                : 0x7fd664000f30
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(216)]
PASS   : TestDocumentFileSynchronizerTest::cleanupTestCase()
Totals: 3 passed, 4 failed, 0 skipped, 0 blacklisted, 7ms
********* Finished testing of TestDocumentFileSynchronizerTest *********

      Start 50: structures-osdparsertest
 3/56 Test  #3: libkasten-core-testdocumentfilesynchronizerfactorytest ...................   Passed    0.08 sec
      Start 51: structures-commonparsertest
 4/56 Test  #4: libkasten-core-documentmanagertest .......................................   Passed    0.08 sec
      Start 52: structures-jsparsertest
 5/56 Test  #5: libpiecetable-piecetest ..................................................   Passed    0.08 sec
      Start 53: structures-customtostringtest
 6/56 Test  #6: libpiecetable-piecetabletest .............................................   Passed    0.08 sec
      Start 54: structures-locktooffsettest
 7/56 Test  #7: libpiecetable-testpiecetablechangetest ...................................   Passed    0.08 sec
      Start 55: replacejobtest
 8/56 Test  #8: libpiecetable-testpiecetablechangeabstractpiecetablechangeiftest .........   Passed    0.09 sec
      Start 56: kpart-oktetaparttest
 9/56 Test  #9: libpiecetable-insertpiecetablechangeabstractpiecetablechangeiftest .......   Passed    0.09 sec
10/56 Test #10: libpiecetable-removepiecetablechangeabstractpiecetablechangeiftest .......   Passed    0.08 sec
11/56 Test #11: libpiecetable-replacepiecetablechangeabstractpiecetablechangeiftest ......   Passed    0.08 sec
12/56 Test #12: libpiecetable-swaprangespiecetablechangeabstractpiecetablechangeiftest ...   Passed    0.08 sec
13/56 Test #13: libpiecetable-grouppiecetablechangetest ..................................   Passed    0.08 sec
14/56 Test #14: libpiecetable-piecetablechangehistorytest ................................   Passed    0.08 sec
15/56 Test #15: libpiecetable-revertablepiecetabletest ...................................   Passed    0.08 sec
16/56 Test #16: libokteta-core-arraychangemetricstest ....................................   Passed    0.07 sec
17/56 Test #17: libokteta-core-addressrangetest ..........................................   Passed    0.07 sec
18/56 Test #18: libokteta-core-addressrangelisttest ......................................   Passed    0.07 sec
19/56 Test #19: libokteta-core-fixedsizebytearraymodeltest ...............................   Passed    0.07 sec
20/56 Test #20: libokteta-core-fixedsizebytearraymodelabstractbytearraymodeliftest .......   Passed    0.07 sec
21/56 Test #21: libokteta-core-bytearraymodeltest ........................................   Passed    0.07 sec
22/56 Test #22: libokteta-core-bytearraymodelabstractbytearraymodeliftest ................   Passed    0.07 sec
23/56 Test #23: libokteta-core-piecetablebytearraymodelabstractbytearraymodeliftest ......   Passed    0.06 sec
24/56 Test #24: libokteta-core-piecetablebytearraymodelversionableiftest .................   Passed    0.06 sec
25/56 Test #27: libokteta-core-textcharcodectest .........................................   Passed    0.06 sec
26/56 Test #28: libokteta-core-textcharcodeccharcodeciftest ..............................   Passed    0.06 sec
27/56 Test #29: libokteta-core-ebcdic1047charcodeccharcodeciftest ........................   Passed    0.06 sec
28/56 Test #30: libokteta-core-bookmarktest ..............................................   Passed    0.06 sec
29/56 Test #31: libokteta-core-bookmarklisttest ..........................................   Passed    0.05 sec
30/56 Test #32: libokteta-gui-selectiontest ..............................................   Passed    0.05 sec
31/56 Test #33: libokteta-gui-coordtest ..................................................   Passed    0.05 sec
32/56 Test #34: libokteta-gui-coordrangetest .............................................   Passed    0.05 sec
33/56 Test #35: libokteta-gui-coordrangelisttest .........................................   Passed    0.05 sec
34/56 Test #36: libokteta-gui-bytearraytablelayouttest ...................................   Passed    0.05 sec
35/56 Test #37: libokteta-gui-bytearraytablecursortest ...................................   Passed    0.05 sec
36/56 Test #48: structures-allprimitivetypestest .........................................   Passed    0.03 sec
37/56 Test #39: oktetakasten-document-bytearraydocumentfactorytest .......................   Passed    0.05 sec
38/56 Test #38: oktetakasten-document-bytearraydocumenttest ..............................   Passed    0.05 sec
39/56 Test #43: structures-arraydatainformationtest ......................................   Passed    0.04 sec
40/56 Test #47: structures-uniondatainformationtest ......................................   Passed    0.04 sec
41/56 Test #40: oktetakasten-io-bytearrayrawfilesynchronizertest .........................***Failed    0.05 sec
********* Start testing of Kasten::ByteArrayRawFileSynchronizerTest *********
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 20230304 (Red Hat 13.0.1-0)), fedora 39
PASS   : Kasten::ByteArrayRawFileSynchronizerTest::initTestCase()
FAIL!  : Kasten::ByteArrayRawFileSynchronizerTest::testLoadFromUrl() 'document != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/kasten/core/io/tests/bytearrayrawfilesynchronizertest.cpp(84)]
FAIL!  : Kasten::ByteArrayRawFileSynchronizerTest::testNewSaveAsToUrl() Compared pointers are not the same
   Actual   (synchronizer->document()): (nil)
   Expected (document)                : 0x55a1d2aff9a0
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/kasten/core/io/tests/bytearrayrawfilesynchronizertest.cpp(125)]
PASS   : Kasten::ByteArrayRawFileSynchronizerTest::cleanupTestCase()
Totals: 2 passed, 2 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of Kasten::ByteArrayRawFileSynchronizerTest *********

42/56 Test #41: oktetakasten-io-bytearrayrawfilesynchronizerfactorytest ..................   Passed    0.05 sec
43/56 Test #44: structures-basicdatainformationtest ......................................   Passed    0.05 sec
44/56 Test #42: structures-primitivearraytest ............................................   Passed    0.05 sec
45/56 Test #45: structures-primitivedatainformationtest ..................................   Passed    0.05 sec
46/56 Test #51: structures-commonparsertest ..............................................   Passed    0.03 sec
47/56 Test #46: structures-scriptclassestest .............................................   Passed    0.05 sec
48/56 Test #49: structures-scriptvalueconvertertest ......................................   Passed    0.04 sec
49/56 Test #53: structures-customtostringtest ............................................   Passed    0.04 sec
50/56 Test #54: structures-locktooffsettest ..............................................   Passed    0.04 sec
51/56 Test #52: structures-jsparsertest ..................................................   Passed    0.04 sec
52/56 Test #50: structures-osdparsertest .................................................   Passed    0.05 sec
53/56 Test #25: libokteta-core-valuecodectest ............................................   Passed    0.12 sec
54/56 Test #26: libokteta-core-charcodectest .............................................   Passed    0.13 sec
55/56 Test #55: replacejobtest ...........................................................   Passed    0.10 sec
56/56 Test #56: kpart-oktetaparttest .....................................................   Passed    0.14 sec

96% tests passed, 2 tests failed out of 56

Total Test time (real) =   0.25 sec

The following tests FAILED:
          2 - libkasten-core-testdocumentfilesynchronizertest (Failed)
         40 - oktetakasten-io-bytearrayrawfilesynchronizertest (Failed)
Errors while running CTest
Comment 1 Friedrich W. H. Kossebau 2023-03-18 20:31:01 UTC
Thanks for the report. Cannot reproduce though, and has been passing for me locally (openSUSE TW) and on KDE CI all the time. See e.g. https://invent.kde.org/utilities/okteta/-/pipelines/302655/test_report for the last pipeline on the tag itself.

What Qt version are you using?

The following looks suspicious:
QWARN  : TestDocumentFileSynchronizerTest::testLoadReloadFile() QIODevice::write (QFile, "/home/tkloczko//.kde-unit-test//testdocumentfile1synchronizertest//test1.data"): device not open

In case the duplicated path separators are an issue here (bad in any case), I pushed a commit to current 0.26 branch here: https://invent.kde.org/utilities/okteta/-/commit/67b3bb25b9fe8ce6794fa8038347a5adb4466478

Could you try again with that commit?

The other question would be: is home/tkloczko/.kde-unit-test/ writable during your test runs?
Comment 2 kloczek 2023-03-18 22:04:08 UTC
(In reply to Friedrich W. H. Kossebau from comment #1)
[..]
> What Qt version are you using?

5.15.8

> The following looks suspicious:
> QWARN  : TestDocumentFileSynchronizerTest::testLoadReloadFile()
> QIODevice::write (QFile,
> "/home/tkloczko//.kde-unit-test//testdocumentfile1synchronizertest//test1.
> data"): device not open
> 
> In case the duplicated path separators are an issue here (bad in any case),
> I pushed a commit to current 0.26 branch here:
> https://invent.kde.org/utilities/okteta/-/commit/
> 67b3bb25b9fe8ce6794fa8038347a5adb4466478

Will back shortly with result.

> Could you try again with that commit?
> 
> The other question would be: is home/tkloczko/.kde-unit-test/ writable
> during your test runs?

Yes it is writeable.
Comment 3 kloczek 2023-03-18 22:29:42 UTC
(In reply to Friedrich W. H. Kossebau from comment #1)
[..]
> In case the duplicated path separators are an issue here (bad in any case),
> I pushed a commit to current 0.26 branch here:
> https://invent.kde.org/utilities/okteta/-/commit/
> 67b3bb25b9fe8ce6794fa8038347a5adb4466478
> 
> Could you try again with that commit?

Looks like that commit fixed fail of one unit

+ cd okteta-0.26.10
+ xvfb-run -a /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/okteta-0.26.10/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/x86_64-redhat-linux-gnu
      Start  1: libkasten-core-testdocumenttest
      Start  2: libkasten-core-testdocumentfilesynchronizertest
      Start  3: libkasten-core-testdocumentfilesynchronizerfactorytest
      Start  4: libkasten-core-documentmanagertest
      Start  5: libpiecetable-piecetest
      Start  6: libpiecetable-piecetabletest
      Start  7: libpiecetable-testpiecetablechangetest
      Start  8: libpiecetable-testpiecetablechangeabstractpiecetablechangeiftest
      Start  9: libpiecetable-insertpiecetablechangeabstractpiecetablechangeiftest
      Start 10: libpiecetable-removepiecetablechangeabstractpiecetablechangeiftest
      Start 11: libpiecetable-replacepiecetablechangeabstractpiecetablechangeiftest
      Start 12: libpiecetable-swaprangespiecetablechangeabstractpiecetablechangeiftest
      Start 13: libpiecetable-grouppiecetablechangetest
      Start 14: libpiecetable-piecetablechangehistorytest
      Start 15: libpiecetable-revertablepiecetabletest
      Start 16: libokteta-core-arraychangemetricstest
      Start 17: libokteta-core-addressrangetest
      Start 18: libokteta-core-addressrangelisttest
      Start 19: libokteta-core-fixedsizebytearraymodeltest
      Start 20: libokteta-core-fixedsizebytearraymodelabstractbytearraymodeliftest
      Start 21: libokteta-core-bytearraymodeltest
      Start 22: libokteta-core-bytearraymodelabstractbytearraymodeliftest
      Start 23: libokteta-core-piecetablebytearraymodelabstractbytearraymodeliftest
      Start 24: libokteta-core-piecetablebytearraymodelversionableiftest
      Start 25: libokteta-core-valuecodectest
      Start 26: libokteta-core-charcodectest
      Start 27: libokteta-core-textcharcodectest
      Start 28: libokteta-core-textcharcodeccharcodeciftest
      Start 29: libokteta-core-ebcdic1047charcodeccharcodeciftest
      Start 30: libokteta-core-bookmarktest
      Start 31: libokteta-core-bookmarklisttest
      Start 32: libokteta-gui-selectiontest
      Start 33: libokteta-gui-coordtest
      Start 34: libokteta-gui-coordrangetest
      Start 35: libokteta-gui-coordrangelisttest
      Start 36: libokteta-gui-bytearraytablelayouttest
      Start 37: libokteta-gui-bytearraytablecursortest
      Start 38: oktetakasten-document-bytearraydocumenttest
      Start 39: oktetakasten-document-bytearraydocumentfactorytest
      Start 40: oktetakasten-io-bytearrayrawfilesynchronizertest
      Start 41: oktetakasten-io-bytearrayrawfilesynchronizerfactorytest
      Start 42: structures-primitivearraytest
      Start 43: structures-arraydatainformationtest
      Start 44: structures-basicdatainformationtest
      Start 45: structures-primitivedatainformationtest
      Start 46: structures-scriptclassestest
      Start 47: structures-uniondatainformationtest
      Start 48: structures-allprimitivetypestest
 1/56 Test  #1: libkasten-core-testdocumenttest ..........................................   Passed    0.08 sec
      Start 49: structures-scriptvalueconvertertest
 2/56 Test  #2: libkasten-core-testdocumentfilesynchronizertest ..........................***Failed    0.08 sec
********* Start testing of TestDocumentFileSynchronizerTest *********
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 20230304 (Red Hat 13.0.1-0)), fedora 39
PASS   : TestDocumentFileSynchronizerTest::initTestCase()
PASS   : TestDocumentFileSynchronizerTest::testLoadFromFile()
FAIL!  : TestDocumentFileSynchronizerTest::testLoadSaveFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(80)]
QWARN  : TestDocumentFileSynchronizerTest::testLoadReloadFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test1.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testLoadReloadFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(164)]
QWARN  : TestDocumentFileSynchronizerTest::testChangeFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test1.data"): device not open
QWARN  : TestDocumentFileSynchronizerTest::testChangeFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test2.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testChangeFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(80)]
QWARN  : TestDocumentFileSynchronizerTest::testConnectToFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test1.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testConnectToFile() Compared pointers are not the same
   Actual   (synchronizer->document()): (nil)
   Expected (document)                : 0x7f8318000f30
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(216)]
PASS   : TestDocumentFileSynchronizerTest::cleanupTestCase()
Totals: 3 passed, 4 failed, 0 skipped, 0 blacklisted, 9ms
********* Finished testing of TestDocumentFileSynchronizerTest *********

      Start 50: structures-osdparsertest
 3/56 Test  #3: libkasten-core-testdocumentfilesynchronizerfactorytest ...................   Passed    0.09 sec
      Start 51: structures-commonparsertest
 4/56 Test  #4: libkasten-core-documentmanagertest .......................................   Passed    0.09 sec
      Start 52: structures-jsparsertest
 5/56 Test  #5: libpiecetable-piecetest ..................................................   Passed    0.09 sec
      Start 53: structures-customtostringtest
 6/56 Test  #6: libpiecetable-piecetabletest .............................................   Passed    0.09 sec
      Start 54: structures-locktooffsettest
 7/56 Test  #7: libpiecetable-testpiecetablechangetest ...................................   Passed    0.09 sec
      Start 55: replacejobtest
 8/56 Test  #8: libpiecetable-testpiecetablechangeabstractpiecetablechangeiftest .........   Passed    0.09 sec
      Start 56: kpart-oktetaparttest
 9/56 Test  #9: libpiecetable-insertpiecetablechangeabstractpiecetablechangeiftest .......   Passed    0.09 sec
10/56 Test #10: libpiecetable-removepiecetablechangeabstractpiecetablechangeiftest .......   Passed    0.09 sec
11/56 Test #11: libpiecetable-replacepiecetablechangeabstractpiecetablechangeiftest ......   Passed    0.08 sec
12/56 Test #12: libpiecetable-swaprangespiecetablechangeabstractpiecetablechangeiftest ...   Passed    0.08 sec
13/56 Test #13: libpiecetable-grouppiecetablechangetest ..................................   Passed    0.08 sec
14/56 Test #14: libpiecetable-piecetablechangehistorytest ................................   Passed    0.08 sec
15/56 Test #15: libpiecetable-revertablepiecetabletest ...................................   Passed    0.08 sec
16/56 Test #16: libokteta-core-arraychangemetricstest ....................................   Passed    0.08 sec
17/56 Test #17: libokteta-core-addressrangetest ..........................................   Passed    0.07 sec
18/56 Test #18: libokteta-core-addressrangelisttest ......................................   Passed    0.07 sec
19/56 Test #19: libokteta-core-fixedsizebytearraymodeltest ...............................   Passed    0.07 sec
20/56 Test #20: libokteta-core-fixedsizebytearraymodelabstractbytearraymodeliftest .......   Passed    0.07 sec
21/56 Test #21: libokteta-core-bytearraymodeltest ........................................   Passed    0.07 sec
22/56 Test #22: libokteta-core-bytearraymodelabstractbytearraymodeliftest ................   Passed    0.07 sec
23/56 Test #23: libokteta-core-piecetablebytearraymodelabstractbytearraymodeliftest ......   Passed    0.07 sec
24/56 Test #24: libokteta-core-piecetablebytearraymodelversionableiftest .................   Passed    0.06 sec
25/56 Test #27: libokteta-core-textcharcodectest .........................................   Passed    0.06 sec
26/56 Test #28: libokteta-core-textcharcodeccharcodeciftest ..............................   Passed    0.06 sec
27/56 Test #29: libokteta-core-ebcdic1047charcodeccharcodeciftest ........................   Passed    0.06 sec
28/56 Test #30: libokteta-core-bookmarktest ..............................................   Passed    0.06 sec
29/56 Test #31: libokteta-core-bookmarklisttest ..........................................   Passed    0.06 sec
30/56 Test #32: libokteta-gui-selectiontest ..............................................   Passed    0.05 sec
31/56 Test #33: libokteta-gui-coordtest ..................................................   Passed    0.05 sec
32/56 Test #34: libokteta-gui-coordrangetest .............................................   Passed    0.05 sec
33/56 Test #35: libokteta-gui-coordrangelisttest .........................................   Passed    0.05 sec
34/56 Test #36: libokteta-gui-bytearraytablelayouttest ...................................   Passed    0.05 sec
35/56 Test #37: libokteta-gui-bytearraytablecursortest ...................................   Passed    0.05 sec
36/56 Test #48: structures-allprimitivetypestest .........................................   Passed    0.03 sec
37/56 Test #38: oktetakasten-document-bytearraydocumenttest ..............................   Passed    0.05 sec
38/56 Test #39: oktetakasten-document-bytearraydocumentfactorytest .......................   Passed    0.05 sec
39/56 Test #43: structures-arraydatainformationtest ......................................   Passed    0.04 sec
40/56 Test #47: structures-uniondatainformationtest ......................................   Passed    0.04 sec
41/56 Test #41: oktetakasten-io-bytearrayrawfilesynchronizerfactorytest ..................   Passed    0.05 sec
42/56 Test #40: oktetakasten-io-bytearrayrawfilesynchronizertest .........................   Passed    0.05 sec
43/56 Test #42: structures-primitivearraytest ............................................   Passed    0.05 sec
44/56 Test #44: structures-basicdatainformationtest ......................................   Passed    0.05 sec
45/56 Test #49: structures-scriptvalueconvertertest ......................................   Passed    0.04 sec
46/56 Test #45: structures-primitivedatainformationtest ..................................   Passed    0.05 sec
47/56 Test #51: structures-commonparsertest ..............................................   Passed    0.04 sec
48/56 Test #46: structures-scriptclassestest .............................................   Passed    0.05 sec
49/56 Test #53: structures-customtostringtest ............................................   Passed    0.04 sec
50/56 Test #50: structures-osdparsertest .................................................   Passed    0.05 sec
51/56 Test #52: structures-jsparsertest ..................................................   Passed    0.05 sec
52/56 Test #54: structures-locktooffsettest ..............................................   Passed    0.04 sec
53/56 Test #26: libokteta-core-charcodectest .............................................   Passed    0.13 sec
54/56 Test #25: libokteta-core-valuecodectest ............................................   Passed    0.14 sec
55/56 Test #55: replacejobtest ...........................................................   Passed    0.10 sec
56/56 Test #56: kpart-oktetaparttest .....................................................   Passed    0.15 sec

98% tests passed, 1 tests failed out of 56

Total Test time (real) =   0.26 sec

The following tests FAILED:
          2 - libkasten-core-testdocumentfilesynchronizertest (Failed)
Errors while running CTest
Comment 4 Bug Janitor Service 2023-04-02 03:45:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-04-17 03:45:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 6 kloczek 2023-04-17 08:26:37 UTC
What kind of informations do you need?

Just retested this issue on top of latest KDE packages and qt 5.15.8 and those units are still failing

+ cd okteta-0.26.10
+ xvfb-run -a /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/okteta-0.26.10/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/x86_64-redhat-linux-gnu
      Start  1: libkasten-core-testdocumenttest
      Start  2: libkasten-core-testdocumentfilesynchronizertest
      Start  3: libkasten-core-testdocumentfilesynchronizerfactorytest
      Start  4: libkasten-core-documentmanagertest
      Start  5: libpiecetable-piecetest
      Start  6: libpiecetable-piecetabletest
      Start  7: libpiecetable-testpiecetablechangetest
      Start  8: libpiecetable-testpiecetablechangeabstractpiecetablechangeiftest
      Start  9: libpiecetable-insertpiecetablechangeabstractpiecetablechangeiftest
      Start 10: libpiecetable-removepiecetablechangeabstractpiecetablechangeiftest
      Start 11: libpiecetable-replacepiecetablechangeabstractpiecetablechangeiftest
      Start 12: libpiecetable-swaprangespiecetablechangeabstractpiecetablechangeiftest
      Start 13: libpiecetable-grouppiecetablechangetest
      Start 14: libpiecetable-piecetablechangehistorytest
      Start 15: libpiecetable-revertablepiecetabletest
      Start 16: libokteta-core-arraychangemetricstest
      Start 17: libokteta-core-addressrangetest
      Start 18: libokteta-core-addressrangelisttest
      Start 19: libokteta-core-fixedsizebytearraymodeltest
      Start 20: libokteta-core-fixedsizebytearraymodelabstractbytearraymodeliftest
      Start 21: libokteta-core-bytearraymodeltest
      Start 22: libokteta-core-bytearraymodelabstractbytearraymodeliftest
      Start 23: libokteta-core-piecetablebytearraymodelabstractbytearraymodeliftest
      Start 24: libokteta-core-piecetablebytearraymodelversionableiftest
      Start 25: libokteta-core-valuecodectest
      Start 26: libokteta-core-charcodectest
      Start 27: libokteta-core-textcharcodectest
      Start 28: libokteta-core-textcharcodeccharcodeciftest
      Start 29: libokteta-core-ebcdic1047charcodeccharcodeciftest
      Start 30: libokteta-core-bookmarktest
      Start 31: libokteta-core-bookmarklisttest
      Start 32: libokteta-gui-selectiontest
      Start 33: libokteta-gui-coordtest
      Start 34: libokteta-gui-coordrangetest
      Start 35: libokteta-gui-coordrangelisttest
      Start 36: libokteta-gui-bytearraytablelayouttest
      Start 37: libokteta-gui-bytearraytablecursortest
      Start 38: oktetakasten-document-bytearraydocumenttest
      Start 39: oktetakasten-document-bytearraydocumentfactorytest
      Start 40: oktetakasten-io-bytearrayrawfilesynchronizertest
      Start 41: oktetakasten-io-bytearrayrawfilesynchronizerfactorytest
      Start 42: structures-primitivearraytest
      Start 43: structures-arraydatainformationtest
      Start 44: structures-basicdatainformationtest
      Start 45: structures-primitivedatainformationtest
      Start 46: structures-scriptclassestest
      Start 47: structures-uniondatainformationtest
      Start 48: structures-allprimitivetypestest
 1/56 Test  #1: libkasten-core-testdocumenttest ..........................................   Passed    0.09 sec
      Start 49: structures-scriptvalueconvertertest
 2/56 Test  #2: libkasten-core-testdocumentfilesynchronizertest ..........................***Failed    0.09 sec
********* Start testing of TestDocumentFileSynchronizerTest *********
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 20230404 (Red Hat 13.0.1-0)), fedora 39
PASS   : TestDocumentFileSynchronizerTest::initTestCase()
PASS   : TestDocumentFileSynchronizerTest::testLoadFromFile()
FAIL!  : TestDocumentFileSynchronizerTest::testLoadSaveFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(80)]
QWARN  : TestDocumentFileSynchronizerTest::testLoadReloadFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test1.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testLoadReloadFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(164)]
QWARN  : TestDocumentFileSynchronizerTest::testChangeFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test1.data"): device not open
QWARN  : TestDocumentFileSynchronizerTest::testChangeFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test2.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testChangeFile() 'testDocument != nullptr' returned FALSE. ()
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(80)]
QWARN  : TestDocumentFileSynchronizerTest::testConnectToFile() QIODevice::write (QFile, "/home/tkloczko/.kde-unit-test/testdocumentfile1synchronizertest/test1.data"): device not open
FAIL!  : TestDocumentFileSynchronizerTest::testConnectToFile() Compared pointers are not the same
   Actual   (synchronizer->document()): (nil)
   Expected (document)                : 0x7fea80000f30
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/libs/kasten/core/tests/testdocumentfilesynchronizertest.cpp(216)]
PASS   : TestDocumentFileSynchronizerTest::cleanupTestCase()
Totals: 3 passed, 4 failed, 0 skipped, 0 blacklisted, 5ms
********* Finished testing of TestDocumentFileSynchronizerTest *********

      Start 50: structures-osdparsertest
 3/56 Test  #3: libkasten-core-testdocumentfilesynchronizerfactorytest ...................   Passed    0.09 sec
      Start 51: structures-commonparsertest
 4/56 Test  #4: libkasten-core-documentmanagertest .......................................   Passed    0.09 sec
      Start 52: structures-jsparsertest
 5/56 Test  #5: libpiecetable-piecetest ..................................................   Passed    0.09 sec
      Start 53: structures-customtostringtest
 6/56 Test  #6: libpiecetable-piecetabletest .............................................   Passed    0.09 sec
      Start 54: structures-locktooffsettest
 7/56 Test  #7: libpiecetable-testpiecetablechangetest ...................................   Passed    0.09 sec
      Start 55: replacejobtest
 8/56 Test  #8: libpiecetable-testpiecetablechangeabstractpiecetablechangeiftest .........   Passed    0.09 sec
      Start 56: kpart-oktetaparttest
 9/56 Test  #9: libpiecetable-insertpiecetablechangeabstractpiecetablechangeiftest .......   Passed    0.09 sec
10/56 Test #10: libpiecetable-removepiecetablechangeabstractpiecetablechangeiftest .......   Passed    0.09 sec
11/56 Test #11: libpiecetable-replacepiecetablechangeabstractpiecetablechangeiftest ......   Passed    0.09 sec
12/56 Test #12: libpiecetable-swaprangespiecetablechangeabstractpiecetablechangeiftest ...   Passed    0.09 sec
13/56 Test #13: libpiecetable-grouppiecetablechangetest ..................................   Passed    0.09 sec
14/56 Test #14: libpiecetable-piecetablechangehistorytest ................................   Passed    0.09 sec
15/56 Test #15: libpiecetable-revertablepiecetabletest ...................................   Passed    0.08 sec
16/56 Test #16: libokteta-core-arraychangemetricstest ....................................   Passed    0.08 sec
17/56 Test #17: libokteta-core-addressrangetest ..........................................   Passed    0.08 sec
18/56 Test #18: libokteta-core-addressrangelisttest ......................................   Passed    0.08 sec
19/56 Test #19: libokteta-core-fixedsizebytearraymodeltest ...............................   Passed    0.08 sec
20/56 Test #20: libokteta-core-fixedsizebytearraymodelabstractbytearraymodeliftest .......   Passed    0.08 sec
21/56 Test #21: libokteta-core-bytearraymodeltest ........................................   Passed    0.07 sec
22/56 Test #22: libokteta-core-bytearraymodelabstractbytearraymodeliftest ................   Passed    0.07 sec
23/56 Test #23: libokteta-core-piecetablebytearraymodelabstractbytearraymodeliftest ......   Passed    0.07 sec
24/56 Test #24: libokteta-core-piecetablebytearraymodelversionableiftest .................   Passed    0.07 sec
25/56 Test #27: libokteta-core-textcharcodectest .........................................   Passed    0.07 sec
26/56 Test #28: libokteta-core-textcharcodeccharcodeciftest ..............................   Passed    0.06 sec
27/56 Test #29: libokteta-core-ebcdic1047charcodeccharcodeciftest ........................   Passed    0.06 sec
28/56 Test #30: libokteta-core-bookmarktest ..............................................   Passed    0.06 sec
29/56 Test #31: libokteta-core-bookmarklisttest ..........................................   Passed    0.06 sec
30/56 Test #32: libokteta-gui-selectiontest ..............................................   Passed    0.06 sec
31/56 Test #33: libokteta-gui-coordtest ..................................................   Passed    0.06 sec
32/56 Test #34: libokteta-gui-coordrangetest .............................................   Passed    0.06 sec
33/56 Test #35: libokteta-gui-coordrangelisttest .........................................   Passed    0.05 sec
34/56 Test #36: libokteta-gui-bytearraytablelayouttest ...................................   Passed    0.05 sec
35/56 Test #37: libokteta-gui-bytearraytablecursortest ...................................   Passed    0.05 sec
36/56 Test #48: structures-allprimitivetypestest .........................................   Passed    0.04 sec
37/56 Test #38: oktetakasten-document-bytearraydocumenttest ..............................   Passed    0.05 sec
38/56 Test #39: oktetakasten-document-bytearraydocumentfactorytest .......................   Passed    0.05 sec
39/56 Test #43: structures-arraydatainformationtest ......................................   Passed    0.05 sec
40/56 Test #47: structures-uniondatainformationtest ......................................   Passed    0.04 sec
41/56 Test #40: oktetakasten-io-bytearrayrawfilesynchronizertest .........................***Failed    0.05 sec
********* Start testing of Kasten::ByteArrayRawFileSynchronizerTest *********
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 20230404 (Red Hat 13.0.1-0)), fedora 39
PASS   : Kasten::ByteArrayRawFileSynchronizerTest::initTestCase()
PASS   : Kasten::ByteArrayRawFileSynchronizerTest::testLoadFromUrl()
FAIL!  : Kasten::ByteArrayRawFileSynchronizerTest::testNewSaveAsToUrl() Compared pointers are not the same
   Actual   (synchronizer->document()): (nil)
   Expected (document)                : 0x564c68842d70
   Loc: [/home/tkloczko/rpmbuild/BUILD/okteta-0.26.10/kasten/core/io/tests/bytearrayrawfilesynchronizertest.cpp(125)]
PASS   : Kasten::ByteArrayRawFileSynchronizerTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms
********* Finished testing of Kasten::ByteArrayRawFileSynchronizerTest *********

42/56 Test #41: oktetakasten-io-bytearrayrawfilesynchronizerfactorytest ..................   Passed    0.05 sec
43/56 Test #42: structures-primitivearraytest ............................................   Passed    0.05 sec
44/56 Test #44: structures-basicdatainformationtest ......................................   Passed    0.05 sec
45/56 Test #51: structures-commonparsertest ..............................................   Passed    0.03 sec
46/56 Test #46: structures-scriptclassestest .............................................   Passed    0.05 sec
47/56 Test #49: structures-scriptvalueconvertertest ......................................   Passed    0.04 sec
48/56 Test #45: structures-primitivedatainformationtest ..................................   Passed    0.06 sec
49/56 Test #53: structures-customtostringtest ............................................   Passed    0.04 sec
50/56 Test #52: structures-jsparsertest ..................................................   Passed    0.04 sec
51/56 Test #50: structures-osdparsertest .................................................   Passed    0.05 sec
52/56 Test #54: structures-locktooffsettest ..............................................   Passed    0.04 sec
53/56 Test #25: libokteta-core-valuecodectest ............................................   Passed    0.12 sec
54/56 Test #26: libokteta-core-charcodectest .............................................   Passed    0.16 sec
55/56 Test #55: replacejobtest ...........................................................   Passed    0.16 sec
56/56 Test #56: kpart-oktetaparttest .....................................................   Passed    0.24 sec

96% tests passed, 2 tests failed out of 56

Total Test time (real) =   0.35 sec

The following tests FAILED:
          2 - libkasten-core-testdocumentfilesynchronizertest (Failed)
         40 - oktetakasten-io-bytearrayrawfilesynchronizertest (Failed)
Errors while running CTest
Comment 7 Friedrich W. H. Kossebau 2023-05-04 14:22:33 UTC
Git commit f8ea84be37fa5440cb3a2c61858efe520f957cc2 by Friedrich W. H. Kossebau.
Committed on 04/05/2023 at 14:04.
Pushed by kossebau into branch '0.26'.

Fix accidentally shared unit test working directories

Runs risk in parallel test runs to have the dirs cleaned up while being
used by a parallel test.
FIXED-IN: 0.26.11

M  +1    -1    kasten/core/io/tests/bytearrayrawfilesynchronizerfactorytest.cpp
M  +1    -1    libs/kasten/core/tests/testdocumentfilesynchronizerfactorytest.cpp

https://invent.kde.org/utilities/okteta/commit/f8ea84be37fa5440cb3a2c61858efe520f957cc2