• Bug#1104383: qtcontacts-sqlite: FTBFS randomly: dh_auto_test: error: ma

    From Lucas Nussbaum@21:1/5 to All on Tue Apr 29 16:00:03 2025
    Source: qtcontacts-sqlite
    Version: 0.3.20-3
    Severity: important
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250428 ftbfs-trixie ftbfs-randomly

    Hi,

    Your package fails to build randomly on amd64: In the exact same
    environment, sometimes it builds fine, and sometimes it fails.

    Relevant part (hopefully):
    make[5]: Entering directory '/build/reproducible-path/qtcontacts-sqlite-0.3.20/tests/auto/qcontactmanager'
    /build/reproducible-path/qtcontacts-sqlite-0.3.20/tests/run_test.sh /build/reproducible-path/qtcontacts-sqlite-0.3.20/tests/.. ./tst_qcontactmanager
    ********* Start testing of tst_QContactManager *********
    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_QContactManager::initTestCase()
    QWARN : tst_QContactManager::doDump(mgr='org.nemomobile.contacts.sqlite') The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::doDump(mgr='org.nemomobile.contacts.sqlite') QWARN : tst_QContactManager::uriParsing(built) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(built)
    QWARN : tst_QContactManager::uriParsing(built with escaped parameters) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(built with escaped parameters)
    QWARN : tst_QContactManager::uriParsing(no scheme) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(no scheme)
    QWARN : tst_QContactManager::uriParsing(wrong scheme) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(wrong scheme)
    QWARN : tst_QContactManager::uriParsing(right scheme, no colon) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(right scheme, no colon)
    QWARN : tst_QContactManager::uriParsing(no manager, colon, no params) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(no manager, colon, no params)
    QWARN : tst_QContactManager::uriParsing(yes manager, no colon, no params) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes manager, no colon, no params) QWARN : tst_QContactManager::uriParsing(yes manager, yes colon, no params) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes manager, yes colon, no params) QWARN : tst_QContactManager::uriParsing(yes params) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 2) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 2)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 3) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 3)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 4) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 4)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 5) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 5)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 6) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 6)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 7) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 7)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 8) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 8)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 9) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 9)
    QWARN : tst_QContactManager::uriParsing(yes params but misformed 10) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(yes params but misformed 10)
    QWARN : tst_QContactManager::uriParsing(no manager but yes params) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(no manager but yes params)
    QWARN : tst_QContactManager::uriParsing(no manager or params) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(no manager or params)
    QWARN : tst_QContactManager::uriParsing(no manager or params or colon) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::uriParsing(no manager or params or colon)
    XFAIL : tst_QContactManager::presenceReporting(mergePresenceChanges=true) fails due to invalid SQL result
    Loc: [tst_qcontactmanager.cpp(1821)]
    QWARN : tst_QContactManager::presenceReporting(mergePresenceChanges=true) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::presenceReporting(mergePresenceChanges=true) XFAIL : tst_QContactManager::presenceReporting(mergePresenceChanges=false) fails due to invalid SQL result
    Loc: [tst_qcontactmanager.cpp(1821)]
    QWARN : tst_QContactManager::presenceReporting(mergePresenceChanges=false) The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::presenceReporting(mergePresenceChanges=false) QWARN : tst_QContactManager::presenceAccumulation(mgr='org.nemomobile.contacts.sqlite') The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    QWARN : tst_QContactManager::presenceAccumulation(mgr='org.nemomobile.contacts.sqlite') The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    PASS : tst_QContactManager::presenceAccumulation(mgr='org.nemomobile.contacts.sqlite')
    QWARN : tst_QContactManager::nonprivileged() The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    QWARN : tst_QContactManager::nonprivileged() The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()

    === Received signal at function time: 300000ms, total time: 304546ms, dumping stack ===
    === End of stack trace ===
    QFATAL : tst_QContactManager::nonprivileged() Test function timed out
    FAIL! : tst_QContactManager::nonprivileged() Received a fatal error.
    Loc: [Unknown file(0)]
    Totals: 27 passed, 1 failed, 0 skipped, 0 blacklisted, 304547ms
    ********* Finished testing of tst_QContactManager *********
    Aborted
    Killing the temporary D-Bus daemon
    make[5]: *** [Makefile:361: check] Error 134
    make[5]: Leaving directory '/build/reproducible-path/qtcontacts-sqlite-0.3.20/tests/auto/qcontactmanager'
    make[4]: *** [Makefile:436: sub-qcontactmanager-check] Error 2
    make[4]: Leaving directory '/build/reproducible-path/qtcontacts-sqlite-0.3.20/tests/auto'
    make[3]: *** [Makefile:254: sub-auto-check] Error 2
    make[3]: Leaving directory '/build/reproducible-path/qtcontacts-sqlite-0.3.20/tests'
    make[2]: *** [Makefile:256: sub-tests-check] Error 2
    make[2]: Leaving directory '/build/reproducible-path/qtcontacts-sqlite-0.3.20'
    dh_auto_test: error: make -j1 check returned exit code 2


    The full build log is available from: http://qa-logs.debian.net/2025/04/28/qtcontacts-sqlite_0.3.20-3_unstable.log

    You can find other build logs (including successful ones) in: http://qa-logs.debian.net/2025/04/28/

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250428;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250428&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Wed Apr 30 01:40:02 2025
    severity 1104383 serious
    thanks

    Hello. I'm raising this to serious because the failure rate
    here is higher than 30%.

    The flakiness can also be observed here:

    https://buildd.debian.org/status/logs.php?pkg=qtcontacts-sqlite&arch=ppc64el https://buildd.debian.org/status/logs.php?pkg=qtcontacts-sqlite&arch=mips64el

    If you need a machine to reproduce this randomness, please
    contact me privately.

    Thanks.

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