Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ubuntu] g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2) #6185

Closed
3 of 10 tasks
mai-nakagawa opened this issue Sep 6, 2022 · 5 comments

Comments

@mai-nakagawa
Copy link

mai-nakagawa commented Sep 6, 2022

Description

The latest ubuntu-latest or ubuntu-20.04 version 2.296.0 and 2.296.1 fails to run poetry install (poetry is a Python's package manager) with the following error log:
https://github.com/mai-nakagawa/test-runner-images/runs/8200561159?check_suite_focus=true

g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2)

The workaround is to add sudo apt install gnome-keyring beforehand:
https://github.com/mai-nakagawa/test-runner-images/runs/8200631090?check_suite_focus=true

Platforms affected

  • Azure DevOps
  • GitHub Actions

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

https://github.com/mai-nakagawa/test-runner-images/runs/8200561159?check_suite_focus=true

Is it regression?

Yes, the issue didn't persist w/ 2.295.0

Expected behavior

poetry install succeeds

Actual behavior

poetry install fails with:

g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2)

Repro steps

  1. Fork https://github.com/mai-nakagawa/test-runner-images
  2. Remove this line
  3. Run the CI and you'll see the error
  4. Restore the line you removed in the 2nd step
  5. Run the CI and you won't see the error
@mai-nakagawa mai-nakagawa changed the title g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2) [Ubuntu] g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files (2) Sep 6, 2022
@al-cheb al-cheb self-assigned this Sep 6, 2022
@al-cheb
Copy link
Contributor

al-cheb commented Sep 6, 2022

Hey @mai-nakagawa.
We will take a look at it.

@al-cheb
Copy link
Contributor

al-cheb commented Sep 6, 2022

@mai-nakagawa, I have found out a couple of relative issues: python-poetry/poetry#2692 python-poetry/poetry#6277 pypa/pip#6773

env:
  PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring

image

@al-cheb
Copy link
Contributor

al-cheb commented Sep 6, 2022

I am planning to close as external. Feel free to open it if you have any concerns.

@al-cheb al-cheb closed this as completed Sep 6, 2022
@mai-nakagawa
Copy link
Author

Thanks @al-cheb for your quick investigation. Understood the root cause and the solution!

anehx added a commit to projectcaluma/manabi that referenced this issue Sep 28, 2022
smkent added a commit to smkent/cookie-python that referenced this issue Oct 26, 2022
@Ramon5
Copy link

Ramon5 commented Oct 31, 2022

@mai-nakagawa, I have found out a couple of relative issues: python-poetry/poetry#2692 python-poetry/poetry#6277 pypa/pip#6773

env:
  PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring

image

thks man, works for me!

cunla added a commit to cunla/fakeredis-py that referenced this issue Nov 18, 2022
rasheed-rd added a commit to code4days/XSStrike that referenced this issue Dec 15, 2022
disable keyring to prevent error from occurring during installation of dependencies
actions/runner-images#6185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants