Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s390x: testing the iso against 4k disks fails #1261

Open
dustymabe opened this issue Jul 19, 2022 · 4 comments
Open

s390x: testing the iso against 4k disks fails #1261

dustymabe opened this issue Jul 19, 2022 · 4 comments

Comments

@dustymabe
Copy link
Member

Running testiso with a 4k disk doesn't work for s390x.

$ cosa kola testiso -S --output-dir tmp/kola-testiso-metal4k --build=37.20220717.91.0 --qemu-native-4k                                  
COREOS_ASSEMBLER_CONTAINER=localhost/coreos-assembler:latest
+ podman run --rm -ti --security-opt label=disable --privileged --uidmap=1000:0:1 --uidmap=0:1:1000 --uidmap 1001:1001:64536 -v /var/home/builder/fcos:/srv/ --device /dev/kvm --device /dev/fuse --tmpfs /tmp -v /var/tmp:/var/tmp --name cosa localhost/coreos-assembler:latest kola testiso -S --output-dir tmp/kola-testiso-metal4k --build=37.20220717.91.0 --qemu-native-4k
kola -p qemu-unpriv --build 37.20220717.91.0 --output-dir tmp/kola-testiso-metal4k testiso -S --qemu-native-4k
Skipping iso-install on s390x
Testing scenarios: [pxe-install pxe-offline-install iso-as-disk]
Ignoring verification of signature on metal image
FAIL: pxe-install (bios + metal4k) (1m40.842s)
    Got EOF from completion channel, coreos-installer-test-OK expected
Error: Got EOF from completion channel, coreos-installer-test-OK expected
2022-07-18T19:56:42Z cli: Got EOF from completion channel, coreos-installer-test-OK expected
error: failed to execute cmd-kola: exit status 1
+ rc=1
+ set +x

The console output just gives me this:

[  OK  ] Reached target reboot.target - System Reboot.                                                                
LOADPARM=[        ]                                                                                                   
Using virtio-blk.                                                                                                     
                                                                                                                      
! Cannot read block 0 !

More output below:

