Project

General

Profile

Actions

action #14674

closed

ppc: os-autoinst uses the wrong qemu emulation

Added by michals over 7 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2016-11-07
Due date:
% Done:

100%

Estimated time:

Description

I installed OpenQA on a PPC machine.

The worker page shows:
WORKER_CLASS qemu_ppc64le,qemu_ppc64,qemu_ppc

The job page shows (cloned from openqa.opensuse.org):
ARCH ppc64
WORKER_CLASS qemu_ppc64

The os-autoinst log shows:
starting: /usr/bin/eatmydata /usr/bin/qemu-system-x86_64 -serial file:serial0 -soundhw ac97 -global isa-fdc.driveA= -g 1024x768 -vga std -m 4096 -machine usb=off -cpu host -netdev user,id=qanet0 -device virtio-net,netdev=qanet0,mac=52:54:00:12:34:56 -device virtio-scsi-pci,id=scsi0 -device virtio-scsi-pci,id=scsi1 -device scsi-hd,drive=hd1a,bus=scsi0.0 -drive file=raid/l1,cache=none,if=none,id=hd1a,serial=mpath1,format=raw -device scsi-hd,drive=hd1b,bus=scsi1.0 -drive file=raid/l1,cache=none,if=none,id=hd1b,serial=mpath1,format=raw -drive media=cdrom,if=none,id=cd0,format=raw,file=/var/lib/openqa/factory/iso/openSUSE-Tumbleweed-DVD-ppc64-Snapshot20161102-Media.iso -device scsi-cd,drive=cd0,bus=scsi0.0 -boot once=d,menu=on,splash-time=5000 -device nec-usb-xhci -device usb-tablet -device usb-kbd -smp 8,threads=8 -enable-kvm -no-shutdown -vnc :99,share=force-shared -qmp unix:qmp_socket,server,nowait -monitor unix:hmp_socket,server,nowait -S -monitor telnet:127.0.0.1:20092,server,nowait

installed qemu-system packages: qemu-x86, qemu-ppc

/etc/openqa/workerers.ini is empty except for comments

Workaround: remove qemu-x86 package

Actions #1

Updated by michel_mno over 7 years ago

I previously experienced a similar problem and solved it adding QEMU=ppc64 in ppc64/ppc64le machine definitions in openSUSE templates file
https://github.com/os-autoinst/os-autoinst-distri-opensuse/commit/61c9820e94bb77b35d6461e0c34862759d73dbe6#diff-2b6d35a559f5cad48a6f7d882c382473

Actions #2

Updated by okurz over 7 years ago

  • Category set to Feature requests
Actions #4

Updated by coolo over 6 years ago

  • Subject changed from OpenQA worker uses the wrong qemu emulation to ppc: os-autoinst uses the wrong qemu emulation
  • Category changed from Feature requests to Regressions/Crashes
  • Target version set to Ready
Actions #5

Updated by dasantiago about 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90
Actions #6

Updated by dasantiago about 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions #7

Updated by szarate about 6 years ago

  • Target version changed from Ready to Current Sprint
Actions #8

Updated by coolo about 6 years ago

  • Target version changed from Current Sprint to Done
Actions

Also available in: Atom PDF