Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925085 - dev-db/pgcli-4.0.1: test suite hangs, asking for keyring password with dev-python/keyrings-alt
Summary: dev-db/pgcli-4.0.1: test suite hangs, asking for keyring password with dev-py...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-20 12:13 UTC by Michał Górny
Modified: 2024-03-02 20:36 UTC (History)
1 user (show)

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


Attachments
dev-db:pgcli-4.0.1-r1:20240220-121015.log (dev-db:pgcli-4.0.1-r1:20240220-121015.log,91.42 KB, text/plain)
2024-02-20 12:13 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,7.82 KB, text/plain)
2024-02-20 12:13 UTC, Michał Górny
Details
Build log (build.log,483.26 KB, text/x-log)
2024-03-01 19:52 UTC, Jakov Smolić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-20 12:13:21 UTC
Created attachment 885517 [details]
dev-db:pgcli-4.0.1-r1:20240220-121015.log

[…]
tests/test_main.py::test_i_works SKIPPED (Need a postgres instance at localhost accessible by user 'postgres')             [ 163/2636]
tests/test_main.py::test_echo_works SKIPPED (Need a postgres instance at localhost accessible by user 'postgres')          [ 164/2636]
tests/test_main.py::test_qecho_works SKIPPED (Need a postgres instance at localhost accessible by user 'postgres')         [ 165/2636]
tests/test_main.py::test_watch_works SKIPPED (Need a postgres instance at localhost accessible by user 'postgres')         [ 166/2636]
tests/test_main.py::test_missing_rc_dir PASSED                                                                             [ 167/2636]
tests/test_main.py::test_quoted_db_uri PASSED                                                                              [ 168/2636]
tests/test_main.py::test_pg_service_file Please set a password for your new keyring:
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-20 12:13:46 UTC
Created attachment 885518 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-20 12:15:28 UTC
(it's -r1 because I've `git mv`-ed it to start editing but it's got no changes from -r0 yet)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-20 12:18:24 UTC
tests/test_ssh_tunnel.py::test_ssh_tunnel suffers from the same problem.  I'm going to deselect them now to unblock.
Comment 4 Larry the Git Cow gentoo-dev 2024-02-20 12:23:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315eab0f86abf1e7e7f492ce9a73fb6143bf9a50

commit 315eab0f86abf1e7e7f492ce9a73fb6143bf9a50
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-02-20 12:19:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-02-20 12:23:19 +0000

    dev-db/pgcli: Deselect hanging tests
    
    Bug: https://bugs.gentoo.org/925085
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../{pgcli-4.0.1.ebuild => pgcli-4.0.1-r1.ebuild}      | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
Comment 5 Jakov Smolić archtester gentoo-dev 2024-03-01 19:52:08 UTC
Created attachment 886466 [details]
Build log

I reverted last commit locally and tried to reproduce but wasn't able to, both test_pg_service_file and test_ssh_tunnel pass successfully (build log attached)
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-02 20:36:23 UTC
Hmm, I guess it happens only when you have dev-python/keyrings-alt installed.