• Bug#1104706: qtorganizer-mkcal: FTBFS: FAIL! : tst_engine::testSimpleRa

    From Santiago Vila@21:1/5 to All on Mon May 5 01:20:01 2025
    Package: src:qtorganizer-mkcal
    Version: 0.1.0~git20250424.45906b1-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    1: PASS : tst_engine::testRecurringEventIO()
    1: PASS : tst_engine::testExceptionIO()
    1: PASS : tst_engine::testSimpleTodoIO()
    1: FAIL! : tst_engine::testSimpleRangeRead() Compared values are not the same 1: Actual (((dataChanged.count()))): 2
    1: Expected (1) : 1
    1: Loc: [./tests/tst_engine.cpp(1210)]
    1: PASS : tst_engine::cleanupTestCase()
    1: Totals: 41 passed, 1 failed, 0 skipped, 0 blacklisted, 16467ms
    1: ********* Finished testing of tst_engine *********
    1/1 Test #1: tst_engine .......................***Failed 16.49 sec
    ********* Start testing of tst_engine *********
    Config: Using QtTest library 5.15.15, Qt 5.15.15 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.2.0), debian unknown
    PASS : tst_engine::initTestCase()
    PASS : tst_engine::testDefaultCollection()
    PASS : tst_engine::testCollections()
    PASS : tst_engine::testCollectionIO()
    PASS : tst_engine::testCollectionExternal()
    PASS : tst_engine::testSimpleEventIO()
    PASS : tst_engine::testItemClassification(public)
    PASS : tst_engine::testItemClassification(private)
    PASS : tst_engine::testItemClassification(confidential)
    PASS : tst_engine::testItemLocation()
    PASS : tst_engine::testItemPriority(highest priority)
    PASS : tst_engine::testItemPriority(extremely high priority)
    PASS : tst_engine::testItemPriority(very high priority)
    PASS : tst_engine::testItemPriority(high priority)
    PASS : tst_engine::testItemPriority(medium priority)
    PASS : tst_engine::testItemPriority(low priority)
    PASS : tst_engine::testItemPriority(very low priority)
    PASS : tst_engine::testItemPriority(extremely low priority)
    PASS : tst_engine::testItemPriority(lowest priority)
    PASS : tst_engine::testItemTimestamp()
    PASS : tst_engine::testItemVersion()
    PASS : tst_engine::testItemAudibleReminder()
    PASS : tst_engine::testItemEmailReminder()
    PASS : tst_engine::testItemVisualReminder()
    PASS : tst_engine::testAlarmDisabled()
    PASS : tst_engine::testItemAttendees()
    PASS : tst_engine::testItemAttendeeStatus(unknown)
    PASS : tst_engine::testItemAttendeeStatus(accepted)
    PASS : tst_engine::testItemAttendeeStatus(declined)
    PASS : tst_engine::testItemAttendeeStatus(tentative)
    PASS : tst_engine::testItemAttendeeStatus(delegated)
    PASS : tst_engine::testItemAttendeeStatus(in process)
    PASS : tst_engine::testItemAttendeeStatus(completed)
    PASS : tst_engine::testItemAttendeeRole(chair)
    PASS : tst_engine::testItemAttendeeRole(delegated)
    PASS : tst_engine::testItemAttendeeRole(in process)
    PASS : tst_engine::testItemAttendeeRole(completed)
    PASS : tst_engine::testRecurringEventIO()
    PASS : tst_engine::testExceptionIO()
    PASS : tst_engine::testSimpleTodoIO()
    FAIL! : tst_engine::testSimpleRangeRead() Compared values are not the same
    Actual (((dataChanged.count()))): 2
    Expected (1) : 1
    Loc: [./tests/tst_engine.cpp(1210)]
    PASS : tst_engine::cleanupTestCase()
    Totals: 41 passed, 1 failed, 0 skipped, 0 blacklisted, 16467ms
    ********* Finished testing of tst_engine *********


    0% tests passed, 1 tests failed out of 1

    Total Test time (real) = 16.50 sec

    The following tests FAILED:
    1 - tst_engine (Failed)
    Errors while running CTest
    make[2]: *** [Makefile:74: test] Error 8
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j1 test ARGS\+=--verbose ARGS\+=-j1 returned exit code 2
    make[1]: *** [debian/rules:28: override_dh_auto_test] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:17: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202505/

    Please note that the same error I got on amd64 also happened here in
    several release architectures, which means the failure is probably
    not architecture-specific.

    https://buildd.debian.org/status/fetch.php?pkg=qtorganizer-mkcal&arch=mips64el&ver=0.1.0%7Egit20250424.45906b1-1&stamp=1746211858&raw=0
    https://buildd.debian.org/status/fetch.php?pkg=qtorganizer-mkcal&arch=ppc64el&ver=0.1.0%7Egit20250424.45906b1-1&stamp=1746197227&raw=0
    https://buildd.debian.org/status/fetch.php?pkg=qtorganizer-mkcal&arch=s390x&ver=0.1.0%7Egit20250424.45906b1-1&stamp=1746199226&raw=0

    Note also that in my setup the failure rate is a lot higher on single-cpu systems, so if you decide to debug the problem (as opposed to just disabling the test as unreliable) I recommend GRUB_CMDLINE_LINUX="nr_cpus=1"
    to reproduce it.


    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:qtorganizer-mkcal, so that this is still visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)