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

Do not attempt to use sudo if would demand password #629

Open
yarikoptic opened this issue Jul 5, 2024 · 1 comment
Open

Do not attempt to use sudo if would demand password #629

yarikoptic opened this issue Jul 5, 2024 · 1 comment
Labels

Comments

@yarikoptic
Copy link
Member

ATM

neurodocker/cli/tests/test_build_images_with_cli.py::test_build_image_from_registered[apt-debian:buster-slim-singularity] [sudo] password for yoh: 


Sorry, try again.
[sudo] password for yoh: 

Sorry, try again.
[sudo] password for yoh: 

sudo: 3 incorrect password attempts
FAILED

In datalad we use with -n which is for non interactive: https://github.com/datalad/datalad/blob/HEAD/datalad/support/tests/test_annexrepo.py#L2498 . Then skip if execution non-interactively fails.

Copy link
Contributor

github-actions bot commented Sep 4, 2024

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant