{"action":"created","issue":{"url":"https://api.github.com/repos/jaraco/keyring/issues/132","labels_url":"https://api.github.com/repos/jaraco/keyring/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/jaraco/keyring/issues/132/comments","events_url":"https://api.github.com/repos/jaraco/keyring/issues/132/events","html_url":"https://github.com/jaraco/keyring/issues/132","id":58653528,"number":132,"title":"(install) tests already try to initialize SecretService/Dbus keyring (DBusException, failing)","user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-23T21:42:34Z","updated_at":"2015-02-23T21:42:42Z","closed_at":"2015-02-23T21:42:35Z","body":"I am maintaining the  Python 3 version of the Arch Linux package of python-keyring:\nhttps://aur.archlinux.org/packages/python-keyring/\n\nThe packaging runs nosetest3 in the \"check()\" part.\nWhen having python-secretstorage installed, that part is also tested and fails on the building user (different from the user running the X session) with:\n\n> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not \n> receive a reply. Possible causes include: the remote application did not send a \n> reply, the message bus security policy blocked the reply, the reply timeout expired, \n> or the network connection was broken.\n\nWhen running the same with the user that created the current X session it opens a Window asking to set a password for a new keyring.\n\nEither that shouldn't happen or python-keyring doesn't have any (usable) install-time/packaging tests.\nWith install-time/packaging tests I mean what is done with \"make check\" in autotools and it should be non-interactive and self-contained (as in: doesn't fiddle with configurations and such).\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/kang/python-keyring-lib/issue/132\n- Originally reported by: Johannes Dewender\n- Originally created at: 2013-12-19T11:55:19.149\n"},"comment":{"url":"https://api.github.com/repos/jaraco/keyring/issues/comments/75641155","html_url":"https://github.com/jaraco/keyring/issues/132#issuecomment-75641155","issue_url":"https://api.github.com/repos/jaraco/keyring/issues/132","id":75641155,"user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T21:42:42Z","updated_at":"2015-02-23T21:42:42Z","body":"I can actually start dbus for that user prior to the build with\n\n    eval $(dbus-launch --sh-syntax)\n\nThen the tests don't fail, but it looks like some timeout is reached (tests hang for several seconds), not being able to access it anyway. (build uses fakeroot, and xhost +localhost is set)\nSo I'd just skip the test when dbus isn't available, too.\n\n----------------------------------------\nOriginal comment by: Johannes Dewender\n"}}