Bug 484306

Summary: The testdateserialization test fails since the beginning of March
Product: [Frameworks and Libraries] frameworks-kcalendarcore Reporter: Vivien <kde-identity>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.114.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vivien 2024-03-23 09:02:48 UTC
SUMMARY
Hello! When building kcalendarcore 5.114.0 for Guix, we observe a consistent failure since the beginning of March. Maybe it will work again in April?


STEPS TO REPRODUCE
1. Wait after February 29, 2024
2. Run the test suite

OBSERVED RESULT
Test testdateserialization fails with the following output:

********* Start testing of TestDateSerialization *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
PASS   : TestDateSerialization::initTestCase()
PASS   : TestDateSerialization::testNewRecurringTodo()
FAIL!  : TestDateSerialization::testTodoCompletedOnce() Compared values are not the same
   Actual   (todo->dtStart(false))  : 2024/04/01 00:00:00.000[CEST]
   Expected (startDate.addMonths(1)): 2024/04/01 01:00:00.000[CEST]
   Loc: [/tmp/guix-build-kcalendarcore-5.114.0.drv-0/kcalendarcore-5.114.0/autotests/testdateserialization.cpp(79)]
PASS   : TestDateSerialization::testUTCOffset()
PASS   : TestDateSerialization::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 4ms
********* Finished testing of TestDateSerialization *********

EXPECTED RESULT
The test should pass.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: This is a testsuite failure
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.114.0
Qt Version: 

ADDITIONAL INFORMATION
This links shows all build failures occur in March: http://ci.guix.gnu.org/search?query=kcalendarcore

It may resume working correctly in April, I don’t know.

I am not a regular KDE user, so I hope the provided information is useful to you, but do not hesitate to ask for more precise information.

Best regards,

Vivien