/usr/pkg/bin/anita:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html __import__('pkg_resources').run_script('anita==2.13', 'anita') This is anita version 2.13 Using pexpect version 4.9.0 /usr/pkg/bin/anita \ --workdir=/bracket/macppc/test/2024.07.04.12.35.47/anita \ --structured-log-file=/bracket/macppc/test/2024.07.04.12.35.47/test.slog \ --vmm-args= test \ file:///bracket/macppc/test/2024.07.04.12.35.47/release/release/macppc/ QEMU emulator version 8.2.2 Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers qemu path: /usr/pkg/bin/qemu-system-ppc qemu package: qemu-8.2.2 glib2 package: glib2-2.78.4 qemu-system-ppc \ -m 256 \ -drive file=/bracket/macppc/test/2024.07.04.12.35.47/anita/wd0.img,format=raw,media=disk,snapshot=on \ -nographic \ -drive file=/bracket/macppc/test/2024.07.04.12.35.47/anita/tests-results.img,format=raw,media=disk,snapshot=off \ -drive file=/bracket/macppc/test/2024.07.04.12.35.47/anita/boot.iso,format=raw,media=cdrom,readonly=on,index=2,index=2 \ -prom-env boot-device=cd:,netbsd-GENERIC \ -M mac99 \ -prom-env qemu_boot_hack=y child pid is 14569 >> ============================================================= >> OpenBIOS 1.1 [Mar 7 2023 22:21] >> Configuration device id QEMU version 1 machine id 1 >> CPUs: 1 >> Memory: 256M >> UUID: 00000000-0000-0000-0000-000000000000 >> CPU type PowerPC,G4 milliseconds isn't unique. Welcome to OpenBIOS v1.1 built on Mar 7 2023 22:21 Trying cd:,netbsd-GENERIC... >> switching to new context: [ 1.0000000] [ Kernel symbol table missing! ] [ 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.11 (GENERIC) #0: Thu Jul 4 14:49:23 UTC 2024 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2024.07.04.12.35.47-macppc/obj/sys/arch/macppc/compile/GENERIC [ 1.0000000] total memory = 256 MB [ 1.0000000] avail memory = 226 MB [ 1.0000000] found openpic PIC at 80040000 [ 1.0000000] OpenPIC Version 1.2: Supports 1 CPUs and 64 interrupt sources. [ 1.0000000] bootpath: /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:2,netbsd-GENERIC [ 1.0000000] mainbus0 (root) [ 1.0000000] cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary) [ 1.0000000] cpu0: HID0 0x809400a4, powersave: 1 [ 1.0000000] cpu0: 0.00 MHz L2 cache present but not enabled [ 1.0000000] memory0 at mainbus0 [ 1.0000000] uninorth0 at mainbus0 [ 1.0000000] pci0 at uninorth0 bus 0 [ 1.0000000] pchb0 at pci0 dev 11 function 0 [ 1.0000000] pchb0: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00) [ 1.0000000] obio0 at pci0 dev 12 function 0: addr 0x80000000 [ 1.0000000] obio0: enabling KeyLargo internal modem [ 1.0000000] cuda0 at obio0 offset 0x16000 irq 25 [ 1.0000000] nadb0 at cuda0: Apple Desktop Bus [ 1.0000000] iic0 at cuda0: I2C bus [ 1.0000000] zsc0 at obio0 irq 37,36 [ 1.0000000] zstty0 at zsc0 channel 0 (console i/o) [ 1.0000000] zstty1 at zsc0 channel 1 [ 1.0000000] wdc0 at obio0 offset 0x20000 irq 13, level triggered: DMA transfer [ 1.0000000] atabus0 at wdc0 channel 0 [ 1.0000000] wdc1 at obio0 offset 0x21000 irq 14, level triggered: DMA transfer [ 1.0000000] atabus1 at wdc1 channel 0 [ 1.0000000] ohci0 at pci0 dev 13 function 0: Apple Computer Intrepid USB Controller (rev. 0x00) [ 1.0000000] ohci0: interrupting at irq 28 [ 1.0000000] ohci0: OHCI version 1.0 [ 1.0000000] usb0 at ohci0: USB revision 1.0 [ 1.0000000] genfb0 at pci0 dev 14 function 0: vendor 1234 product 1111 (rev. 0x02) [ 1.0000000] gem0 at pci0 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x01) [ 1.0000000] gem0: interrupting at irq 30 [ 1.0000000] gem0: cannot reset receiver [ 1.0000000] gem0: cannot reset transmitter [ 1.0000000] bmtphy0 at gem0 phy 0: BCM5201 10/100 media interface, rev. 0 [ 1.0000000] bmtphy0: 100baseTX-FDX, auto [ 1.0000000] gem0: Ethernet address 52:54:00:12:34:56, 20KB RX fifo, 9KB TX fifo [ 1.0000000] uni_n0 at mainbus0 address 0xf8000000 [ 1.0000000] vmmask 7f000000 schedmask 7f000000 highmask 7f000000 [ 1.0243782] wd0 at atabus0 drive 0 [ 1.0372134] wd0: [ 1.0372134] wd0: 1536 MB, 3120 cyl, 16 head, 63 sec, 512 bytes/sect x 3145728 sectors [ 1.0500748] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1 [ 1.0633286] wd1 at atabus0 drive 1 [ 1.0633286] wd1: [ 1.0633286] wd1: 100 MB, 203 cyl, 16 head, 63 sec, 512 bytes/sect x 204800 sectors [ 1.2800373] WARNING: system needs entropy for security; see entropy(7) [ 2.7382928] adbkbd0 at nadb0 addr 2: mapped device (0) [ 6.3801720] entropy: best effort [ 7.0204831] atapibus0 at atabus1: 2 targets [ 7.0204831] cd0 at atapibus0 drive 0: cdrom removable [ 12.8937333] wskbd0 at adbkbd0 mux 1 [ 12.8937333] wsmouse0 at adbkbd0 mux 0 [ 12.8937333] adbms0 at nadb0 addr 3: relative positioning device (mouse?) (0) [ 12.8937333] wsmouse1 at adbms0 mux 0 [ 13.0139123] swwdog0: software watchdog initialized [ 13.0232071] WARNING: 2 errors while detecting hardware; check system log. [ 13.0232071] boot device: [ 13.0232071] root device: wd0a [ 13.0232071] dump device (default wd0b): [ 13.0232071] file system (default generic): [ 13.0232071] root on wd0a dumps on wd0b [ 13.0232071] root file system type: ffs [ 13.0232071] kern.module.path=/stand/macppc/10.99.11/modules [ 13.5826185] init path (default /sbin/init): [ 13.5826185] init: trying /sbin/init Thu Jul 4 14:59:31 UTC 2024 Starting root file system check: /dev/rwd0a: file system is clean; not checking Setting sysctl variables: ddb.onpanic: 1 -> 0 swapctl: setting dump device to /dev/wd0b swapctl: adding /dev/wd0b as swap device at priority 0 Starting file system checks: [ 16.2144077] entropy: ready Loaded entropy from /var/db/entropy-file. Waiting for entropy...done Setting tty flags. Starting network. /etc/rc: WARNING: $hostname not set. IPv6 mode: host Configuring network interfaces:. Adding interface aliases:. Waiting for duplicate address detection to finish... Building databases: dev, utmp, utmpx, services. Starting syslogd. Mounting all file systems... Clearing temporary files. Checking quotas: done. swapctl: setting dump device to /dev/wd0b Starting virecover. Checking for core dump... savecore: no core dump Starting local daemons:. Updating motd. Starting powerd. /usr/sbin/postconf: warning: valid_hostname: empty hostname /usr/sbin/postconf: fatal: unable to use my own hostname Starting postfix. postfix: warning: valid_hostname: empty hostname postfix: fatal: unable to use my own hostname Jul 4 14:59:44 postfix[822]: fatal: unable to use my own hostname /etc/rc.d/postfix exited with code 1 Starting inetd. Starting cron. The following components reported failures: /etc/rc.d/postfix See /var/run/rc.log for more information. Thu Jul 4 14:59:46 UTC 2024 Jul 4 14:59:46 getty[999]: /dev/ttyE0: Device not configured NetBSD/macppc (Amnesiac) (ttyZ0) Jul 4 14:59:46 getty[1050]: /dev/ttyE2: Device not configured Jul 4 14:59:46 getty[950]: /dev/ttyE1: Device not configured login: Jul 4 14:59:46 getty[1116]: /dev/ttyE3: Device not configured NetBSD/macppc (Amnesiac) (ttyZ0) login: root Jul 4 14:59:46 login: ROOT LOGIN (root) on tty ttyZ0 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.11 (GENERIC) #0: Thu Jul 4 14:49:23 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/ We recommend that you create a non-root account and use su(1) for root access. # exec /bin/sh # PS1='anita-root-shell-promp''t-1720105187.9495275# ' anita-root-shell-prompt-1720105187.9495275# 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 ` __import__('pkg_resources').run_script('anita==2.13', 'anita') File "/usr/pkg/lib/python3.11/site-packages/pkg_resources/__init__.py", line 722, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/pkg/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1572, in run_script exec(script_code, namespace, namespace) File "/usr/pkg/lib/python3.11/site-packages/anita-2.13-py3.11.egg/EGG-INFO/scripts/anita", line 163, in File "/usr/pkg/lib/python3.11/site-packages/anita-2.13-py3.11.egg/EGG-INFO/scripts/anita", line 154, in main File "/usr/pkg/lib/python3.11/site-packages/anita-2.13-py3.11.egg/anita.py", line 2633, in run_tests "vmstat -s; " + ^^^^^ File "/usr/pkg/lib/python3.11/site-packages/anita-2.13-py3.11.egg/anita.py", line 2679, in shell_cmd try: File "/usr/pkg/lib/python3.11/site-packages/anita-2.13-py3.11.egg/anita.py", line 2754, in shell_cmd raise ^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/anita-2.13-py3.11.egg/anita.py", line 2737, in expect_with_keepalive child.send("exec /bin/sh\n") ^^^^^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/anita-2.13-py3.11.egg/anita.py", line 255, in expect r = pexpect.spawn.expect(self, pattern, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/pexpect/spawnbase.py", line 354, in expect return self.expect_list(compiled_pattern_list, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/pexpect/spawnbase.py", line 383, in expect_list return exp.expect_loop(timeout) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) ^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. command: /usr/pkg/bin/qemu-system-ppc args: ['/usr/pkg/bin/qemu-system-ppc', '-m', '256', '-drive', 'file=/bracket/macppc/test/2024.07.04.12.35.47/anita/wd0.img,format=raw,media=disk,snapshot=on', '-nographic', '-drive', 'file=/bracket/macppc/test/2024.07.04.12.35.47/anita/tests-results.img,format=raw,media=disk,snapshot=off', '-drive', 'file=/bracket/macppc/test/2024.07.04.12.35.47/anita/boot.iso,format=raw,media=cdrom,readonly=on,index=2,index=2', '-prom-env', 'boot-device=cd:,netbsd-GENERIC', '-M', 'mac99', '-prom-env', 'qemu_boot_hack=y'] buffer (last 100 chars): b' Passed.\r\r\n fchmodat_fdlink: ' before (last 100 chars): b' Passed.\r\r\n fchmodat_fdlink: ' after: match: None match_index: None exitstatus: None flag_eof: False pid: 14569 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-1720105187.9495275# ') 1: re.compile(b'\\d test cases') 2: re.compile(b'\\[\\d+\\.\\d+s\\]') 12516.17 real 1167.60 user 378.65 sys