Project

General

Profile

Actions

action #40034

closed

[tools] logline including qemu parameters is split over two entries

Added by okurz over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2018-08-21
Due date:
% Done:

0%

Estimated time:

Description

Observation

In https://openqa.opensuse.org/tests/739246/file/autoinst-log.txt one can see that the qemu output looks like

[2018-08-20T23:34:23.0218 CEST] [debug] QEMU: QEMU emulator version 2.9.1(openSUSE Leap 42.3)
[2018-08-20T23:34:23.0218 CEST] [debug] QEMU: Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
[2018-08-20T23:34:23.0218 CEST] [debug] QEMU: [2018-08-20T23:34:21.0192 CEST] [debug] starting: /usr/bin/qemu-system-x86_64 -vga cirrus -only-migratable -chardev ringbuf,id=serial0,logfile=serial0,logappend=on -serial chardev:serial0 -soundhw ac97 -global isa-fdc.driveA= -m 1536 -cpu qemu64 -netdev user,id=qanet0 -device virtio-net,netdev=qanet0,mac=52:54:00:12:34:56 -boot order=c,menu=on,splash-time=5000 -device usb-ehci -device usb-tablet -smp 1 -enable-kvm -no-shutdown -vnc :108,share=force-shared -device virtio-serial -chardev socket,path=virtio_console,server,nowait,id=virtio_console,logfile=virtio_console.log,logappend=on -device virtconsole,chardev=virtio_console,name=org.openqa.console.virtio_console -chardev socket,path=qmp_socket,server,nowait,id=qmp_socket,logfile=qmp_socket.log,logappend=on -qmp chardev:qmp_socket -S -device virtio-scsi-pci,id=scsi0 -blockdev driver=file,node-name=hd0-overlay0-file,fi
[2018-08-20T23:34:23.0221 CEST] [debug] QEMU: lename=/var/lib/openqa/pool/18/raid/hd0-overlay0,cache.no-flush=on -blockdev driver=qcow2,node-name=hd0-overlay0,file=hd0-overlay0-file,cache.no-flush=on -device virtio-blk,id=hd0-device,drive=hd0-overlay0,bootindex=0,serial=hd0 -blockdev driver=file,node-name=hd1-file,filename=/var/lib/openqa/pool/18/raid/hd1,cache.no-flush=on -blockdev driver=qcow2,node-name=hd1,file=hd1-file,cache.no-flush=on -device virtio-blk,id=hd1-device,drive=hd1,serial=hd1 -blockdev driver=file,node-name=cd0-overlay0-file,filename=/var/lib/openqa/pool/18/raid/cd0-overlay0,cache.no-flush=on -blockdev driver=qcow2,node-name=cd0-overlay0,file=cd0-overlay0-file,cache.no-flush=on -device scsi-cd,id=cd0-device,drive=cd0-overlay0,serial=cd0

where the qemu parameters are split over two lines where previously it was one, e.g. from https://openqa.suse.de/tests/1772893/file/autoinst-log.txt we can see

[2018-06-21T02:21:40.0639 CEST] [debug] QEMU emulator version 2.9.1(openSUSE Leap 42.3)
 Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

[2018-06-21T02:21:40.0639 CEST] [debug] starting: /usr/bin/qemu-system-x86_64 -serial file:serial0 -soundhw ac97 -vga cirrus -global isa-fdc.driveA= -m 1024 -cpu qemu64 -netdev user,id=qanet0 -device virtio-net,netdev=qanet0,mac=52:54:00:12:34:56 -device virtio-scsi-pci,id=scsi0 -device virtio-blk,drive=hd1,serial=1 -drive file=raid/l1,cache=unsafe,if=none,id=hd1,format=qcow2,discard=on -drive media=cdrom,if=none,id=cd0,format=raw,file=/var/lib/openqa/pool/6/SLE-15-Installer-DVD-x86_64-Build668.1-Media1.iso -device scsi-cd,drive=cd0,bus=scsi0.0 -boot once=d,menu=on,splash-time=5000 -device usb-ehci -device usb-tablet -smp 1 -enable-kvm -no-shutdown -vnc :96,share=force-shared -device virtio-serial -chardev socket,path=virtio_console,server,nowait,id=virtio_console,logfile=virtio_console.log -device virtconsole,chardev=virtio_console,name=org.openqa.console.virtio_console -qmp unix:qmp_socket,server,nowait -monitor unix:hmp_socket,server,nowait -S -monitor telnet:127.0.0.1:20062,server,nowait

which is much more convenient for copying the parameters :)

Expected result

Would be nice to have the output easy for copy-pasting


Related issues 1 (0 open1 closed)

Copied to openQA Project - action #40046: [tools] qemu errors do not seem to show up anymore in the logfileResolvedrpalethorpe2018-08-21

Actions
Actions #1

Updated by okurz over 5 years ago

  • Assignee set to rpalethorpe

@rpalethorpe, I assume this comes from your rework? Can you do something about it?

Actions #2

Updated by okurz over 5 years ago

  • Copied to action #40046: [tools] qemu errors do not seem to show up anymore in the logfile added
Actions #3

Updated by szarate over 5 years ago

  • Assignee deleted (rpalethorpe)
  • Priority changed from Normal to Low
  • Target version set to future

I think this comes from the Mojo itself but I'm not entirely sure, in any case, let's make it low prio, but it's still valid, we could however, print that to a file and upload it afterwards.

Actions #4

Updated by rpalethorpe over 5 years ago

  • Status changed from New to Rejected

Probably the same bug as #40046 with the same solution.

Actions

Also available in: Atom PDF