Skip to content

No space left results in process hanging #171

@patricoferris

Description

@patricoferris

I've been using OBuilder with the runc and zfs backends and have bumped into this a few times. If ZFS runs out of space on the device whilst running some runc build step it seems to hang for me. If this happens during other parts of the build then as you would expect the error bubbles up to the top. For me, this reproduces the error:

truncate --size 2G zfs.img
sudo zpool create obuilder-test $PWD/zfs.img
dune exec -- ./main.exe build -f example.spec . --store=zfs:obuilder-test --verbosity=debug

It happens during the opam update and seems to just hang. If you ctrl+c the process and try again, it will tell you there's no space left on the device. I could also be doing something completely wrong too!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions