action #14674

ppc: os-autoinst uses the wrong qemu emulation

Added by michals over 3 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:07/11/2016
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Concrete Bugs
Target version:Done
Difficulty:
Duration:

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

History

#1 Updated by michel_mno about 3 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

#2 Updated by okurz about 3 years ago

  • Category set to Feature requests

#4 Updated by coolo over 2 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 Concrete Bugs
  • Target version set to Ready

#5 Updated by dasantiago almost 2 years ago

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

#6 Updated by dasantiago almost 2 years ago

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

#7 Updated by szarate almost 2 years ago

  • Target version changed from Ready to Current Sprint

#8 Updated by coolo almost 2 years ago

  • Target version changed from Current Sprint to Done

Also available in: Atom PDF