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

Set RUST_LOG environmental variable in gcp-test-deploy.yml #4305

Closed
teor2345 opened this issue May 5, 2022 · 2 comments · Fixed by #4223 or #4267
Closed

Set RUST_LOG environmental variable in gcp-test-deploy.yml #4305

teor2345 opened this issue May 5, 2022 · 2 comments · Fixed by #4223 or #4267
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles A-diagnostics Area: Diagnosing issues or monitoring performance C-bug Category: This is a bug lightwalletd any work associated with lightwalletd

Comments

@teor2345
Copy link
Contributor

teor2345 commented May 5, 2022

Motivation

We can't see when GCP tests are being skipped, because the test logs aren't active in gcp-test-deploy.yml

Designs

Use the same logging environmental variables as the build workflows:

RUST_BACKTRACE="full"
RUST_LIB_BACKTRACE="full"
COLORBT_SHOW_HIDDEN="1"
ZEBRA_SKIP_IPV6_TESTS="1"
RUST_LOG="info"

We should hard-code these values for now.

@teor2345 teor2345 added C-bug Category: This is a bug A-devops Area: Pipelines, CI/CD and Dockerfiles S-needs-triage Status: A bug report needs triage P-High 🔥 A-diagnostics Area: Diagnosing issues or monitoring performance lightwalletd any work associated with lightwalletd labels May 5, 2022
@gustavovalverde
Copy link
Member

Most of this variables are being set at build time, and available in the containers:

image

Those are being set here: https://github.com/ZcashFoundation/zebra/blob/main/.github/workflows/docker-image-build.yml#L116

@teor2345
Copy link
Contributor Author

teor2345 commented May 5, 2022

We need RUST_LOG="info" to see which tests have been skipped

@teor2345 teor2345 changed the title Set test logging environmental variables in gcp-test-deploy.yml Set RUST_LOG environmental variable in gcp-test-deploy.yml May 5, 2022
@mpguerra mpguerra removed the S-needs-triage Status: A bug report needs triage label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles A-diagnostics Area: Diagnosing issues or monitoring performance C-bug Category: This is a bug lightwalletd any work associated with lightwalletd
Projects
None yet
3 participants