/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-10-16 02:06:52,034 main DEBUG] Creating new machine default. [2024-10-16 02:06:52,034 QEMU-ppc32 DEBUG] Starting QEMU: qemu-system-ppc -usb -boot d -cdrom /var/helenos/nightly/web-ci/.build-732/ppc32/helenos-ppc32.iso -m 512 -display none -monitor unix:tmp-vm-python/tmp-default-monitor,server,nowait [2024-10-16 02:06:52,055 rtr-ctl-socket DEBUG] remaining=30, n=0, interval=2, "Failed to connect to QEMU control socket." [2024-10-16 02:06:54,057 rtr-ctl-socket DEBUG] remaining=28, n=1, interval=2, "Failed to connect to QEMU control socket." [2024-10-16 02:06:54,057 QEMU-ppc32 INFO] Machine started. [2024-10-16 02:06:54,057 QEMU-ppc32 DEBUG] Sending command 'sendkey ret' [2024-10-16 02:06:54,057 rtr-vterm DEBUG] remaining=180, n=0, interval=5, "Failed to boot into userspace" [2024-10-16 02:06:54,057 QEMU-ppc32 DEBUG] Sending command 'screendump tmp-vm-python/tmp-default-screen-full.ppm' [2024-10-16 02:06:54,057 rtr-scrdump DEBUG] remaining=10, n=0, interval=1, "Failed to capture screen" convert: insufficient image data in file `tmp-vm-python/tmp-default-screen-full.ppm' @ error/pnm.c/ReadPNMImage/460. convert: no images defined `tmp-vm-python/tmp-default-screen-term.png' @ error/convert.c/ConvertImageCommand/3229. [2024-10-16 02:06:55,071 rtr-scrdump DEBUG] remaining=9, n=1, interval=1, "Failed to capture screen" [2024-10-16 02:06:55,568 PIL.PngImagePlugin DEBUG] STREAM b'IHDR' 16 13 [2024-10-16 02:06:55,568 PIL.PngImagePlugin DEBUG] STREAM b'gAMA' 41 4 [2024-10-16 02:06:55,569 PIL.PngImagePlugin DEBUG] STREAM b'bKGD' 57 2 [2024-10-16 02:06:55,569 PIL.PngImagePlugin DEBUG] b'bKGD' 57 2 (unknown) [2024-10-16 02:06:55,569 PIL.PngImagePlugin DEBUG] STREAM b'tIME' 71 7 [2024-10-16 02:06:55,569 PIL.PngImagePlugin DEBUG] b'tIME' 71 7 (unknown) [2024-10-16 02:06:55,569 PIL.PngImagePlugin DEBUG] STREAM b'IDAT' 90 164 [2024-10-16 02:06:55,569 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-10-16 02:06:59,532 QEMU-ppc32 DEBUG] Captured text: [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | ? [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,532 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,533 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,533 QEMU-ppc32 DEBUG] | [2024-10-16 02:06:59,533 QEMU-ppc32 DEBUG] Captured lines: ['?', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] [2024-10-16 02:07:04,537 rtr-vterm DEBUG] remaining=175, n=1, interval=5, "Failed to boot into userspace" [2024-10-16 02:07:04,538 QEMU-ppc32 DEBUG] Sending command 'screendump tmp-vm-python/tmp-default-screen-full.ppm' [2024-10-16 02:07:04,538 rtr-scrdump DEBUG] remaining=10, n=0, interval=1, "Failed to capture screen" [2024-10-16 02:07:05,045 PIL.PngImagePlugin DEBUG] STREAM b'IHDR' 16 13 [2024-10-16 02:07:05,045 PIL.PngImagePlugin DEBUG] STREAM b'gAMA' 41 4 [2024-10-16 02:07:05,045 PIL.PngImagePlugin DEBUG] STREAM b'bKGD' 57 2 [2024-10-16 02:07:05,045 PIL.PngImagePlugin DEBUG] b'bKGD' 57 2 (unknown) [2024-10-16 02:07:05,045 PIL.PngImagePlugin DEBUG] STREAM b'tIME' 71 7 [2024-10-16 02:07:05,045 PIL.PngImagePlugin DEBUG] b'tIME' 71 7 (unknown) [2024-10-16 02:07:05,045 PIL.PngImagePlugin DEBUG] STREAM b'IDAT' 90 3038 [2024-10-16 02:07:05,045 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-10-16 02:07:08,242 QEMU-ppc32 DEBUG] Captured text: [2024-10-16 02:07:08,242 QEMU-ppc32 DEBUG] | ???????????????????????????????????????_________________________________________ [2024-10-16 02:07:08,242 QEMU-ppc32 DEBUG] | ?????????????????????????????????????????_______________________________________ [2024-10-16 02:07:08,242 QEMU-ppc32 DEBUG] | ?????????????????????????????????????????_______________________________________ [2024-10-16 02:07:08,242 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????????________________________________ [2024-10-16 02:07:08,242 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????????________________________________ [2024-10-16 02:07:08,242 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????____________________________________ [2024-10-16 02:07:08,242 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????__________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ??????????????????????????????????????????????__________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ????????????????????????????????????????????????????????________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ???????????????????????????????????????????????????????_________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ?????????????????????????????????????????????????????___________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ????????????????????????????????????????________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ????????????????????????????????????????________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ?????????????????????????????????????????????????????????????___________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ?????????????????????????????????????????????????????????????___________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ?_______________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] | ________________________________________________________________________________ [2024-10-16 02:07:08,243 QEMU-ppc32 DEBUG] Captured lines: ['???????????????????????????????????????_________________________________________', '?????????????????????????????????????????_______________________________________', '?????????????????????????????????????????_______________________________________', '????????????????????????????????????????????????________________________________', '????????????????????????????????????????????????________________________________', '????????????????????????????????????????????____________________________________', '??????????????????????????????????????????????__________________________________', '??????????????????????????????????????????????__________________________________', '????????????????????????????????????????????????????????________________________', '???????????????????????????????????????????????????????_________________________', '?????????????????????????????????????????????????????___________________________', '????????????????????????????????????????________________________________________', '????????????????????????????????????????________________________________________', '?????????????????????????????????????????????????????????????___________________', '?????????????????????????????????????????????????????????????___________________', '?_______________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________', '________________________________________________________________________________'] [2024-10-16 02:07:08,244 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-10-16 02:07:08,251 QEMU-ppc32 DEBUG] Sending command 'quit' Scenario aborted: INTERNAL ERROR: same_vterm_tail(i=-2, lines=['???????????????????????????????????????_________________________________________', '?????????????????????????????????????????_______________________________________', '?????????????????????????????????????????_______________________________________', '????????????????????????????????????????????????________________________________', '????????????????????????????????????????????????________________________________', '????????????????????????????????????????????____________________________________', '??????????????????????????????????????????????__________________________________', '??????????????????????????????????????????????__________________________________', '????????????????????????????????????????????????????????________________________', '???????????????????????????????????????????????????????_________________________', '?????????????????????????????????????????????????????___________________________', '????????????????????????????????????????________________________________________', '????????????????????????????????????????________________________________________', '?????????????????????????????????????????????????????????????___________________', '?????????????????????????????????????????????????????????????___________________', '?_______________________________________________________________________________'], full_vterm=['?'])