plain-river-51682
08/26/2020, 12:18 PMBuild graph construction failed: ExecutionError 1 Exception encountered:
Exception: Snapshot failed: Throw { val: Error { kind: Io(Os { code: 28, kind: Other, message: "No space left on device" }), paths: [] }, python_traceback: "Traceback (no traceback):\n <pants native internals>\nException: Error { kind: Io(Os { code: 28, kind: Other, message: \"No space left on device\" }), paths: [] }", engine_traceback: ["Fingerprinting: <SOME SCALA FILE>.scala"] }
pants is invoked in gitlab-ci inside a docker container. The host has enough diskspace available. Where is it trying to write?jolly-midnight-72759
08/26/2020, 2:16 PMpants_workdir
?
• Is the repo mounted as read-only in the docker container?plain-river-51682
08/26/2020, 2:19 PMDoes the job work sometimes on your CI and fails sometimes for the same tests/builds?yes, when we retry the same job, it suddenly succeeds. Though every retry gets checked out in a new docker container
Is the repo mounted as read-only in the docker container?the repo and all paths are fully writeable
What is your setting forwe havent touched this, so I guess it's using the default??pants_workdir
jolly-midnight-72759
08/26/2020, 2:20 PM${REPO_PATH}/.pants.d
. This shouldn't be an issue if the repo is read-write mounted.plain-river-51682
08/26/2020, 2:21 PMjolly-midnight-72759
08/26/2020, 2:22 PMulimit
(17000). I see docker run
has an option to set this for containers (--ulimit rtprio=<value>
). It is a stab in the dark, but if it is easy to set there is no harm in trying.jolly-midnight-72759
08/26/2020, 2:24 PMwitty-crayon-22786
08/26/2020, 5:32 PMwitty-crayon-22786
08/26/2020, 5:37 PMplain-river-51682
08/27/2020, 11:43 AM