From 3a926637650b8d820d8a65ec3b5bbf5a2eaba7e5 Mon Sep 17 00:00:00 2001
From: Pierre Riteau <pierre@stackhpc.com>
Date: Wed, 11 Dec 2024 09:32:54 +0100
Subject: [PATCH] CI: Bump size of Swift device

The kayobe-tox-ansible job is failing in the swift-block-devices role
while formatting the Swift block devices as XFS. The error comes from a
change in xfsprogs [1]:

    Filesystem must be larger than 300MB.

Bump size of backing file to fix the job.

Also make the kayobe-tox-molecule job non-voting as it is currently
broken.

[1] https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=6e0ed3d19c54603f0f7d628ea04b550151d8a262

Change-Id: Id04e7cfff80c42ce48e5ef2a98cd26c6af0220b9
---
 .../roles/swift-block-devices/tests/test-bootstrapped.yml    | 2 +-
 ansible/roles/swift-block-devices/tests/test-mount.yml       | 2 +-
 zuul.d/project.yaml                                          | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/ansible/roles/swift-block-devices/tests/test-bootstrapped.yml b/ansible/roles/swift-block-devices/tests/test-bootstrapped.yml
index d333e77d7..6917ca03f 100644
--- a/ansible/roles/swift-block-devices/tests/test-bootstrapped.yml
+++ b/ansible/roles/swift-block-devices/tests/test-bootstrapped.yml
@@ -9,7 +9,7 @@
       register: tempfile
 
     - name: Allocate a fake device file
-      command: fallocate -l 32M {{ tempfile.path }}
+      command: fallocate -l 350M {{ tempfile.path }}
 
     - name: Find a free loopback device
       command: losetup -f
diff --git a/ansible/roles/swift-block-devices/tests/test-mount.yml b/ansible/roles/swift-block-devices/tests/test-mount.yml
index bbeab1640..88bdb8ef9 100644
--- a/ansible/roles/swift-block-devices/tests/test-mount.yml
+++ b/ansible/roles/swift-block-devices/tests/test-mount.yml
@@ -10,7 +10,7 @@
       register: tempfile
 
     - name: Allocate a fake device file
-      command: fallocate -l 32M {{ tempfile.path }}
+      command: fallocate -l 350M {{ tempfile.path }}
 
     - name: Find a free loopback device
       command: losetup -f
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 259856e83..547859b0f 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -13,7 +13,8 @@
             files: THIS-JOB-IS-DISABLED
         - kayobe-tox-ansible-syntax
         - kayobe-tox-ansible
-        - kayobe-tox-molecule
+        - kayobe-tox-molecule:
+            voting: false
         - kayobe-overcloud-rocky9
         - kayobe-overcloud-centos9s
         - kayobe-overcloud-ubuntu-noble
@@ -41,7 +42,7 @@
             files: THIS-JOB-IS-DISABLED
         - kayobe-tox-ansible-syntax
         - kayobe-tox-ansible
-        - kayobe-tox-molecule
+        #- kayobe-tox-molecule
         - kayobe-overcloud-rocky9
         - kayobe-overcloud-ubuntu-noble
         - kayobe-overcloud-tls-rocky9