You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI is failing due to "/usr/bin/ld: final link failed: No space left on device" #6676
"-Wl,-Bdynamic" "-llzma" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/__w/arrow-datafusion/arrow-datafusion/target/debug/deps/roundtrip_physical_plan-8dff8073998bbd8f" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: /usr/bin/ld: final link failed: No space left on device
collect2: error: ld returned 1 exit status
error: could not compile `datafusion-substrait` (test "roundtrip_physical_plan") due to previous error
Error: Process completed with exit code 101.
Activity
alamb commentedon Jun 15, 2023
If someone else could look at this that would be great, otherwise I plan to do so in a few hours
alamb commentedon Jun 15, 2023
Based off of this experiment:
Before any builds start the builder has 11G/35GB if its total disk, and has 33MB in the datafusion checkout:
After the build ends there is 35GB on the disk, all of it in the datafusion checkout:
Of that, almost all of it is in
target:alamb commentedon Jun 15, 2023
I will next sort out how to reduce the number and size of binaries
At least locally, for me, incremental compilation intermediate files seem to consume a large amount of space:
I will experiment with disabling that:
https://doc.rust-lang.org/cargo/reference/profiles.html?highlight=incremental#incremental
alamb commentedon Jun 15, 2023
incrementalseems to take 2GB of space on the builder -- will try disabling it and see what happenshttps://github.com/apache/arrow-datafusion/actions/runs/5281745040/jobs/9555736433?pr=6678
alamb commentedon Jun 15, 2023
LOL well I have some fixes that I think will give us some breathing room for a while:
dataframeanddataframe_functionstests to save build time and builder disk space #6682 (save 125MB)statistics,filter_pushdownandcustom_sources providertests together to reduce CI disk space #6683 (save 250MB)substrait_integrationto save builder space and build time #6685 #6686 (save 250MB)For a total of 22% ( 3.75GB out of 22GB currently made by this job)
alamb commentedon Jun 16, 2023
After applying all our the updates from yesterday, I measured disk usage again: https://github.com/apache/arrow-datafusion/actions/runs/5291555219/jobs/9577253624?pr=6678
Before the work the disk had 35GB at the end of the test run
After all the changes it has 8GB to spare
🎉