| Summary: | 6.1.0: test suite fails because it tests system resources instead buid tree | ||
|---|---|---|---|
| Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | kloczek <kloczko.tomasz> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | aleixpol, jgrulich, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Thanks for doing some investigation into what the issue here is. Can confirm it. |
Looks like test suite instead checking build tree is trying to access already installed xdg-desktop-portal-kde binary + /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/xdg-desktop-portal-kde-6.1.0/x86_64-redhat-linux-gnu Test project /home/tkloczko/rpmbuild/BUILD/xdg-desktop-portal-kde-6.1.0/x86_64-redhat-linux-gnu Start 1: xdgshortcuttest Start 2: colorschemetest Start 3: inputcapturebarriertest 1/3 Test #3: inputcapturebarriertest .......... Passed 0.01 sec 2/3 Test #1: xdgshortcuttest .................. Passed 0.02 sec 3/3 Test #2: colorschemetest ..................***Failed 0.11 sec E ====================================================================== ERROR: setUpClass (__main__.OrgFreeDesktopAppearanceTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/xdg-desktop-portal-kde-6.1.0/autotests/colorschemetest.py", line 51, in setUpClass cls.portal_process = subprocess.Popen([os.path.join(KDE_INSTALL_FULL_LIBEXECDIR, "xdg-desktop-portal-kde")], env=debug_environ, stdout=sys.stderr, stderr=sys.stderr) File "/usr/lib64/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib64/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/usr/libexec/xdg-desktop-portal-kde' ---------------------------------------------------------------------- Ran 0 tests in 0.004s FAILED (errors=1) 67% tests passed, 1 tests failed out of 3 Total Test time (real) = 0.11 sec The following tests FAILED: 2 - colorschemetest (Failed) Errors while running CTest