Bug 1653697
Summary: | OpenShift BitBucket webhook causes atomic-openshift-master-api service crash when pushing tagged commits | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Antti Rahikainen <antti.rahikainen> | ||||||||
Component: | Build | Assignee: | Ben Parees <bparees> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | wewang <wewang> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 3.9.0 | CC: | aos-bugs, wzheng | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2018-11-27 15:06:43 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Antti Rahikainen
2018-11-27 12:30:08 UTC
Created attachment 1508809 [details]
Failing BitBucket webhook payload
Created attachment 1508810 [details]
Succesful BitBucket webhook payload
Created attachment 1508811 [details]
openshift-logs
Seems to fixed on upstream 3.10: https://github.com/openshift/origin/blob/release-3.10/pkg/build/webhook/bitbucket/bitbucket.go if len(event.Push.Changes) == 0 || len(event.Push.Changes[0].Commits) == 0 So should this be backported to 3.9? Where: if len(event.Push.Changes) == 0 And webhook payload includes changes but no commits (just tags). We would only backport it if there is a specific customer request and that customer cannot reasonably upgrade to 3.10. Closing as won't fix for now, pending that request/requirement. |