/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-13 03:44:59,864 main DEBUG] Creating new machine default. [2024-11-13 03:44:59,864 QEMU-ppc32 DEBUG] Starting QEMU: qemu-system-ppc -usb -boot d -cdrom /var/helenos/nightly/web-ci/.build-736/ppc32/helenos-ppc32-with-sycek.iso -m 512 -display none -monitor unix:tmp-vm-python/tmp-default-monitor,server,nowait [2024-11-13 03:44:59,865 rtr-ctl-socket DEBUG] remaining=30, n=0, interval=2, "Failed to connect to QEMU control socket." [2024-11-13 03:45:01,867 rtr-ctl-socket DEBUG] remaining=28, n=1, interval=2, "Failed to connect to QEMU control socket." [2024-11-13 03:45:01,867 QEMU-ppc32 INFO] Machine started. [2024-11-13 03:45:01,867 QEMU-ppc32 DEBUG] Sending command 'sendkey ret' [2024-11-13 03:45:01,867 rtr-vterm DEBUG] remaining=180, n=0, interval=5, "Failed to boot into userspace" [2024-11-13 03:45:01,868 QEMU-ppc32 DEBUG] Sending command 'screendump tmp-vm-python/tmp-default-screen-full.ppm' [2024-11-13 03:45:01,868 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-13 03:45:02,876 rtr-scrdump DEBUG] remaining=9, n=1, interval=1, "Failed to capture screen" [2024-11-13 03:45:03,173 PIL.PngImagePlugin DEBUG] STREAM b'IHDR' 16 13 [2024-11-13 03:45:03,173 PIL.PngImagePlugin DEBUG] STREAM b'gAMA' 41 4 [2024-11-13 03:45:03,173 PIL.PngImagePlugin DEBUG] STREAM b'bKGD' 57 2 [2024-11-13 03:45:03,173 PIL.PngImagePlugin DEBUG] b'bKGD' 57 2 (unknown) [2024-11-13 03:45:03,173 PIL.PngImagePlugin DEBUG] STREAM b'tIME' 71 7 [2024-11-13 03:45:03,173 PIL.PngImagePlugin DEBUG] b'tIME' 71 7 (unknown) [2024-11-13 03:45:03,173 PIL.PngImagePlugin DEBUG] STREAM b'IDAT' 90 164 [2024-11-13 03:45:03,173 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-13 03:45:06,196 QEMU-ppc32 DEBUG] Captured text: [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | ? [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,196 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:06,197 QEMU-ppc32 DEBUG] Captured lines: ['?', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] [2024-11-13 03:45:11,201 rtr-vterm DEBUG] remaining=175, n=1, interval=5, "Failed to boot into userspace" [2024-11-13 03:45:11,201 QEMU-ppc32 DEBUG] Sending command 'screendump tmp-vm-python/tmp-default-screen-full.ppm' [2024-11-13 03:45:11,202 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-13 03:45:12,208 rtr-scrdump DEBUG] remaining=9, n=1, interval=1, "Failed to capture screen" [2024-11-13 03:45:13,210 PIL.PngImagePlugin DEBUG] STREAM b'IHDR' 16 13 [2024-11-13 03:45:13,210 PIL.PngImagePlugin DEBUG] STREAM b'gAMA' 41 4 [2024-11-13 03:45:13,210 PIL.PngImagePlugin DEBUG] STREAM b'bKGD' 57 2 [2024-11-13 03:45:13,210 PIL.PngImagePlugin DEBUG] b'bKGD' 57 2 (unknown) [2024-11-13 03:45:13,210 PIL.PngImagePlugin DEBUG] STREAM b'tIME' 71 7 [2024-11-13 03:45:13,210 PIL.PngImagePlugin DEBUG] b'tIME' 71 7 (unknown) [2024-11-13 03:45:13,210 PIL.PngImagePlugin DEBUG] STREAM b'IDAT' 90 6099 [2024-11-13 03:45:13,211 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-13 03:45:20,122 QEMU-ppc32 DEBUG] Captured text: [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ?????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ?????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ???????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ????????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ????????????????????????????????? [2024-11-13 03:45:20,122 QEMU-ppc32 DEBUG] | ?????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ??????????????????? ????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ??????????????????????????????????????? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | ? [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] | [2024-11-13 03:45:20,123 QEMU-ppc32 DEBUG] Captured lines: ['???????????????????????????????????????????????????????', '??????????????????????????????????', '???????????????????????????', '??????????????????????????????', '???????????????????????????????????????????????????????????????', '???????????????????????????????????????', '????????????????????????????????', '????????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????????', '???????????????????????????????????????????????', '?????????????????????????????????????', '?????????????????????????????????', '??????????????????????????????????????????????', '??????????????????? ?????????????????????????', '?????????????????????????????????????????????????????????????????', '?????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '???????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '?????????????????????????????', '???????????????????????????????????????', '?', '', '', ''] [2024-11-13 03:45:20,123 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-13 03:45:20,124 QEMU-ppc32 DEBUG] Sending command 'quit' Scenario aborted: INTERNAL ERROR: same_vterm_tail(i=-2, lines=['???????????????????????????????????????????????????????', '??????????????????????????????????', '???????????????????????????', '??????????????????????????????', '???????????????????????????????????????????????????????????????', '???????????????????????????????????????', '????????????????????????????????', '????????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????', '???????????????????????????????????????????????', '???????????????????????????????????????????????', '?????????????????????????????????????', '?????????????????????????????????', '??????????????????????????????????????????????', '??????????????????? ?????????????????????????', '?????????????????????????????????????????????????????????????????', '?????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '???????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '????????????????????????????????????????????????????????????????????', '?????????????????????????????', '???????????????????????????????????????', '?'], full_vterm=['?'])