1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-27 22:49:14 +00:00
community.general/tests/integration/targets/filesystem/tasks
Shreyash e1232fdcdf
filesystem: fix bcachefs get_fs_size() for new bcachefs-tools output format (#12291)
* filesystem: fix bcachefs get_fs_size() for new bcachefs-tools output format (#12259)

* filesystem: fix ruff formatting and enable bcachefs UUID tests

Fix ruff format violations (spaces around ** operators, single-quoted
regex string) and set bcachefs new_uuid to 'random' since it supports
UUID setting via -U/--uuid, fixing the set_fs_uuid_on_creation test
assertion failure on Arch Linux.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* filesystem: skip reset_fs_uuid test for bcachefs

bcachefs supports UUID at creation (-U/--uuid) but has no CHANGE_UUID
tool for resetting UUID on existing filesystems, so skip the
reset_fs_uuid test to avoid a get_bin_path(None) crash.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* filesystem: address review comments on bcachefs size parsing

* changelog: correct bcachefs-tools version to v1.38.4

The output format change (commit e635903b95) first appeared in
bcachefs-tools v1.38.4, not v1.37.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* changelog: add PR link to changelog fragment

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-23 20:38:08 +02:00
..
create_device.yml CI: add extra VMs for certain tests (#5713) 2022-12-21 07:31:46 +01:00
create_fs.yml adds GFS2 support (#12285) 2026-06-15 17:43:36 +02:00
freebsd_setup.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
main.yml filesystem: fix bcachefs get_fs_size() for new bcachefs-tools output format (#12291) 2026-06-23 20:38:08 +02:00
overwrite_another_fs.yml adds GFS2 support (#12285) 2026-06-15 17:43:36 +02:00
remove_fs.yml adds GFS2 support (#12285) 2026-06-15 17:43:36 +02:00
reset_fs_uuid.yml Re-enable most filesystem tests (#12258) 2026-06-14 00:20:48 +02:00
set_fs_uuid_on_creation.yml filesystem: re-enable (and fix) most tests for Alpine (#12274) 2026-06-14 20:55:57 +02:00
set_fs_uuid_on_creation_with_opts.yml filesystem: re-enable (and fix) most tests for Alpine (#12274) 2026-06-14 20:55:57 +02:00
setup.yml adds GFS2 support (#12285) 2026-06-15 17:43:36 +02:00