Source: kitinerary
Version: 20.08.2-2
Severity: serious
Tags: ftbfs

It is surprising that even the failing tests that look
like a timezone issue are reproducibly architecture specific.

kitinerary builds for riscv64 on Ubuntu, but they are
just ignoring test results.

https://buildd.debian.org/status/package.php?p=kitinerary

...
 6/29 Test  #6: knowledgedbtest ..................***Failed    0.45 sec
********* Start testing of KnowledgeDbTest *********
Config: Using QtTest library 5.14.2, Qt 5.14.2 
(mips64-little_endian-lp64-n64-hardfloat shared (dynamic) release build; by GCC 
10.2.0)
PASS   : KnowledgeDbTest::initTestCase()
PASS   : KnowledgeDbTest::testUnalignedNumber()
QDEBUG : KnowledgeDbTest::testAlphaId() "ABC"
PASS   : KnowledgeDbTest::testAlphaId()
FAIL!  : KnowledgeDbTest::testIBNRLookup() Compared values are not the same
   Loc: [/<<PKGBUILDDIR>>/autotests/knowledgedbtest.cpp(93)]
FAIL!  : KnowledgeDbTest::testUICLookup() Compared values are not the same
   Loc: [/<<PKGBUILDDIR>>/autotests/knowledgedbtest.cpp(120)]
FAIL!  : KnowledgeDbTest::testSncfStationIdLookup() Compared values are not the 
same
   Loc: [/<<PKGBUILDDIR>>/autotests/knowledgedbtest.cpp(136)]
PASS   : KnowledgeDbTest::testCountryDb()
PASS   : KnowledgeDbTest::testPowerPlugCompat(empty)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-DE)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-CH)
PASS   : KnowledgeDbTest::testPowerPlugCompat(CH-DE)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-FR)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-GB)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-IT)
PASS   : KnowledgeDbTest::testPowerPlugCompat(IT-DE)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-IL)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-AO)
PASS   : KnowledgeDbTest::testPowerPlugCompat(AO-DE)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-DK)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DK-DE)
PASS   : KnowledgeDbTest::testPowerPlugCompat(DE-ZA)
PASS   : KnowledgeDbTest::testPowerPlugCompat(ZA-CH)
PASS   : KnowledgeDbTest::testPowerPlugCompat(ZA-DE)
PASS   : KnowledgeDbTest::testPowerPlugCompat(ZA-IT)
PASS   : KnowledgeDbTest::testTimezoneForCountry()
PASS   : KnowledgeDbTest::testCountryForTimezone()
PASS   : KnowledgeDbTest::testTimezoneForLocation()
PASS   : KnowledgeDbTest::testCountryFromCoordinate()
PASS   : KnowledgeDbTest::testUICCountryCodeLookup()
PASS   : KnowledgeDbTest::testIso3Lookup()
FAIL!  : KnowledgeDbTest::testIndianRailwaysStationCodeLookup() Compared values 
are not the same
   Loc: [/<<PKGBUILDDIR>>/autotests/knowledgedbtest.cpp(339)]
FAIL!  : KnowledgeDbTest::testFinishStationCodeLookup() Compared values are not 
the same
   Loc: [/<<PKGBUILDDIR>>/autotests/knowledgedbtest.cpp(359)]
