ci-package-builder tests fail due to OBS branches not being cleaned up
Affected images versions
- not relevant (explain why): This is an infrastructure bug.
ci-package-builder runs tests to ensure that, upon merging an MR, any branched OBS projects are deleted. A few days ago, this test started failing, despite no related changes being merged in at this time. My current guess is that this was due to a GitLab upgrade over the weekend, but attempting to isolate the issue has proved unsuccessful.
What we know so far is:
- When the test cases merge in the MR, the MR environment's
cleanup
job is not run.- This should in fact work: because the environment was created in an MR pipeline, it should be cleaned up once the MR is closed.
- The cleanup job is only run once the MR's source branch is deleted.
- On other repositories, the
cleanup
job is run, even if the MR's source branch is not deleted. The reason why this does not work on the tests/dash repository is unknown. - Recent GitLab releases have contained several bug fixes related to improperly terminating environments that were created by branch pipelines, not MR pipelines. Thus, any behavior changes there shouldn't actually be affecting us.
At the moment, the plan is to simply remove this test, since things appear to work normally on other repositories.
Root cause
describe in one line what caused the issue to give a hint to product teams whether they may be impacted or not
Outcomes
TBD
Management data
This section is for management only, it should be the last one in the description.
/cc @andrunko @em @sagar @sudarshan @wlozano
Phabricator link: https://phabricator.apertis.org/T9068