Bug 442935 - Inconsistent test failure in test kdav-davcollectionsmultifetchjobtest
Summary: Inconsistent test failure in test kdav-davcollectionsmultifetchjobtest
Status: REPORTED
Alias: None
Product: frameworks-kdav
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.86.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-25 09:29 UTC by Brendan
Modified: 2021-09-25 09:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan 2021-09-25 09:29:46 UTC
I'm updating KDE software for the Guix GNU/Linux distribution. Currently I'm building kdav and roughly 1/4 times the kdav-davcollectionsmultifetchjobtest testfails. 

STEPS TO REPRODUCE
I'm updating KDE software in the Guix GNU/Linux distribution, so reproducing the result would involve installing Guix, and running something like:

git clone -b wip-kde-updates-kgpg-bug https://notabug.org/Brendan/guix.git
cd guix
guix environment guix
./bootstrap
./configure --localstatedir=/var
make -j
./pre-inst-env guix build kdav
./pre-inst-env guix build --no-grafts --check --rounds=5

OBSERVED RESULT
4/6 Test #4: kdav-davcollectionsmultifetchjobtest ...***Failed    0.03 sec
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-kdav-5.86.0.drv-0/runtime-nixbld'
********* Start testing of DavCollectionsMultiFetchJobTest *********
Config: Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.5.0), unknown unknown
PASS   : DavCollectionsMultiFetchJobTest::initTestCase()
QWARN  : DavCollectionsMultiFetchJobTest::runSuccessfullTest() QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-kdav-5.86.0.drv-0/runtime-nixbld'
QWARN  : DavCollectionsMultiFetchJobTest::runSuccessfullTest() QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-kdav-5.86.0.drv-0/runtime-nixbld'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-kdav-5.86.0.drv-0/runtime-nixbld'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-kdav-5.86.0.drv-0/runtime-nixbld'
QDEBUG : DavCollectionsMultiFetchJobTest::runSuccessfullTest() Read client request "PROPFIND /carddav HTTP/1.1\r\n"
QDEBUG : DavCollectionsMultiFetchJobTest::runSuccessfullTest() Read client request "PROPFIND /caldav HTTP/1.1\r\n"
QDEBUG : DavCollectionsMultiFetchJobTest::runSuccessfullTest() Read client request "PROPFIND /carddav/dfaure%40example.com/ HTTP/1.1\r\n"
QDEBUG : DavCollectionsMultiFetchJobTest::runSuccessfullTest() Read client request "PROPFIND /caldav/dfaure%40example.com/ HTTP/1.1\r\n"
FAIL!  : DavCollectionsMultiFetchJobTest::runSuccessfullTest() Compared values are not the same
   Actual   (calendar.displayName())      : "My Address Book"
   Expected (QStringLiteral("Test1 User")): "Test1 User"
   Loc: [/tmp/guix-build-kdav-5.86.0.drv-0/kdav-5.86.0/autotests/davcollectionsmultifetchjobtest.cpp(56)]
QDEBUG : DavCollectionsMultiFetchJobTest::shouldFailOnError() Read client request "PROPFIND /caldav HTTP/1.1\r\n"
QDEBUG : DavCollectionsMultiFetchJobTest::shouldFailOnError() Read client request "PROPFIND /does_not_exist HTTP/1.1\r\n"
QDEBUG : DavCollectionsMultiFetchJobTest::shouldFailOnError() Read client request "PROPFIND /caldav/dfaure%40example.com/ HTTP/1.1\r\n"
PASS   : DavCollectionsMultiFetchJobTest::shouldFailOnError()
PASS   : DavCollectionsMultiFetchJobTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 21ms
********* Finished testing of DavCollectionsMultiFetchJobTest *********


EXPECTED RESULT
The test passes.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: GNU Guix.
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.86.0 
Qt Version: 5.12.5

ADDITIONAL INFORMATION