Bug 1612023
Summary: | Met panic when set build hook with a empty file | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | XiuJuan Wang <xiuwang> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.11.0 | CC: | aos-bugs, jokerman, mmccomas |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 3.11.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
When processing resources empty files were not omitted.
Consequence:
oc set build might cause a panic when encountered empty file.
Fix:
Properly handle situation with empty file.
Result:
oc set buildhook works as expected.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-14 02:17:59 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: |
Description
XiuJuan Wang
2018-08-03 09:36:28 UTC
Waiting for puddle newer than v3.11.0-0.11.0. Verified with oc v3.11.0-0.13.0 client $ oc set build-hook -f /tmp/emptyfile.json --post-commit=true --script=bundle\ exec\ rake\ test -n d54w3 error: no resources found Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0407 |