Question 460
An education-cloud operations group is working on Git-tracked network simulation and deployment. A retrospective identifies: a GitLab job passes locally but cannot import a Python library in the CI container. Which ongoing regression check best detects recurrence of this precise failure?
Explanation
Correct Answer
The check tests the restored condition, the CI job imports the expected package versions and executes its tests, and explicitly flags a recurrence of a GitLab job passes locally but cannot import a Python library in the CI container.
Incorrect Answers
This guard monitors a different regression trigger: a Python test works on one runner but fails after the image tag updates. It does not directly validate the recovery condition, the CI job imports the expected package versions and executes its tests.
This guard monitors a different regression trigger: a GitLab CI job says no runners match the required tags. It does not directly validate the recovery condition, the CI job imports the expected package versions and executes its tests.
This guard monitors a different regression trigger: a CI script assumes it starts at the repository root but the image changes its working directory. It does not directly validate the recovery condition, the CI job imports the expected package versions and executes its tests.