This is anita version 2.11 Using pexpect version 4.8.0 /usr/pkg/bin/anita \ --workdir=/bracket/riscv-riscv64/test/2024.03.02.09.32.19/anita \ --structured-log-file=/bracket/riscv-riscv64/test/2024.03.02.09.32.19/test.slog \ --vmm-args= test \ file:///bracket/riscv-riscv64/test/2024.03.02.09.32.19/release/release/riscv-riscv64/ QEMU emulator version 6.0.0 Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers qemu path: /usr/pkg/bin/qemu-system-riscv64 qemu package: qemu-6.0.0nb2 glib2 package: glib2-2.64.1 qemu-system-riscv64 \ -m 256 \ -drive file=/bracket/riscv-riscv64/test/2024.03.02.09.32.19/anita/wd0.img,format=raw,media=disk,snapshot=on,if=none,id=hd0 \ -device virtio-blk-device,drive=hd0 \ -nographic \ -drive file=/bracket/riscv-riscv64/test/2024.03.02.09.32.19/anita/tests-results.img,format=raw,media=disk,snapshot=off,if=none,id=hd1 \ -device virtio-blk-device,drive=hd1 \ -M virt \ -append root=dk1 \ -kernel /bracket/riscv-riscv64/test/2024.03.02.09.32.19/anita/netbsd-GENERIC64 child pid is 11562 OpenSBI v0.9 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : timer,mfdeleg Platform HART Count : 1 Firmware Base : 0x80000000 Firmware Size : 100 KB Runtime SBI Version : 0.2 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000080000000-0x000000008001ffff () Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x000000008f000000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 0 Boot HART Domain : root Boot HART ISA : rv64imafdcsu Boot HART Features : scounteren,mcounteren,time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 0 Boot HART MHPM Count : 0 Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 ------------ NetBSD start sp: 0x0000_0000_80c0_2000 pc: 0x0000_0000_8020_0080 hart: 0x0000_0000_0000_0000 dtb: 0x0000_0000_8f00_0000 l1: 0x0000_0000_80c0_b000 l2: 0x0000_0000_80c0_a000 uspace: 0x0000_0000_80c0_0000 bootstk: 0x0000_0000_80c0_2000 vtopdiff:0xffff_ffbf_7fe0_0000 bss: 0x0000_0000_80b3_f814 - 0x0000_0000_80c0_c000 l2pde: 0x0000_0000_80c0_a800: 0x0000_0000_2030_2c01 kern: 0x0000_0000_80c0_b000: 0x0000_0000_2008_00ef kern: 0x0000_0000_80c0_b008: 0x0000_0000_2010_00ef kern: 0x0000_0000_80c0_b010: 0x0000_0000_2018_00ef kern: 0x0000_0000_80c0_b018: 0x0000_0000_2020_00ef kern: 0x0000_0000_80c0_b020: 0x0000_0000_2028_00ef kern: 0x0000_0000_80c0_b028: 0x0000_0000_2030_00ef kern: 0x0000_0000_80c0_b030: 0x0000_0000_2038_00ef kern: 0x0000_0000_80c0_b038: 0x0000_0000_2040_00ef kern: 0x0000_0000_80c0_b040: 0x0000_0000_2048_00ef kern: 0x0000_0000_80c0_b048: 0x0000_0000_2050_00ef kern: 0x0000_0000_80c0_b050: 0x0000_0000_2058_00ef kern: 0x0000_0000_80c0_b058: 0x0000_0000_2060_00ef kern: 0x0000_0000_80c0_b060: 0x0000_0000_2068_00ef kern: 0x0000_0000_80c0_b068: 0x0000_0000_2070_00ef kern: 0x0000_0000_80c0_b070: 0x0000_0000_2078_00ef kern: 0x0000_0000_80c0_b078: 0x0000_0000_2080_00ef dtb: 0x0000_0000_80c0_b080: 0x0000_0000_23c0_00e7 PM [ 1.0000000] FDT<0xffffffc002000000> [ 1.0000000] devmap 0xffffffc000817c70 [ 1.0000000] bootstrap [ 1.0000000] stdout [ 1.0000000] fdt size 1000/f6a [ 1.0000000] consinit ok [ 1.0000000] NetBSD/riscv (fdt) booting ... [ 1.0000000] FDT /memory @ 0x80000000 size 0x10000000 [ 1.0000000] init_riscv: memory start 80000000 end 90000000 (len 10000000) [ 1.0000000] cpu_kernel_vm_init: kernel phys start 0x80200000 end 0x80c00000 [ 1.0000000] cpu_kernel_vm_init: init phys start 0x80c00000 end 0x80c0c000 [ 1.0000000] dm: 0xffffffc000a0ac10 : 0x200000e7 [ 1.0000000] bootargs: root=dk1 [ 1.0000000] msgbufaddr = 0xffffffe08fff0000 [ 1.0000000] ------------------------------------------ [ 1.0000000] kern_vtopdiff = 0xffffffbf7fe00000 [ 1.0000000] memory_start = 0x 80000000 [ 1.0000000] memory_end = 0x 90000000 [ 1.0000000] memory_size = 0x 10000000 [ 1.0000000] kernstart_phys = 0x 80200000 [ 1.0000000] kernend_phys = 0x 80c00000 [ 1.0000000] msgbufaddr = 0xffffffe08fff0000 [ 1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000 [ 1.0000000] kernstart_mega = 0xffffffc000000000 [ 1.0000000] kernstart = 0xffffffc000000000 [ 1.0000000] kernend = 0xffffffc000a00000 [ 1.0000000] kernend_mega = 0xffffffc000a00000 [ 1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffd000000000 [ 1.0000000] pmap_direct_base = 0xffffffe000000000 [ 1.0000000] ------------------------------------------ [ 1.0000000] adding 0x80020000 - 0x80200000 to freelist 0 [ 1.0000000] adding 0x80c0c000 - 0x8f000000 to freelist 0 [ 1.0000000] adding 0x8f001000 - 0x8fff0000 to freelist 0 [ 1.0000000] common cpusets bs_pde 0xffffffc000a0a000 ASID max ffff kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000 [ 1.0000000] kva : ffffffc004000000 - ffffffc017800000 [ 1.0000000] mpstart [ 1.0000000] Loaded initial symtab at 0xffffffc000850a88, strtab at 0xffffffc0008dbfd0, # entries 22582 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 10.99.10 (GENERIC64) #0: Wed Apr 3 11:54:17 UTC 2024 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2024.03.02.09.32.19-riscv-riscv64/obj/sys/arch/riscv/compile/GENERIC64 [ 1.0000000] total memory = 251660 KB [ 1.0000000] avail memory = 243352 KB [ 1.0000000] mainbus0 (root) [ 1.0000000] simplebus0 at mainbus0: riscv-virtio,qemu [ 1.0000000] cpus0 at simplebus0 [ 1.0000000] simplebus1 at simplebus0 [ 1.0000000] simplebus2 at simplebus0 [ 1.0000000] cpu0 at cpus0: vendor 0 arch 0 imp. 0 [ 1.0000000] intc0 at cpu0: local interrupt controller [ 1.0000000] syscon0 at simplebus1: System Controller Registers [ 1.0000000] plic0 at simplebus1RISC-V PLIC (53 IRQs) [ 1.0000000] /fw-cfg@10100000 at simplebus0 not configured [ 1.0000000] /soc/flash@20000000 at simplebus1 not configured [ 1.0000000] gfrtc0 at simplebus1: Google Goldfish RTC + timer [ 1.0000000] gfrtc0: using as Time of Day Register. [ 1.0000000] com0 at simplebus1: ns16550a, 16-byte FIFO [ 1.0000000] com0: console [ 1.0000000] com0: interrupting on plic0 irq 10 [ 1.0000000] /soc/poweroff at simplebus1 not configured [ 1.0000000] /soc/reboot at simplebus1 not configured [ 1.0000000] /soc/pci@30000000 at simplebus1 not configured [ 1.0000000] virtio0 at simplebus1 [ 1.0000000] virtio0: VirtIO-MMIO-v1 [ 1.0000000] virtio0: block device (id 2, rev. 0x00) [ 1.0000000] ld4 at virtio0: features: 0x10000a54 [ 1.0000000] virtio0: interrupting on plic0 irq 8 [ 1.0000000] ld4: 1536 MB, 3120 cyl, 16 head, 63 sec, 512 bytes/sect x 3145728 sectors [ 1.0000000] virtio1 at simplebus1 [ 1.0000000] virtio1: VirtIO-MMIO-v1 [ 1.0000000] virtio1: block device (id 2, rev. 0x00) [ 1.0000000] ld5 at virtio1: features: 0x10000a54 [ 1.0000000] virtio1: interrupting on plic0 irq 7 [ 1.0000000] ld5: 100 MB, 203 cyl, 16 head, 63 sec, 512 bytes/sect x 204800 sectors [ 1.0000000] virtio2 at simplebus1 [ 1.0000000] virtio2: VirtIO-MMIO-v1 [ 1.0000000] virtio3 at simplebus1 [ 1.0000000] virtio3: VirtIO-MMIO-v1 [ 1.0000000] virtio4 at simplebus1 [ 1.0000000] virtio4: VirtIO-MMIO-v1 [ 1.0000000] virtio5 at simplebus1 [ 1.0000000] virtio5: VirtIO-MMIO-v1 [ 1.0000000] virtio6 at simplebus1 [ 1.0000000] virtio6: VirtIO-MMIO-v1 [ 1.0000000] virtio7 at simplebus1 [ 1.0000000] virtio7: VirtIO-MMIO-v1 [ 1.0000000] /soc/clint@2000000 at simplebus1 not configured [ 1.0000030] cpu_boot_secondary_processors: starting secondary processors [ 1.0000030] cpu_boot_secondary_processors: secondary processors hatched. 1 running [ 1.0204752] dk0 at ld4: "EFI", 163840 blocks at 32768, type: msdos [ 1.0204752] dk1 at ld4: "netbsd-root", 2195456 blocks at 196608, type: ffs [ 1.0299373] WARNING: system needs entropy for security; see entropy(7) [ 1.0844418] swwdog0: software watchdog initialized [ 1.0844418] boot device: [ 1.0844418] root on dk1 [ 1.1143909] mountroot: trying lfs... [ 1.1143909] mountroot: trying ffs... [ 1.1202061] root file system type: ffs [ 1.1202061] kern.module.path=/stand/riscv/10.99.10/modules [ 1.1413224] init: copying out path `/sbin/init' 11 Wed Apr 3 12:06:30 UTC 2024 Starting root file system check: /dev/rdk1: file system is clean; not checking [ 3.5500117] entropy: best effort [ 3.5500117] dk0 at ld4 (EFI) deleted [ 3.5500117] dk0 at ld4: "EFI", 163840 blocks at 32768, type: msdos [ 3.5500117] dk1 at ld4: "netbsd-root", 2940928 blocks at 196608, type: ffs /dev/rld4: Partition 2 resized: 196608 2940928 Resizing / (NAME=netbsd-root) /dev/rdk1: grow cg | | 0% /dev/rdk1: flush cg |*****************************************************| 100% /dev/rdk1: write sb | | 0%/dev/rdk1: write sb |*****************************************************| 100% reboot: rebooted by root [ 11.2106286] Trapframe @ 0xffffffc017bc1ac0 (cause=13 (load page fault), status=0x120, pc=0xffffffc00040331c, va=0x28): [ 11.2106286] ra =0xffffffc00040331c sp =0xffffffc017bc1be0 gp =0xffffffc00093f080 [ 11.2106286] tp =0xffffffc017bc1be0 t0 = 0x5 t1 = 0x1 t2 = 0x222 [ 11.2106286] s0 =0xffffffc017bc1c20 s1 =0xffffffe0800c9000 a0 =0xffffffe08fe6f300 a1 = 0x800c9010 [ 11.2106286] a2 = 0x1 a3 = 0x2 a4 =0xffffffc0008038f0 a5 = 0x1 [ 11.2106286] a6 = 0 a7 =0xffffffffffffffff s2 =0xffffffe08ff53a40 s3 = 0 [ 11.2106286] s4 = 0 s5 =0xffffffe08fd19340 s6 =0xffffffe08fd19588 s7 = 0x2 [ 11.2106286] s8 = 0x129dc s9 = 0 s10= 0 s11= 0x11480 [ 11.2106286] t3 = 0x10000 t4 = 0 t5 = 0x6 t6 = 0xd0 [ 11.2106286] panic: cpu_trap: fatal kernel trap [ 11.2297224] cpu0: Begin traceback... [ 11.2297224] have_addr: true [ 11.2297224] addr: ffffffc017bc18e0 [ 11.2297224] count: 65535 [ 11.2297224] modif: [ 11.2297224] trace fp ffffffc017bc18e0 [ 11.2297224] fp ffffffc017bc1920 vpanic() at ffffffc000310e70 netbsd:vpanic+0x138 [ 11.2297224] fp ffffffc017bc1940 panic() at ffffffc000310f12 netbsd:panic+0x24 [ 11.2297224] fp ffffffc017bc1ac0 cpu_trap() at ffffffc00000df48 netbsd:cpu_trap+0x2ce [ 11.2297224] tf ffffffc017bc1ac0 exception_kernexit() at ffffffc000006d4c netbsd:cpu_exception_handler+0x98 [ 11.2297224] ---- trapframe 0xffffffc017bc1ac0 (288 bytes) ---- [ 11.2297224] Trapframe @ 0xffffffc017bc1ac0 (cause=13 (load page fault), status=0x120, pc=0xffffffc00040331c, va=0x28): [ 11.2297224] ra =0xffffffc00040331c sp =0xffffffc017bc1be0 gp =0xffffffc00093f080 [ 11.2297224] tp =0xffffffc017bc1be0 t0 = 0x5 t1 = 0x1 t2 = 0x222 [ 11.2494063] s0 =0xffffffc017bc1c20 s1 =0xffffffe0800c9000 a0 =0xffffffe08fe6f300 a1 = 0x800c9010 [ 11.2494063] a2 = 0x1 a3 = 0x2 a4 =0xffffffc0008038f0 a5 = 0x1 [ 11.2494063] a6 = 0 a7 =0xffffffffffffffff s2 =0xffffffe08ff53a40 s3 = 0 [ 11.2494063] s4 = 0 s5 =0xffffffe08fd19340 s6 =0xffffffe08fd19588 s7 = 0x2 [ 11.2494063] s8 = 0x129dc s9 = 0 s10= 0 s11= 0x11480 [ 11.2494063] t3 = 0x10000 t4 = 0 t5 = 0x6 t6 = 0xd0 [ 11.2494063] ------------------------------------------------ [ 11.2494063] fp ffffffc017bc1c20 ld_virtio_vq_done1() at ffffffc00040331c netbsd:ld_virtio_vq_done1+0x6a [ 11.2494063] fp ffffffc017bc1c60 ld_virtio_vq_done() at ffffffc00040340e netbsd:ld_virtio_vq_done+0x30 [ 11.2494063] fp ffffffc017bc1cc0 ld_virtio_ioctl() at ffffffc000403d76 netbsd:ld_virtio_ioctl+0x260 [ 11.2693923] fp ffffffc017bc1cf0 ld_flush() at ffffffc0000ac428 netbsd:ld_flush+0x3e [ 11.2693923] fp ffffffc017bc1d00 ld_shutdown() at ffffffc0000ac880 netbsd:ld_shutdown+0x12 [ 11.2693923] fp ffffffc017bc1d50 pmf_system_shutdown() at ffffffc0002d0464 netbsd:pmf_system_shutdown+0x9c [ 11.2693923] fp ffffffc017bc1d70 cpu_reboot() at ffffffc00000bc38 netbsd:cpu_reboot+0x1e [ 11.2693923] fp ffffffc017bc1da0 kern_reboot() at ffffffc0002d6d04 netbsd:kern_reboot+0x5a [ 11.2693923] fp ffffffc017bc1e40 sys_reboot() at ffffffc0002d6d3e netbsd:sys_reboot+0x36 [ 11.2693923] fp ffffffc017bc1ee0 syscall() at ffffffc00000d166 netbsd:syscall+0xf2 [ 11.2693923] fp 0000000000000004 exception_kernexit() at ffffffc000006daa netbsd:exception_kernexit+0x5e [ 11.2693923] Trapframe @ 0xffffffc017bc0f80 (cause=13 (load page fault), status=0x120, pc=0xffffffc000009218, va=0xfffffffffffffffc): [ 11.2693923] ra =0xffffffc000009674 sp =0xffffffc017bc10a0 gp =0xffffffc00093f080 [ 11.2894671] tp =0xffffffc000681390 t0 = 0x7 t1 =0xffffffc00000cc72 t2 = 0x222 [ 11.2894671] s0 =0xffffffc017bc10d0 s1 =0xffffffc017bc10e0 a0 = 0x3fe843ef1c a1 = 0x8 [ 11.2894671] a2 =0xffffffc017bc10e0 a3 =0xffffffc017bc10e8 a4 =0xfffffffffffffffc a5 =0xffffffc017bc10e0 [ 11.2894671] a6 = 0x10 a7 =0xfffffffffffffffb s2 =0xfffffffffffffffc s3 = 0x8 [ 11.2894671] s4 = 0 s5 = 0x3ffffeefff s6 = 0x72 s7 =0xffffffc000006d4c [ 11.2894671] s8 =0xfffffffffffff000 s9 =0xffffffc000656720 s10= 0 s11= 0x11480 [ 11.2894671] t3 = 0x73 t4 = 0 t5 = 0x63 t6 = 0xd0 [ 11.2894671] Skipping crash dump on recursive panic [ 11.2894671] panic: cpu_trap: fatal kernel trap [ 11.2894671] Faulted in mid-traceback; aborting... [ 11.2894671] Trapframe @ 0xffffffc017bc0c80 (cause=3 (breakpoint), status=0x120, pc=0xffffffc0000005a8, va=0): [ 11.3098086] ra =0xffffffc000310e74 sp =0xffffffc017bc0da0 gp =0xffffffc00093f080 [ 11.3098086] tp = 0 t0 = 0x7 t1 =0xffffffc0000006d8 t2 = 0x222 [ 11.3098086] s0 =0xffffffc017bc0de0 s1 =0xffffffc000657720 a0 = 0 a1 = 0x222 [ 11.3098086] a2 = 0 a3 =0xffffffc000804240 a4 =0xffffffc000804240 a5 = 0x1 [ 11.3098086] a6 =0xffffffe08ffe6c50 a7 =0xffffffc017bc0ba0 s2 =0xffffffc017bc0e08 s3 =0xffffffc0009740d0 [ 11.3098086] s4 =0xffffffc000974150 s5 = 0x4 s6 =0xfffffffffffffffc s7 =0xffffffc000006d4c [ 11.3098086] s8 =0xffffffc000814c38 s9 =0xffffffc000656720 s10= 0 s11= 0x11480 [ 11.3098086] t3 = 0x64 t4 = 0 t5 = 0x63 t6 = 0xd0 [ 11.3098086] kernel: breakpoint Stopped in pid 172.172 (reboot) at netbsd:clear_bss+0x10: c.ebreak db{0}> Traceback (most recent call last): File "/usr/pkg/bin/anita", line 163, in status = main() File "/usr/pkg/bin/anita", line 154, in main status = a.run_tests(timeout = options.test_timeout) File "/usr/pkg/lib/python3.7/site-packages/anita.py", line 2564, in run_tests child = self.boot(scratch_disk_args) File "/usr/pkg/lib/python3.7/site-packages/anita.py", line 2489, in boot r = self.child.expect([r'\033\[c', r'\033\[5n', r'login:']) File "/usr/pkg/lib/python3.7/site-packages/anita.py", line 255, in expect r = pexpect.spawn.expect(self, pattern, *args, **kwargs) File "/usr/pkg/lib/python3.7/site-packages/pexpect/spawnbase.py", line 344, in expect timeout, searchwindowsize, async_) File "/usr/pkg/lib/python3.7/site-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) File "/usr/pkg/lib/python3.7/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/usr/pkg/lib/python3.7/site-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. command: /usr/pkg/bin/qemu-system-riscv64 args: ['/usr/pkg/bin/qemu-system-riscv64', '-m', '256', '-drive', 'file=/bracket/riscv-riscv64/test/2024.03.02.09.32.19/anita/wd0.img,format=raw,media=disk,snapshot=on,if=none,id=hd0', '-device', 'virtio-blk-device,drive=hd0', '-nographic', '-drive', 'file=/bracket/riscv-riscv64/test/2024.03.02.09.32.19/anita/tests-results.img,format=raw,media=disk,snapshot=off,if=none,id=hd1', '-device', 'virtio-blk-device,drive=hd1', '-M', 'virt', '-append', 'root=dk1', '-kernel', '/bracket/riscv-riscv64/test/2024.03.02.09.32.19/anita/netbsd-GENERIC64'] buffer (last 100 chars): b'el: breakpoint\r\r\r\nStopped in pid 172.172 (reboot) at netbsd:clear_bss+0x10: c.ebreak\r\r\ndb{0}> ' before (last 100 chars): b'el: breakpoint\r\r\r\nStopped in pid 172.172 (reboot) at netbsd:clear_bss+0x10: c.ebreak\r\r\ndb{0}> ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 11562 child_fd: 9 closed: False timeout: 3600 delimiter: logfile: None logfile_read: logfile_send: maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 30.0 delayafterterminate: 30.0 searcher: searcher_re: 0: re.compile(b'\\033\\[c') 1: re.compile(b'\\033\\[5n') 2: re.compile(b'login:') 3630.50 real 3592.15 user 8.50 sys