-
Notifications
You must be signed in to change notification settings - Fork 20
Revert 35 revert 33 build docker for e2e #36
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
Conversation
3717a52
to
0597099
Compare
a30bc04
to
0597099
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a general question regarding using container for Github workflow:
The goal of E2E tests is making sure the ADOT Java is working as expected in both EC2 and EKS, which mimic customer behaviours while using ADOT Java. In this PR, we are creating container for workflow runs, does this mean any steps defined within that job will be executed within the context of this container? In this case, we are not running everything from scratch in EC2/EKS, where customer might not do the same. Will this conflict the original goal?
@zzhlogin the container Harry is adding here only installs things that we can assume customers will have installed already and without error, for example, git, eksctl, kubectl, awscli, as they would not be able to interact with their EKS cluster or EC2 instance effectively without them. These packages are also not core to what we are trying to test, which is the enablement of Application Signals on these platforms. Checking whether kubectl can be installed is not part of the scope of the test and has only been a blocker/transient issue that stops the actual test from running. |
The customer behavior we are trying to mimic is the act of deploying a sample app and installing app-signals on it. Those are running in the EKS cluster and EC2 environment which are deployed through Terraform. The docker container is for running the github workflow, which isn't part of the customer behavior mimicry but more for just running the E2E tests and it's not something we are expecting the customers to have. |
e1a8849
to
42134a5
Compare
3e05b71
to
42134a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed offline with Harry that a test run with a forced failure still behaves appropriately and sends failure metrics for our alarms.
*Issue #, if available:* Improve Python E2E tests with following changes and align with Java: 1. Run E2E in docker contianer, matching with Java PR: aws-observability/aws-application-signals-test-framework#36 2. Append testing id to sample-app-namespace, matching with Java PR: aws-observability/aws-application-signals-test-framework#38 Test workflow run: 1. EC2:https://github.com/aws-observability/aws-otel-python-instrumentation/actions/runs/8666582644 2. EKS: https://github.com/aws-observability/aws-otel-python-instrumentation/actions/runs/8667061312 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
…-35-revert-33-build-docker-for-e2e Revert 35 revert 33 build docker for e2e
…-35-revert-33-build-docker-for-e2e Revert 35 revert 33 build docker for e2e
…-35-revert-33-build-docker-for-e2e Revert 35 revert 33 build docker for e2e
…-35-revert-33-build-docker-for-e2e Revert 35 revert 33 build docker for e2e
*Issue #, if available:* 1. Change the Histogram metric name first character to be upper case. 2. Add resource detectors into resource creation. 3. Add opentelemetry-distro pkg into project dependency. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Co-authored-by: Prashant Srivastava <[email protected]>
Issue #, if available:
Had to revert this PR due to syntax error in the publish metric step. Reposting the change with error fixed
Test run: https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/8621464546
Also checked that the metric is present in the console
Test run after switching to ECR: https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/8644705184
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.