PASS   : KnowledgeDbTest::cleanupTestCase()
Totals: 28 passed, 5 failed, 0 skipped, 0 blacklisted, 19ms
********* Finished testing of KnowledgeDbTest *********
...
26/29 Test #26: calendarhandlertest ..............***Failed    0.54 sec
********* Start testing of CalendarHandlerTest *********
Config: Using QtTest library 5.14.2, Qt 5.14.2 
(mips64-little_endian-lp64-n64-hardfloat shared (dynamic) release build; by GCC 
10.2.0)
PASS   : CalendarHandlerTest::initTestCase()
PASS   : CalendarHandlerTest::testCreateEvent(canceled.json)
PASS   : CalendarHandlerTest::testCreateEvent(event.json)
PASS   : CalendarHandlerTest::testCreateEvent(eventreservation.json)
QWARN  : CalendarHandlerTest::testCreateEvent(flight.json) org.kde.kitinerary: 
IATA BCBP code too short for unique mandatory section, or invalid mandatory 
section format
PASS   : CalendarHandlerTest::testCreateEvent(flight.json)
QDEBUG : CalendarHandlerTest::testCreateEvent(hotel.json) Actual:  
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0
BEGIN:VEVENT
DTSTAMP:20171227T111649Z
X-KDE-KITINERARY-RESERVATION:[{"@context":"http://schema.org"\,"@type":
 "LodgingReservation"\,"checkinTime":"2017-09-19T15:00:00+03:
 00"\,"checkoutTime":"2017-09-20T12:00:00+03:00"\,"potentialAction":
 [{"@type":"CancelAction"\,"target":"https:
 //secure.booking.com/mybooking.en-gb.html?auth_key=magic&source=conf_metad
 ata&pbsource=email_cancel"}\,{"@type":"ViewAction"\,"target":"https:
 //secure.booking.com/mybooking.en-gb.html?aid=123456\;
 auth_key=magic&&source=conf_metadata&pbsource=conf_email_modify"}]\,"reser
 vationFor":{"@type":"LodgingBusiness"\,"address":{"@type":
 "PostalAddress"\,"addressCountry":"FI"\,"addressLocality":
 "Espoo"\,"addressRegion":""\,"postalCode":"02600"\,"streetAddress":
 "Leppävaarankatu 1"}\,"name":"Glo Hotel Sello"\,"telephone":
 "+358101234567"\,"url":"https:
 //www.booking.com/hotel/fi/palace-sello.html?aid=123456&label=postbooking_
 confemail"}\,"reservationNumber":"1234567890"\,"reservationStatus":"http:
 //schema.org/ReservationConfirmed"\,"underName":{"@type":
 "Person"\,"email":"john....@email.com"\,"name":"John Doe"}\,"url":"https:
 //secure.booking.com/mybooking.en-gb.html?aid=123456\;
 auth_key=magic&&source=conf_metadata&pbsource=conf_email_modify"}]
CREATED:20171227T111649Z
UID:KIT-1234567890-1b22236a-21ff-4885-8c99-b3b2bbca062c
LAST-MODIFIED:20171227T111649Z
DESCRIPTION:Check-in: 3:00 PM\nCheck-out: 12:00 PM\nPhone: 
 +358101234567\nWebsite: https:
 //www.booking.com/hotel/fi/palace-sello.html?aid=123456&label=postbooking_
 confemail\nJohn Doe\nBooking reference: 1234567890
SUMMARY:Hotel reservation: Glo Hotel Sello
LOCATION:Leppävaarankatu 1\, 02600 ESPOO\, FINLAND
DTSTART;VALUE=DATE:20170919
DTEND;VALUE=DATE:20170921
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR

QDEBUG : CalendarHandlerTest::testCreateEvent(hotel.json) Expected:  
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0
BEGIN:VEVENT
DTSTAMP:20171227T111649Z
X-KDE-KITINERARY-RESERVATION:[{"@context":"http://schema.org"\,"@type":
 "LodgingReservation"\,"checkinTime":{"@type":"QDateTime"\,"@value":
 "2017-09-19T15:00:00+03:00"\,"timezone":
 "Europe/Helsinki"}\,"checkoutTime":{"@type":"QDateTime"\,"@value":
 "2017-09-20T12:00:00+03:00"\,"timezone":
 "Europe/Helsinki"}\,"potentialAction":[{"@type":"CancelAction"\,"target":
 "https:
 //secure.booking.com/mybooking.en-gb.html?auth_key=magic&source=conf_metad
 ata&pbsource=email_cancel"}\,{"@type":"ViewAction"\,"target":"https:
 //secure.booking.com/mybooking.en-gb.html?aid=123456\;
 auth_key=magic&&source=conf_metadata&pbsource=conf_email_modify"}]\,"reser
 vationFor":{"@type":"LodgingBusiness"\,"address":{"@type":
 "PostalAddress"\,"addressCountry":"FI"\,"addressLocality":
 "Espoo"\,"addressRegion":""\,"postalCode":"02600"\,"streetAddress":
 "Leppävaarankatu 1"}\,"name":"Glo Hotel Sello"\,"telephone":
 "+358101234567"\,"url":"https:
 //www.booking.com/hotel/fi/palace-sello.html?aid=123456&label=postbooking_
 confemail"}\,"reservationNumber":"1234567890"\,"reservationStatus":"http:
 //schema.org/ReservationConfirmed"\,"underName":{"@type":
 "Person"\,"email":"john....@email.com"\,"name":"John Doe"}\,"url":"https:
 //secure.booking.com/mybooking.en-gb.html?aid=123456\;
 auth_key=magic&&source=conf_metadata&pbsource=conf_email_modify"}]
CREATED:20171227T111649Z
UID:KIT-1234567890-1b22236a-21ff-4885-8c99-b3b2bbca062c
LAST-MODIFIED:20171227T111649Z
DESCRIPTION:Check-in: 3:00 PM\nCheck-out: 12:00 PM\nPhone: 
 +358101234567\nWebsite: https:
 //www.booking.com/hotel/fi/palace-sello.html?aid=123456&label=postbooking_
 confemail\nJohn Doe\nBooking reference: 1234567890
SUMMARY:Hotel reservation: Glo Hotel Sello
LOCATION:Leppävaarankatu 1\, 02600 ESPOO\, FINLAND
DTSTART;VALUE=DATE:20170919
DTEND;VALUE=DATE:20170921
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR

FAIL!  : CalendarHandlerTest::testCreateEvent(hotel.json) '*newEvent == 
*refEvent' returned FALSE. ()
   Loc: [/<<PKGBUILDDIR>>/autotests/calendarhandlertest.cpp(93)]
PASS   : CalendarHandlerTest::testCreateEvent(train.json)
PASS   : CalendarHandlerTest::testFindEvent(canceled.json)
PASS   : CalendarHandlerTest::testFindEvent(event.json)
PASS   : CalendarHandlerTest::testFindEvent(eventreservation.json)
QWARN  : CalendarHandlerTest::testFindEvent(flight.json) org.kde.kitinerary: 
IATA BCBP code too short for unique mandatory section, or invalid mandatory 
section format
PASS   : CalendarHandlerTest::testFindEvent(flight.json)
PASS   : CalendarHandlerTest::testFindEvent(hotel.json)
PASS   : CalendarHandlerTest::testFindEvent(train.json)
PASS   : CalendarHandlerTest::testFindEventForCancellation()
PASS   : CalendarHandlerTest::cleanupTestCase()
Totals: 14 passed, 1 failed, 0 skipped, 0 blacklisted, 109ms
********* Finished testing of CalendarHandlerTest *********

      Start 27: extractortest
27/29 Test #27: extractortest ....................***Failed    0.94 sec
********* Start testing of ExtractorTest *********
Config: Using QtTest library 5.14.2, Qt 5.14.2 
(mips64-little_endian-lp64-n64-hardfloat shared (dynamic) release build; by GCC 
10.2.0)
PASS   : ExtractorTest::initTestCase()
PASS   : ExtractorTest::testExtract(sncf-sncf_one-leg-single-tgv.txt)
PASS   : 
ExtractorTest::testExtract(travelport-galileo-single-leg-three-passengers.txt)
PASS   : 
ExtractorTest::testExtract(travelport-galileo-six-legs-single-passenger.txt)
PASS   : ExtractorTest::testExtract(ical-eventreservation.ics)
PASS   : ExtractorTest::testExtract(synthetic-iata-bcbp-demo.pdf)
PASS   : ExtractorTest::testExtract(irctc-confirmation-sample.txt)
PASS   : ExtractorTest::testExtract(swiss-swiss_one-leg-return.txt)
PASS   : 
ExtractorTest::testExtract(regiojet-regiojet_train_cs-one-leg-single.txt)
PASS   : ExtractorTest::testExtract(regiojet-single-leg-event.ics)
PASS   : ExtractorTest::testExtract(regiojet-regiojet_bus_cs-one-leg-single.txt)
PASS   : ExtractorTest::testExtract(regiojet-regiojet_bus_en-one-leg-single.txt)
PASS   : ExtractorTest::testExtract(regiojet-regiojet_bus_cs-one-leg-return.txt)
PASS   : ExtractorTest::testExtract(fcm-fcmtravel_2.txt)
PASS   : ExtractorTest::testExtract(fcm-fcmtravel_1.txt)
PASS   : ExtractorTest::testExtract(brusselsairlines-brusselsairlines_1.html)
PASS   : ExtractorTest::testExtract(aohostels-aohostels_1.txt)
PASS   : 
ExtractorTest::testExtract(czechrailways-czechrailways_two-leg-single.txt)
PASS   : 
ExtractorTest::testExtract(czechrailways-czechrailways_one-leg-single.txt)
PASS   : 
ExtractorTest::testExtract(czechrailways-czechrailways_one-leg-return.txt)
PASS   : 
ExtractorTest::testExtract(czechrailways-czechrailways_multileg-one-way-group.txt)
PASS   : 
ExtractorTest::testExtract(czechrailways-czechrailways_one-leg-no-seat-single.txt)
PASS   : ExtractorTest::testExtract(amadeus-amadeus_1.txt)
PASS   : ExtractorTest::testExtract(web-restaurant.html)
PASS   : ExtractorTest::testExtract(web-potentialaction-with-entrypoint.html)
PASS   : ExtractorTest::testExtract(web-hotel.html)
--- /<<PKGBUILDDIR>>/autotests/extractordata/web/akademy2019.html.json  
2020-10-03 12:53:18.000000000 +0000
+++ /<<PKGBUILDDIR>>/autotests/extractordata/web/akademy2019.html.json.fail     
2020-10-20 11:39:12.619623611 +0000
@@ -5,8 +5,8 @@
         "description": "For most of the year, KDE—one of the largest free and 
open software communities in the world — works on-line by email, IRC, forums 
and mailing lists. Akademy provides all KDE contributors the opportunity to 
meet in person to foster social bonds, work on concrete technology issues, 
consider new ideas, and reinforce the innovative, dynamic culture of KDE. 
Akademy brings together artists, designers, developers, translators, users, 
writers, sponsors and many other types of KDE contributors to celebrate the 
achievements of the past year and help determine the direction for the next 
year. Hands-on sessions offer the opportunity for intense work bringing those 
plans to reality. The KDE community welcomes companies building on KDE 
technology, and those that are looking for opportunities. For more information, 
please contact the Akademy Team.",
         "endDate": {
             "@type": "QDateTime",
-            "@value": "2019-07-13T16:30:00+02:00",
-            "timezone": "Europe/Rome"
+            "@value": "2019-07-13T16:30:00+10:00",
+            "timezone": "Asia/Vladivostok"
         },
         "image": 
"https://akademy.kde.org/sites/akademy.kde.org/files/2019/milanpanoramic.jpg";,
         "location": {
@@ -24,8 +24,8 @@
         "name": "Akademy 2019",
         "startDate": {
             "@type": "QDateTime",
-            "@value": "2019-09-07T09:30:00+02:00",
-            "timezone": "Europe/Rome"
+            "@value": "2019-09-07T09:30:00+10:00",
+            "timezone": "Asia/Vladivostok"
         },
         "url": "https://akademy.kde.org/2019";
     }
FAIL!  : ExtractorTest::testExtract(web-akademy2019.html) Compared values are 
not the same
   Loc: [/<<PKGBUILDDIR>>/autotests/extractortest.cpp(174)]
PASS   : ExtractorTest::testExtract(iberia-iberia_1.txt)
PASS   : 
ExtractorTest::testExtract(deutschebahn-deutschebahn_one-leg-return-international.txt)
PASS   : 
ExtractorTest::testExtract(deutschebahn-deutschebahn_two-leg-return.txt)
PASS   : 
ExtractorTest::testExtract(deutschebahn-deutschebahn_one-leg-return-no-seat.txt)
PASS   : 
ExtractorTest::testExtract(deutschebahn-deutschebahn_two-leg-single.txt)
PASS   : 
ExtractorTest::testExtract(deutschebahn-deutschebahn_one-leg-single-international.txt)
PASS   : ExtractorTest::testExtract(eurowings-eurowings_1.txt)
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't read xref table
QWARN  : ExtractorTest::testNegative() org.kde.kitinerary: Got invalid PDF 
document! 3
PASS   : ExtractorTest::testNegative()
PASS   : ExtractorTest::cleanupTestCase()
Totals: 35 passed, 1 failed, 0 skipped, 0 blacklisted, 387ms
********* Finished testing of ExtractorTest *********
...
The following tests FAILED:
          6 - knowledgedbtest (Failed)
         26 - calendarhandlertest (Failed)
         27 - extractortest (Failed)
Errors while running CTest
make[2]: *** [Makefile:108: test] Error 8

Reply via email to