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

Add integ tests for EKS windows #387

Merged
merged 14 commits into from
Mar 7, 2024
Merged

Conversation

KlwntSingh
Copy link
Contributor

@KlwntSingh KlwntSingh commented Feb 20, 2024

Description of changes

  1. Added terraform templates for fluentbit and CW agent on windows.
  2. Fix fluentbit tests for Windows

License

Tests

Link to Integ tests results for both Linux and Windows. CW agent runs successfully on Both Linux and Windows. Fluenbit fails due to timeout issue when destroying the cluster. There is no issue in functional working of fluentbit.
https://github.com/aws/private-amazon-cloudwatch-agent-staging/actions/runs/8175470234/job/22352686273

1. Added terraform templates for fluentbit and CW agent on windows.
2. Fix fluentbit tests for Windows
@KlwntSingh KlwntSingh requested a review from a team as a code owner February 20, 2024 19:36

variable "k8s_version" {
type = string
default = "1.24"
Copy link
Contributor

Choose a reason for hiding this comment

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

is 1.24 intentional? Like is it valuable to test the oldest supported EKS release?
1.24 looks like it is EOL other than extended support - https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This version is default is in our integ tests, GHA specifies the actual version that should be used for tests. 1.24 is default version for other terraform templates as well.

chadpatel
chadpatel previously approved these changes Feb 20, 2024
mitali-salvi
mitali-salvi previously approved these changes Feb 20, 2024
@KlwntSingh KlwntSingh dismissed stale reviews from mitali-salvi and chadpatel via 78c6d0d February 23, 2024 18:22
@KlwntSingh KlwntSingh changed the base branch from main to main-ciwindows February 23, 2024 18:24
@KlwntSingh KlwntSingh changed the base branch from main-ciwindows to main February 28, 2024 21:04
@KlwntSingh KlwntSingh force-pushed the main-addIntegTests branch from ac859d9 to 0b9a30d Compare March 4, 2024 04:02
testDir: "./test/metric_value_benchmark",
terraformDir: "terraform/eks/daemon/windows/2022",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you check if /test/emf is testing any specific feature and implement it for windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @nathalapooja,
these emf test are testing emf receiver/exporter in CW agent.
Since CI tests are indirectly testing emf already, this particular test can be skipped for Windows at the moment but it is still good to have this test for Windows.
I will work on adding this test for Windows as post-release activity.

@KlwntSingh KlwntSingh merged commit 1f5a5d7 into aws:main Mar 7, 2024
2 checks passed
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.

4 participants