This is anita version 2.15 Using pexpect version 4.9.0 /usr/pkg/bin/anita \ --workdir=/bracket/riscv-riscv64/test/2025.02.28.16.00.26/anita \ --structured-log-file=/bracket/riscv-riscv64/test/2025.02.28.16.00.26/test.slog \ --vmm-args= test \ file:///bracket/riscv-riscv64/test/2025.02.28.16.00.26/release/release/riscv-riscv64/ QEMU emulator version 9.1.2 Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers qemu path: /usr/pkg/bin/qemu-system-riscv64 qemu package: qemu-9.1.2nb1 glib2 package: glib2-2.82.2 qemu-system-riscv64 \ -m 256 \ -drive file=/bracket/riscv-riscv64/test/2025.02.28.16.00.26/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/2025.02.28.16.00.26/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/2025.02.28.16.00.26/anita/netbsd-GENERIC64 child pid is 23983 OpenSBI v1.5.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 1 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform PMU Device : --- Platform Reboot Device : syscon-reboot Platform Shutdown Device : syscon-poweroff Platform Suspend Device : --- Platform CPPC Device : --- Firmware Base : 0x80000000 Firmware Size : 327 KB Firmware RW Offset : 0x40000 Firmware RW Size : 71 KB Firmware Heap Offset : 0x49000 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 11 KB (used), 21 KB (free) Firmware Scratch Size : 4096 B (total), 416 B (used), 3680 B (free) Runtime SBI Version : 2.0 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000000100000-0x0000000000100fff M: (I,R,W) S/U: (R,W) Domain0 Region01 : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W) Domain0 Region02 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: () Domain0 Region03 : 0x0000000080040000-0x000000008005ffff M: (R,W) S/U: () Domain0 Region04 : 0x0000000080000000-0x000000008003ffff M: (R,X) S/U: () Domain0 Region05 : 0x000000000c400000-0x000000000c5fffff M: (I,R,W) S/U: (R,W) Domain0 Region06 : 0x000000000c000000-0x000000000c3fffff M: (I,R,W) S/U: (R,W) Domain0 Region07 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x000000008fe00000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Domain0 SysSuspend : yes Boot HART ID : 0 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : sstc,zicntr,zihpm,zicboz,zicbom,sdtrig,svadu Boot HART PMP Count : 16 Boot HART PMP Granularity : 2 bits Boot HART PMP Address Bits: 54 Boot HART MHPM Info : 16 (0x0007fff8) Boot HART Debug Triggers : 2 triggers Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 ------------ NetBSD start sp: 0x0000_0000_80c0_2000 pc: 0x0000_0000_8020_0080 hart: 0x0000_0000_0000_0000 dtb: 0x0000_0000_8fe0_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_80b5_6e24 - 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_23f8_00e7 PM [ 1.0000000] FDT<0xffffffc002000000> [ 1.0000000] devmap 0xffffffc000822610 [ 1.0000000] bootstrap [ 1.0000000] stdout [ 1.0000000] fdt size 2000/1368 [ 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 0x80060000 - 0x80200000 to freelist 0 [ 1.0000000] adding 0x80c0c000 - 0x8fe00000 to freelist 0 [ 1.0000000] adding 0x8fe02000 - 0x8fff0000 to freelist 0 [ 1.0000000] common cpusets bs_pde 0xffffffc000a0a000 ASID max ffff kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000 [ 1.0000000] kva : ffffffc004000000 - ffffffc019400000 [ 1.0000000] mpstart [ 1.0000000] Loaded initial symtab at 0xffffffc00085c7e0, strtab at 0xffffffc0008eebb0, # entries 23694 [ 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, 2025 [ 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.12 (GENERIC64) #0: Sat Mar 1 09:26:48 UTC 2025 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2025.02.28.16.00.26-riscv-riscv64/obj/sys/arch/riscv/compile/GENERIC64 [ 1.0000000] total memory = 251400 KB [ 1.0000000] avail memory = 243044 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] simplebus3 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 simplebus1: RISC-V PLIC (95 IRQs) [ 1.0000000] /poweroff at simplebus0 not configured [ 1.0000000] /reboot at simplebus0 not configured [ 1.0000000] /pmu at simplebus0 not configured [ 1.0000000] qemufwcfg0 at simplebus0 [ 1.0000000] /flash@20000000 at simplebus0 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] virtio0 at simplebus1 [ 1.0000000] virtio0: VirtIO-MMIO-v1 [ 1.0000000] virtio0: block device (id 2, rev. 0x00) [ 1.0000000] ld4 at virtio0: features: 0x10002e54 [ 1.0000000] ld4: max 254 segs of max 65536 bytes [ 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: 0x10002e54 [ 1.0000000] ld5: max 254 segs of max 65536 bytes [ 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.0000000] pcihost0 at simplebus1: Generic PCI host controller [ 1.0000000] pci0 at pcihost0 bus 0 [ 1.0000000] vendor 1b36 product 0008 (host bridge) at pci0 dev 0 function 0 not configured [ 1.0000000] WARNING: system needs entropy for security; see entropy(7) [ 1.0000030] cpu_boot_secondary_processors: starting secondary processors [ 1.0000030] cpu_boot_secondary_processors: secondary processors hatched. 1 running [ 1.0233183] dk0 at ld4: "EFI", 163840 blocks at 32768, type: msdos [ 1.0233183] dk1 at ld4: "netbsd-root", 2940928 blocks at 196608, type: ffs [ 1.0752170] swwdog0: software watchdog initialized [ 1.0752170] boot device: [ 1.0752170] root on dk1 [ 1.0898059] mountroot: trying lfs... [ 1.0898059] mountroot: trying ffs... [ 1.0898059] root file system type: ffs [ 1.0898059] kern.module.path=/stand/riscv/10.99.12/modules [ 1.1106739] init: copying out path `/sbin/init' 11 Sat Mar 1 09:35:53 UTC 2025 Starting root file system check: /dev/rdk1: file system is clean; not checking Not resizing / (NAME=netbsd-root): already correct size Starting devpubd. [ 4.5167063] entropy: best effort Setting sysctl variables: ddb.onpanic: 1 -> 0 Starting file system checks: /dev/rdk0: 49 files, 80246 free (80246 clusters) rndctl: no entropy in seed Waiting for entropy...done Setting tty flags. Starting network. Hostname: riscv64 IPv6 mode: host Configuring network interfaces:. Adding interface aliases:. Waiting for duplicate address detection to finish... Starting dhcpcd. Starting mdnsd. mDNSResponder: Default: mDNSResponder (Engineering Build) starting [ 9.9947615] pid 570 (mdnsd), uid 0: exited on signal 6 (core dumped) Building databases: dev[ 10.2029233] pid 573 (dev_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" , dev[ 10.2898750] pid 617 (dev_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" , utmp, utmpx, services[ 11.1404346] pid 622 (services_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" . Starting syslogd. Mounting all file systems... Clearing temporary files. Checking quotas: done. Setting securelevel: kern.securelevel: 0 -> 1 Starting virecover. Starting local daemons:. Updating motd. Starting ntpd. [1] Abort trap (core dumped) "${keygen}" -t "${type}" ${bitarg} -f "${f}" -... [1] Abort trap (core dumped) "${keygen}" -t "${type}" ${bitarg} -f "${f}" -... [1] Abort trap (core dumped) "${keygen}" -t "${type}" ${bitarg} -f "${f}" -... Starting sshd. sshd: no hostkeys available -- exiting. /etc/rc.d/sshd exited with code 1 Starting postfix. postfix/postlog: starting the Postfix mail system Starting inetd. Starting cron. The following components reported failures: /etc/rc.d/sshd See /var/run/rc.log for more information. Sat Mar 1 09:36:42 UTC 2025 NetBSD/riscv (riscv64) (constty) login: NetBSD/riscv (riscv64) (constty) login: root Mar 1 09:36:43 riscv64 login: ROOT LOGIN (root) on tty constty Last login: Sat Mar 1 09:34:58 2025 on constty Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 10.99.12 (GENERIC64) #0: Sat Mar 1 09:26:48 UTC 2025 Welcome to NetBSD! This is a development snapshot of NetBSD for testing -- user beware! Bug reports: https://www.NetBSD.org/support/send-pr.html Donations to the NetBSD Foundation: https://www.NetBSD.org/donations/ -- UNSAFE KEYS WARNING: The ssh host keys on this machine have been generated with not enough entropy configured, so they may be predictable. To fix, follow the "Adding entropy" section in the entropy(7) man page. After this machine has enough entropy, re-generate the ssh host keys by running: /etc/rc.d/sshd keyregen We recommend that you create a non-root account and use su(1) for root access. riscv64# exec /bin/sh riscv64# PS1='anita-root-shell-promp''t-1740821804.9583435# ' anita-root-shell-prompt-1740821804.9583435# df -k | sed 's/^/df-pre-test /'; mkd ir /tmp/tests && cd /usr/tests && { atf-run; echo $? >/tmp/tests/test.status; } | tee /tmp/tests/test.tps | atf-report -o ticker:- -o ticker:/tmp/tests/test.txt -o xml:/tmp/tests/test.xml; (cd /tmp && for f in /usr/share/xsl/atf/tests-resul ts.xsl /usr/share/xml/atf/tests-results.dtd /usr/share/examples/atf/tests-result s.css; do cp $f tests/; done;); { cd /tmp && test `du -sk tests | awk '{print $1 }'` -lt 90000 && test `>'; expected start of test program df-post-test Filesystem 1K-blocks Used Avail %Cap Mounted on df-post-test /dev/dk1 1435576 1024032 339768 75% / df-post-test /dev/dk0 81269 1023 80246 1% /boot df-post-test ptyfs 1 1 0 100% /dev/pts df-post-test procfs 4 4 0 100% /proc df-post-test tmpfs 62848 0 62848 0% /var/shm ps-post-test UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND ps-post-test 0 0 0 0 125 0 0 8048 uvm DKl ? 0:01.54 [system] ps-post-test 0 1 0 7373 84 0 11692 1708 wait Ss ? 0:00.20 init ps-post-test 0 315 1 0 85 0 11512 968 devmon Is ? 0:00.02 /sbin/devpubd ps-post-test 0 467 480 1696 85 0 12404 1596 poll I ? 0:00.03 dhcpcd: [privileged proxy] ps-post-test 35 470 480 1554 85 0 12344 1444 poll I ? 0:00.03 dhcpcd: [control proxy] ps-post-test 35 480 1 1554 85 0 12344 1740 poll I ? 0:00.05 dhcpcd: [manager] [ip4] [ip6] ps-post-test 35 508 480 1554 85 0 12344 1476 poll I ? 0:00.03 dhcpcd: [network proxy] ps-post-test 0 634 1 70 85 0 17164 2432 kqueue Ss ? 0:00.10 /usr/sbin/syslogd -s ps-post-test 0 1006 1 0 85 0 17164 16568 pause Ss ? 0:00.69 /usr/sbin/ntpd -p /var/run/ntpd.pid -g ps-post-test 12 1149 1449 4926 84 0 20112 5168 kqueue S ? 0:00.19 pickup -l -t unix -u ps-post-test 0 1298 1 8054 84 0 11868 1568 nanoslp Ss ? 0:00.04 /usr/sbin/cron ps-post-test 0 1330 1 6917 84 0 11648 1468 kqueue Ss ? 0:00.03 /usr/sbin/inetd -l ps-post-test 0 1449 1 4610 84 0 19980 2740 kqueue Ss ? 0:00.13 /usr/libexec/postfix/master -w ps-post-test 12 1470 1449 4926 84 0 20152 5192 kqueue S ? 0:00.20 qmgr -l -t unix -u ps-post-test 0 623 1727 18172 31 0 11932 1868 - O+ tty00 0:00.06 ps -glaxww ps-post-test 0 816 1 12966 31 5 26256 12728 - RN tty00- 0:11.54 /usr/sbin/makemandb -Q ps-post-test 0 1509 1 10214 83 0 18440 6812 wait Ss tty00 0:00.56 login ps-post-test 0 1727 1509 18172 83 0 12420 2260 wait S tty00 0:00.42 /bin/sh ps-post-test 0 2009 1727 18172 83 0 12420 0 pipe_rd R+ tty00 0:00.00 sed s/^/ps-post-test / (sh) 4096 bytes per page 1 page color 60779 pages managed 22826 pages free 16855 pages active 0 pages inactive 0 pages paging 4143 pages wired 1 reserve pagedaemon pages 5 reserve kernel pages 2071 boot kernel pages 8502 kernel pool pages 9127 anonymous pages 8290 cached file pages 3610 cached executable pages 256 minimum free pages 341 target free pages 20259 maximum wired pages 0 swap devices 0 swap pages 0 swap pages in use 0 swap allocations 139986 total faults taken 5218 traps 7986 device interrupts 24489 CPU context switches 10425 software interrupts 245458 system calls 0 pagein requests 0 pageout requests 0 pages swapped in 0 pages swapped out 538 forks total 134 forks blocked parent 134 forks shared address space with parent 94976 pagealloc desired color avail 0 pagealloc desired color not avail 0 pagealloc local cpu avail 94976 pagealloc local cpu not avail 0 faults with no memory 0 faults with no anons 0 faults had to wait on pages 0 faults found released page 358 faults relock (358 ok) 55374 anon page faults 0 anon retry faults 15356 amap copy faults 30224 neighbour anon page faults 183350 neighbour object page faults 50698 locked pager get faults 358 unlocked pager get faults 41321 anon faults 14053 anon copy on write faults 37478 object faults 13220 promote copy faults 30562 promote zero fill faults 0 faults upgraded lock 0 faults couldn't upgrade lock 0 times daemon wokeup 0 revolutions of the clock hand 0 pages freed by daemon 0 pages scanned by daemon 0 anonymous pages scanned by daemon 0 object pages scanned by daemon 0 pages reactivated 0 pages found busy by daemon 0 total pending pageouts 0 pages deactivated 90 per-cpu stats synced 11 anon pages possibly dirty 9116 anon pages dirty 0 anon pages clean 569 file pages possibly dirty 176 file pages dirty 11155 file pages clean 286528 total name lookups 227760 good hits 1801 negative hits 48 bad hits 0 false hits 56919 miss 0 too long 15109 pass2 hits 15347 2passes 63 reverse hits 0 reverse miss 0 access denied cache hits (79% pos + 0% neg) system 5% per-process deletions 0%, falsehits 0%, toolong 0% anita-root-shell-prompt-1740821804.9583435# echo exit_status=$?= exit_status=134= anita-root-shell-prompt-1740821804.9583435# halt Mar 1 09:37:00 riscv64 halt: halted by root Mar 1 09:37:01 riscv64 syslogd[634]: Exiting on signal 15 [ 83.7399114] syncing disks... done [ 83.7599590] unmounting file systems... [ 83.7599590] unmounting 0xffffffe08c553000 /var/shm (tmpfs)... [ 83.7799484] unmounting 0xffffffe08c56b000 /proc (procfs)... [ 83.7799484] unmounting 0xffffffe08c55f000 /dev/pts (ptyfs)... [ 83.7799484] unmounting 0xffffffe08caa6000 /boot (/dev/dk0)... [ 83.7799484] unmounting 0xffffffe08e466000 / (/dev/dk1)... [ 84.6000417] unmounting done [ 84.6000417] The operating system has halted. [ 84.6000417] Please press any key to reboot. 121.89 real 76.83 user 0.77 sys