Skip to content

test-integration-cfs failed on Centos Stream 9 #1812

@henrywang

Description

@henrywang

Run test-integration-cfs test failed on Centos Stream 9 only. Same test passed on Centos Stream 10, Fedora 42, 43, and 44.

Failure log:

$ bcvk libvirt run --name bootc-composefs-bcvk-test --filesystem=ext4 --firmware=uefi-insecure localhost/bootc
Creating libvirt domain 'bootc-composefs-bcvk-test' (install source container image: localhost/bootc)
 INFO Creating default storage pool at "/home/runner/.local/share/libvirt/images"
 INFO Default storage pool created successfully
 INFO Creating base disk: "/home/runner/.local/share/libvirt/images/bootc-base-5174e4b9590ddeb9.qcow2"
Connected (19 seconds elapsed), beginning installation...
Setting up temporary filesystems...
virtiofs mount not found at /run/virtiofs-mnt-hoststorage/, mounting manually...
Starting bootc installation...
Source image: containers-storage:localhost/bootc
Additional args: --filesystem ext4
Getting image source signatures
Copying blob sha256:df2b0c56c68b9f088529ea001d435de9f42170d62cbcc90f6b8e10bca3cd164f
......
Copying config sha256:29adbe22941a6068222d529c5df31b527d60dd27ea64b9c8aeeb0b4f61b0a923
Writing manifest to image destination
Installing image: docker://localhost/bootc:latest
Digest: sha256:e5b61e58e418f0e59c25c5337221ffcd70f453c6a34c6589e37d07d0b9149145
Block setup: direct
       Size: 21474836480
     Serial: <unknown>
      Model: <unknown>
Checking that no-one is using this disk right now ... OK

Disk /dev/vdb: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

>>> Script header accepted.
>>> Script header accepted.
>>> Created a new GPT disklabel (GUID: E16F418C-E767-441A-BA61-E68145C76867).
/dev/vdb1: Created a new partition 1 of type 'BIOS boot' and of size 1 MiB.
/dev/vdb2: Created a new partition 2 of type 'EFI System' and of size 1 GiB.
/dev/vdb3: Created a new partition 3 of type 'Linux root (x86-64)' and of size 19 GiB.
/dev/vdb4: Done.

New situation:
Disklabel type: gpt
Disk identifier: E16F418C-E767-441A-BA61-E68145C76867

Device       Start      End  Sectors Size Type
/dev/vdb1     2048     4095     2048   1M BIOS boot
/dev/vdb2     4096  2101247  2097152   1G EFI System
/dev/vdb3  2101248 41943006 39841759  19G Linux root (x86-64)

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Creating root filesystem (ext4) on device /dev/vdb3 (size=20.4 GB)
> mkfs.ext4 -U e049110b-4b46-42dd-9b7b-e7d7e79a30cc -L root -O verity /dev/vdb3
mke2fs 1.46.5 (30-Dec-2021)
Creating ESP filesystem
> mkfs.fat /dev/vdb2 -n EFI-SYSTEM
Bootloader: systemd
Installing bootloader via systemd-boot
Created "/tmp/.tmpP1URwp/EFI".
Created "/tmp/.tmpP1URwp/EFI/systemd".
Created "/tmp/.tmpP1URwp/EFI/BOOT".
Created "/tmp/.tmpP1URwp/loader".
Created "/tmp/.tmpP1URwp/loader/entries".
Created "/tmp/.tmpP1URwp/EFI/Linux".
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/tmp/.tmpP1URwp/EFI/systemd/systemd-bootx64.efi".
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/tmp/.tmpP1URwp/EFI/BOOT/BOOTX64.EFI".
Random seed file /tmp/.tmpP1URwp/loader/random-seed successfully written (32 bytes).
error: Installing to disk: Setting up composefs boot: Writing composefs state: Copying etc: Subprocess failed: ExitStatus(unix_wait_status(256))
/extracted/pem/directory-hash/40193066.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./pki/ca-trust/extracted/pem/directory-hash/cb1c3204.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./pki/ca-trust/extracted/pem/directory-hash/6b99d060.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./pki/ca-trust/extracted/pem/directory-hash/bf64f35b.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./pki/ca-trust/extracted/pem/directory-hash/9d6523ce.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./pki/ca-trust/extracted/pem/directory-hash/ca6e4ad9.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./pki/ca-trust/extracted/pem/directory-hash/c44cc0c0.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./pki/ca-trust/extracted/pem/directory-hash/d52c538d.0': Structure needs cleaning
cp: cannot stat '/tmp/.tmpR3HBI6/etc/./systemd/system/multi-user.target.wants/mdmonitor.service': Structure needs cleaning

Error: 
   0: Failed to find or create base disk
   1: Failed to install bootc to base disk: "/home/runner/.local/share/libvirt/images/bootc-base-5174e4b9590ddeb9.ZkL0vm.tmp.qcow2"
   2: SSH installation command failed with exit code: Some(1)

Location:
   crates/kit/src/to_disk.rs:486

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
test Basic ... FAILED

failures:

---- Basic ----
command exited with non-zero code `bcvk libvirt run --name bootc-composefs-bcvk-test --filesystem=ext4 --firmware=uefi-insecure localhost/bootc`: 1


failures:
    Basic

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 226.16s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions