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

Added SetResponsibleTeam to associate teams with test cases #540

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AverageMarcus
Copy link
Member

What this PR does

Towards: https://github.com/giantswarm/giantswarm/issues/32040

A list of the teams responsible for failing tests can be retrieved using something like the following:

cat out/test-results.json | \
  jq -r '[.[].SpecReports[] | select(.State == "failed") | ((.ReportEntries // [])[] | select(.Name=="TEAM") | .Value.Representation)] | unique'

Checklist

  • Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

@AverageMarcus AverageMarcus requested a review from a team as a code owner November 8, 2024 15:53
Copy link
Member

@njuettner njuettner left a comment

Choose a reason for hiding this comment

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

👍🏻

@tinkerers-ci
Copy link

tinkerers-ci bot commented Nov 8, 2024

Oh No! 😱 At least one test suite has failed during the AfterSuite cleanup stage and might have left around some resources on the MC!

Be sure to check the full results in Tekton Dashboard to see which test suite has failed and then run the following on the associated MC to list all leftover resources:

PIPELINE_RUN="pr-cluster-test-suites-540-cluster-test-suitesvvk2h"

NAMES="$(kubectl api-resources --verbs list -o name | tr '\n' ,)"
kubectl get "${NAMES:0:${#NAMES}-1}" --show-kind --ignore-not-found -l cicd.giantswarm.io/pipelinerun=${PIPELINE_RUN} -A 2>/dev/null

@tinkerers-ci
Copy link

tinkerers-ci bot commented Nov 8, 2024

cluster-test-suites

Run name pr-cluster-test-suites-540-cluster-test-suitesvvk2h
Commit SHA 998177d
Result Failed ❌

📋 View full results in Tekton Dashboard

Rerun trigger:
/run cluster-test-suites


Tip

To only re-run the failed test suites you can provide a TARGET_SUITES parameter with your trigger that points to the directory path of the test suites to run, e.g. /run cluster-test-suites TARGET_SUITES=./providers/capa/standard to re-run the CAPA standard test suite. This supports multiple test suites with each path separated by a comma.

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