Bug 1724574

Summary: CSI Mock tests don't work
Product: OpenShift Container Platform Reporter: Jan Safranek <jsafrane>
Component: StorageAssignee: Jan Safranek <jsafrane>
Status: CLOSED ERRATA QA Contact: Chao Yang <chaoyang>
Severity: low Docs Contact:
Priority: low    
Version: 4.2.0CC: aos-bugs, aos-storage-staff, calfonso, piqin
Target Milestone: ---   
Target Release: 4.2.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: 2019-10-16 06:32:41 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 Jan Safranek 2019-06-27 10:46:10 UTC
"CSI mock volume" tests are disabled in Origin because the external attacher fails with:

csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.507483       1 connection.go:116] Still trying, connection is CONNECTING
csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.507530       1 connection.go:116] Still trying, connection is TRANSIENT_FAILURE
csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.875821       1 connection.go:109] Connection timed out
csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.875894       1 connection.go:242] GRPC call: /csi.v1.Identity/Probe
csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.875898       1 connection.go:243] GRPC request: {}
csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.876877       1 connection.go:245] GRPC response: {}
csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.877258       1 connection.go:246] GRPC error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure
csi-mockplugin-attacher-0/csi-attacher: I0627 10:41:28.877267       1 main.go:214] Probe failed with rpc error: code = Unavailable desc = all SubConns are in TransientFailure

We should fix the tests and enable them to improve our test coverage.

Comment 1 Jan Safranek 2019-06-27 11:42:57 UTC
The tests are failing because of SELinux. Fix: https://github.com/kubernetes/kubernetes/pull/79467

Comment 2 Jan Safranek 2019-06-28 08:41:25 UTC
Origin PR: https://github.com/openshift/origin/pull/23295

Comment 5 errata-xmlrpc 2019-10-16 06:32:41 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, 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:2922