Bug 47773 - Не проходит тест test-portals
Summary: Не проходит тест test-portals
Status: REOPENED
Alias: None
Product: Sisyphus
Classification: Development
Component: xdg-desktop-portal-tests (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 14:18 MSK by Kirill Sen
Modified: 2023-11-17 12:35 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Sen 2023-09-28 14:18:08 MSK
Стенды в проверке:
workstation 10.1 x86-64
server 10.1 x86-64
education KDE 10.1 x86-64
education 10.1 x86-64
workstation K 10.2 x86-64

Обновлённые до Сизифа

Шаги для воспроизведения:
Запуск теста по пути
/usr/libexec/installed-tests/xdg-desktop-portal/test-portals

Ожидаемый результат:  Тест прошёл успешно

Фактический результат :  Появляется ошибка после 40 теста:

ok 40 /portal/location/exists

(/usr/libexec/xdg-desktop-portal:66471): xdg-desktop-portal-WARNING **: 14:16:50.015: Starting GeoClue client failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 'xdg-desktop-portal' disallowed, no agent for UID 500
**
xdg-desktop-portal:ERROR:../tests/location.c:22:location_cb: 'res' should be TRUE
Bail out! xdg-desktop-portal:ERROR:../tests/location.c:22:location_cb: 'res' should be TRUE
cleaning up pid 66459
Comment 1 Yuri N. Sedunov 2023-09-28 15:10:13 MSK
Должно получиться так.

$ gnome-desktop-testing-runner xdg-desktop-portal
...
PASS: xdg-desktop-portal/test-portals-wallpaper.test
SUMMARY: total=23; passed=22; skipped=0; failed=1; user=55.5s; system=64.1s; maxrss=26652
FAIL: xdg-desktop-portal/test-portals-openuri.test (Child process killed by signal 6)
Comment 2 Kirill Sen 2023-11-17 12:35:07 MSK
стенды в проверке (обновлённые до сизиф)
workstation 10.1 x86-64
server 10.1 x86-64
education KDE 10.2 x86-64
education 10.2 x86-64
workstation K 10.2 x86-64

Версия пакета:
xdg-desktop-portal-1.18.0-alt1
xdg-desktop-portal-tests-1.18.0-alt1

При предложенном выше запуске, появляется ещё одна ошибка:

$ gnome-desktop-testing-runner xdg-desktop-portal
...
...
SUMMARY: total=23; passed=21; skipped=0; failed=2; user=42.9s; system=52.7s; maxrss=25348
FAIL: xdg-desktop-portal/test-portals-location.test (Child process killed by signal 6)
FAIL: xdg-desktop-portal/test-portals-openuri.test (Child process killed by signal 6)


При запуске на kwork и education kde ошибок ещё больше:

$ gnome-desktop-testing-runner xdg-desktop-portal:
...
,..
SUMMARY: total=23; passed=17; skipped=0; failed=6; user=2.3s; system=1.3s; maxrss=22472
FAIL: xdg-desktop-portal/test-portals-inhibit.test (Child process killed by signal 6)
FAIL: xdg-desktop-portal/test-portals-wallpaper.test (Child process killed by signal 6)
FAIL: xdg-desktop-portal/test-portals-location.test (Child process killed by signal 6)
FAIL: xdg-desktop-portal/test-portals-camera.test (Child process killed by signal 6)
FAIL: xdg-desktop-portal/test-document-fuse.sh.test (Child process exited with code 1)
FAIL: xdg-desktop-portal/test-portals-openuri.test (Child process killed by signal 6)