[Pkg-kde-extras] Bug#972613: ktimetracker FTBFS on 32bit: test failures
Adrian Bunk
bunk at debian.org
Wed Oct 21 10:23:00 BST 2020
Source: ktimetracker
Version: 4:5.0.1-1
Severity: important
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=ktimetracker&suite=sid
...
********* Start testing of UtilsTest *********
Config: Using QtTest library 5.14.2, Qt 5.14.2 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 10.2.0)
PASS : UtilsTest::initTestCase()
FAIL! : UtilsTest::testFormatTime() Compared values are not the same
Actual (formatTime(-61, false)): "-1:00"
Expected ("-1:01") : -1:01
Loc: [/<<PKGBUILDDIR>>/src/tests/formattimetest.cpp(38)]
FAIL! : UtilsTest::testFormatTimeRu() Compared values are not the same
Actual (formatTime(1, false)): "0:00"
Expected ("0:01") : 0:01
Loc: [/<<PKGBUILDDIR>>/src/tests/formattimetest.cpp(52)]
PASS : UtilsTest::cleanupTestCase()
Totals: 2 passed, 2 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of UtilsTest *********
...
********* Start testing of ExportCSVTest *********
Config: Using QtTest library 5.14.2, Qt 5.14.2 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 10.2.0)
PASS : ExportCSVTest::initTestCase()
PASS : ExportCSVTest::testTotalsEmpty()
QDEBUG : ExportCSVTest::testTotalsSimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testTotalsSimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testTotalsSimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
FAIL! : ExportCSVTest::testTotalsSimpleTree() Compared values are not the same
Actual (totalsAsText(taskView->storage()->tasksModel(), taskView->tasksWidget()->currentItem(), createRC(ReportCriteria::CSVTotalsExport))): "Task Totals\nTuesday, 20 October 2020 21:53:25 UTC\n\n Time Task\n----------------------------------------------\n 0:00 1\n 0:00 2\n 0:00 3\n----------------------------------------------\n 0:00 Total"
Expected (expected) : "Task Totals\nTuesday, 20 October 2020 21:53:25 UTC\n\n Time Task\n----------------------------------------------\n 0:08 1\n 0:03 2\n 0:07 3\n----------------------------------------------\n 0:15 Total"
Loc: [/<<PKGBUILDDIR>>/src/tests/exportcsvtest.cpp(94)]
QDEBUG : ExportCSVTest::testTimesSimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testTimesSimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testTimesSimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testTimesSimpleTree() Err is ""
FAIL! : ExportCSVTest::testTimesSimpleTree() Compared values are not the same
Actual (readTextFile(url.toLocalFile())): "\"3\";;0:00;0:00;0:00;0:00\n\"1\";;0:00;0:00;0:00;0:00\n;\"2\";0:00;0:00;0:00;0:00\n"
Expected (expected) : "\"3\";;0:07;0:07;0:07;0:07\n\"1\";;0:05;0:05;0:08;0:08\n;\"2\";0:03;0:03;0:03;0:03\n"
Loc: [/<<PKGBUILDDIR>>/src/tests/exportcsvtest.cpp(117)]
QDEBUG : ExportCSVTest::testHistorySimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testHistorySimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testHistorySimpleTree() Task's sessionStartTiMe is QDateTime(Invalid)
QDEBUG : ExportCSVTest::testHistorySimpleTree() m_sessionStartTime= ""
QDEBUG : ExportCSVTest::testHistorySimpleTree() m_sessionStartTime= ""
QDEBUG : ExportCSVTest::testHistorySimpleTree() m_sessionStartTime= ""
QDEBUG : ExportCSVTest::testHistorySimpleTree() Retval is
"\"Task name\";Tue Oct 20 2020\n\"1\";0:00\n\"1->2\";0:00\n\"3\";0:00\n"
QDEBUG : ExportCSVTest::testHistorySimpleTree() Err is ""
FAIL! : ExportCSVTest::testHistorySimpleTree() Compared values are not the same
Actual (readTextFile(url.toLocalFile())): "\"Task name\";Tue Oct 20 2020\n\"1\";0:00\n\"1->2\";0:00\n\"3\";0:00\n"
Expected (expected) : "\"Task name\";Tue Oct 20 2020\n\"1\";0:05\n\"1->2\";0:03\n\"3\";0:07\n"
Loc: [/<<PKGBUILDDIR>>/src/tests/exportcsvtest.cpp(138)]
PASS : ExportCSVTest::cleanupTestCase()
Totals: 3 passed, 3 failed, 0 skipped, 0 blacklisted, 48ms
********* Finished testing of ExportCSVTest *********
...
The following tests FAILED:
1 - formattimetest (Failed)
2 - exportcsvtest (Failed)
Errors while running CTest
make[2]: *** [Makefile:141: test] Error 8
More information about the pkg-kde-extras
mailing list