On of my build jobs just randomly gave this error.
C:\Users\travis\.gimme\versions\go1.11.1.windows.amd64\pkg\tool\windows_amd64\link.exe: flushing $WORK\b001\exe\a.out.exe: write $WORK\b001\exe\a.out.exe: There is not enough space on the disk.
When I tried restarting the job, it completed without errors.
The build still failed for me, Iām currently trying to work around this by splitting up the build.
It would be interesting how much free space is currently available, I think 70gb is the total disk size, not whatās available for the build. It seems some people had luck with forcefully deleting some of the preinstalled programs.
df -h reports the filesystem is almost full even at the start of the build:
$ df -h
Filesystem Size Used Avail Use% Mounted on
C:/program files/git 50G 49G 1.1G 98% /
It seems I managed to squeeze my build into that, but I would appreciate more disk space, I donāt feel confident that my windows build is stable enough to merge it into master.
@josh Iām not sure how to do that as my job is failing in the checkout stage:
<snipped some proprietary info>
travis_time:start:158f14b0
e[0K$ GIMME_OUTPUT="$(gimme 1.11.1 | tee -a ${TRAVIS_HOME}/.bashrc)" && eval "$GIMME_OUTPUT"
go version go1.11.1 windows/amd64
travis_time:end:158f14b0:start=1539702272439658100,finish=1539702378307174200,duration=105867516100
e[0K$ export GOPATH=${TRAVIS_HOME}/gopath
$ export PATH=${TRAVIS_HOME}/gopath/bin:$PATH
$ mkdir -p ${TRAVIS_HOME}/gopath/src/github.com/saucelabs/project
$ tar -Pczf ${TRAVIS_TMPDIR}/src_archive.tar.gz -C ${TRAVIS_BUILD_DIR} . && tar -Pxzf ${TRAVIS_TMPDIR}/src_archive.tar.gz -C ${TRAVIS_HOME}/gopath/src/github.com/saucelabs/project
tar: ./.git/modules/openssl/objects/pack/pack-a94f1d9e35c3b7808032d7d95eade0dfff3ecf26.pack: Cannot write: No space left on device
tar: ./.git/modules/openssl/packed-refs: Cannot write: No space left on device
<snipped remainder of failed writes>
tar: Exiting with failure status due to previous errors
$ export TRAVIS_BUILD_DIR=${TRAVIS_HOME}/gopath/src/github.com/saucelabs/project
$ cd ${TRAVIS_HOME}/gopath/src/github.com/saucelabs/project
travis_time:start:1d36a4a4
e[0Kerror: failed to write new configuration file C:/Users/travis/gopath/src/github.com/saucelabs/project/.git/config.lock
travis_time:end:1d36a4a4:start=1539702448144363100,finish=1539702448274291600,duration=129928500
e[0K
e[31;1mThe command "git config remote.origin.url "${_old_remote%.git}"" failed and exited with 4 during .e[0m
Your build has been stopped.
Hi Travis Team. Weāre facing āno space left on deviceā errors when trying to build using arm64-graviton2 arch. It was working but from 2-3 days ago on itās constantly failing.
I tested other options as well, trying āvirt: vmā or changing to āarch: arm64ā with no success.
Have you added a df-h command to your .travis.yml (would suggest this to be under the script hook) to see where itās exactly running out of space at?