Project

General

Profile

Actions

action #127118

open

[cloud-qa] Leap Micro 5.4 unpartitioned 1MB is expected

Added by lkocman about 1 year ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2023-04-04
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:

Description

Originally reported as https://bugzilla.opensuse.org/show_bug.cgi?id=1210082

https://openqa.opensuse.org/tests/3207892#step/image_checks/8

Hello team,

validation of our last build noticed that we do have unpartitioned 1MB of the disk. This is related to our change of start sector for rpi.
YaST team confirmed that that extra unused space might be really needed on some arches.

Can we tweak image check to respect it?

See line 257 at
https://build.opensuse.org/package/view_file/openSUSE:Leap:Micro:5.4:Images/SUSE-MicroOS/SUSE-MicroOS.kiwi?expand=1

<preferences profiles="rpi">
    <version>5.4.0</version>
    <packagemanager>zypper</packagemanager>
    <bootsplash-theme>openSUSE</bootsplash-theme>
    <bootloader-theme>openSUSE</bootloader-theme>
    <rpm-excludedocs>true</rpm-excludedocs>
    <locale>en_US</locale>
    <type
        image="oem"
        initrd_system="dracut"
        filesystem="btrfs"
        fsmountoptions="noatime"
        bootloader="grub2"
        bootloader_console="gfxterm"
    boottimeout="3"
        firmware="efi"
        kernelcmdline="console=ttyS0,115200n8 console=tty0 security=selinux selinux=1 quiet net.ifnames=0 \$ignition_firstboot ignition.platform.id=metal"
        bootpartition="false"
        devicepersistency="by-uuid"
        btrfs_root_is_snapshot="true"
        efipartsize="16"
        editbootinstall="editbootinstall_rpi.sh"
        btrfs_root_is_readonly_snapshot="true"
    btrfs_quota_groups="false"
    disk_start_sector="4096" <--- HERE

Script:
sfdisk --list-free /dev/vdb

Regular expression:
(?:Unpartitioned space .* 0 sectors)

Output:
Unpartitioned space /dev/vdb: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Start End Sectors Size
2048 4095 2048 1M

Actions #1

Updated by maritawerner about 1 year ago

  • Tags set to qac
Actions #2

Updated by okurz 10 months ago

  • Category set to Bugs in existing tests
Actions

Also available in: Atom PDF