Bug 416611 - plugins-impex-KisOraTest (Child aborted)
Summary: plugins-impex-KisOraTest (Child aborted)
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Unittests (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 15:08 UTC by Halla Rempt
Modified: 2022-08-09 08:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2020-01-22 15:08:23 UTC
264/285 Testing: plugins-impex-KisOraTest
264/285 Test: plugins-impex-KisOraTest
Command: "/home/boud/dev/b-krita/plugins/impex/ora/tests/KisOraTest"
Directory: /home/boud/dev/b-krita/plugins/impex/ora/tests
"plugins-impex-KisOraTest" start time: Jan 22 15:25 CET
Output:
----------------------------------------------------------
********* Start testing of KisOraTest *********
Config: Using QtTest library 5.13.2, Qt 5.13.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.4.0)
PASS   : KisOraTest::initTestCase()
QDEBUG : KisOraTest::testImportFromWriteonly() Entering "TestUtil::prepareFile()" QFlags(0x2|0x4|0x20|0x40|0x200|0x400|0x2000|0x4000)
QWARN  : KisOraTest::testImportFromWriteonly() KoColor debug runtime checks are active.
QDEBUG : KisOraTest::testImportFromWriteonly() import result =  Cannot read:  5   "Cannot open file for reading. Reason: The file could not be opened."
PASS   : KisOraTest::testImportFromWriteonly()
QDEBUG : KisOraTest::testExportToReadonly() Entering "TestUtil::prepareFile()" QFlags(0x2|0x4|0x20|0x40|0x200|0x400|0x2000|0x4000)
QDEBUG : KisOraTest::testExportToReadonly() Entering "TestUtil::testExportToReadonly()" QObject(0x0)
QDEBUG : KisOraTest::testExportToReadonly() export result =  Cannot write:  0   "Cannot open file for writing. Reason: An error occurred when writing to the file."
PASS   : KisOraTest::testExportToReadonly()
QDEBUG : KisOraTest::testImportIncorrectFormat() Entering "TestUtil::prepareFile()" QFlags(0x4|0x40|0x200|0x400|0x2000|0x4000)
QWARN  : KisOraTest::testImportIncorrectFormat() QuaZip::setCurrentFile(): ZIP is not open in mdUnzip mode
QWARN  : KisOraTest::testImportIncorrectFormat() 		Could not set current file 0 "stack.xml"
QSYSTEM: KisOraTest::testImportIncorrectFormat() krita.lib.store: KoStore: You must open before reading 

QWARN  : KisOraTest::testImportIncorrectFormat() krita.lib.store: You must open before closing
QWARN  : KisOraTest::testImportIncorrectFormat() QuaZip::close(): ZIP is not open
QSYSTEM: KisOraTest::testImportIncorrectFormat() krita.general: "[\n0: /home/boud/dev/b-krita/libs/global/libkritaglobal.so.19(kisBacktrace()+0x46) [0x7f01d60bab66]\n1: /home/boud/dev/b-krita/libs/ui/libkritaui.so.19(+0xba9da5) [0x7f01d8115da5]\n2: /home/boud/dev/b-krita/libs/ui/libkritaui.so.19(KisImportExportManager::convert(KisImportExportManager::Direction, QString const&, QString const&, QString const&, bool, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool)+0x10fd) [0x7f01d859767d]\n3: /home/boud/dev/b-krita/libs/ui/libkritaui.so.19(KisImportExportManager::importDocument(QString const&, QString const&)+0x4d) [0x7f01d859807d]\n4: /home/boud/dev/b-krita/plugins/impex/ora/tests/KisOraTest(TestUtil::testImportIncorrectFormat(QString const&, QString)+0x169) [0x559d6eb7d109]\n5: /home/boud/dev/b-krita/plugins/impex/ora/tests/KisOraTest(KisOraTest::testImportIncorrectFormat()+0x5d) [0x559d6eb7d95d]\n6: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const+0x6a5) [0x7f01d4ba71b5]\n7: /usr/lib/x86_64-linux-gnu/libQt5Test.so.5(+0x1740a) [0x7f01d733440a]\n8: /usr/lib/x86_64-linux-gnu/libQt5Test.so.5(+0x1817d) [0x7f01d733517d]\n9: /usr/lib/x86_64-linux-gnu/libQt5Test.so.5(+0x186e1) [0x7f01d73356e1]\n10: /usr/lib/x86_64-linux-gnu/libQt5Test.so.5(QTest::qRun()+0x22b) [0x7f01d7335b7b]\n11: /usr/lib/x86_64-linux-gnu/libQt5Test.so.5(QTest::qExec(QObject*, int, char**)+0xb) [0x7f01d7335e8b]\n12: /home/boud/dev/b-krita/plugins/impex/ora/tests/KisOraTest(main+0x10d) [0x559d6eb7793d]\n13: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f01d3f95b97]\n14: /home/boud/dev/b-krita/plugins/impex/ora/tests/KisOraTest(_start+0x2a) [0x559d6eb779da]\n]\n"
QFATAL : KisOraTest::testImportIncorrectFormat() ASSERT: "d" in file /home/boud/dev/krita/libs/global/kis_shared_ptr.h, line 180
FAIL!  : KisOraTest::testImportIncorrectFormat() Received a fatal error.
   Loc: [Unknown file(0)]
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 2100ms
********* Finished testing of KisOraTest *********
<end of output>
Test time =   2.25 sec
----------------------------------------------------------
Test Failed.
"plugins-impex-KisOraTest" end time: Jan 22 15:26 CET
"plugins-impex-KisOraTest" time elapsed: 00:00:02
----------------------------------------------------------
Comment 1 Halla Rempt 2022-08-09 08:33:20 UTC
Git commit d83d771893a5b6e76fc4e5201460f47c32aa6156 by Halla Rempt.
Committed on 09/08/2022 at 08:33.
Pushed by rempt into branch 'master'.

Re-enable the ORA test -- it passes now

M  +1    -2    plugins/impex/ora/tests/CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/d83d771893a5b6e76fc4e5201460f47c32aa6156