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

Show App status when e2e tests fail to get the kubeconfig secret #3641

Closed
fiunchinho opened this issue Aug 19, 2024 · 1 comment · Fixed by giantswarm/cluster-test-suites#449
Assignees
Labels
team/tinkerers Team Tinkerers

Comments

@fiunchinho
Copy link
Member

fiunchinho commented Aug 19, 2024

I was wondering if it would be easy to print the App status when the kubeconfig secret doesn't even get created, because most of the times you could see a problem with the schema in the App status. For example, on this failed pipeline I need to login into the MC and get the App. It would be cool to see the error right here in the UI https://tekton.ci.giantswarm.io/#/namespaces/tekton-pipelines/pipelineruns/pr-cluster-aws-757-cluster-test-suitesqg4lk?pipelineTask=run-tests&taskRunName=pr-cluster-aws-757-cluster-test-suitesqg4lk-run-tests-3&step=run-tests

@fiunchinho fiunchinho added the team/tinkerers Team Tinkerers label Aug 19, 2024
@AverageMarcus
Copy link
Member

Grabbing the log output so we have a permanent example of it:

  {"level":"info","ts":"2024-08-15T10:08:01Z","msg":"kubeconfig secret not yet available"}
  {"level":"info","ts":"2024-08-15T10:08:11Z","msg":"Checking for valid Kubeconfig for cluster t-dwjzfu8gjkc6rbv3vu"}
  {"level":"info","ts":"2024-08-15T10:08:11Z","msg":"kubeconfig secret not yet available"}
  {"level":"info","ts":"2024-08-15T10:08:21Z","msg":"Checking for valid Kubeconfig for cluster t-dwjzfu8gjkc6rbv3vu"}
  {"level":"info","ts":"2024-08-15T10:08:21Z","msg":"kubeconfig secret not yet available"}
  {"level":"info","ts":"2024-08-15T10:08:31Z","msg":"Checking for valid Kubeconfig for cluster t-dwjzfu8gjkc6rbv3vu"}
  {"level":"info","ts":"2024-08-15T10:08:31Z","msg":"kubeconfig secret not yet available"}
  [FAILED] in [BeforeSuite] - /go/pkg/mod/github.com/giantswarm/[email protected]/pkg/standup/standup.go:75 @ 08/15/24 10:08:41.452
[BeforeSuite] [FAILED] [1200.543 seconds]
[BeforeSuite] 
/app/internal/suite/setup.go:24

  [FAILED] Unexpected error:
      <context.deadlineExceededError>: 
      context deadline exceeded
      {}
  occurred
  In [BeforeSuite] at: /go/pkg/mod/github.com/giantswarm/[email protected]/pkg/standup/standup.go:75 @ 08/15/24 10:08:41.452
------------------------------

This is during the BeforeSuite so might be a little more complicated but lets see...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/tinkerers Team Tinkerers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants