As observed on amdci7, Yggdrasil's build environment, which runs with these pretty vanilla settings: https://github.com/JuliaPackaging/Yggdrasil/blob/6e50b87e3c0e0d289dba12898ee4ceb5b369c446/.buildkite/utils.jl#L33-L37. The depots there get really large, over 500GiB (prompting #52) all in artifacts. However, many of these artifacts are pretty old, and I'd be surprised if they are all used:
amdci7% du -hs e2fd9734-29d8-45cd-b0eb-59f7104f3131
421G e2fd9734-29d8-45cd-b0eb-59f7104f3131
There is an artifact_usage.log in there:
amdci7% cat logs/artifact_usage.toml
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/LLVM_full_jll/H2cfL/Artifacts.toml"]]
time = 2024-11-07T16:08:48.996Z
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/LibCURL_jll/lvgm5/Artifacts.toml"]]
time = 2024-11-07T16:08:48.998Z
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/LibSSH2_jll/05BCE/Artifacts.toml"]]
time = 2024-11-07T16:08:18.144Z
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/MozillaCACerts_jll/dt3sW/Artifacts.toml"]]
time = 2024-11-07T16:08:18.145Z
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/OpenSSL_jll/IOE5P/Artifacts.toml"]]
time = 2024-11-07T16:08:18.093Z
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/Zlib_jll/0qQy0/Artifacts.toml"]]
time = 2024-11-07T16:08:48.999Z
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/nghttp2_jll/NGQzG/Artifacts.toml"]]
time = 2024-11-07T16:08:48.997Z
[["/cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/p7zip_jll/wZ0qA/Artifacts.toml"]]
time = 2024-11-07T16:08:18.145Z
... yet Yggdrasil's CI reveals: https://buildkite.com/julialang/yggdrasil/builds/14525#019305f3-fd9e-4b5e-aa12-11c8ce13e03e
┌ Info: Running Pkg.gc()
└ collect_delay = 604800 seconds
Active manifest files: 0 found
Active artifact files: 0 found
Active scratchspaces: 0 found
Deleted no artifacts, repos, packages or scratchspaces
Could this be because the manifest_usage.log is pointing to nonexisting resources, because those are ephemeral?
amdci7% cat /julia/agent-cache/yggy-amdci7.0/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/logs/manifest_usage.toml
[["/cache/build/yggy-amdci7-0/julialang/yggdrasil/.ci/Manifest.toml"]]
time = 2024-11-07T16:08:59.738Z
amdci7% ls /julia/agent-cache/yggy-amdci7.0/build/julialang/yggdrasil/.ci/Manifest.toml
No such file or directory
cc @KristofferC
As observed on
amdci7, Yggdrasil's build environment, which runs with these pretty vanilla settings: https://github.com/JuliaPackaging/Yggdrasil/blob/6e50b87e3c0e0d289dba12898ee4ceb5b369c446/.buildkite/utils.jl#L33-L37. The depots there get really large, over 500GiB (prompting #52) all in artifacts. However, many of these artifacts are pretty old, and I'd be surprised if they are all used:There is an
artifact_usage.login there:... yet Yggdrasil's CI reveals: https://buildkite.com/julialang/yggdrasil/builds/14525#019305f3-fd9e-4b5e-aa12-11c8ce13e03e
Could this be because the
manifest_usage.logis pointing to nonexisting resources, because those are ephemeral?cc @KristofferC