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

Sudo auth issue in test-suite #3377

Open
dmnks opened this issue Oct 14, 2024 · 1 comment
Open

Sudo auth issue in test-suite #3377

dmnks opened this issue Oct 14, 2024 · 1 comment
Labels
bug test Testsuite-related

Comments

@dmnks
Copy link
Contributor

dmnks commented Oct 14, 2024

Seems like we have another (random?) test failure:

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
312. rpmi.at:1173: testing rpm -i relocatable package 3 ...
/rpmi.at:1180:
runroot_user \
  rpm -U --prefix \$PWD/root --dbpath \$PWD/rpmdb \
  /build/RPMS/noarch/rootfs-1.0-1.noarch.rpm

--- /dev/null	2024-10-14 15:06:38.808142963 +0000
+++ /srv/rpmtests.dir/at-groups/312/stderr	2024-10-14 15:07:16.196070787 +0000
@@ -0,0 +1,2 @@
+sudo: PAM account management error: Authentication service cannot retrieve authentication info
+sudo: a password is required
/rpmi.at:1180: exit code was 1, expected 0
312. rpmi.at:1173: 312. rpm -i relocatable package 3 (rpmi.at:1173): FAILED (rpmi.at:1180)

Full log: https://github.com/ffesti/rpm/actions/runs/11330220300/job/31507550988

@dmnks dmnks added the test Testsuite-related label Oct 14, 2024
@dmnks
Copy link
Contributor Author

dmnks commented Oct 15, 2024

Just noting here that the runuser command might be better than sudo for our use case here (we always run the test scripts as root by default), thanks @pmatilai for the hint 😄

@ffesti ffesti added the bug label Oct 16, 2024
@ffesti ffesti added this to RPM Oct 16, 2024
@github-project-automation github-project-automation bot moved this to Backlog in RPM Oct 16, 2024
@ffesti ffesti moved this from Backlog to Todo in RPM Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug test Testsuite-related
Projects
Status: Todo
Development

No branches or pull requests

2 participants