Bug 2040793

Summary: Fix snapshot e2e failures
Product: OpenShift Container Platform Reporter: Hemant Kumar <hekumar>
Component: StorageAssignee: Hemant Kumar <hekumar>
Storage sub component: Kubernetes QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, fbertina, jsafrane
Version: 4.10   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:39:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 5 Jan Safranek 2022-01-24 14:16:44 UTC
To be able to search for this, affected tests:

: External Storage [Driver: ebs.csi.aws.com] [Testpattern: Pre-provisioned Snapshot (delete policy)] snapshottable[Feature:VolumeSnapshotDataSource] volume snapshot controller should check snapshot fields, check restore correctly works after modifying source data, check deletion (persistent) expand_more	2m27s
: External Storage [Driver: ebs.csi.aws.com] [Testpattern: Dynamic Snapshot (retain policy)] snapshottable[Feature:VolumeSnapshotDataSource] volume snapshot controller should check snapshot fields, check restore correctly works after modifying source data, check deletion (persistent) expand_more	1m59s
: External Storage [Driver: ebs.csi.aws.com] [Testpattern: Pre-provisioned Snapshot (retain policy)] snapshottable[Feature:VolumeSnapshotDataSource] volume snapshot controller should check snapshot fields, check restore correctly works after modifying source data, check deletion (persistent) expand_more	2m47s
: External Storage [Driver: ebs.csi.aws.com] [Testpattern: Dynamic Snapshot (delete policy)] snapshottable[Feature:VolumeSnapshotDataSource] volume snapshot controller should check snapshot fields, check restore correctly works after modifying source data, check deletion (persistent) expand_more	2m15s


Error message:
fail [k8s.io/kubernetes.0/test/e2e/framework/util.go:603]: Unexpected error:
    <exec.CodeExitError>: {
        Err: {
            s: "error running /usr/bin/kubectl --server=https://api.ci-op-xhmv4s23-2550a.aws-2.ci.openshift.org:6443 --kubeconfig=/tmp/kubeconfig-336005273 --namespace=e2e-snapshotting-6009 exec restored-pvc-tester-tfwpc --namespace=e2e-snapshotting-6009 -- cat /mnt/test/data:\nCommand stdout:\n\nstderr:\ncat: can't open '/mnt/test/data': No such file or directory\ncommand terminated with exit code 1\n\nerror:\nexit status 1",
        },
        Code: 1,
    }
    error running /usr/bin/kubectl --server=https://api.ci-op-xhmv4s23-2550a.aws-2.ci.openshift.org:6443 --kubeconfig=/tmp/kubeconfig-336005273 --namespace=e2e-snapshotting-6009 exec restored-pvc-tester-tfwpc --namespace=e2e-snapshotting-6009 -- cat /mnt/test/data:
    Command stdout:
    
    stderr:
    cat: can't open '/mnt/test/data': No such file or directory
    command terminated with exit code 1
    
    error:
    exit status 1
occurred

Comment 9 Wei Duan 2022-01-26 02:07:49 UTC
Checked more result and not seeing the failure. 
Update the status to "Verified"

Comment 12 errata-xmlrpc 2022-03-10 16:39:45 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056