torrust / torrust-tracker

A modern and feature-rich (private) BitTorrent tracker.
https://torrust.com
GNU Affero General Public License v3.0
339 stars 40 forks source link

Running unit test in coverage workflow is failing #904

Closed josecelano closed 1 week ago

josecelano commented 2 weeks ago

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

Error: Process completed with exit code 143.

josecelano commented 2 weeks ago

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.

da2ce7 commented 1 week ago

closed by #931

josecelano commented 1 week ago

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: