Skip to content

Handle disk-full more gracefully in functional tests #23099

@laanwj

Description

@laanwj

If you run the tests with too little disk space in /tmp partition, e.g.

sudo mount -t tmpfs -o size=1M none /tmp
test/functional/test_runner.py

you get a huge log output with a lot of -- Logging error --, with the tests failing one by one, where it's not immediately clear why the tests are failing. It might be useful to exit immediately with a more specific message when even writing to the logs fails, and/or do an early check if the disk space need in the file system where the temporary files go can be estimated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions