Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Operator E2E Fails Ephemeral Volume Tests on OCP (PowerStore, Unity) #1678

Closed
ChristianAtDell opened this issue Jan 15, 2025 · 2 comments
Assignees
Labels
area/csm-operator type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@ChristianAtDell
Copy link

ChristianAtDell commented Jan 15, 2025

Bug Description

When running the end-to-end test script on an OCP cluster version 4.18, the ephemeral volume tests fail for both PowerStore and Unity platforms.

Logs

Unity:

I0106 03:52:03.214235 321620 util.go:645] Running cert-csi [test ephemeral-volume --pods 1 --driver csi-unity.dellemc.com --attr testfiles/unity-templates/ephemeral.properties]
[2025-01-06 03:52:03] INFO Starting cert-csi; ver. 1.6.0
[2025-01-06 03:52:03] INFO Using EVENT observer type
[2025-01-06 03:52:03] INFO Using config from /root/.kube/config
[2025-01-06 03:52:03] INFO Successfully loaded config. Host: https://xxxx
[2025-01-06 03:52:03] INFO Created new KubeClient
[2025-01-06 03:52:03] INFO Using default image: quay.io/centos/centos:latest
[2025-01-06 03:52:03] INFO Creating 1 pods, each with 1 volumes
[2025-01-06 03:52:03] INFO Waiting for all pods in functional-test to be READY
[2025-01-06 03:52:19] INFO All pods are ready in 16.024857033s
[2025-01-06 03:52:19] INFO Writing to Volume on pod-ephemeral-test-ndzfg
[2025-01-06 03:52:19] INFO Executing command: [dd if=/dev/urandom of=/data/blob.data bs=1M count=128 oflag=sync]
[2025-01-06 03:52:19] ERROR Suite EphemeralVolumeSuite failed; error=command terminated with exit code 1
[2025-01-06 03:52:19] INFO FAILURE: EphemeralVolumeSuite in 16.393018269s
[2025-01-06 03:52:19] INFO Trying to connect to cluster...
[2025-01-06 03:52:19] INFO Created new KubeClient
[2025-01-06 03:52:19] FATAL During this run 0.0% of suites succeeded

err: error running custom test #1. Error: error running cert-csi [test ephemeral-volume --pods 1 --driver csi-unity.dellemc.com --attr testfiles/unity-templates/ephemeral.properties]; got error exit status 1, stdout "[2025-01-06 03:52:03] INFO Using EVENT observer type\n[2025-01-06 03:52:03] INFO Using config from /root/.kube/config\n[2025-01-06 03:52:03] INFO Successfully loaded config. Host: https://api.ocputy.hop.lab.emc.com:6443\n[2025-01-06 03:52:03] INFO Created new KubeClient\n[2025-01-06 03:52:03] INFO Using default image: quay.io/centos/centos:latest\n[2025-01-06 03:52:03] INFO Creating 1 pods, each with 1 volumes\n[2025-01-06 03:52:03] INFO Waiting for all pods in functional-test to be READY\n[2025-01-06 03:52:19] INFO All pods are ready in 16.024857033s\n[2025-01-06 03:52:19] INFO Writing to Volume on pod-ephemeral-test-ndzfg\n[2025-01-06 03:52:19] INFO Executing command: [dd if=/dev/urandom of=/data/blob.data bs=1M count=128 oflag=sync]\n[2025-01-06 03:52:19] ERROR Suite EphemeralVolumeSuite failed; error=command terminated with exit code 1\n[2025-01-06 03:52:19] INFO FAILURE: EphemeralVolumeSuite in 16.393018269s\n[2025-01-06 03:52:19] INFO Trying to connect to cluster...\n[2025-01-06 03:52:19] INFO Created new KubeClient\n[2025-01-06 03:52:19] FATAL During this run 0.0% of suites succeeded\n", stderr "[2025-01-06 03:52:03] INFO Starting cert-csi; ver. 1.6.0\n"
stdout:
stderr:

PowerStore:

I0106 11:45:25.124892 75034 util.go:645] Running cert-csi [test ephemeral-volume --pods 1 --driver csi-powerstore.dellemc.com --attr testfiles/powerstore-templates/ephemeral.properties]
[2025-01-06 11:45:25] INFO Starting cert-csi; ver. 1.6.0
[2025-01-06 11:45:25] INFO Using EVENT observer type
[2025-01-06 11:45:25] INFO Using config from /root/.kube/config
[2025-01-06 11:45:25] INFO Successfully loaded config. Host: https://xxxx
[2025-01-06 11:45:25] INFO Created new KubeClient
[2025-01-06 11:45:25] INFO Successfully created namespace functional-test
[2025-01-06 11:45:25] INFO Using default image: quay.io/centos/centos:latest
[2025-01-06 11:45:25] INFO Creating 1 pods, each with 1 volumes
[2025-01-06 11:45:25] INFO Waiting for all pods in functional-test to be READY
[2025-01-06 11:45:47] INFO All pods are ready in 22.01011083s
[2025-01-06 11:45:47] INFO Writing to Volume on pod-ephemeral-test-2lspm
[2025-01-06 11:45:47] INFO Executing command: [dd if=/dev/urandom of=/data/blob.data bs=1M count=128 oflag=sync]
[2025-01-06 11:45:47] ERROR Suite EphemeralVolumeSuite failed; error=command terminated with exit code 1
[2025-01-06 11:45:47] INFO FAILURE: EphemeralVolumeSuite in 22.351133472s
[2025-01-06 11:45:47] INFO Trying to connect to cluster...
[2025-01-06 11:45:47] INFO Created new KubeClient

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Run "run-e2e-test.sh" with arguments "--pstore --no-modules" or "--unity --no-modules"

Expected Behavior

Tests pass.

CSM Driver(s)

PowerStore v2.12.0
Unity v2.12.0

Installation Type

Operator

Container Storage Modules Enabled

No response

Container Orchestrator

OCP 4.18

Operating System

RHEL9

@ChristianAtDell ChristianAtDell added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Jan 15, 2025
@ChristianAtDell ChristianAtDell added area/csm-operator and removed needs-triage Issue requires triage. labels Jan 15, 2025
@ChristianAtDell
Copy link
Author

link: ECS01B-7

@ChristianAtDell
Copy link
Author

Fixed in this PR: dell/csm-operator#861

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csm-operator type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

2 participants