Workflow: openshift-e2e-vsphere-ccm

The Openshift E2E vSphere workflow using CCM as a primary mean to initialize nodes and create external LoadBalancers. Executes the common end-to-end test suite on vSphere to test updated cluster configuration.

Pre Steps

Name Description
ipi-vsphere-pre The IPI setup step contains all steps that provision an OpenShift cluster with a default configuration on vSphere.
ccm-conf-apply-feature-gate Apply custom featureGate configuration to cluster to enable CCM functionality
storage-conf-csi-vsphere The csi-vsphere step creates ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST} for vSphere CSI driver, which is consumed by openshift-e2e-test step to run CSI driver certification suite.
storage-conf-wait-for-csi-driver The storage-conf-wait-for-csi-driver step waits for a given CSI driver to be fully deployed. Since each ClusterCSIDriver uses different conditions, list of the conditions to wait for must be provided. Unfortunately, it's not possible to wait for a condition to get False, e.g. Progressing=False. The driver may not be fully deployed, however, at least one node has the CSI driver installed.
storage-conf-wait-for-csi-migration storage-conf-csi-migration-enable steps enables alpha feature gates for CSI migration of all in-tree volume plugins we have in OCP and waits for the chanegs to be reflected in kube-controller-manager and nodes. It expects that there is no volume present on the system that would be affected by the migration!

Test Steps

Name Description
openshift-e2e-test The Openshift E2E step executes the common end-to-end test suite.

Post Steps

Name Description
gather-core-dump The network step runs the must gather network tool to gather core dumps.
ccm-must-gather The must-gather step runs the must-gather tool to gather ccm artifacts.
ipi-vsphere-post The IPI cleanup step contains all steps that deprovision an OpenShift cluster on vSphere, provisioned by the `ipi-vsphere-pre` chain.


Image Exposed As Override[?] Required By Steps
release:latest OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE no ipi-install-install
RELEASE_IMAGE_LATEST no ipi-install-install


In addition to the default environment, the following variables are consumed through this workflow

Variable Name Variable Content Consumed By Steps
CLUSTERCSIDRIVER Name of ClusterCSIDriver instance to watch. storage-conf-wait-for-csi-driver
FIPS_ENABLED (default: false) ipi-conf
KCMO_IMAGE_OVERRIDE ccm-conf-apply-feature-gate
MCO_IMAGE_OVERRIDE ccm-conf-apply-feature-gate
OPENSHIFT_INSTALL_EXPERIMENTAL_DUAL_STACK Using experimental Azure dual-stack support (default: false) ipi-install-install
OPENSHIFT_INSTALL_PRESERVE_BOOTSTRAP Keep bootstrap resources after install. Warning: this should only be used for debugging purposes, and poses a risk to cluster stability. ipi-install-install
TEST_ARGS Additional arguments to be passed to 'openshift-test' openshift-e2e-test
TEST_CSI_DRIVER_MANIFEST The CSI driver manifest to create. Used by the `openshift-tests` as a manifest for openshift/csi tests. The file must be in ${SHARED_DIR}. storage-conf-csi-vsphere openshift-e2e-test
TEST_INSTALL_CSI_DRIVERS The CSI driver(s) to use. Used by the `openshift-tests` program, see its documentation for details. openshift-e2e-test
TEST_REQUIRES_SSH If the test suite requires SSH access, setting this variable will install a bastion and configure the Kube e2e test infrastructure to use the bastion. Otherwise, tests that require SSH will fail because OpenShift does not expose SSH to nodes by default. openshift-e2e-test
TEST_SKIPS Regular expression (POSIX basic regular expression) of tests to skip. It is suggested to test the regex to make sure that it matches with the available tests. Tests can be listed by using 'openshift-tests run --dry-run (...)'. Sometimes, the tests that are printed in Prow won't exactly match the list returned by openshift-tests. openshift-e2e-test
TEST_SUITE The test suite to run. Use 'openshift-test run --help' to list available suites. (default: openshift/conformance/parallel) openshift-e2e-test
TEST_TYPE The type of test to perform. * 'suite' - Run the test suite defined by TEST_SUITE. By default this executes the OpenShift parallel conformance suite. All product components must run the default suite on pull requests prior to merge. * 'suite-conformance' - Runs the test suite defined by TEST_SUITE, then runs the product conformance suite to verify the cluster is still functional. This is typically used for testing disruption from one suite, then confirming that the disruption did not degrade the product. * 'upgrade' - Perform an upgrade to the image defined by OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE. The TEST_UPGRADE_OPTIONS flag may be optionally set. All product components must run the default upgrade test (verify an upgrade completes) on pull requests prior to merge. * 'upgrade-conformance' - Performs the 'upgrade' test and then executes the full conformance suite after upgrade completes. Does not honor TEST_SUITE but will respect TEST_UPGRADE_OPTIONS. All product releases must pass the conformance suite after an upgrade completes or have explicit logic in their test to tolerate behavior after upgrade. * 'upgrade-paused' - Perform an upgrade to the images defined by OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE with paused worker pool. (default: suite) openshift-e2e-test
TEST_UPGRADE_OPTIONS Options controlling how an upgrade is performed. See `openshift-test run-upgrade --help` for more details. openshift-e2e-test
TEST_UPGRADE_SUITE The test suite to run in upgrade tests. Use 'openshift-test run --help' to list available suites. (default: all) openshift-e2e-test
TRUECONDITIONS Space-separated list of conditions that must be True. storage-conf-wait-for-csi-driver

Step Graph

Webreg Workflow "openshift-e2e-vsphere-ccm" cluster_3 Pre cluster_2 ipi-vsphere-pre cluster_0 ipi-conf-vsphere cluster_1 ipi-install-vsphere cluster_4 Test cluster_8 Post cluster_5 gather-core-dump cluster_7 ipi-vsphere-post cluster_6 gather 0 ipi-conf-vsphere-check 1 ipi-conf-vsphere-vips 0->1 2 ipi-conf-vsphere-lb 1->2 3 ipi-conf-vsphere-dns 2->3 4 ipi-conf 3->4 5 ipi-conf-vsphere 4->5 6 ipi-install-monitoringpvc 5->6 7 ipi-install-rbac 6->7 8 openshift-cluster-bot-rbac 7->8 9 ipi-install-install 8->9 10 ipi-install-vsphere-registry 9->10 11 ccm-conf-apply-feature-gate 10->11 12 storage-conf-csi-vsphere 11->12 13 storage-conf-wait-for-csi-driver 12->13 14 storage-conf-wait-for-csi-migration 13->14 15 openshift-e2e-test 14->15 16 gather-core-dump 15->16 17 ccm-must-gather 16->17 18 gather-must-gather 17->18 19 gather-extra 18->19 20 gather-audit-logs 19->20 21 ipi-deprovision-vsphere-diags 20->21 22 ipi-deprovision-deprovision 21->22 23 ipi-deprovision-vsphere-dns 22->23 24 ipi-deprovision-vsphere-lb 23->24

GitHub Link:




Source code for this page located on GitHub