Skip to content

Integration tests are broken post code cleanup #1021

@kishen-v

Description

@kishen-v

/kind bug

What happened?
Integration tests are broken post code cleanup - ref: https://github.com/kubernetes-sigs/ibm-powervs-block-csi-driver/actions/runs/19597857838/job/56124961963

I1122 16:08:18.616749   15411 integration_test.go:84] Deleted volume 1b89b0ba-0e3b-4914-a75c-e13d7bffaa6d in 2.430672327s
------------------------------
• [FAILED] [70.225 seconds]
IBM PowerVS CSI Driver [It] Should create, attach, stage and mount volume, check if it's writable, unmount, unstage, detach, delete, and check if it's deleted
/home/runner/work/ibm-powervs-block-csi-driver/ibm-powervs-block-csi-driver/tests/it/integration_test.go:58

  [FAILED] failed staging volume 1b89b0ba-0e3b-4914-a75c-e13d7bffaa6d to path /tmp/ibm-powervs-csi-driver-it-2810835570587237068/stage
  Expected
      <*status.Error | 0xc0000ae228>: 
      rpc error: code = InvalidArgument desc = WWN ID is not provided or empty
      {
          s: {
              s: {
                  state: {
                      NoUnkeyedLiterals: {},
                      DoNotCompare: [],
                      DoNotCopy: [],
                      atomicMessageInfo: nil,
                  },
                  sizeCache: 0,
                  unknownFields: nil,
                  Code: 3,
                  Message: "WWN ID is not provided or empty",
                  Details: nil,
              },
          },
      }
  to be nil
  In [It] at: /home/runner/work/ibm-powervs-block-csi-driver/ibm-powervs-block-csi-driver/tests/it/integration_test.go:144 @ 11/22/25 16:08:18.616

What you expected to happen?
Successful runs of integration tests

How to reproduce it (as minimally and precisely as possible)?
Run integration tests.

Anything else we need to know?:
The behaviour is flakey and requires to be handled more rigorously in the driver-code.

Environment

  • Kubernetes version (use kubectl version): 1.34.0
  • Driver version: main

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions