TraceMachina / TraceMachina/nativelink
`shard_store_test` fails on devices with limited resources
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 244
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 54
Description
I'm getting
//nativelink-store:integration_tests/shard_store_test_test FAILED in 16.0s
/home/jaro/.cache/bazel/_bazel_jaro/1b6c0a8d0dc239bb6acb288789218790/execroot/_main/bazel-out/k8-fastbuild/testlogs/nativelink-store/integration_tests/shard_store_test_test/test.log
Executed 54 out of 54 tests: 53 tests pass and 1 fails locally.
even though the logs show that the test runs just fine
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //nativelink-store:integration_tests/shard_store_test_test
-----------------------------------------------------------------------------
running 15 tests
test has_with_many_digests_both_missing ... ok
test get_part_reads_store0 ... ok
test upload_download_has_check ... ok
test get_part_reads_store1 ... ok
test has_with_many_digests_one_missing ... ok
test has_with_one_digest ... ok
test upload_store1 ... ok
test upload_store0 ... ok
test has_with_many_digests_both_exist ... ok
test weights_send_to_proper_store ... ok
test verify_weights_mid_left_bias ... ok
test verify_weights_even_weights ... ok
test verify_weights_right_bias ... ok
test verify_weights_mid_right_bias ... ok
test verify_weights_left_bias ... ok
test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.75s
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the //nativelink-store:integration_tests/shard_store_test_test target and inspect its test.log on a resource-limited device. Compare the reported failure with the 15 shard_store tests and determine why the target fails despite all tests reporting success. Done means the target passes reliably under limited-resource conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100