[Bug 2142097] [NEW] edk2 build fails due to failing tests on s390x

Hector CAO 2142097 at bugs.launchpad.net
Wed Feb 18 08:52:45 UTC 2026


Public bug reported:

https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
resolute/resolute/s390x/e/edk2/20260217_223219_92480@/log.gz

--


279s ======================================================================
279s FAIL: test_ovmf_4m_legacy (__main__.BootToShellTest.test_ovmf_4m_legacy)
279s ----------------------------------------------------------------------
279s Traceback (most recent call last):
279s   File "/tmp/autopkgtest.3tfHvu/build.Xmx/src/debian/tests/shell.py", line 169, in run_cmd_check_pvscsi
279s     i = child.expect(['Press .* or any other key to continue.'],
279s                      timeout=TEST_TIMEOUT)
279s   File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 354, in expect
279s     return self.expect_list(compiled_pattern_list,
279s            ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
279s             timeout, searchwindowsize, async_)
279s             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
279s   File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 383, in expect_list
279s     return exp.expect_loop(timeout)
279s            ~~~~~~~~~~~~~~~^^^^^^^^^
279s   File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop
279s     return self.timeout(e)
279s            ~~~~~~~~~~~~^^^
279s   File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout
279s     raise exc
279s pexpect.exceptions.TIMEOUT: Timeout exceeded.
279s <pexpect.pty_spawn.spawn object at 0x3ff88bc02d0>
279s command: /usr/bin/qemu-system-x86_64
279s args: [b'/usr/bin/qemu-system-x86_64', b'-machine', b'q35,accel=tcg', b'-no-user-config', b'-nodefaults', b'-m', b'256', b'-smp', b'1,sockets=1,cores=1,threads=1', b'-display', b'none', b'-serial', b'stdio', b'-chardev', b'pty,id=charserial1', b'-device', b'isa-serial,chardev=charserial1,id=serial1', b'-drive', b'file=/tmp/OVMF.legacy.fd66rq1woo,if=pflash,format=raw,unit=0,readonly=on', b'-device', b'pvscsi,id=scsi', b'-drive', b'file=/tmp/tmpbnxx1638,if=none,format=raw,id=drive0', b'-device', b'scsi-hd,drive=drive0,bus=scsi.0']
279s buffer (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
279s before (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
279s after: <class 'pexpect.exceptions.TIMEOUT'>
279s match: None
279s match_index: None
279s exitstatus: None
279s flag_eof: False
279s pid: 2286
279s child_fd: 6
279s closed: False
279s timeout: 30
279s delimiter: <class 'pexpect.exceptions.EOF'>
279s logfile: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
279s logfile_read: None
279s logfile_send: None
279s maxread: 2000
279s ignorecase: False
279s searchwindowsize: None
279s delaybeforesend: 0.05
279s delayafterclose: 0.1
279s delayafterterminate: 0.1
279s searcher: searcher_re:
279s     0: re.compile('Press .* or any other key to continue.')
279s 
279s During handling of the above exception, another exception occurred:
279s 
279s Traceback (most recent call last):
279s   File "/tmp/autopkgtest.3tfHvu/build.Xmx/src/debian/tests/shell.py", line 323, in test_ovmf_4m_legacy
279s     self.run_cmd_check_pvscsi(q.command)
279s     ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
279s   File "/tmp/autopkgtest.3tfHvu/build.Xmx/src/debian/tests/shell.py", line 186, in run_cmd_check_pvscsi
279s     self.fail("%s\n" % (err))
279s     ~~~~~~~~~^^^^^^^^^^^^^^^^
279s AssertionError: Timeout exceeded.
279s <pexpect.pty_spawn.spawn object at 0x3ff88bc02d0>
279s command: /usr/bin/qemu-system-x86_64
279s args: [b'/usr/bin/qemu-system-x86_64', b'-machine', b'q35,accel=tcg', b'-no-user-config', b'-nodefaults', b'-m', b'256', b'-smp', b'1,sockets=1,cores=1,threads=1', b'-display', b'none', b'-serial', b'stdio', b'-chardev', b'pty,id=charserial1', b'-device', b'isa-serial,chardev=charserial1,id=serial1', b'-drive', b'file=/tmp/OVMF.legacy.fd66rq1woo,if=pflash,format=raw,unit=0,readonly=on', b'-device', b'pvscsi,id=scsi', b'-drive', b'file=/tmp/tmpbnxx1638,if=none,format=raw,id=drive0', b'-device', b'scsi-hd,drive=drive0,bus=scsi.0']
279s buffer (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
279s before (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
279s after: <class 'pexpect.exceptions.TIMEOUT'>
279s match: None
279s match_index: None
279s exitstatus: None
279s flag_eof: False
279s pid: 2286
279s child_fd: 6
279s closed: False
279s timeout: 30
279s delimiter: <class 'pexpect.exceptions.EOF'>
279s logfile: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
279s logfile_read: None
279s logfile_send: None
279s maxread: 2000
279s ignorecase: False
279s searchwindowsize: None
279s delaybeforesend: 0.05
279s delayafterclose: 0.1
279s delayafterterminate: 0.1
279s searcher: searcher_re:
279s     0: re.compile('Press .* or any other key to continue.')
279s 
279s 
279s ----------------------------------------------------------------------
279s Ran 16 tests in 148.382s
279s 
279s __main__.BootToShellTest.test_riscv64 runtime: 8.453s
279s FAILED (failures=1, skipped=11)
280s autopkgtest [22:23:01]: test command1: -----------------------]
280s command1             FAIL non-zero exit status 1

** Affects: edk2 (Ubuntu)
     Importance: Undecided
     Assignee: Hector CAO (hectorcao)
         Status: New


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to edk2 in Ubuntu.
https://bugs.launchpad.net/bugs/2142097

Title:
  edk2 build fails due to failing tests on s390x

Status in edk2 package in Ubuntu:
  New

Bug description:
  https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
  resolute/resolute/s390x/e/edk2/20260217_223219_92480@/log.gz

  --

  
  279s ======================================================================
  279s FAIL: test_ovmf_4m_legacy (__main__.BootToShellTest.test_ovmf_4m_legacy)
  279s ----------------------------------------------------------------------
  279s Traceback (most recent call last):
  279s   File "/tmp/autopkgtest.3tfHvu/build.Xmx/src/debian/tests/shell.py", line 169, in run_cmd_check_pvscsi
  279s     i = child.expect(['Press .* or any other key to continue.'],
  279s                      timeout=TEST_TIMEOUT)
  279s   File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 354, in expect
  279s     return self.expect_list(compiled_pattern_list,
  279s            ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  279s             timeout, searchwindowsize, async_)
  279s             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  279s   File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 383, in expect_list
  279s     return exp.expect_loop(timeout)
  279s            ~~~~~~~~~~~~~~~^^^^^^^^^
  279s   File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop
  279s     return self.timeout(e)
  279s            ~~~~~~~~~~~~^^^
  279s   File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout
  279s     raise exc
  279s pexpect.exceptions.TIMEOUT: Timeout exceeded.
  279s <pexpect.pty_spawn.spawn object at 0x3ff88bc02d0>
  279s command: /usr/bin/qemu-system-x86_64
  279s args: [b'/usr/bin/qemu-system-x86_64', b'-machine', b'q35,accel=tcg', b'-no-user-config', b'-nodefaults', b'-m', b'256', b'-smp', b'1,sockets=1,cores=1,threads=1', b'-display', b'none', b'-serial', b'stdio', b'-chardev', b'pty,id=charserial1', b'-device', b'isa-serial,chardev=charserial1,id=serial1', b'-drive', b'file=/tmp/OVMF.legacy.fd66rq1woo,if=pflash,format=raw,unit=0,readonly=on', b'-device', b'pvscsi,id=scsi', b'-drive', b'file=/tmp/tmpbnxx1638,if=none,format=raw,id=drive0', b'-device', b'scsi-hd,drive=drive0,bus=scsi.0']
  279s buffer (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
  279s before (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
  279s after: <class 'pexpect.exceptions.TIMEOUT'>
  279s match: None
  279s match_index: None
  279s exitstatus: None
  279s flag_eof: False
  279s pid: 2286
  279s child_fd: 6
  279s closed: False
  279s timeout: 30
  279s delimiter: <class 'pexpect.exceptions.EOF'>
  279s logfile: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
  279s logfile_read: None
  279s logfile_send: None
  279s maxread: 2000
  279s ignorecase: False
  279s searchwindowsize: None
  279s delaybeforesend: 0.05
  279s delayafterclose: 0.1
  279s delayafterterminate: 0.1
  279s searcher: searcher_re:
  279s     0: re.compile('Press .* or any other key to continue.')
  279s 
  279s During handling of the above exception, another exception occurred:
  279s 
  279s Traceback (most recent call last):
  279s   File "/tmp/autopkgtest.3tfHvu/build.Xmx/src/debian/tests/shell.py", line 323, in test_ovmf_4m_legacy
  279s     self.run_cmd_check_pvscsi(q.command)
  279s     ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  279s   File "/tmp/autopkgtest.3tfHvu/build.Xmx/src/debian/tests/shell.py", line 186, in run_cmd_check_pvscsi
  279s     self.fail("%s\n" % (err))
  279s     ~~~~~~~~~^^^^^^^^^^^^^^^^
  279s AssertionError: Timeout exceeded.
  279s <pexpect.pty_spawn.spawn object at 0x3ff88bc02d0>
  279s command: /usr/bin/qemu-system-x86_64
  279s args: [b'/usr/bin/qemu-system-x86_64', b'-machine', b'q35,accel=tcg', b'-no-user-config', b'-nodefaults', b'-m', b'256', b'-smp', b'1,sockets=1,cores=1,threads=1', b'-display', b'none', b'-serial', b'stdio', b'-chardev', b'pty,id=charserial1', b'-device', b'isa-serial,chardev=charserial1,id=serial1', b'-drive', b'file=/tmp/OVMF.legacy.fd66rq1woo,if=pflash,format=raw,unit=0,readonly=on', b'-device', b'pvscsi,id=scsi', b'-drive', b'file=/tmp/tmpbnxx1638,if=none,format=raw,id=drive0', b'-device', b'scsi-hd,drive=drive0,bus=scsi.0']
  279s buffer (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
  279s before (last 100 chars): 'pts/1 (label charserial1)\r\n\x1b[2J\x1b[001;001H\x1b[=3h\x1b[2J\x1b[001;001H\x1b[2J\x1b[001;001H\x1b[8;056;240t\x1b[2J\x1b[001;001H'
  279s after: <class 'pexpect.exceptions.TIMEOUT'>
  279s match: None
  279s match_index: None
  279s exitstatus: None
  279s flag_eof: False
  279s pid: 2286
  279s child_fd: 6
  279s closed: False
  279s timeout: 30
  279s delimiter: <class 'pexpect.exceptions.EOF'>
  279s logfile: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
  279s logfile_read: None
  279s logfile_send: None
  279s maxread: 2000
  279s ignorecase: False
  279s searchwindowsize: None
  279s delaybeforesend: 0.05
  279s delayafterclose: 0.1
  279s delayafterterminate: 0.1
  279s searcher: searcher_re:
  279s     0: re.compile('Press .* or any other key to continue.')
  279s 
  279s 
  279s ----------------------------------------------------------------------
  279s Ran 16 tests in 148.382s
  279s 
  279s __main__.BootToShellTest.test_riscv64 runtime: 8.453s
  279s FAILED (failures=1, skipped=11)
  280s autopkgtest [22:23:01]: test command1: -----------------------]
  280s command1             FAIL non-zero exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/2142097/+subscriptions




More information about the foundations-bugs mailing list