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

.github: conformance: use matrix.config.name. #79

Merged
merged 1 commit into from
May 8, 2024

Conversation

tommyp1ckles
Copy link
Collaborator

@tommyp1ckles tommyp1ckles commented May 7, 2024

Old VPCs/LBs are not being cleaned up, and I can't figure out what jobs they're failing on. So this refactors the create test env script a bit to pass run id/number as well as cilium_version and test_name separately, then we can write these to the test infra tags to help us figure out what cloud resources belong to what test run.

As well, the naming is still failing so I'm going to just do md5sum($run_id-$run_number-$random) to (hopefully) make it extremely unlikely of a collision.

@tommyp1ckles tommyp1ckles force-pushed the pr/tp/use-correct-name-field branch from 8cbb7a9 to abbc1aa Compare May 7, 2024 21:33
As well, tag resources with test name, cilium version and url to github
workflow.

This will help us trace back where some of these leaked/uncleaned vpcs
are coming from.

Signed-off-by: Tom Hadlaw <[email protected]>
@tommyp1ckles tommyp1ckles force-pushed the pr/tp/use-correct-name-field branch from abbc1aa to abae00d Compare May 7, 2024 21:36
Copy link
Collaborator

@PhilipSchmid PhilipSchmid left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

It perhaps failed before because of the ${{ matrix.name }} value, which wasn't correctly parsed (maybe because it has spaces in it?). For example, by having a look at the raw log outputs from failed tasks from https://github.com/isovalent/terraform-aws-talos/actions/runs/8875975603/, we can see --pr looked like this:

2024-04-29T09:02:12.3657830Z �[36;1m  --pr "terraform-aws-talos-8875975603-166-1--v1.15.1-v1.6.5" \�[0m
2024-04-29T09:02:08.8963522Z �[36;1m  --pr "terraform-aws-talos-8875975603-166-1--v1.15.1-v1.6.5" \�[0m
2024-04-29T09:06:22.3607777Z �[36;1m  --pr "terraform-aws-talos-8875975603-166-1--v1.15.1-v1.5.4" \�[0m

There we see -- which means ${{ matrix.name }}, which should be in between those -, was empty.

@tommyp1ckles tommyp1ckles merged commit 24caef4 into main May 8, 2024
3 of 8 checks passed
@PhilipSchmid PhilipSchmid deleted the pr/tp/use-correct-name-field branch June 12, 2024 09:42
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.

2 participants