Skip to content

Conversation

@Pacho20
Copy link
Contributor

@Pacho20 Pacho20 commented Jan 6, 2026

This PR introduces improvements to E2E tests and configuration related to IBM Cloud.

  • Add CONTAINER_RUNTIME to E2E properties
    Enables defining crio as the container runtime instead of containerd (crio is the default on ROKS).
  • Add new instance profiles for E2E tests
    Introduces profiles supporting confidential computing on x86_64 machines.
    Updated memory and CPU annotations in several test cases to match the increased resources of these profiles.
  • Fix E2E test assertions for PeerPods state
    Adjusted assertions in tests where PeerPods remain in Pending instead of transitioning to Failed.
    Although the expected event occurs, the tests were failing due to incorrect state checks.
    I only ran these tests on IBM Cloud and never observed a PeerPod going into Failed state, so I assume Pending is the expected behavior. Let me know whether it's a bug or normal behavior.

Add CONTAINER_RUNTIME to E2E properties. This allows defining
crio as the runtime instead of containerd, which is used
on ROKS.

Signed-off-by: Patrik Fodor <[email protected]>
Introduced new instance profiles for E2E tests that support
confidential computing on x86_64 machines. These profiles have
different CPU and memory configurations, so memory and CPU
annotations in several test cases were updated accordingly.

Signed-off-by: Patrik Fodor <[email protected]>
@Pacho20 Pacho20 requested a review from a team as a code owner January 6, 2026 10:50
Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test changes look reasonable to me. It would be good to see the output of a manual run done in the PR comments as we have no automation that covers this

Update test assertions for:
- DoTestPodVMwithAnnotationsInvalidInstanceType
- DoTestPodVMwithAnnotationsLargerMemory
- DoTestPodVMwithAnnotationsLargerCPU

In these cases, PeerPods do not transition to the Failed state but
remain in the Pending state. Although the expected event occurs,
the tests were failing due to incorrect state checks.

Signed-off-by: Patrik Fodor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants