action #131555
closedBroken OBS CI integration for os-autoinst size:S
Description
Observation¶
Some OBS projects don't get cleaned up when a PR is merged or closed.
https://build.opensuse.org/project/subprojects/devel:openQA
Also the service is triggered for already closed PRs.
Examples:
- https://build.opensuse.org/package/show/devel:openQA:GitHub:os-autoinst:os-autoinst:PR-2308/os-autoinst It was triggered 2023-06-28 13:52 UTC, but the PR was closed on May 3
- https://build.opensuse.org/package/show/devel:openQA:GitHub:os-autoinst:os-autoinst:PR-2299/os-autoinst Triggered 2023-06-28 13:52 UTC but the PR was closed April 14
A recent PR did not report any results back to github. The branched package only had one file, _branch_request
For openQA I just also found a leftover: https://github.com/os-autoinst/openQA/pull/4884
https://build.opensuse.org/package/show/devel:openQA:GitHub:os-autoinst:openQA:PR-4884/openQA
And this was triggered 2023-06-28 03:31 UTC. I can't even find any webhook trigger in our openQA webhook log at that time.
Acceptance Criteria¶
- AC1: OBS CI integration works again as expected
Suggestions¶
- Ask OBS people in chat if they know the problem or can help to debug
Updated by dheidler over 1 year ago
- Subject changed from Broken OBS CI integration for os-autoinst to Broken OBS CI integration for os-autoinst size:S
- Description updated (diff)
- Status changed from New to Workable
Updated by tinita about 1 year ago
- Status changed from Workable to In Progress
- Assignee set to tinita
Updated by tinita about 1 year ago
- Status changed from In Progress to Feedback
I cleaned up old projects in https://build.opensuse.org/project/subprojects/devel:openQA:GitHub for now, where the pull requests were closed already, to have a clean state.
I will watch a bit in the next days if closed PRs will result in the projects getting deleted, and if not, then I can ask OBS people with a concrete, recent example.
Slightly related, we have a lot of open but old PRs in https://github.com/os-autoinst/openQA/pulls and it would be good if some of them could be deleted or updated.
Updated by tinita about 1 year ago
One thing I could clarify is what to do when OBS tests are not showing up:
- Go to Webhooks and find the failed request pull_request.opened
- Go to the (empty) OBS branched project and delete it, e.g. https://build.opensuse.org/package/show/devel:openQA:GitHub:os-autoinst:openQA:PR-number/openQA
- Now click on "Redeliver" for the webhook requests: first the
pull_request.opened
, and then the latestpull_request.synchronized
belonging to that PR in order to tell OBS the latest commit sha.
There is a ticket for OBS avoiding failed branches: https://trello.com/c/8LUmlVIr
Updated by tinita about 1 year ago
- Status changed from Feedback to Resolved
Currently there are no leftover OBS projects - I was asked to resolve the ticket as we don't care about leftover projects right now.