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

Print container status on reconcile timeout #58

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

rsevilla87
Copy link
Member

@rsevilla87 rsevilla87 commented Oct 26, 2023

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

Printing the container statuses can be useful to help debugging failures on infrastructure deployment.
i.e:

time="2023-10-26 01:08:13" level=info msg="Running ingress-perf (debug-events@efc206d314b49017d7d09b6c1f64a3056ad20cd6) with uuid 3ebc2582-707b-432c-bc60-eaeefc91585d" file="ingress-perf.go:66"                                             
time="2023-10-26 01:08:16" level=info msg="HAProxy version: haproxy22-2.2.24-3.rhaos4.13.el8.x86_64" file="runner.go:82"                                                                                                                      
time="2023-10-26 01:08:16" level=info msg="Deploying benchmark assets" file="runner.go:187"                                                                                                                                                   
time="2023-10-26 01:08:19" level=info msg="Running test 1/9" file="runner.go:96"                                                                                                                                                              
time="2023-10-26 01:08:19" level=info msg="Tool:wrk termination:http servers:90 concurrency:1 procs:1 connections:20 duration:1m0s" file="runner.go:97"                                                                                       
time="2023-10-26 01:08:19" level=info msg="Waiting for replicas from deployment nginx in ns ingress-perf to be ready" file="runner.go:249"                                                                                                    
time="2023-10-26 01:08:24" level=error msg="0/90 replicas ready" file="runner.go:264"
time="2023-10-26 01:08:25" level=error msg="nginx-774cb99485-2c5wh: Back-off pulling image \"quay.io/cloud-bulldozer/ngissssnx:latest\"" file="runner.go:272"
time="2023-10-26 01:08:25" level=error msg="nginx-774cb99485-2cbsk: Back-off pulling image \"quay.io/cloud-bulldozer/ngissssnx:latest\"" file="runner.go:272"
time="2023-10-26 01:08:25" level=error msg="nginx-774cb99485-2cd6q: Back-off pulling image \"quay.io/cloud-bulldozer/ngissssnx:latest\"" file="runner.go:272"
time="2023-10-26 01:08:25" level=error msg="nginx-774cb99485-2rtzb: Back-off pulling image \"quay.io/cloud-bulldozer/ngissssnx:latest\"" file="runner.go:272"
time="2023-10-26 01:08:25" level=error msg="nginx-774cb99485-45t4t: Back-off pulling image \"quay.io/cloud-bulldozer/ngissssnx:latest\"" file="runner.go:272"
time="2023-10-26 01:08:25" level=error msg="nginx-774cb99485-4b87m: Back-off pulling image \"quay.io/cloud-bulldozer/ngissssnx:latest\"" file="runner.go:272"
time="2023-10-26 01:08:25" level=error msg="nginx-774cb99485-4lzpx: Back-off pulling image \"quay.io/cloud-bulldozer/ngissssnx:latest\"" file="runner.go:27
etc.

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please describe the System Under Test.
  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@rsevilla87 rsevilla87 added the enhancement New feature or request label Oct 26, 2023
pkg/runner/runner.go Outdated Show resolved Hide resolved
@rsevilla87 rsevilla87 merged commit ffe4f3c into cloud-bulldozer:main Oct 27, 2023
2 checks passed
@rsevilla87 rsevilla87 deleted the debug-events branch October 27, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants