Bug 485642

Summary: CI: "Qt WebEngine resources not found" when running tests on Windows
Product: [Frameworks and Libraries] libalkimia Reporter: Ralf Habacker <ralf.habacker>
Component: CIAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Bug Depends on: 484446    
Bug Blocks:    

Description Ralf Habacker 2024-04-16 19:15:56 UTC
SUMMARY
There is a Installation problem on KDE gitlab CI when building for Windows.

STEPS TO REPRODUCE
1.  Inspect https://invent.kde.org/office/alkimia/-/jobs/1740161#L943

OBSERVED RESULT

64% tests passed, 4 tests failed out of 11
The following tests FAILED:
	  6 - alkonlinequotes-webengine-test (Failed)
	  8 - alkonlinequoteprivatetest (Failed)
	  9 - alkdownloadengine-webengine-test (Failed)
	 11 - alkwebpage-webengine-test (Failed)
Errors while running CTest

All tests fail due to the following problem: "Qt WebEngine resources not found", see

https://invent.kde.org/office/alkimia/-/jobs/1740161#L802
https://invent.kde.org/office/alkimia/-/jobs/1740161#L847
https://invent.kde.org/office/alkimia/-/jobs/1740161#L857
https://invent.kde.org/office/alkimia/-/jobs/1740161#L899

PASS   : AlkWebPageTest::initTestCase()
QINFO  : AlkWebPageTest::testLoad() Sandboxing disabled by user.
QWARN  : AlkWebPageTest::testLoad() Qt WebEngine resources not found at C:/Craft/windows-msvc2019_64-cl/resources. Trying parent directory...
QWARN  : AlkWebPageTest::testLoad() Qt WebEngine resources not found at C:/Craft/windows-msvc2019_64-cl. Trying application directory...
QWARN  : AlkWebPageTest::testLoad() Qt WebEngine resources not found at C:/builds/office/alkimia/_build/bin. Trying fallback directory... The application MAY NOT work.
[0415/105442.201:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
A crash occurred in C:\builds\office\alkimia\_build\bin\alkwebpage-webengine-test.exe.
Function time: 2ms Total time: 2ms

EXPECTED RESULT
The tests should not fail