-
Notifications
You must be signed in to change notification settings - Fork 445
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
OBS "pull_request" workflow succeeds only in 3rd attempt #12661
Comments
I've merged my PR, which unfortunately deleted the OBS project. But the status was good there, anyway. |
I just wanted to mention that we regularly see the same problem (just that the http status usually is 504 when it fails). |
@perlpunk what exactly is happening? There is no guaranteed delivery of the webhooks send to the OBS or or notifications OBS sends to github. Things can be down, broken or otherwise in bad shape. In that case the solution is: manual retrigger. So what exactly happens? And where, when etc.? Please provide some details. TIA |
We regularly (on average maybe once a week) have the problem that for a pull request like this os-autoinst/openQA#5878 we don't see the OBS SCM integration finishing. Usually the OBS branched project is created, but almost empty except for a In the webhook delivery log we usually see a 504 response from OBS, with an empty header and body. Now, if the delivery is still in the webhook logs, we can go there and retrigger it, but already that is annoying, and apparently there can be also 504 failures that still result in a successful OBS build, so we need to find out which hook delivery we want to retrigger. If it's not there, apparently a force push like after a rebase will work. I can understand that things can fail, but I don't see such things happen for other services, and I'm just wondering if there is something to make it easier to retrigger something without having to remember a lot of manual steps. And experience shows that people don't just do it, it's usually only one or two persons who realize there's something missing and then do something about it. We are currently trying several things. We are tracking this here: If there is no easy solution on the OBS side, ok. I just wanted to note it here and ask if there are hints what to do about it. |
Also we have several OBS webhooks configured, and everyone who isn't yet familiar with this has no idea which of the webhooks they need to select (because github has no way of documenting them like giving them a label). |
Issue Description
I use an OBS
pull_request
workflow triggered by an Github webhook for CI. This worked only after re-triggering the webhook 2x from the GH web UI (i.e. the 3rd invocation of the workflow worked). The original delivery (created automatically by GH when the PR was updated) failed with error 400 (service in progress
). The 2nd one (manual redelivery) succeeded, but created a bogus branch package. The 3rd one (another redelivery) went as expected.Expected Result
Workflow succeeds the first time.
How to Reproduce
This happened to me 2 times. I am not sure if it's always reproducible.
I use this worlkflows.yml on my master branch
I deleted the target project. In my experience this is necessary if anything went wrong or must be fixed wrt the respository setup of the target project
I pushed to Fixes for bsc#1199873 and bsc#1200107 suse-module-tools#60, triggering the webhook ce58aa50-e249-11ec-9a5b-9335ee20e1aa at 2022-06-02 09:58:38 (workflow 43277), which failed with error code 400
I deleted the target project again, waited a while, and redelivered the same webhook from the GH UI. This time workflow 43280 succeeded, but it created a bogus branch package containing just a single file
_branch_request
:I deleted the target project once more, waited, and redelivered the webhook again. workflow 43283 suceeded and successfully branched and compiled my package
The text was updated successfully, but these errors were encountered: