<div dir="auto">If the external process gets started then it is indeed weird.<div dir="auto"><br></div><div dir="auto">Dbus-monitor (or bustle) will be the best tools here, they'll show the traffic between the test and test helper.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 Nov 2017 23:18, "Hartmut Goebel" <<a href="mailto:h.goebel@crazy-compilers.com" target="_blank">h.goebel@crazy-compilers.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo,<br>
<br>
I'm packaging krunner 5.39.0 for GNU Guix [1]. GNU Guix builds all<br>
software in an isolated environment (a container), which includes only<br>
the packages and tools specified explicitly.<br>
<br>
When running the tests, dbusrunnertest faills, with this notable warning<br>
and the error show below:<br>
<br>
   DBusRunnerTest::testMatch() org.kde.krunner: Invalid entry: "DBus<br>
runner test"<br>
<br>
Any idea what may be missing, what needs to be set up (env-var,<br>
directory, package, paths)? Any idea hos to debug this further?<br>
<br>
All required packages and all optional/feature packages (except of QCH)<br>
are installed. I tried running the tests with both dbus-launch and<br>
without. The external program "testremoterunner" gets started. strace -e<br>
trace=file" shows nothing relevant (as far as I can tell).<br>
<br>
********* Start testing of DBusRunnerTest *********<br>
Config: Using QtTest library 5.9.2, Qt 5.9.2 (x86_64-little_endian-lp64<br>
shared (dynamic) release build; by GCC 5.4.0)<br>
PASS   : DBusRunnerTest::initTestCase()<br>
QWARN  : DBusRunnerTest::testMatch() inotify_add_watch("/etc/mtab")<br>
failed: "No such file or directory"<br>
QWARN  : DBusRunnerTest::testMatch() inotify_add_watch("/etc/fstab"<wbr>)<br>
failed: "No such file or directory"<br>
QWARN  : DBusRunnerTest::testMatch() org.kde.krunner: Invalid entry:<br>
"DBus runner test"<br>
FAIL!  : DBusRunnerTest::testMatch() 'spy.wait()' returned FALSE. ()<br>
   Loc:<br>
[/tmp/guix-build-krunner-5.39.<wbr>0.drv-0/krunner-5.39.0/autotes<wbr>ts/dbusrunnertest.cpp(82)]<br>
PASS   : DBusRunnerTest::cleanupTestCas<wbr>e()<br>
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 4931ms<br>
********* Finished testing of DBusRunnerTest *********<br>
<br>
--<br>
Regards<br>
Hartmut Goebel<br>
<br>
| Hartmut Goebel          | <a href="mailto:h.goebel@crazy-compilers.com" target="_blank">h.goebel@crazy-compilers.com</a>               |<br>
| <a href="http://www.crazy-compilers.com" rel="noreferrer" target="_blank">www.crazy-compilers.com</a> | compilers which you thought are impossible |<br>
<br>
<br>
</blockquote></div></div>