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

Python virtual environment smoke tests on SRD #1841

Open
5 tasks done
dsj976 opened this issue Apr 26, 2024 · 1 comment
Open
5 tasks done

Python virtual environment smoke tests on SRD #1841

dsj976 opened this issue Apr 26, 2024 · 1 comment
Labels
bug Problem when deploying a Data Safe Haven.

Comments

@dsj976
Copy link

dsj976 commented Apr 26, 2024

✅ Checklist

  • I have searched open and closed issues for duplicates.
  • This is a problem observed when managing a Data Safe Haven.
  • I can reproduce this with the latest version.
  • I have read through the documentation.
  • This isn't an open-ended question (open a discussion if it is).

💻 System information

  • Data Safe Haven version: 4.2.0
  • Operating system details: macOS

🌵 Powershell module versions

🚫 Describe the problem

This is an issue encountered when running smoke tests in the SRD. When bats run_all_tests.bats is run, the Python virtual environment tests pass, but when this test is run individually (by running test_virtual_environments_python.sh), the first check seems to fail:

Screenshot 2024-04-26 at 17 06 29

🚂 Workarounds or solutions

@jemrobinson
Copy link
Member

This test runs which pyenv. What happens when you run that on its own? What's the return value (run echo $? straight afterwards).

@jemrobinson jemrobinson added bug Problem when deploying a Data Safe Haven. and removed type: functionality bug labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problem when deploying a Data Safe Haven.
Projects
None yet
Development

No branches or pull requests

2 participants