I’m not sure what is meant by no space left. How do I check how much space I have on gitlab?
I never ran into the below issue before. It happened while pushing a new patch.
I have a gitlab-ci.yml that uses an openjdk:8-jdk image.
The before script has the following the command.
before_script:
- apt-get --quiet update --yes
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1
I get an error telling me that there is no space left.
e[0KRunning with gitlab-runner 12.3.0 (a8a019e0)
e[0;me[0K on Name-Gitlab-Runner-1 CFAyzMZB
e[0;msection_start:1593630709:prepare_executor
e[0Ke[0KUsing Docker executor with image openjdk:8-jdk …
e[0;me[0KPulling docker image openjdk:8-jdk …
e[0;me[0KUsing docker image sha256:b190ad78b520a3899cede570cf4fb7c61925b418c57b235d6deab3063fc47214 for openjdk:8-jdk …
e[0;msection_end:1593630711:prepare_executor
e[0Ksection_start:1593630711:prepare_script
e[0KRunning on runner-CFAyzMZB-project-3557-concurrent-0 via Name-Gitlab-Runner-1…
section_end:1593630712:prepare_script
e[0Ksection_start:1593630712:get_sources
e[0Ke[32;1mFetching changes with git depth set to 50…e[0;m
Reinitialized existing Git repository in /builds/repo/android/.git/
From https://git.Nameone.com/repoandroid
- [new ref] refs/pipelines/72253 -> refs/pipelines/72253
e[32;1mChecking out ad5f8420 as detekt…e[0;m
e[32;1mSkipping Git submodules setupe[0;m
section_end:1593630714:get_sources
e[0Ksection_start:1593630714:restore_cache
e[0Ke[32;1mChecking cache for default-1…e[0;m
No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted.e[0;m
e[32;1mSuccessfully extracted cachee[0;m
section_end:1593630715:restore_cache
e[0Ksection_start:1593630715:download_artifacts
e[0Ksection_end:1593630717:download_artifacts
e[0Ksection_start:1593630717:build_script
e[0Ke[32;1m$ apt-get --quiet update --yese[0;m
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
Err:2 http://deb.debian.org/debian buster InRelease
Error writing to output file - write (28: No space left on device) [IP: 151.101.12.204 80]
Err:1 http://security.debian.org/debian-security buster/updates InRelease
Error writing to output file - write (28: No space left on device) [IP: 151.101.12.204 80]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Err:3 http://deb.debian.org/debian buster-updates InRelease
Error writing to output file - write (28: No space left on device) [IP: 151.101.12.204 80]
Reading package lists…
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Error writing to output file - write (28: No space left on device) [IP: 151.101.12.204 80]
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Error writing to output file - write (28: No space left on device) [IP: 151.101.12.204 80]
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Error writing to output file - write (28: No space left on device) [IP: 151.101.12.204 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
e[32;1m$ apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1e[0;m
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package lib32stdc++6
E: Couldn’t find any package by regex ‘lib32stdc++6’
E: Unable to locate package lib32z1
section_end:1593630718:build_script
e[0Ksection_start:1593630718:after_script
e[0Ksection_end:1593630720:after_script
e[0Ksection_start:1593630720:upload_artifacts_on_failure
e[0Ksection_end:1593630721:upload_artifacts_on_failure
e[0Ke[31;1mERROR: Job failed: exit code 1
e[0;m