nativelink
nativelink copied to clipboard
file_continues_to_stream_on_content_replace_test fails
Observed in https://github.com/TraceMachina/nativelink/actions/runs/10699751146/job/29662010987?pr=1317
test file_continues_to_stream_on_content_replace_test ... FAILED
test file_gets_cleans_up_on_cache_eviction ... ok
test get_file_size_uses_block_size ... ok
test get_part_is_zero_digest ... ok
test get_part_timeout_test ... ok
test has_with_results_on_zero_digests ... ok
test oldest_entry_evicted_with_access_times_loaded_from_disk ... ok
2024-09-04T10:35:22.539662Z ERROR nativelink_store::filesystem_store: Failed to rename file, err: Error { code: NotFound, messages: ["The system cannot find the path specified. (os error 3)", "Failed to rename temp file to final path \"C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\/5713743219120593976/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10\""] }, from_path: "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\/3946788439344171467/temp_path/0123456789abcdef000000000000000000010000000000001600000000000000-10", final_path: "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\/5713743219120593976/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10"
at nativelink-store\src\filesystem_store.rs:702
in nativelink_store::filesystem_store::filesystem_store_emplace_file
test rename_on_insert_fails_due_to_filesystem_error_proper_cleanup_happens ... ok
test temp_files_get_deleted_on_replace_test ... ok
2024-09-04T10:35:22.617991Z ERROR nativelink_store::filesystem_store: Failed to delete file, file_path: "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\/14126721169268000047/temp_path/0123456789abcdef000000000000000000010000000000001c00000000000000-10", err: Error { code: Internal, messages: ["background task failed: JoinError::Cancelled(Id(1343))", "Failed to remove file \"C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\/14126721169268000047/temp_path/0123456789abcdef000000000000000000010000000000001c00000000000000-10\""] }
at nativelink-store\src\filesystem_store.rs:124
in nativelink_store::filesystem_store::filesystem_delete_file
test update_file_future_drops_before_rename ... ok
test update_with_whole_file_closes_file ... ok
test update_with_whole_file_slow_path_when_low_file_descriptors ... ok
test valid_results_after_shutdown_test ... ok
failures:
---- file_continues_to_stream_on_content_replace_test stdout ----
thread 'file_continues_to_stream_on_content_replace_test' panicked at nativelink-store\tests\filesystem_store_test.rs:474:5:
assertion failed: `(left == right)`: Expected file content to match
Diff < left / right > :
<b"123443210"
>[
> 49,
> 50,
> 51,
> 52,
> 53,
> 54,
> 55,
> 56,
> 57,
>]