This is anita version 2.11 Using pexpect version 4.8.0 /usr/pkg/bin/anita \ --workdir=/bracket/riscv-riscv64/test/2024.04.14.08.29.54/anita \ --structured-log-file=/bracket/riscv-riscv64/test/2024.04.14.08.29.54/test.slog \ --vmm-args= test \ file:///bracket/riscv-riscv64/test/2024.04.14.08.29.54/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.04.14.08.29.54/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.04.14.08.29.54/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.04.14.08.29.54/anita/netbsd-GENERIC64 child pid is 16930 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_fa8c - 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 0xffffffc000850b98, strtab at 0xffffffc0008dc218, # entries 22592 [ 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: Sun Apr 14 10:15:34 UTC 2024 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2024.04.14.08.29.54-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 simplebus1: RISC-V PLIC (53 IRQs) [ 1.0000000] qemufwcfg0 at simplebus0 [ 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.0210253] dk0 at ld4: "EFI", 163840 blocks at 32768, type: msdos [ 1.0210253] dk1 at ld4: "netbsd-root", 2940928 blocks at 196608, type: ffs [ 1.0300584] WARNING: system needs entropy for security; see entropy(7) [ 1.0873210] swwdog0: software watchdog initialized [ 1.0873210] boot device: [ 1.0873210] root on dk1 [ 1.0912109] mountroot: trying lfs... [ 1.0912109] mountroot: trying ffs... [ 1.0999277] root file system type: ffs [ 1.0999277] kern.module.path=/stand/riscv/10.99.10/modules [ 1.1122429] init: copying out path `/sbin/init' 11 Sun Apr 14 10:29:17 UTC 2024 Starting root file system check: /dev/rdk1: file system is clean; not checking Not resizing / (NAME=netbsd-root): already correct size [ 4.2699342] entropy: best effort Starting devpubd. Setting sysctl variables: ddb.onpanic: 1 -> 0 Starting file system checks: /dev/rdk0: 14 files, 80901 free (80901 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. no valid interfaces found Starting mdnsd. Building databases: dev, utmp, utmpx. 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. Starting sshd. Apr 14 10:29:36 riscv64 ntpd[1018]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2) Starting postfix. postfix/postlog: starting the Postfix mail system Starting inetd. Starting cron. Sun Apr 14 10:29:50 UTC 2024 NetBSD/riscv (riscv64) (constty) login: NetBSD/riscv (riscv64) (constty) login: root Apr 14 10:29:51 riscv64 login: ROOT LOGIN (root) on tty constty Last login: Sun Apr 14 10:28:25 2024 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 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.10 (GENERIC64) #0: Sun Apr 14 10:15:34 UTC 2024 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-1713090592.6688359# ' anita-root-shell-prompt-1713090592.6688359# 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 ` 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 2635, in run_tests timeout, [r'\d test cases', r'\[\d+\.\d+s\]']) File "/usr/pkg/lib/python3.7/site-packages/anita.py", line 2671, in shell_cmd return shell_cmd(self.child, cmd, timeout, keepalive_patterns) File "/usr/pkg/lib/python3.7/site-packages/anita.py", line 2746, in shell_cmd expect_with_keepalive(child, [prompt_re], timeout, keepalive_patterns) File "/usr/pkg/lib/python3.7/site-packages/anita.py", line 2729, in expect_with_keepalive i = child.expect(all_patterns, timeout) 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.04.14.08.29.54/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.04.14.08.29.54/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.04.14.08.29.54/anita/netbsd-GENERIC64'] buffer (last 100 chars): b' Passed.\r\r\n raid1_comp0fail: ' before (last 100 chars): b' Passed.\r\r\n raid1_comp0fail: ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 16930 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'anita-root-shell-prompt-1713090592.6688359# ') 1: re.compile(b'\\d test cases') 2: re.compile(b'\\[\\d+\\.\\d+s\\]') 12708.96 real 12157.84 user 462.02 sys