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

launch canary test once a day #1141

Merged
merged 1 commit into from
Apr 19, 2024
Merged

launch canary test once a day #1141

merged 1 commit into from
Apr 19, 2024

Conversation

adam-mateen
Copy link
Contributor

@adam-mateen adam-mateen commented Apr 19, 2024

Description of the issue

We previously had a canary test against a private S3 bucket.
We stopped updating that private S3 bucket.
We should have a canary test that exercises the same download/install mechanisms that users use.
(aka post release testing)

Description of changes

Related change - aws/amazon-cloudwatch-agent-test#404

The github workflow runs on a CRON schedule - once a day at 15:00 UTC.
The workflow just launches a long lived EC2 instance which has a local CRON job that runs a Go test.
The Go test will download, install, configure, and start the agent.
The test reports a few custom metrics.
And the agent obviously reports some metrics based on the simple config it is given.

After this change is merged I will add alarms on these various metrics in our test account.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Refer to the linked PR.

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@adam-mateen adam-mateen requested a review from a team as a code owner April 19, 2024 04:04
@zhihonl
Copy link
Contributor

zhihonl commented Apr 19, 2024

Maybe as a separate PR but do we also need to bring over the soak test? I see that both soak test and canary are removed from private repo https://github.com/aws/private-amazon-cloudwatch-agent-staging/pull/696/files

@adam-mateen adam-mateen merged commit d93e244 into main Apr 19, 2024
6 checks passed
@adam-mateen adam-mateen deleted the add-canary-test branch April 19, 2024 14:52
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