<div dir="ltr"><div dir="ltr">On Wed, Apr 23, 2025 at 5:24 AM Stefano Crocco <<a href="mailto:stefano.crocco@alice.it">stefano.crocco@alice.it</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello to everyone,<br></blockquote><div><br></div><div>Hi Stefano,</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
recently, I've being trying to fix failing Konqueror tests, and in doing so I'm <br>
facing some issue with the CI tests which I don't know how to solve.<br>
<br>
The first issue is that one test passes on my system but fails when run by the <br>
CI (it's the konqview test at [1]). I couldn't spot anything in the code which <br>
would be likely to be different on the CI than on my system. What do you think <br>
is the best way to try and fix this test? Should I try and add some debugging <br>
statement in the tests, then run it again on the CI to try to pinpoint the <br>
cause of the failure? I wouldn't want to waste CI resources, but I have no <br>
better idea.<br></blockquote><div><br></div><div>This test looks like it might be a KXMLGUI initialisation failure:<br><br>QWARN : KonqViewTest::textThenHtml() kf.xmlgui: cannot find .rc file "konqueror.rc" for component "konqviewtest"<br>QWARN : KonqViewTest::textThenHtml() kf.xmlgui: cannot find .rc file "konqueror.rc" for component "konqviewtest"</div><div><br></div><div>It is probably masked on your local system because there will be old files / configuration / etc present.</div><div>Might be worth creating a new user account, doing a build of Konqueror alone there (without logging in or running Konqueror normally there) and seeing if the unit test fails there as that is basically what CI does.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
A similar issue regards tests failing on FreeBSD but not on Linux: how should <br>
I proceed, since that I have no FreeBSD machine available and I'm not familiar <br>
enough with it to try setting up a virtual machine?<br></blockquote><div><br></div><div>In the not too distant future once we have VM based CI you'd be able to download the VM image the CI system uses.</div><div>This is weeks, not months, away at this point.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Lastly, there's a test (konqviewmgrtest at [2]) which is marked as failed by <br>
the CI but, looking at the output it reports, seems successful to me (I can't <br>
see any mention of failing tests or errors in the output). I attach a file with <br>
the output of the test. My only guess is that the word "failed" which appears <br>
in lines 3 and 28 but which is unrelated to the test itself may be confusing <br>
the CI. Do you think it is possible? Otherwise, do you have any idea about why <br>
the test could be marked as failed?<br></blockquote><div><br></div><div>Reading the full build log reveals why that happened:</div><div><br></div><div><div class="gmail-js-log-line gmail-job-log-line" style="box-sizing:border-box;font-variant-ligatures:none;display:flex;padding:1px 8px"><span class="gmail-job-log-line-content" style="box-sizing:border-box"><span class="gmail-" style="box-sizing:border-box;padding:1.25px 0px"> 4/12 Test #4: konqviewmgrtest ...................***Timeout 60.12 sec</span></span></div></div><div> </div><div>My guess would be that it is popping up a message box as something didn't quite work out when it tries to activate the link:<br><br><span style="color:rgb(255,255,255);font-family:"GitLab Mono","JetBrains Mono",Menlo,"DejaVu Sans Mono","Liberation Mono",Consolas,"Ubuntu Mono","Courier New","andale mono","lucida console",monospace;font-size:13px;font-variant-ligatures:none;background-color:rgb(17,17,17)">QDEBUG : ViewMgrTest::testLinkedViews() ACTIVATING LINK</span></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks in advance<br>
<br>
Stefano<br></blockquote><div><br></div><div>Hope that gives you some ideas!</div><div><br></div><div>Cheers,</div><div>Ben</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
[1] <a href="https://invent.kde.org/network/konqueror/-/pipelines/929647/test_report?job_name=suse_tumbleweed_qt68" rel="noreferrer" target="_blank">https://invent.kde.org/network/konqueror/-/pipelines/929647/test_report?<br>
job_name=suse_tumbleweed_qt68</a><br>
[2] <a href="https://invent.kde.org/network/konqueror/-/pipelines/936026/test_report?job_name=suse_tumbleweed_qt69" rel="noreferrer" target="_blank">https://invent.kde.org/network/konqueror/-/pipelines/936026/test_report?<br>
job_name=suse_tumbleweed_qt69</a></blockquote></div></div>