[   72.829636] coreos-installer-service[1117]: Read disk 465.0 MiB/465.0 MiB (100%)                                                          
[   98.080680] coreos-installer-service[1117]: Writing Ignition config                                                                       
[   98.083747] coreos-installer-service[1117]: Writing first-boot kernel arguments                                                                                               
[   98.397914] coreos-installer-service[1194]: Using config file '/tmp/coreos-installer-zipl.fmhgM2' (from command line)                                                         
[   98.398352] coreos-installer-service[1194]: Using BLS config file '/tmp/coreos-installer-zipl-bls-6mU3Sj/loader/entries/ostree-1-fedora-coreos.conf'                          
[   98.398526] coreos-installer-service[1194]: Building bootmap in '/tmp/coreos-installer-4vkfc8'                                                                                
[   98.398698] coreos-installer-service[1194]: Building menu 'zipl-automatic-menu'                                                                                               
[   98.398857] coreos-installer-service[1194]: Adding #1: IPL section 'Fedora CoreOS 37.20220717.91.0 (ostree:0)' (default)                                                      
[   98.399018] coreos-installer-service[1194]: Preparing boot device: vda (0000).                                                                                                
[   98.399182] coreos-installer-service[1194]: Done.                                    
[   98.409247] coreos-installer-service[1117]: Updating re-IPL device                                                                                                            
[   98.413388] coreos-installer-service[1195]: Re-IPL type: ccw                                                                                                                  
[   98.413616] coreos-installer-service[1195]: Device:      0.0.0002                                                                                                             
[   98.413777] coreos-installer-service[1195]: Loadparm:    ""                                                                                                                   
[   98.413939] coreos-installer-service[1195]: clear:       0                                                                                                                    
[   98.738867] coreos-installer-service[1117]: Install complete.                                                                                                                 
[  OK  ] Finished coreos-installer.service - CoreOS Installer.                                                                                                                   
[  OK  ] Reached target coreos-inst…get - CoreOS Installer Target.                                                                                                               
[  OK  ] Started coreos-installer-r…m - Reboot after CoreOS Installer.                                                                                                           
[  OK  ] Reached target coreos-inst… Finalize CoreOS Installer Target.                                                                                                           
[  OK  ] Stopped coreos-installer-r…m - Reboot after CoreOS Installer.                                                                                                           
[  OK  ] Removed slice system-modpr…lice - Slice /system/modprobe.                                                                                                               
[  OK  ] Stopped target coreos-inst… Finalize CoreOS Installer Target.                                                                                                           
[  OK  ] Stopped target coreos-inst…get - CoreOS Installer Target.                                                                                                               
[  OK  ] Stopped target coreos-inst…epare for CoreOS Installer Target.                                                                                                           
[  OK  ] Stopped target network-online.target - Network is Online.                                                                                                               
[  OK  ] Stopped target network.target - Network.                                       
[  OK  ] Stopped target nss-lookup.…m - Host and Network Name Lookups.                                                                                                           
[  OK  ] Stopped target timers.target - Timer Units.                                    
[  OK  ] Stopped fstrim.timer - Discard unused blocks once a week.                                                                                                               
[  OK  ] Stopped logrotate.timer - Daily rotation of log files.                                                                                                                  
[  OK  ] Stopped raid-check.timereekly RAID setup health check.                                                                                                                  
[  OK  ] Stopped rpm-ostree-countme… Weekly rpm-ostree Count Me timer.                                                                                                           
[  OK  ] Stopped systemd-tmpfiles-c… Cleanup of Temporary Directories.                                                                                                           
[  OK  ] Closed lvm2-lvmpolld.socket - LVM2 poll daemon socket.                                                                                                                  
[  OK  ] Closed systemd-coredump.so…et - Process Core Dump Socket.                                                                                                               
[  OK  ] Stopped NetworkManager-wai…[0m - Network Manager Wait Online.                                                                                                           
         Stopping NetworkManager.service - Network Manager...                                                                                                                    
[  OK  ] Stopped boot-started.service - TestISO Boot Started.                                                                                                                    
         Stopping dracut-shutdown.s…tore /run/initramfs on shutdown...                                                                                                           
[  OK  ] Stopped live-signal-ok.ser…estISO Signal Live ISO Completion.                                                                                                           
         Stopping mantle-virtio-journal-stream.service...                                                                                                                        
         Stopping systemd-logind.se…ice - User Login Management...                                                                                                               
[  OK  ] Stopped systemd-machine-id…it a transient machine-id on disk.                                                                                                           
[  OK  ] Stopped target first-boot-….target - First Boot Complete.                                                                                                               
         Stopping systemd-random-se…ice - Load/Save Random Seed...                                                                                                               
[  OK  ] Stopped dracut-shutdown.se…estore /run/initramfs on shutdown.                                                                                                           
[  OK  ] Stopped mantle-virtio-journal-stream.service.                                  
[  OK  ] Stopped systemd-logind.service - User Login Management.                                                                                                                 
[  OK  ] Stopped systemd-random-see…rvice - Load/Save Random Seed.                                                                                                               
[  OK  ] Stopped NetworkManager.service - Network Manager.                                                                                                                       
[  OK  ] Stopped target basic.target - Basic System.                                    
[  OK  ] Stopped target network-pre…get - Preparation for Network.                                                                                                               
[  OK  ] Stopped target paths.target - Path Units.                                      
[  OK  ] Stopped target slices.target - Slice Units.                                    
[  OK  ] Removed slice user.slice - User and Session Slice.                                                                                                                      
[  OK  ] Stopped target sockets.target - Socket Units.                                  
[  OK  ] Closed docker.socket - Docker Socket for the API.                                                                                                                       
[  OK  ] Closed iscsid.socket - Open-iSCSI iscsid Socket.                                                                                                                        
[  OK  ] Closed iscsiuio.socket - Open-iSCSI iscsiuio Socket.                                                                                                                    
         Stopping dbus-broker.servi… - D-Bus System Message Bus...                                                                                                               
[  OK  ] Stopped dbus-broker.service - D-Bus System Message Bus.                                                                                                                 
[  OK  ] Closed dbus.socket - D-Bus System Message Bus Socket.                                                                                                                   
[  OK  ] Stopped target sysinit.target - System Initialization.                                                                                                                  
[  OK  ] Stopped target cryptsetup.…get - Local Encrypted Volumes.                                                                                                               
[  OK  ] Stopped systemd-ask-passwo…quests to Console Directory Watch.                                                                                                           
[  OK  ] Stopped target cryptsetup-…m - Local Encrypted Volumes (Pre).                                                                                                           
[  OK  ] Stopped target integrityse…Local Integrity Protected Volumes.                                                                                                           
[  OK  ] Stopped target veritysetup… - Local Verity Protected Volumes.                                                                                                           
         Stopping systemd-binfmt.se…et Up Additional Binary Formats...                                                                                                           
         Stopping systemd-resolved.…e - Network Name Resolution...                                                                                                               
[  OK  ] Stopped systemd-sysctl.service - Apply Kernel Variables.                                                                                                                
[  OK  ] Stopped coreos-printk-quie…eOS: Set printk To Level 4 (warn).                                                                                                           
[  OK  ] Stopped systemd-modules-lo…service - Load Kernel Modules.                                                                                                               
[  OK  ] Stopped systemd-update-don…service - Update is Completed.                                                                                                               
[  OK  ] Stopped ldconfig.service - Rebuild Dynamic Linker Cache.                                                                                                                
[  OK  ] Stopped systemd-hwdb-updat…e - Rebuild Hardware Database.                                                                                                               
[  OK  ] Stopped systemd-journal-ca…ice - Rebuild Journal Catalog.                                                                                                               
         Stopping systemd-update-ut…rd System Boot/Shutdown in UTMP...                                                                                                           
[  OK  ] Stopped systemd-resolved.s…ice - Network Name Resolution.                                                                                                               
[  OK  ] Stopped systemd-binfmt.ser… Set Up Additional Binary Formats.                                                                                                           
[  OK  ] Unset automount proc-sys-f…rmats File System Automount Point.                                                                                                           
[  OK  ] Stopped systemd-update-utm…cord System Boot/Shutdown in UTMP.                                                                                                           
[  OK  ] Stopped systemd-tmpfiles-s…te Volatile Files and Directories.                                                                                                           
[  OK  ] Stopped target local-fs.target - Local File Systems.                                                                                                                    
         Unmounting boot.mount - /boot...                                               
         Unmounting run-credentials…ntials/systemd-sysusers.service...                                                                                                           
         Unmounting run-ephemeral.mount - /run/ephemeral...                                                                                                                      
         Unmounting sysroot.mount - /sysroot...                                         
         Unmounting tmp.mount - Temporary Directory /tmp...                                                                                                                      
         Unmounting var.mount - /var...                                                 
[  OK  ] Unmounted boot.mount - /boot.                                                  
[  OK  ] Unmounted run-credentials-…dentials/systemd-sysusers.service.                                                                                                           
[  OK  ] Unmounted run-ephemeral.mount - /run/ephemeral.                                                                                                                         
[  OK  ] Unmounted sysroot.mount - /sysroot.                                            
[  OK  ] Unmounted tmp.mount - Temporary Directory /tmp.                                                                                                                         
[FAILED] Failed unmounting var.mount - /var.                                            
[  OK  ] Stopped target local-fs-pr…reparation for Local File Systems.                                                                                                           
[  OK  ] Stopped target swap.target - Swaps.                                            
[  OK  ] Reached target umount.target - Unmount All Filesystems.                                                                                                                 
         Stopping lvm2-monitor.serv…ng dmeventd or progress polling...                                                                                                           
[  OK  ] Stopped systemd-tmpfiles-s…reate Static Device Nodes in /dev.                                                                                                           
[  OK  ] Stopped systemd-sysusers.service - Create System Users.                                                                                                                 
[  OK  ] Stopped systemd-remount-fs…ount Root and Kernel File Systems.                                                                                                           
[  OK  ] Stopped lvm2-monitor.servi…sing dmeventd or progress polling.                                                                                                           
[  OK  ] Reached target shutdown.target - System Shutdown.                                                                                                                       
[  OK  ] Reached target final.target - Late Shutdown Services.                                                                                                                   
[  OK  ] Finished systemd-reboot.service - System Reboot.                                                                                                                        
[  OK  ] Reached target reboot.target - System Reboot.                                  
LOADPARM=[        ]                                                                     
Using virtio-blk.                                                                       

! Cannot read block 0 !                                                                
@jlebon
Copy link
Member

jlebon commented Jul 19, 2022

@nikita-dubrovskii Can you confirm whether a virtual 4k sector drive should work in QEMU on s390x? We've been producing it but I don't think we've been testing it at all so far until now.

@nikita-dubrovskii
Copy link

Hi, to be honest i don't know. @hbrueckner do you know?

@dustymabe
Copy link
Member Author

We've been producing it but I don't think we've been testing it at all so far until now.

yeah. If it's not possible (i.e. the tech stack doesn't support it) we should stop making it probably.

dustymabe added a commit to dustymabe/fedora-coreos-pipeline that referenced this issue Jul 22, 2022
The 4k disk doesn't work right now. See
coreos/fedora-coreos-tracker#1261

Also rework a bit the structure of the "parallel" invocation
for testiso.
dustymabe added a commit to coreos/fedora-coreos-pipeline that referenced this issue Jul 22, 2022
The 4k disk doesn't work right now. See
coreos/fedora-coreos-tracker#1261

Also rework a bit the structure of the "parallel" invocation
for testiso.
@nikita-dubrovskii
Copy link

This could be related to issue in s390-utils, which was fixed here - ibm-s390-linux/s390-tools@4a3957f, but took a while to be upstreamed into RPM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants