[PR #5713/1f492414 backport][stable-6] CI: add extra VMs for certain tests (#5717)

CI: add extra VMs for certain tests (#5713)

* Remove superfluous VM.

* Add extra VM group.

* More platforms, add scripts.

* [REVERT THIS] Shrink matrix to only the tests we are interested in.

* Fix some tests.

* Skip snap tests on Ubuntu VMs for now.

* Skip xfs_quota tests on Alpine VMs due to ansible.posix.mount failing.

* Revert "[REVERT THIS] Shrink matrix to only the tests we are interested in."

This reverts commit 2e98e163db.

* Stick to Alpine and Ubuntu 22.04 for now.

(cherry picked from commit 1f49241481)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-12-21 08:13:06 +01:00 committed by GitHub
commit a70d9773dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 83 additions and 42 deletions

View file

@ -6,7 +6,7 @@
- name: "Create volume group on first disk"
lvg:
vg: testvg
pvs: "{{ loop_device1.stdout }}"
pvs: "{{ loop_device1 }}"
- name: "get lvm facts"
setup:
@ -16,14 +16,14 @@
- name: "Assert the testvg span only on first disk"
assert:
that:
- ansible_lvm.pvs[loop_device1.stdout].vg == "testvg"
- 'loop_device2.stdout not in ansible_lvm.pvs or
ansible_lvm.pvs[loop_device2.stdout].vg == ""'
- ansible_lvm.pvs[loop_device1].vg == "testvg"
- 'loop_device2 not in ansible_lvm.pvs or
ansible_lvm.pvs[loop_device2].vg == ""'
- name: "Extend to second disk AND reduce from the first disk"
lvg:
vg: testvg
pvs: "{{ loop_device2.stdout }}"
pvs: "{{ loop_device2 }}"
- name: "get lvm facts"
setup:
@ -33,6 +33,6 @@
- name: "Assert the testvg span only on first disk"
assert:
that:
- 'loop_device1.stdout not in ansible_lvm.pvs or
ansible_lvm.pvs[loop_device1.stdout].vg == ""'
- ansible_lvm.pvs[loop_device2.stdout].vg == "testvg"
- 'loop_device1 not in ansible_lvm.pvs or
ansible_lvm.pvs[loop_device1].vg == ""'
- ansible_lvm.pvs[loop_device2].vg == "testvg"