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

Running unit test in coverage workflow is failing #904

Closed
josecelano opened this issue Jun 18, 2024 · 3 comments · Fixed by #931
Closed

Running unit test in coverage workflow is failing #904

josecelano opened this issue Jun 18, 2024 · 3 comments · Fixed by #931
Labels
Bug Incorrect Behavior Continuous Integration Workflows and Automation

Comments

@josecelano
Copy link
Member

https://github.com/torrust/torrust-tracker/actions/runs/9562458284/job/26358873400?pr=897

Error: Process completed with exit code 143.

@josecelano josecelano added the Continuous Integration Workflows and Automation label Jun 18, 2024
@josecelano
Copy link
Member Author

josecelano commented Jun 18, 2024

Running it locally also makes my user's session (in ubuntu) crash:

CARGO_INCREMENTAL="0" \
  RUSTFLAGS="-Z profile -C codegen-units=1 -C opt-level=0 -C link-dead-code -C overflow-checks=off -Z panic_abort_tests -C panic=abort" \
  RUSTDOCFLAGS="-Z profile -C codegen-units=1 -C opt-level=0 -C link-dead-code -C overflow-checks=off -Z panic_abort_tests -C panic=abort" \
  cargo test --tests --workspace --all-targets --all-features

It must be consuming a lot of resources.

@josecelano josecelano added the Bug Incorrect Behavior label Jun 18, 2024
@da2ce7
Copy link
Contributor

da2ce7 commented Jul 1, 2024

closed by #931

@da2ce7 da2ce7 closed this as completed Jul 1, 2024
@josecelano
Copy link
Member Author

closed by #931

Hey, @da2ce7, do you think this type of issue could also be fixed by extracting new packages in the workspace? I guess that would have two benefits:

  • Faster building times
  • Improved modularity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Incorrect Behavior Continuous Integration Workflows and Automation
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants