This is anita version 2.11 Using pexpect version 4.8.0 /usr/pkg/bin/anita \ --workdir=/bracket/riscv-riscv64/test/2023.10.06.14.35.25/anita \ --structured-log-file=/bracket/riscv-riscv64/test/2023.10.06.14.35.25/test.slog \ --vmm-args= test \ file:///bracket/riscv-riscv64/test/2023.10.06.14.35.25/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/2023.10.06.14.35.25/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/2023.10.06.14.35.25/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/2023.10.06.14.35.25/anita/netbsd-GENERIC64 child pid is 1085 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_80bc - 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 0xffffffc0008143f0 [ 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 kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000 [ 1.0000000] kva : ffffffc004000000 - ffffffc017800000 [ 1.0000000] mpstart [ 1.0000000] Loaded initial symtab at 0xffffffc00084caa0, strtab at 0xffffffc0008d6068, # entries 22261 [ 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] 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: Fri Mar 1 12:27:36 UTC 2024 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2023.10.06.14.35.25-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] plic0 at simplebus1RISC-V PLIC (53 IRQs) [ 1.0000000] /soc/test@100000 at simplebus1 not configured [ 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 [ 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: block device (id 2, rev. 0x01) [ 1.0000000] ld0 at virtio0: features: 0x10000a54 [ 1.0000000] virtio0: interrupting on plic0 irq 8 [ 1.0000000] ld0: 1536 MB, 3120 cyl, 16 head, 63 sec, 512 bytes/sect x 3145728 sectors [ 1.0000000] virtio1 at simplebus1 [ 1.0000000] virtio1: block device (id 2, rev. 0x01) [ 1.0000000] ld1 at virtio1: features: 0x10000a54 [ 1.0000000] virtio1: interrupting on plic0 irq 7 [ 1.0000000] ld1: 100 MB, 203 cyl, 16 head, 63 sec, 512 bytes/sect x 204800 sectors [ 1.0000000] virtio2 at simplebus1 [ 1.0000000] virtio3 at simplebus1 [ 1.0000000] virtio4 at simplebus1 [ 1.0000000] virtio5 at simplebus1 [ 1.0000000] virtio6 at simplebus1 [ 1.0000000] virtio7 at simplebus1 [ 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.0445007] dk0 at ld0: "EFI", 163840 blocks at 32768, type: msdos [ 1.0445007] dk1 at ld0: "netbsd-root", 2940928 blocks at 196608, type: ffs [ 1.0445007] WARNING: system needs entropy for security; see entropy(7) [ 1.1019663] swwdog0: software watchdog initialized [ 1.1019663] root on dk1 [ 1.1169770] mountroot: trying lfs... [ 1.1199015] mountroot: trying ffs... [ 1.1199015] root file system type: ffs [ 1.1199015] kern.module.path=/stand/riscv/10.99.10/modules [ 1.1417789] init: copying out path `/sbin/init' 11 Fri Mar 1 12:40:00 UTC 2024 Starting root file system check: /dev/rdk1: file system is clean; not checking [ 3.5798408] entropy: best effort Not resizing / (NAME=netbsd-root): already correct size Starting devpubd. Setting sysctl variables: ddb.onpanic: 1 -> 0 Starting file system checks: /dev/rdk0: 8 files, 81063 free (81063 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. 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. Mar 1 12:40:18 riscv64 ntpd[1063]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2) Starting postfix. Starting inetd. Starting cron. Fri Mar 1 12:40:34 UTC 2024 NetBSD/riscv (riscv64) (constty) login: NetBSD/riscv (riscv64) (constty) login: root Mar 1 12:40:35 riscv64 login: ROOT LOGIN (root) on tty constty Last login: Fri Mar 1 12:39:14 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 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: Fri Mar 1 12:27:36 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-1709296836.4887164# ' anita-root-shell-prompt-1709296836.4887164# 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 `locale) != NULL not met [0.113103s] lib/libc/locale/t_ducet (219/940): 2 test cases wcscoll_ducet: [0.097476s] Skipped: Cannot test DUCET without __STDC_ISO_10646__ wcsxfrm_ducet: [0.106181s] Skipped: Cannot test DUCET without __STDC_ISO_10646__ [0.219441s] lib/libc/locale/t_strfmon (220/940): 2 test cases strfmon_locale: [0.122429s] Passed. strfmon_pad: [0.093500s] Passed. [0.236035s] lib/libc/membar/t_dekker (221/940): 1 test cases dekker: [0.090900s] Skipped: membar tests are only for multicore systems [0.098638s] lib/libc/membar/t_seqlock (222/940): 1 test cases seqlock: [0.100720s] Skipped: membar tests are only for multicore systems [0.110374s] lib/libc/membar/t_spinlock (223/940): 1 test cases spinlock: [0.106728s] Skipped: membar tests are only for multicore systems [0.115213s] lib/libc/misc/t_ubsan (224/940): 14 test cases add_overflow_signed: [0.151041s] Passed. builtin_unreachable: [0.154800s] Passed. divrem_overflow_signed_div: [0.166259s] Passed. divrem_overflow_signed_mod: [0.167242s] Passed. integer_divide_by_zero: [0.156392s] Passed. load_invalid_value_bool: [0.167447s] Passed. mul_overflow_signed: [0.156319s] Passed. out_of_bounds: [0.146852s] Passed. shift_out_of_bounds_negativeexponent: [0.127207s] Passed. shift_out_of_bounds_signednessbit: [0.133186s] Passed. shift_out_of_bounds_signedoverflow: [0.132704s] Passed. shift_out_of_bounds_toolargeexponent: [0.134004s] Passed. type_mismatch_misaligned: [0.192572s] Passed. vla_bound_not_positive: [0.138432s] Passed. [2.304168s] lib/libc/misc/t_ubsanxx (225/940): 15 test cases add_overflow_signed: [0.242475s] Passed. builtin_unreachable: [0.221187s] Passed. divrem_overflow_signed_div: [0.257518s] Passed. divrem_overflow_signed_mod: [0.203855s] Passed. integer_divide_by_zero: [0.193415s] Passed. load_invalid_value_bool: [0.222181s] Passed. load_invalid_value_enum: [0.209072s] Passed. missing_return: [0.248066s] Passed. mul_overflow_signed: [0.203438s] Passed. out_of_bounds: [0.218552s] Passed. shift_out_of_bounds_negativeexponent: [0.250069s] Passed. shift_out_of_bounds_signedoverflow: [0.226399s] Passed. shift_out_of_bounds_toolargeexponent: [0.250900s] Passed. type_mismatch_misaligned: [0.219549s] Passed. vla_bound_not_positive: [0.239230s] Passed. [3.604793s] lib/libc/net/getaddrinfo/t_getaddrinfo (226/940): 7 test cases basic: [1.241653s] Passed. empty_hostname: [1.442913s] Passed. empty_servname: [1.099724s] Passed. scopeaddr: [0.708894s] Passed. sock_raw: [0.962498s] Passed. specific: [0.968549s] Passed. unsupported_family: [0.702983s] Passed. [7.193595s] lib/libc/net/t_getprotoent (227/940): 7 test cases endprotoent_rewind: [0.080957s] Passed. getprotobyname_basic: [0.091439s] Passed. getprotobyname_err: [0.101839s] Passed. getprotobynumber_basic: [0.097476s] Passed. getprotobynumber_err: [0.099629s] Passed. getprotoent_next: [0.113993s] Passed. setprotoent_rewind: [0.114923s] Passed. [0.752127s] lib/libc/net/t_ether_aton (228/940): 1 test cases tc_ether_aton: [0.110743s] Passed. [0.120866s] lib/libc/net/t_if_nametoindex (229/940): 1 test cases tc_if_nametoindex: [0.081849s] Passed. [0.090108s] lib/libc/net/t_nsdispatch (230/940): 1 test cases recurse: [0.642276s] Passed. [0.655188s] lib/libc/net/t_protoent (231/940): 1 test cases protoent: [0.915252s] Passed. [0.927736s] lib/libc/net/t_servent (232/940): 1 test cases servent: [2.854021s] Passed. [2.874500s] lib/libc/net/t_hostent (233/940): 12 test cases dnsbyaddrlookup4: [2.008293s] Passed. dnsbyaddrlookup6: [2.266603s] Passed. dnsbynamelookup4: [2.148179s] Passed. dnsbynamelookup6: Mar 1 13:35:58 riscv64 ntpd[1063]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2) [2.372315s] Passed. gethostbyaddr4: [2.066779s] Passed. gethostbyaddr6: [1.866962s] Passed. gethostbyname4: [2.017738s] Passed. gethostbyname6: [2.120168s] Passed. hostsbyaddrlookup4: [0.726882s] Passed. hostsbyaddrlookup6: [0.752225s] Passed. hostsbynamelookup4: [0.700041s] Passed. hostsbynamelookup6: [0.741128s] Passed. [19.895434s] lib/libc/nls/t_catalog (234/940): 2 test cases catalog_errno: [0.097287s] Passed. catalog_signal: [0.088273s] Passed. [0.200163s] lib/libc/regex/t_regex_att (235/940): 7 test cases basic: [0.133491s] Passed. categorization: [0.114507s] Passed. forcedassoc: [0.118231s] Passed. leftassoc: [0.121089s] Expected failure: Reason for breakage unknown: 12 checks failed as expected; see output for more details nullsubexpr: [0.166073s] Passed. repetition: [0.168471s] Passed. rightassoc: [0.080968s] Passed. [0.955907s] lib/libc/regex/t_exhaust (236/940): 1 test cases regcomp_too_big: [0.008914s] Skipped: Not enough memory; needed 268435456, available 240717824 [0.012963s] lib/libc/regex/t_regex (237/940): 19 test cases anchor: [1.095471s] Passed. backref: [1.301058s] Passed. basic: [1.268919s] Passed. bracket: [1.272448s] Passed. c_comments: [1.103222s] Passed. complex: [1.278421s] Passed. error: [1.222508s] Passed. meta: [1.154843s] Passed. nospec: [1.225594s] Passed. paren: [1.094676s] Passed. regress: [1.262532s] Passed. repet_bounded: [1.202407s] Passed. repet_multi: [1.287109s] Passed. repet_ordinary: [1.115723s] Passed. startend: [1.177904s] Passed. subexp: [1.336812s] Passed. subtle: [1.177003s] Passed. word_bound: [1.097466s] Passed. zero: [1.127227s] Passed. [22.935777s] lib/libc/rpc/t_xdr (238/940): 1 test cases xdr: [0.101007s] Passed. [0.110506s] lib/libc/rpc/t_rpc (239/940): 7 test cases get_svc_addr_tcp: [1.165652s] Skipped: clnt_create (: RPC: Port mapper failure - RPC: Timed out) get_svc_addr_udp: [1.212590s] Skipped: clnt_create (: RPC: Port mapper failure - RPC: Timed out) raw: [0.111368s] Passed. tcp: [0.177263s] Skipped: Cannot create server 1 tcp_poll: [0.175059s] Skipped: Cannot create server 1 udp: [0.163560s] Skipped: Cannot create server 1 udp_poll: [0.154913s] Skipped: Cannot create server 1 [3.219619s] lib/libc/setjmp/t_setjmp (240/940): 6 test cases _longjmp_zero: [0.091221s] Passed. _setjmp: [0.084437s] Passed. longjmp_zero: [0.090133s] Passed. setjmp: [0.090167s] Passed. sigsetjmp_nosave: [0.093540s] Passed. sigsetjmp_save: [0.084778s] Passed. [0.576632s] lib/libc/setjmp/t_threadjmp (241/940): 4 test cases _setjmp: [0.080386s] Passed. setjmp: [0.087541s] Passed. sigsetjmp_nosave: [0.086800s] Passed. sigsetjmp_save: [0.091865s] Passed. [0.371879s] lib/libc/stdio/t_clearerr (242/940): 2 test cases clearerr_basic: [0.098862s] Passed. clearerr_err: [0.078716s] Passed. [0.194020s] lib/libc/stdio/t_fflush (243/940): 3 test cases fflush_err: [0.168443s] Passed. fflush_seek: [0.177114s] Passed. fpurge_err: [0.205229s] Passed. [0.575807s] lib/libc/stdio/t_fmemopen (244/940): 23 test cases test00: [0.090348s] Passed. test01: [0.086762s] Passed. test02: [0.089409s] Passed. test03: [0.105679s] Passed. test04: [0.096565s] Passed. test05: [0.088382s] Passed. test06: [0.089752s] Passed. test07: [0.090413s] Passed. test08: [0.092733s] Passed. test09: [0.134774s] Passed. test10: [0.122716s] Passed. test11: [0.113678s] Passed. test12: [0.121143s] Passed. test13: [0.088622s] Passed. test14: [0.108054s] Passed. test15: [0.119811s] Passed. test16: [0.131946s] Passed. test17: [0.112067s] Passed. test18: [0.091689s] Passed. test19: [0.116191s] Passed. test20: [0.091854s] Passed. test21: [0.095666s] Passed. test22: [0.118063s] Passed. [2.558053s] lib/libc/stdio/t_fopen (245/940): 13 test cases fdopen_close: [0.181102s] Passed. fdopen_err: [0.202142s] Passed. fdopen_seek: [0.175143s] Passed. fopen_append: [0.167602s] Passed. fopen_err: [0.214288s] Passed. fopen_mode: [0.226372s] Passed. fopen_nullptr: [0.094536s] Passed. fopen_nullptr_compat10: [0.102518s] Skipped: Kernel does not have the compat_10 module loaded into the kernel fopen_perm: [0.101094s] Passed. fopen_regular: [0.107240s] Passed. fopen_seek: [0.207581s] Passed. fopen_symlink: [0.183143s] Passed. freopen_std: [0.366241s] Passed. [2.427491s] lib/libc/stdio/t_open_memstream (246/940): 1 test cases test_open_memstream: [0.088652s] Passed. [0.096086s] lib/libc/stdio/t_fputc (247/940): 6 test cases fputc_basic: [0.177551s] Passed. fputc_err: [0.174284s] Passed. putc_basic: [0.160754s] Passed. putc_err: [0.148133s] Passed. putc_unlocked_basic: [0.161924s] Passed. putc_unlocked_err: [0.162944s] Passed. [1.024454s] lib/libc/stdio/t_popen (248/940): 1 test cases popen_zeropad: [0.545911s] Passed. [0.553390s] lib/libc/stdio/t_printf (249/940): 8 test cases snprintf_c99: [0.100703s] Passed. snprintf_dotzero: [0.105554s] Passed. snprintf_double_a: [0.101584s] Passed. snprintf_float: [0.235864s] Passed. snprintf_posarg: [0.102290s] Passed. snprintf_posarg_error: [0.095216s] Passed. snprintf_posarg_width: [0.095247s] Passed. sprintf_zeropad: [0.085944s] Passed. [0.991793s] lib/libc/stdio/t_scanf (250/940): 2 test cases sscanf_neghex: [0.090194s] Passed. sscanf_whitespace: [0.088058s] Passed. [0.192662s] lib/libc/stdio/t_intr (251/940): 2 test cases stdio_intr_iolbf: Mar 1 13:34:51 riscv64 ntpd[1063]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2) [196.018343s] Passed. stdio_intr_ionbf: [ 3640.0073867] panic: cpu0: softints stuck for 16 seconds [ 3640.0073867] cpu0: Begin traceback... [ 3640.0073867] have_addr: true [ 3640.0073867] addr: ffffffc017ba8930 [ 3640.0073867] count: 65535 [ 3640.0073867] modif: [ 3640.0073867] trace fp ffffffc017ba8930 [ 3640.0073867] fp ffffffc017ba8970 vpanic() at ffffffc0003042aa netbsd:vpanic+0x138 [ 3640.0073867] fp ffffffc017ba8990 panic() at ffffffc00030434c netbsd:panic+0x24 [ 3640.0073867] fp ffffffc017ba8a70 heartbeat() at ffffffc0002b4b66 netbsd:heartbeat+0x36a [ 3640.0073867] fp ffffffc017ba8ab0 hardclock() at ffffffc00029f62a netbsd:hardclock+0x6c [ 3640.0073867] fp ffffffc017ba8ad0 riscv_timer_intr() at ffffffc00000319c netbsd:riscv_timer_intr+0x46 [ 3640.0073867] fp ffffffc017ba8b70 intc_intr_handler() at ffffffc00001364e netbsd:intc_intr_handler+0xd2 [ 3640.0073867] tf ffffffc017ba8b70 exception_kernexit() at ffffffc0000043ac netbsd:cpu_exception_handler+0x98 [ 3640.0073867] ---- trapframe 0xffffffc017ba8b70 (288 bytes) ---- [ 3640.0073867] Trapframe @ 0xffffffc017ba8b70 (cause=5 (interrupt), status=0x120, pc=0xffffffc000416dec, va=0xffffffc000957e08): [ 3640.0073867] ra =0xffffffc00000efea sp =0xffffffc017ba8c90 gp =0xffffffc000937940 [ 3640.0073867] tp = 0x587638faf6700 t0 =0xffffffe08f73e758 t1 = 0 t2 = 0x222 [ 3640.0073867] s0 =0xffffffc017ba8cc0 s1 = 0x21ab0013 a0 =0xffffffe08f73e758 a1 = 0x21ab0013 [ 3640.0073867] a2 = 0x21ab0011 a3 =0xffffffc0008009c0 a4 = 0 a5 = 0x2 [ 3640.0073867] a6 =0xffffffc017ba8d70 a7 =0xffffffe08ffe6ad0 s2 =0xffffffe08f73e700 s3 = 0xffffffff [ 3640.0073867] s4 =0xffffffe08f73e758 s5 =0xffffffc017ba8d08 s6 = 0 s7 = 0x8000 [ 3640.0073867] s8 =0xffffffc000957e08 s9 = 0xc00 s10=0xffffffe08f73e700 s11=0xffffffe08fa89ac0 [ 3640.0073867] t3 =0xffffffc017ba8d70 t4 = 0x2aa8 t5 =0xffffffc0006530c8 t6 = 0x4 [ 3640.0073867] ------------------------------------------------ [ 3640.0073867] fp ffffffc017ba8cc0 _atomic_cas_64() at ffffffc000416dec netbsd:__sync_bool_compare_and_swap_1+0x30 [ 3640.0073867] fp ffffffc017ba8db0 uvmpdpol_balancequeue() at ffffffc00028d130 netbsd:uvmpdpol_balancequeue+0x14a [ 3640.0073867] fp ffffffc017ba8ee0 uvm_pageout() at ffffffc00028bea6 netbsd:uvm_pageout+0x41e [ 3640.0073867] fp 0000000000000000 exception_kernexit() at ffffffc00000440a netbsd:exception_kernexit+0x5e [ 3640.0073867] cpu0: End traceback... [ 3640.0073867] rebooting... 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_80bc - 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 0xffffffc0008143f0 [ 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 kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000 [ 1.0000000] kva : ffffffc004000000 - ffffffc017800000 [ 1.0000000] mpstart [ 1.0000000] Loaded initial symtab at 0xffffffc00084caa0, strtab at 0xffffffc0008d6068, # entries 22261 [ 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] 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: Fri Mar 1 12:27:36 UTC 2024 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2023.10.06.14.35.25-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] plic0 at simplebus1RISC-V PLIC (53 IRQs) [ 1.0000000] /soc/test@100000 at simplebus1 not configured [ 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 [ 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: block device (id 2, rev. 0x01) [ 1.0000000] ld0 at virtio0: features: 0x10000a54 [ 1.0000000] virtio0: interrupting on plic0 irq 8 [ 1.0000000] ld0: 1536 MB, 3120 cyl, 16 head, 63 sec, 512 bytes/sect x 3145728 sectors [ 1.0000000] virtio1 at simplebus1 [ 1.0000000] virtio1: block device (id 2, rev. 0x01) [ 1.0000000] ld1 at virtio1: features: 0x10000a54 [ 1.0000000] virtio1: interrupting on plic0 irq 7 [ 1.0000000] ld1: 100 MB, 203 cyl, 16 head, 63 sec, 512 bytes/sect x 204800 sectors [ 1.0000000] virtio2 at simplebus1 [ 1.0000000] virtio3 at simplebus1 [ 1.0000000] virtio4 at simplebus1 [ 1.0000000] virtio5 at simplebus1 [ 1.0000000] virtio6 at simplebus1 [ 1.0000000] virtio7 at simplebus1 [ 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.0328682] dk0 at ld0: "EFI", 163840 blocks at 32768, type: msdos [ 1.0328682] dk1 at ld0: "netbsd-root", 2940928 blocks at 196608, type: ffs [ 1.0513303] WARNING: system needs entropy for security; see entropy(7) [ 1.1121427] swwdog0: software watchdog initialized [ 1.1121427] root on dk1 [ 1.1422629] mountroot: trying lfs... [ 1.1422629] mountroot: trying ffs... [ 1.1503886] root file system type: ffs [ 1.1503886] kern.module.path=/stand/riscv/10.99.10/modules [ 1.1711257] init: copying out path `/sbin/init' 11 Fri Mar 1 13:40:39 UTC 2024 Starting root file system check: [ 3.5504492] entropy: best effort /dev/rdk1: LINK COUNT FILE I=28423 OWNER=0 MODE=100644 /dev/rdk1: SIZE=6 MTIME=Mar 1 13:40 2024 COUNT 2 SHOULD BE 1 (ADJUSTED) /dev/rdk1: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/rdk1: SUMMARY INFORMATION BAD (SALVAGED) /dev/rdk1: BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/rdk1: 28765 files, 122715 used, 56972 free (20 frags, 7119 blocks, 0.0% fragmentation) /dev/rdk1: MARKING FILE SYSTEM CLEAN Not resizing / (NAME=netbsd-root): already correct size Starting devpubd. Setting sysctl variables: ddb.onpanic: 1 -> 0 Starting file system checks: /dev/rdk0: 8 files, 81063 free (81063 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. Mar 1 13:41:04 riscv64 ntpd[1000]: format error frequency file /var/db/ntp.drift Starting sshd. Mar 1 13:41:05 riscv64 ntpd[1000]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2) Starting postfix. Starting inetd. Starting cron. Fri Mar 1 13:41:24 UTC 2024 NetBSD/riscv (riscv64) (constty) login: Mar 1 13:42:09 riscv64 ntpd[1000]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2) Mar 1 13:41:05 riscv64 ntpd[1000]: error resolving pool 2.netbsd.pool.ntp.org: Temporary failure in name resolution (2) Mar 1 13:53:58 riscv64 syslogd[598]: last message repeated 9 times Mar 1 14:03:58 riscv64 syslogd[598]: last message repeated 10 times Mar 1 14:13:58 riscv64 syslogd[598]: last message repeated 9 times Mar 1 14:23:59 riscv64 syslogd[598]: last message repeated 9 times Mar 1 14:33:59 riscv64 syslogd[598]: last message repeated 9 times Mar 1 14:43:59 riscv64 syslogd[598]: last message repeated 9 times Mar 1 14:53:59 riscv64 syslogd[598]: last message repeated 9 times Mar 1 15:04:00 riscv64 syslogd[598]: last message repeated 10 times Mar 1 15:14:00 riscv64 syslogd[598]: last message repeated 9 times Mar 1 15:24:00 riscv64 syslogd[598]: last message repeated 9 times Mar 1 15:34:01 riscv64 syslogd[598]: last message repeated 9 times Mar 1 15:44:01 riscv64 syslogd[598]: last message repeated 9 times Mar 1 15:54:02 riscv64 syslogd[598]: last message repeated 9 times Mar 1 16:04:03 riscv64 syslogd[598]: last message repeated 9 times Mar 1 16:14:03 riscv64 syslogd[598]: last message repeated 10 times Mar 1 16:24:03 riscv64 syslogd[598]: last message repeated 9 times Mar 1 16:34:04 riscv64 syslogd[598]: last message repeated 9 times 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 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/2023.10.06.14.35.25/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/2023.10.06.14.35.25/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/2023.10.06.14.35.25/anita/netbsd-GENERIC64'] buffer (last 100 chars): b'st message repeated 9 times\r\r\nMar 1 16:34:04 riscv64 syslogd[598]: last message repeated 9 times\r\r\n' before (last 100 chars): b'st message repeated 9 times\r\r\nMar 1 16:34:04 riscv64 syslogd[598]: last message repeated 9 times\r\r\n' after: match: None match_index: None exitstatus: None flag_eof: False pid: 1085 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-1709296836.4887164# ') 1: re.compile(b'\\d test cases') 2: re.compile(b'\\[\\d+\\.\\d+s\\]') 14442.64 real 2890.43 user 555.87 sys