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

test(e2e): fix debug level on workflow #3888

Merged
merged 3 commits into from
Aug 28, 2024
Merged

Conversation

andynog
Copy link
Contributor

@andynog andynog commented Aug 28, 2024

The log_level on the e2e-manual-debug was set incorrectly. This PR fixes it.

Realized after running a e2e-manual-debug workflow, all tests failed with:

validator01  | E[2024-08-28|13:20:29.330] failed to setup config: expected list in a form of "module:level" pairs, given pair debug, list [debug p2p:info] 

instead of using log level:

"debug,p2p:info"

this PR fixes it and uses the correct one:

"*:debug,p2p:info"

NOTE: Also added a changelog entry for the new e2e workflow, previous PR only had a changelog entry for the generator new log level option

PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@andynog andynog added bug Something isn't working e2e Related to our end-to-end tests labels Aug 28, 2024
@andynog andynog added this to the 2024-Q3 milestone Aug 28, 2024
@andynog andynog self-assigned this Aug 28, 2024
@andynog andynog requested review from a team as code owners August 28, 2024 14:06
Copy link
Collaborator

@cason cason left a comment

Choose a reason for hiding this comment

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

Legit. But remove the duplicated changelog entry.

I don't even think we need changelogs for e2e changes in any case.

@andynog andynog enabled auto-merge August 28, 2024 14:24
@andynog andynog added this pull request to the merge queue Aug 28, 2024
Merged via the queue into main with commit 5ab57c5 Aug 28, 2024
37 checks passed
@andynog andynog deleted the andy/e2e-manual-debug-fix branch August 28, 2024 14:28
@andynog andynog added the backport-to-v1.x Tell Mergify to backport the PR to v1.x label Aug 28, 2024
mergify bot pushed a commit that referenced this pull request Aug 28, 2024
The `log_level` on the `e2e-manual-debug` was set incorrectly. This PR
fixes it.

Realized after running a `e2e-manual-debug` workflow,[ all tests
failed](https://github.com/cometbft/cometbft/actions/runs/10597473846)
with:

```
validator01  | E[2024-08-28|13:20:29.330] failed to setup config: expected list in a form of "module:level" pairs, given pair debug, list [debug p2p:info]
```

instead of using log level:

```
"debug,p2p:info"
```

this PR fixes it and uses the correct one:

```
"*:debug,p2p:info"
```

> NOTE: Also added a changelog entry for the new e2e workflow, previous
PR only had a changelog entry for the generator new log level option

#### PR checklist

- [ ] Tests written/updated
- [X] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [X] Updated relevant documentation (`docs/` or `spec/`) and code
comments

(cherry picked from commit 5ab57c5)
andynog added a commit that referenced this pull request Aug 28, 2024
The `log_level` on the `e2e-manual-debug` was set incorrectly. This PR
fixes it.

Realized after running a `e2e-manual-debug` workflow,[ all tests
failed](https://github.com/cometbft/cometbft/actions/runs/10597473846)
with:

```
validator01  | E[2024-08-28|13:20:29.330] failed to setup config: expected list in a form of "module:level" pairs, given pair debug, list [debug p2p:info] 
```

instead of using log level:

```
"debug,p2p:info"
```

this PR fixes it and uses the correct one:

```
"*:debug,p2p:info"
```

> NOTE: Also added a changelog entry for the new e2e workflow, previous
PR only had a changelog entry for the generator new log level option

#### PR checklist

- [ ] Tests written/updated
- [X] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [X] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request #3888 done by
[Mergify](https://mergify.com).

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v1.x Tell Mergify to backport the PR to v1.x bug Something isn't working e2e Related to our end-to-end tests
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants