cockpit-project / bots

*beep* *boop* *beep*

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image refresh for centos-9-bootc

github-actions opened this issue · comments

Image refresh for centos-9-bootc

  • FAIL: image-refresh centos-9-bootc

Persistent:

+ growpart /dev/vda 4
+ mount -o remount,rw /sysroot
+ resize2fs /dev/vda4
resize2fs 1.46.5 (30-Dec-2021)
resize2fs: Bad magic number in super-block while trying to open /dev/vda4
Traceback (most recent call last):
  File "/work/make-checkout-workdir/images/scripts/lib/bootc.bootstrap", line 85, in <module>
    m.execute('resize2fs /dev/vda4')
  File "/work/make-checkout-workdir/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2401', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%h-%p-%r-58', '127.0.0.2', 'set -e;', 'resize2fs /dev/vda4')' returned non-zero exit status 1.

Did the FS change?

It's xfs now great

    Device:                     /dev/vda4
    DeviceNumber:               64516
    Drive:                      '/org/freedesktop/UDisks2/drives/VirtIO_Disk_ROOT'
    HintAuto:                   false
    HintIconName:
    HintIgnore:                 false
    HintName:
    HintPartitionable:          true
    HintSymbolicIconName:
    HintSystem:                 true
    Id:                         by-id-virtio-ROOT-part4
    IdLabel:                    root
    IdType:                     xfs

attempting this here #6327