Bug 2081084 - [rebase v1.24] [sig-instrumentation] Events API should ensure that an event can be fetched, patched, deleted, and listed
Summary: [rebase v1.24] [sig-instrumentation] Events API should ensure that an event c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-apiserver
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.11.0
Assignee: Abu Kashem
QA Contact: Ke Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-02 17:41 UTC by Abu Kashem
Modified: 2022-08-10 11:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:09:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:10:20 UTC

Description Abu Kashem 2022-05-02 17:41:27 UTC
failing test: [sig-instrumentation] Events API should ensure that an event can be fetched, patched, deleted, and listed

blob:https://prow.ci.openshift.org/d1c8515e-8da6-471a-aa15-f2378f6671e7

{  fail [k8s.io/kubernetes.0/test/e2e/instrumentation/events.go:138]: failed to patch the test event
Unexpected error:
    <*errors.StatusError | 0xc002384280>: {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "Event \"event-test\" is invalid: message: Invalid value: \"This is a test event - patched\": field is immutable",
            Reason: "Invalid",
            Details: {
                Name: "event-test",
                Group: "",
                Kind: "Event",
                UID: "",
                Causes: [
                    {
                        Type: "FieldValueInvalid",
                        Message: "Invalid value: \"This is a test event - patched\": field is immutable",
                        Field: "message",
                    },
                ],
                RetryAfterSeconds: 0,
            },
            Code: 422,
        },
    }
    Event "event-test" is invalid: message: Invalid value: "This is a test event - patched": field is immutable
occurred}


https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_kubernetes/1248/pull-ci-openshift-kubernetes-master-e2e-aws-cgroupsv2/1520465065701019648


This could be as a result of running origin/test (from previous version v1.23) against an apiserver (v1.24 with rebase PR)


for now the test is disabled to facilitate rebase: https://github.com/openshift/origin/pull/27086

Comment 1 Wally 2022-06-10 14:58:03 UTC
Awaiting results of origin test merge to validate if this issue is fixed - https://github.com/openshift/origin/pull/27235

Comment 2 Michal Fojtik 2022-06-14 14:48:07 UTC
The PR linked by Wally was closed and replaced by https://github.com/openshift/origin/pull/27244

This PR updates the test suite which includes 1.24 kubernetes tests. This change has been reverted already couple times as it caused our overall stability to decrease ~7% (azure and multi-arch). The updated PR include minor kubernetes bump which should include fixes that should prevent stability decrease.

Comment 3 ravig 2022-06-15 21:51:43 UTC
https://github.com/openshift/origin/pull/27258 is the PR which enables the tests again.

Comment 4 Rahul Gangwar 2022-06-17 15:03:31 UTC
As discussed with ravig moving this bug to verified
https://coreos.slack.com/archives/CS05TR7BK/p1655477114947859?thread_ts=1655476582.286299&cid=CS05TR7BK

Comment 7 errata-xmlrpc 2022-08-10 11:09:59 UTC
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069


Note You need to log in before you can comment on or make changes to this bug.