Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935071 - sys-apps/accountsservice-23.13.9 test fail Permission denied: '/root/.local/share/flatpak/exports/share/python-dbusmock/templates/polkitd.py'
Summary: sys-apps/accountsservice-23.13.9 test fail Permission denied: '/root/.local/...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-28 18:25 UTC by Arniii
Modified: 2024-06-29 03:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/meson-logs/testlog.txt (file_935071.txt,160.76 KB, text/plain)
2024-06-28 18:25 UTC, Arniii
Details
build.log (file_935071.txt,62.68 KB, text/plain)
2024-06-28 18:26 UTC, Arniii
Details
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3 (file_935071.txt,133.59 KB, text/plain)
2024-06-28 18:26 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-06-28 18:25:02 UTC
Created attachment 896584 [details]
/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/meson-logs/testlog.txt

from build.log:
```
Summary of Failures:

 2/19 accountsservice:accounts-service+daemon+Tests / Tests.test_language                                                                                                     FAIL            0.23s   exit status 1
 3/19 accountsservice:accounts-service+daemon+Tests / Tests.test_languages                                                                                                    FAIL            0.24s   exit status 1

Ok:                 17
Expected Fail:      0
Fail:               2
Unexpected Pass:    0
Skipped:            0
Timeout:            0
```

from  /var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/meson-logs/testlog.txt :
```
==================================== 2/19 ====================================
test:         accountsservice:accounts-service+daemon+Tests / Tests.test_language
start time:   17:40:38
duration:     0.23s
result:       exit status 1
command:      ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 G_MESSAGES_DEBUG=all MOCKLIBC_LD_PRELOAD=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/subprojects/mocklibc-1.0/src/libmocklibc.so.0.0.0 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 top_builddir=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build G_DEBUG=fatal-criticals MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 LD_LIBRARY_PATH=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/src/libaccountsservice GI_TYPELIB_PATH=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/src/libaccountsservice MALLOC_PERTURB_=155 top_srcdir=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9 /var/tmp/portage/sys-apps/accountsservice-23.13.9/temp/python3.12/bin/python3 /var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/../accountsservice-23.13.9/tests/test-daemon.py Tests.test_language
----------------------------------- stdout -----------------------------------
(process:66): GLib-GIO-DEBUG: 17:40:38.568: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:66): GLib-DEBUG: 17:40:38.575: unsetenv() is not thread-safe and should not be used after threads are created
(process:66): GLib-DEBUG: 17:40:38.575: unsetenv() is not thread-safe and should not be used after threads are created
(process:66): GLib-DEBUG: 17:40:38.575: unsetenv() is not thread-safe and should not be used after threads are created
(process:66): GLib-DEBUG: 17:40:38.575: unsetenv() is not thread-safe and should not be used after threads are created
(process:66): GLib-DEBUG: 17:40:38.575: unsetenv() is not thread-safe and should not be used after threads are created
Testing binaries from local build tree (/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/src/accounts-daemon)
----------------------------------- stderr -----------------------------------
E
======================================================================
ERROR: test_language (__main__.Tests.test_language)
check that language setting are verified
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/../accountsservice-23.13.9/tests/test-daemon.py", line 307, in test_language
    self.polkitd_start()
  File "/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/../accountsservice-23.13.9/tests/test-daemon.py", line 201, in polkitd_start
    (self._polkitd, self._polkitd_obj) = self.spawn_server_template(
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dbusmock/testcase.py", line 438, in spawn_server_template
    server = SpawnedMock.spawn_with_template(template, parameters, bustype, stdout, stderr=None)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dbusmock/testcase.py", line 600, in spawn_with_template
    module = load_module(template)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dbusmock/mockobject.py", line 72, in load_module
    if src.exists():
       ^^^^^^^^^^^^
  File "/usr/lib/python3.12/pathlib.py", line 860, in exists
    self.stat(follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.12/pathlib.py", line 840, in stat
    return os.stat(self, follow_symlinks=follow_symlinks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/root/.local/share/flatpak/exports/share/python-dbusmock/templates/polkitd.py'

----------------------------------------------------------------------
Ran 1 test in 0.021s

FAILED (errors=1)
==============================================================================

==================================== 3/19 ====================================
test:         accountsservice:accounts-service+daemon+Tests / Tests.test_languages
start time:   17:40:38
duration:     0.24s
result:       exit status 1
command:      ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 G_MESSAGES_DEBUG=all MOCKLIBC_LD_PRELOAD=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/subprojects/mocklibc-1.0/src/libmocklibc.so.0.0.0 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=247 top_builddir=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build G_DEBUG=fatal-criticals MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 LD_LIBRARY_PATH=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/src/libaccountsservice GI_TYPELIB_PATH=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/src/libaccountsservice top_srcdir=/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9 /var/tmp/portage/sys-apps/accountsservice-23.13.9/temp/python3.12/bin/python3 /var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/../accountsservice-23.13.9/tests/test-daemon.py Tests.test_languages
----------------------------------- stdout -----------------------------------
(process:69): GLib-GIO-DEBUG: 17:40:38.579: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:69): GLib-DEBUG: 17:40:38.584: unsetenv() is not thread-safe and should not be used after threads are created
(process:69): GLib-DEBUG: 17:40:38.584: unsetenv() is not thread-safe and should not be used after threads are created
(process:69): GLib-DEBUG: 17:40:38.584: unsetenv() is not thread-safe and should not be used after threads are created
(process:69): GLib-DEBUG: 17:40:38.584: unsetenv() is not thread-safe and should not be used after threads are created
(process:69): GLib-DEBUG: 17:40:38.584: unsetenv() is not thread-safe and should not be used after threads are created
Testing binaries from local build tree (/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/src/accounts-daemon)
----------------------------------- stderr -----------------------------------
E
======================================================================
ERROR: test_languages (__main__.Tests.test_languages)
test that languages are correctly migrated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/../accountsservice-23.13.9/tests/test-daemon.py", line 268, in test_languages
    self.polkitd_start()
  File "/var/tmp/portage/sys-apps/accountsservice-23.13.9/work/accountsservice-23.13.9-build/../accountsservice-23.13.9/tests/test-daemon.py", line 201, in polkitd_start
    (self._polkitd, self._polkitd_obj) = self.spawn_server_template(
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dbusmock/testcase.py", line 438, in spawn_server_template
    server = SpawnedMock.spawn_with_template(template, parameters, bustype, stdout, stderr=None)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dbusmock/testcase.py", line 600, in spawn_with_template
    module = load_module(template)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dbusmock/mockobject.py", line 72, in load_module
    if src.exists():
       ^^^^^^^^^^^^
  File "/usr/lib/python3.12/pathlib.py", line 860, in exists
    self.stat(follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.12/pathlib.py", line 840, in stat
    return os.stat(self, follow_symlinks=follow_symlinks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/root/.local/share/flatpak/exports/share/python-dbusmock/templates/polkitd.py'

----------------------------------------------------------------------
Ran 1 test in 0.012s

FAILED (errors=1)
==============================================================================

```
Comment 1 Arniii 2024-06-28 18:26:06 UTC
Created attachment 896585 [details]
build.log
Comment 2 Arniii 2024-06-28 18:26:39 UTC
Created attachment 896586 [details]
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3