-
Notifications
You must be signed in to change notification settings - Fork 102
Changes in e2e tests setup required for running them in prow job environment #862
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
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.
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- hack/e2e-test/run-e2e-test.sh: Language not supported
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.
Overall looks good, just few doubts:
/test pull-etcd-backup-restore-e2e-kind |
…ronment (gardener#862) * use apt instead of pip to install awscli * install whole gcloud sdk instead of just gsutil * fix a failing test * fix another failing test after rebase on master * improve error handling when failure in creating buckets
* Support non-HA autonomous clusters (#764) * Changes in e2e tests setup required for running them in prow job environment (#862) * use apt instead of pip to install awscli * install whole gcloud sdk instead of just gsutil * fix a failing test * fix another failing test after rebase on master * improve error handling when failure in creating buckets --------- Co-authored-by: Anvesh Reddy Pinnapureddy <anvesh.reddy.pinnapureddy@sap.com>
How to categorize this PR?
/area testing
/kind test
What this PR does / why we need it:
The PR #743 restored the e2e tests and made them run with cloud providers(real infra & their emulators), to make that happen it installs the provider CLIs such as
awscli
,az
andgcloud
to interact with both real providers and emulators. The current code usespip3
to install these CLI tools but we plan to run these tests in prow environment where they run inside a Debian linux container where pip3 is not present by default. So the PR makes changes to install these tools usingapt
pkg manager which is native to Debian environments.This PR also fixes a failing e2e test case where the
pgrep
command to get the PID of theetcd-wrapper
process is not working as intended, changed it to use combination ofps
,grep
andawk
through piping.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: