← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2095584] Re: open-iscsi: ubuntu-only test needs update for Python 3.13

 

I'm re-opening this bug, as the 'patch-image' command is failing again
when testing against glibc/2.41-9ubuntu1 in Questing. Looking closer, it
cannot find the "sfdisk" command, so adding a simple test-dependency on
"fdisk" might potentially fix this.


"""
+ exec mount-image-callback --system-resolvconf /tmp/autopkgtest.inlMwp/build.mdZ/src/debian/tests/questing.d/disk.imgd
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
failed determining if partitioned: /usr/bin/mount-image-callback: line 148: sfdisk: command not found
gave up on /dev/nbd0
[  573.450962] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.451854] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.452732] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.453539] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.454413] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.455168] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.456046] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.456840] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.457628] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.458271] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.458967] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.459464] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.460049] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.460547] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.460970] Dev nbd0: unable to read RDB block 0
[  573.461471] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.461971] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.462556] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.463047] Buffer I/O error on dev nbd0, logical block 0, async page read
[  573.463626] I/O error, dev nbd0, sector 24 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  573.464121] Buffer I/O error on dev nbd0, logical block 3, async page read
[  573.467480] Dev nbd0: unable to read RDB block 0
setUpClass (__main__.CloudImageTest) ... ERROR

======================================================================
ERROR: setUpClass (__main__.CloudImageTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.inlMwp/build.mdZ/src/debian/tests/./test-open-iscsi.py", line 241, in setUpClass
    patch_image(info['root_image'],
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
                kernel=info['kernel'], initrd=info['initrd'])
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/autopkgtest.inlMwp/build.mdZ/src/debian/tests/./test-open-iscsi.py", line 381, in patch_image
    subprocess.check_call(cmd)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['patch-image', '/tmp/autopkgtest.inlMwp/build.mdZ/src/debian/tests/questing.d.

----------------------------------------------------------------------
Ran 2 tests in 15.241s

FAILED (errors=1)
"""

** Changed in: open-iscsi (Ubuntu)
       Status: Fix Released => Triaged

** Also affects: glibc (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2095584

Title:
  open-iscsi: ubuntu-only test needs update for Python 3.13

Status in glibc package in Ubuntu:
  New
Status in open-iscsi package in Ubuntu:
  Triaged
Status in python3-defaults package in Ubuntu:
  Invalid

Bug description:
  open-iscsi fails its autopkgtest [1] when triggered by
  python3-defaults/3.13.1-1~exp2 (i.e. with python3.13 as the default
  Python interpreter).

  348s autopkgtest [10:06:35]: test testsuite: [-----------------------
  349s /tmp/autopkgtest.j5qteT/build.Boe/src/debian/tests/testlib.py:151: SyntaxWarning: invalid escape sequence '\s'
  349s   if re.search("^\s*%s\s*=" % (field), line):
  349s /tmp/autopkgtest.j5qteT/build.Boe/src/debian/tests/testlib.py:170: SyntaxWarning: invalid escape sequence '\s'
  349s   if re.search("^\s*%s\s*=" % (field), line):
  349s /tmp/autopkgtest.j5qteT/build.Boe/src/debian/tests/testlib.py:345: SyntaxWarning: invalid escape sequence '\('
  349s   re.match('^\(' + exe + '\)', tmp[0]):
  349s /tmp/autopkgtest.j5qteT/build.Boe/src/debian/tests/testlib.py:345: SyntaxWarning: invalid escape sequence '\)'
  349s   re.match('^\(' + exe + '\)', tmp[0]):
  349s /tmp/autopkgtest.j5qteT/build.Boe/src/debian/tests/testlib.py:734: SyntaxWarning: invalid escape sequence '\('
  349s   if re.search('%s \(' % path, line):
  349s Traceback (most recent call last):
  349s   File "/tmp/autopkgtest.j5qteT/build.Boe/src/debian/tests/test-open-iscsi.py", line 50, in <module>
  349s     import testlib
  349s   File "/tmp/autopkgtest.j5qteT/build.Boe/src/debian/tests/testlib.py", line 23, in <module>
  349s     import crypt
  349s ModuleNotFoundError: No module named 'crypt'
  349s autopkgtest [10:06:36]: test testsuite: -----------------------]
  350s autopkgtest [10:06:37]: test testsuite:  - - - - - - - - - - results - - - - - - - - - -
  350s testsuite            FAIL non-zero exit status 1

  
  This is not considered a regression due to python3-defaults because open-iscsi also fails its autopkgtest when triggered by migration-reference/0, and has been doing so for a long time (at least since April 2024 in Noble). 

  [1] https://autopkgtest.ubuntu.com/packages/open-iscsi/plucky/amd64

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