/var/helenos/ci/test-in-vm.py:142: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. scenario = yaml.load(f) [2024-11-08 04:51:41,287 main DEBUG] Creating new machine default. [2024-11-08 04:51:41,288 QEMU-ppc32 DEBUG] Starting QEMU: qemu-system-ppc -usb -boot d -cdrom /var/helenos/nightly/web-ci/.build-735/ppc32/helenos-ppc32.iso -m 512 -display none -monitor unix:tmp-vm-python/tmp-default-monitor,server,nowait [2024-11-08 04:51:41,288 rtr-ctl-socket DEBUG] remaining=30, n=0, interval=2, "Failed to connect to QEMU control socket." [2024-11-08 04:51:43,290 rtr-ctl-socket DEBUG] remaining=28, n=1, interval=2, "Failed to connect to QEMU control socket." [2024-11-08 04:51:43,290 QEMU-ppc32 INFO] Machine started. [2024-11-08 04:51:43,290 QEMU-ppc32 DEBUG] Sending command 'sendkey ret' [2024-11-08 04:51:43,290 rtr-vterm DEBUG] remaining=180, n=0, interval=5, "Failed to boot into userspace" [2024-11-08 04:51:43,290 QEMU-ppc32 DEBUG] Sending command 'screendump tmp-vm-python/tmp-default-screen-full.ppm' [2024-11-08 04:51:43,290 rtr-scrdump DEBUG] remaining=10, n=0, interval=1, "Failed to capture screen" convert: unable to read image data `tmp-vm-python/tmp-default-screen-full.ppm' @ error/pnm.c/ReadPNMImage/1350. convert: no images defined `tmp-vm-python/tmp-default-screen-term.png' @ error/convert.c/ConvertImageCommand/3229. [2024-11-08 04:51:44,298 rtr-scrdump DEBUG] remaining=9, n=1, interval=1, "Failed to capture screen" [2024-11-08 04:51:44,639 PIL.PngImagePlugin DEBUG] STREAM b'IHDR' 16 13 [2024-11-08 04:51:44,639 PIL.PngImagePlugin DEBUG] STREAM b'gAMA' 41 4 [2024-11-08 04:51:44,639 PIL.PngImagePlugin DEBUG] STREAM b'bKGD' 57 2 [2024-11-08 04:51:44,639 PIL.PngImagePlugin DEBUG] b'bKGD' 57 2 (unknown) [2024-11-08 04:51:44,639 PIL.PngImagePlugin DEBUG] STREAM b'tIME' 71 7 [2024-11-08 04:51:44,639 PIL.PngImagePlugin DEBUG] b'tIME' 71 7 (unknown) [2024-11-08 04:51:44,639 PIL.PngImagePlugin DEBUG] STREAM b'IDAT' 90 166 [2024-11-08 04:51:44,640 QEMU-ppc32 DEBUG] Running pipe convert tmp-vm-python/tmp-default-screen-term.png -crop 640x480 +repage -crop 8x16 +repage +adjoin txt:- | sed -e 's|[0-9]*,[0-9]*: ([^)]*)[ ]*#\([0-9A-Fa-f]\{6\}\).*|\1|' -e 's:^#.*:@:' -e 's#000000#0#g' -e 's#FFFFFF#F#' | tee tmp-vm-python/tmp-default-1.txt | sed -e :a -e 'N;s#\n##;s#^@##;/@$/{s#@$##p;d}' -e 't a' | tee tmp-vm-python/tmp-default-2.txt | sed -f /var/helenos/ci/ocr.sed | sed '/../s#.*#?#' | tee tmp-vm-python/tmp-default-3.txt | paste -sd '' | fold -w 80 | tee tmp-vm-python/tmp-default-4.txt | head -n 30 | tee tmp-vm-python/tmp-default-screen-term.txt [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] Captured text: [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | ? [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,483 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:46,484 QEMU-ppc32 DEBUG] Captured lines: ['?', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] [2024-11-08 04:51:51,489 rtr-vterm DEBUG] remaining=175, n=1, interval=5, "Failed to boot into userspace" [2024-11-08 04:51:51,490 QEMU-ppc32 DEBUG] Sending command 'screendump tmp-vm-python/tmp-default-screen-full.ppm' [2024-11-08 04:51:51,490 rtr-scrdump DEBUG] remaining=10, n=0, interval=1, "Failed to capture screen" convert: unable to read image data `tmp-vm-python/tmp-default-screen-full.ppm' @ error/pnm.c/ReadPNMImage/1350. convert: no images defined `tmp-vm-python/tmp-default-screen-term.png' @ error/convert.c/ConvertImageCommand/3229. [2024-11-08 04:51:52,500 rtr-scrdump DEBUG] remaining=9, n=1, interval=1, "Failed to capture screen" [2024-11-08 04:51:52,766 PIL.PngImagePlugin DEBUG] STREAM b'IHDR' 16 13 [2024-11-08 04:51:52,766 PIL.PngImagePlugin DEBUG] STREAM b'gAMA' 41 4 [2024-11-08 04:51:52,766 PIL.PngImagePlugin DEBUG] STREAM b'bKGD' 57 2 [2024-11-08 04:51:52,766 PIL.PngImagePlugin DEBUG] b'bKGD' 57 2 (unknown) [2024-11-08 04:51:52,766 PIL.PngImagePlugin DEBUG] STREAM b'tIME' 71 7 [2024-11-08 04:51:52,766 PIL.PngImagePlugin DEBUG] b'tIME' 71 7 (unknown) [2024-11-08 04:51:52,766 PIL.PngImagePlugin DEBUG] STREAM b'IDAT' 90 6161 [2024-11-08 04:51:52,766 QEMU-ppc32 DEBUG] Running pipe convert tmp-vm-python/tmp-default-screen-term.png -crop 640x480 +repage -crop 8x16 +repage +adjoin txt:- | sed -e 's|[0-9]*,[0-9]*: ([^)]*)[ ]*#\([0-9A-Fa-f]\{6\}\).*|\1|' -e 's:^#.*:@:' -e 's#000000#0#g' -e 's#FFFFFF#F#' | tee tmp-vm-python/tmp-default-1.txt | sed -e :a -e 'N;s#\n##;s#^@##;/@$/{s#@$##p;d}' -e 't a' | tee tmp-vm-python/tmp-default-2.txt | sed -f /var/helenos/ci/ocr.sed | sed '/../s#.*#?#' | tee tmp-vm-python/tmp-default-3.txt | paste -sd '' | fold -w 80 | tee tmp-vm-python/tmp-default-4.txt | head -n 30 | tee tmp-vm-python/tmp-default-screen-term.txt [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] Captured text: [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????????????? [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ?????????????????????????????????? [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ??????????????????????????? [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ?????????????????????????????? [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????????????????????? [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ??????????????????????????????????????? [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ???????????????????????????????? [2024-11-08 04:51:54,601 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ?????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ??????????????????? ????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ??????????????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | ?????????????????????????????? [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] | [2024-11-08 04:51:54,602 QEMU-ppc32 DEBUG] Captured lines: ['???????????????????????????????????????????????????????', '??????????????????????????????????', '???????????????????????????', '??????????????????????????????', '???????????????????????????????????????????????????????????????', '???????????????????????????????????????', '????????????????????????????????', '????????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????????', '???????????????????????????????????????????????', '?????????????????????????????????????', '?????????????????????????????????', '??????????????????????????????????????????????', '??????????????????? ?????????????????????????', '?????????????????????????????????????????????????????????????????', '?????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '???????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '?????????????????????????????', '???????????????????????????????????????', '??????????????????????????????', '', '', ''] [2024-11-08 04:51:54,602 main ERROR] Scenario aborted: INTERNAL ERROR: same_vterm_tail(i=-2, lines=['???????????????????????????????????????????????????????', '??????????????????????????????????', '???????????????????????????', '??????????????????????????????', '???????????????????????????????????????????????????????????????', '???????????????????????????????????????', '????????????????????????????????', '????????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????????', '???????????????????????????????????????????????', '?????????????????????????????????????', '?????????????????????????????????', '??????????????????????????????????????????????', '??????????????????? ?????????????????????????', '?????????????????????????????????????????????????????????????????', '?????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '???????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '?????????????????????????????', '???????????????????????????????????????', '??????????????????????????????'], full_vterm=['?']) Traceback (most recent call last): File "/var/helenos/ci/htest/vm/controller.py", line 144, in same_vterm_tail if lines[i] != self.full_vterm[i]: IndexError: list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/helenos/ci/test-in-vm.py", line 194, in t.run() File "/var/helenos/ci/htest/tasks.py", line 92, in run self.machine.boot() File "/var/helenos/ci/htest/vm/qemu.py", line 173, in boot self.capture_vterm() File "/var/helenos/ci/htest/vm/controller.py", line 184, in capture_vterm if self.same_vterm_tail(lines[0:i]): File "/var/helenos/ci/htest/vm/controller.py", line 155, in same_vterm_tail raise Exception("INTERNAL ERROR: same_vterm_tail(i={}, lines={}, full_vterm={})".format(i, lines, self.full_vterm)) Exception: INTERNAL ERROR: same_vterm_tail(i=-2, lines=['???????????????????????????????????????????????????????', '??????????????????????????????????', '???????????????????????????', '??????????????????????????????', '???????????????????????????????????????????????????????????????', '???????????????????????????????????????', '????????????????????????????????', '????????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????????', '???????????????????????????????????????????????', '?????????????????????????????????????', '?????????????????????????????????', '??????????????????????????????????????????????', '??????????????????? ?????????????????????????', '?????????????????????????????????????????????????????????????????', '?????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '???????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '?????????????????????????????', '???????????????????????????????????????', '??????????????????????????????'], full_vterm=['?']) [2024-11-08 04:51:54,603 QEMU-ppc32 DEBUG] Sending command 'quit' Scenario aborted: INTERNAL ERROR: same_vterm_tail(i=-2, lines=['???????????????????????????????????????????????????????', '??????????????????????????????????', '???????????????????????????', '??????????????????????????????', '???????????????????????????????????????????????????????????????', '???????????????????????????????????????', '????????????????????????????????', '????????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????????', '???????????????????????????????????????????????', '?????????????????????????????????????', '?????????????????????????????????', '??????????????????????????????????????????????', '??????????????????? ?????????????????????????', '?????????????????????????????????????????????????????????????????', '?????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '???????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '?????????????????????????????', '???????????????????????????????????????', '??????????????????????????????'], full_vterm=['?'])