diff options
Diffstat (limited to 'results/classifier/118/graphic/894')
| -rw-r--r-- | results/classifier/118/graphic/894 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/results/classifier/118/graphic/894 b/results/classifier/118/graphic/894 new file mode 100644 index 000000000..c488f954c --- /dev/null +++ b/results/classifier/118/graphic/894 @@ -0,0 +1,61 @@ +graphic: 0.997 +socket: 0.976 +device: 0.976 +risc-v: 0.972 +performance: 0.964 +vnc: 0.955 +architecture: 0.954 +peripherals: 0.941 +debug: 0.932 +files: 0.928 +PID: 0.908 +permissions: 0.897 +network: 0.887 +ppc: 0.881 +virtual: 0.868 +TCG: 0.863 +user-level: 0.855 +kernel: 0.832 +arm: 0.765 +VMM: 0.727 +semantic: 0.711 +register: 0.692 +hypervisor: 0.669 +x86: 0.649 +boot: 0.609 +mistranslation: 0.592 +i386: 0.546 +assembly: 0.444 +KVM: 0.393 + +target/riscv64 qemu-iotests 040 failed +Description of problem: +I cross-compiled a riscv64 QEMU flavor based on the most updated code, then make check. Some qemu-iotests failed, 040 041 127 256 267. I mainly focused on test 040 and tried to find out what happened. +Steps to reproduce: +1. change directory to QEMU source tree root +2. ./configure --prefix=~/temp --target-list=riscv64-softmmu +3. make +4. cd build/tests/qemu-iotests/ +5. ./check -qcow2 040 + +Then a lot of error messages(please see attachment). The following log might hint the root cause I thought: +``` ++ Command: /home/qemu/qemu/build/tests/qemu-iotests/../../qemu-system-riscv64 -display none -vga none -chardev socket,id=mon,path=/tmp/tmpwhnx3jq0/qemu-28363-monitor.sock -mon chardev=mon,mode=control -qtest unix:path=/tmp/tmpwhnx3jq0/qemu-28363-qtest.sock -accel qtest -nodefaults -display none -accel qtest -drive if=none,id=drive0,file=/home/qemu/qemu/build/tests/qemu-iotests/scratch/test.img,format=qcow2,cache=writeback,aio=threads,node-name=top,backing.node-name=mid,backing.backing.node-name=base -device virtio-scsi -device scsi-hd,id=scsi0,drive=drive0 ++ Output: [I 1646574338.669217] OPENED ++qemu-system-riscv64: -device virtio-scsi: No 'PCI' bus found for device 'virtio-scsi-pci' +``` +The command had no '-machine' argument. For riscv64 target, 'spike' will be the default machine. Maybe 'spike' have no PCI bus? Then I tried to change it to 'virt' machine but failed, nothing new happen. +``` +QEMU_DEFAULT_MACHINE=virt ./check -qcow2 040 +``` +``` +QEMU_OPTIONS="-machine virt" ./check -qcow2 040 +``` +Last, I modified [testenv.py](https://gitlab.com/qemu-project/qemu/-/blob/master/tests/qemu-iotests/testenv.py#L239) and added one line in machine-map, all tests passed! +``` +('riscv64', 'virt'), +``` + +Is there any way to easy the issue or do I miss something? Thank you! +Additional information: +[zlog.riscv.xz](/uploads/cbbad7c5c256d2b49d220aa6425e2b17/zlog.riscv.xz) |