<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>47773</bug_id>
          
          <creation_ts>2023-09-28 14:18:08 +0300</creation_ts>
          <short_desc>Не проходит тест test-portals</short_desc>
          <delta_ts>2023-11-17 12:35:07 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xdg-desktop-portal-tests</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kirill Sen">senkd</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>aris</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>234015</commentid>
    <comment_count>0</comment_count>
    <who name="Kirill Sen">senkd</who>
    <bug_when>2023-09-28 14:18:08 +0300</bug_when>
    <thetext>Стенды в проверке:
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: &apos;xdg-desktop-portal&apos; disallowed, no agent for UID 500
**
xdg-desktop-portal:ERROR:../tests/location.c:22:location_cb: &apos;res&apos; should be TRUE
Bail out! xdg-desktop-portal:ERROR:../tests/location.c:22:location_cb: &apos;res&apos; should be TRUE
cleaning up pid 66459</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234025</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2023-09-28 15:10:13 +0300</bug_when>
    <thetext>Должно получиться так.

$ 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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237408</commentid>
    <comment_count>2</comment_count>
    <who name="Kirill Sen">senkd</who>
    <bug_when>2023-11-17 12:35:07 +0300</bug_when>
    <thetext>стенды в проверке (обновлённые до сизиф)
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)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>