Bug 1724574 - CSI Mock tests don't work
Summary: CSI Mock tests don't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.2.0
Assignee: Jan Safranek
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-27 10:46 UTC by Jan Safranek
Modified: 2019-10-16 06:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:32:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:32:53 UTC

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


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