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

test/aws: disable, enable and fix tests #2262

Merged
merged 5 commits into from
Jan 30, 2025

Conversation

wainersm
Copy link
Member

A couple of changes I needed to pass the e2e tests for AWS.

Apparently the creation of a bucket is not idempotent,
double-creation has thrown an error. This changed the logic to
only try to create it in case it doesn't exists.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
@wainersm wainersm added provider/aws Issues related to AWS CAA provider e2e-test labels Jan 24, 2025
@wainersm wainersm requested a review from a team as a code owner January 24, 2025 20:59
The TestAwsCreatePeerPodContainerWithInvalidAlternateImage has a wrong expected
error message. Fixed it.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
The test for ConfigMap is passing, so let's re-enable it.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
The TestAwsCreateNginxDeployment is no longer passing.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
To test init containers on AWS peer pods.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
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.

LGTM. Thanks!

@@ -101,13 +101,19 @@ func TestAwsDeletePod(t *testing.T) {
}

func TestAwsCreateNginxDeployment(t *testing.T) {
t.Skip("Test not passing")
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, isn't this a basic test? Any idea why is it failing ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @bpradipt !

The nginx test was unstable on libvirt while ago (#2046) but then got re-enabled recently. Interestingly that I tried to reproduce the fails locally many time but I never caught it, it seems something related with CI environment. As for AWS, I didn't have time to debug it yet....

Copy link
Member

Choose a reason for hiding this comment

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

Thanks @wainersm. I was just curious :-) ..

Copy link
Member

@bpradipt bpradipt left a comment

Choose a reason for hiding this comment

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

/lgtm

@wainersm wainersm merged commit c80bb43 into confidential-containers:main Jan 30, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e-test provider/aws Issues related to AWS CAA provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants