Bug 1826252
Summary: | preserve integers decoding raw JSON values | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Lukasz Szaszkiewicz <lszaszki> |
Component: | kube-apiserver | Assignee: | Lukasz Szaszkiewicz <lszaszki> |
Status: | CLOSED ERRATA | QA Contact: | Ke Wang <kewang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.5 | CC: | aos-bugs, kewang, mfojtik |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:29:34 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
Lukasz Szaszkiewicz
2020-04-21 10:22:58 UTC
Per upstream PR https://github.com/kubernetes/kubernetes/pull/89833, this bug involves kube-openapi number/integer validation and related tests. So to verify it, we have to run related unit tests. First, confirmed that the fix has been in latest OCP build 4.5.0-0.nightly-2020-04-27-204255, $ oc adm release info --commits registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-04-27-204255 |grep origin ... tests https://github.com/openshift/origin 3be2bc25e67441e67a682a790352a568e5b37144 $ git log --date local --pretty="%h %an %cd - %s" 3be2bc25 | grep -i '#24879' b3d92878a2 OpenShift Merge Robot Tue Apr 21 20:17:36 2020 - Merge pull request #24879 from p0lyn0mial/crd-preserve-integers Run the related unit tests to verify, $ cd openshift/origin/vendor/k8s.io/kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema $ go test -v -run Test* ... === RUN TestStructuralRoundtripOrError --- PASS: TestStructuralRoundtripOrError (0.40s) convert_test.go:36: seed = 1588058196223859844 === RUN TestStructuralRoundtrip --- PASS: TestStructuralRoundtrip (1.64s) goopenapi_test.go:36: seed = 1588058196621510950 === RUN TestStructuralUnfoldIntOrString --- PASS: TestStructuralUnfoldIntOrString (0.00s) === RUN TestValidateNestedValueValidationComplete --- PASS: TestValidateNestedValueValidationComplete (0.00s) PASS ok k8s.io/apiextensions-apiserver/pkg/apiserver/schema 2.069s Related tests all are passed, move the bug verify. 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-2020:2409 |