Bug#1002789: python-pycdlib: FTBFS: failed tests
severity 1002789 serious thanks Hello. This bug has been hidden for me because the package had a missing build-dependency on tzdata (#1031362). Such bug is now reassigned to libpython3.11-stdlib, where it probably belongs. Now, when I build the package in bookworm using a chroot with tzdata installed, the package FTBFS for me as reported here. Because trixie and sid are moving targets, I'm attaching a build log made in bookworm, and I recommend that you try to debug the problem in bookworm first (doing a diff between two different build logs made in unstable at very different times is not fun). My build environment is pretty standard: A machine running bookworm using the standard kernel in bookworm (not the -cloud variant). I'm building packages using schroot and sbuild with a file-based chroot. You can get a similar build environment by just using sbuild-createchroot. Note that the failure also happens in reproducible-builds: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-pycdlib.html By distribution, we can see that the package: FTBFS in bookworm FTBFS in trixie FTBFS in sid By architecture: we can see that the package: FTBFS on amd64 FTBFS on arm64 FTBFS on armhf FTBFS on i386 So please stop downgrading the bug. If at this point you still can't reproduce it, contact me privately and I will gladly provide a machine where the failure happens 100% of the time. Thanks. python-pycdlib_1.12.0+ds1-4_amd64-20231115T223314.744Z.gz Description: application/gzip
Bug#1002789: python-pycdlib: FTBFS: failed tests
Control: severity -1 important Can't reproduce ...
Bug#1002789: python-pycdlib: FTBFS: failed tests
On 14/02/22 at 16:34 +0100, Thomas Goirand wrote: > On 2/14/22 14:56, Lucas Nussbaum wrote: > > On 14/02/22 at 14:35 +0100, Thomas Goirand wrote: > > > Hi Lucas, > > > > > > Please find, attached, the diff of the build log as you asked. > > > Your thoughts? > > > > It's not the same version, are there any relevant differences? > > > > Lucas > > It's the same version. I just do "dch -i -m "Rebuild" to not override my > build log. > > I haven't spotted any relevant difference, indeed... Ah, I realize now that the diff you posted is for your build log from december. Can you try another build? Also: I reproduced the failure on my laptop. I could not reproduce the failure on the amdahl.debian.org porterbox. Looking at test_hybrid_rr_onefileonedirwithfile (which is the first one failing), and forcing the test to fail on amdahl, I get: On my laptop: - Captured stderr call -- I: -input-charset not specified, using utf-8 (detected in locale settings) genisoimage 1.1.11 (Linux) Scanning /tmp/pytest-of-lucas/pytest-13/test_hybrid_rr_onefileonedirwi0/rronefileonedirwithfile Scanning /tmp/pytest-of-lucas/pytest-13/test_hybrid_rr_onefileonedirwi0/rronefileonedirwithfile/dir1 23 352 24 204 dir1 Cache hit for 'dir1/.' Cache hit for 'dir1/..' Writing: Initial PadblockStart Block 0 Done with: Initial PadblockBlock(s)16 Writing: Primary Volume Descriptor Start Block 16 Done with: Primary Volume Descriptor Block(s)1 Writing: End Volume Descriptor Start Block 17 Done with: End Volume Descriptor Block(s)1 Writing: Version block Start Block 18 Done with: Version block Block(s)1 Writing: Path table Start Block 19 Done with: Path table Block(s)4 Writing: Directory tree Start Block 23 Done with: Directory tree Block(s)2 Writing: Directory tree cleanup Start Block 25 Done with: Directory tree cleanup Block(s)0 Writing: Extension recordStart Block 25 Done with: Extension recordBlock(s)1 Writing: The File(s) Start Block 26 Total extents scheduled to be written = 26 Total translation table size: 0 Total rockridge attributes bytes: 379 Total directory bytes: 2400 Path table size(bytes): 22 Done with: The File(s) Block(s)0 Max brk space used 0 26 extents written (0 MB) On amdahl: - Captured stderr call - I: -input-charset not specified, using utf-8 (detected in locale settings) genisoimage 1.1.11 (Linux) Scanning /tmp/pytest-of-lucas/pytest-13/test_hybrid_rr_onefileonedirwi0/rronefileonedirwithfile Scanning /tmp/pytest-of-lucas/pytest-13/test_hybrid_rr_onefileonedirwi0/rronefileonedirwithfile/dir1 23 352 24 204 dir1 Cache hit for '/..' Cache hit for 'dir1/.' Cache hit for 'dir1/..' Writing: Initial PadblockStart Block 0 Done with: Initial PadblockBlock(s)16 Writing: Primary Volume Descriptor Start Block 16 Done with: Primary Volume Descriptor Block(s)1 Writing: End Volume Descriptor Start Block 17 Done with: End Volume Descriptor Block(s)1 Writing: Version block Start Block 18 Done with: Version block Block(s)1 Writing: Path table Start Block 19 Done with: Path table Block(s)4 Writing: Directory tree Start Block 23 Done with: Directory tree Block(s)2 Writing: Directory tree cleanup Start Block 25 Done with: Directory tree cleanup Block(s)0 Writing: Extension recordStart Block 25 Done with: Extension recordBlock(s)1 Writing: The File(s) Start Block 26 Total extents scheduled to be written = 26 Total translation table size: 0 Total rockridge attributes bytes: 379 Total directory bytes: 2048 Path table size(bytes): 22 Done with: The File(s) Block(s)0 Max brk space used 0 26 extents written (0 MB) The differences being: --- /tmp/laptop 2022-02-15 15:14:03.897535082 +0100 +++ /tmp/amdahl 2022-02-15 15:14:11.313518686 +0100 @@ -1,10 +1,11 @@ -- Captured stderr call -
Bug#1002789: python-pycdlib: FTBFS: failed tests
On 2/14/22 14:56, Lucas Nussbaum wrote: On 14/02/22 at 14:35 +0100, Thomas Goirand wrote: Hi Lucas, Please find, attached, the diff of the build log as you asked. Your thoughts? It's not the same version, are there any relevant differences? Lucas It's the same version. I just do "dch -i -m "Rebuild" to not override my build log. I haven't spotted any relevant difference, indeed... Cheers, Thomas Goirand (zigo)
Bug#1002789: python-pycdlib: FTBFS: failed tests
On 14/02/22 at 14:35 +0100, Thomas Goirand wrote: > Hi Lucas, > > Please find, attached, the diff of the build log as you asked. > Your thoughts? It's not the same version, are there any relevant differences? Lucas
Bug#1002789: python-pycdlib: FTBFS: failed tests
Hi Thomas, On 29/12/21 at 12:07 +0100, Thomas Goirand wrote: > Hi Lucas, > > I wasn't able to reproduce the FTBFS. I'm using a normal sbuild > environment, so I don't see what's different from your build. Any clue? As suggested in the bug report, can you start by diffing your build log with mine? I attached a more recent build log for this failure. Lucas DC-Build-Header: python-pycdlib 1.12.0+ds1-3 / 2022-02-12 22:52:07 + DC-Task: type:rebuild-full source:python-pycdlib version:1.12.0+ds1-3 chroot:unstable esttime:53 logfile:/tmp/python-pycdlib_1.12.0+ds1-3_unstable.log modes: DC-Sbuild-call: su user42 -c 'sbuild -n -A -s --force-orig-source --apt-update -d unstable -v --no-run-lintian python-pycdlib_1.12.0+ds1-3' sbuild (Debian sbuild) 0.81.2 (31 January 2021) on ip-10-84-233-189.eu-central-1.compute.internal +==+ | python-pycdlib 1.12.0+ds1-3 (amd64) Sat, 12 Feb 2022 22:52:07 + | +==+ Package: python-pycdlib Version: 1.12.0+ds1-3 Source Version: 1.12.0+ds1-3 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: full I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-bb211a2f-fea5-4106-8beb-f2511b28e29d' with '<>' I: NOTICE: Log filtering will replace 'build/python-pycdlib-j9rLz7/resolver-3k2DLd' with '<>' +--+ | Update chroot| +--+ Get:1 http://127.0.0.1:12990/debian sid InRelease [165 kB] Get:2 http://127.0.0.1:12990/debian sid/main Sources.diff/Index [63.6 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 Packages.diff/Index [63.6 kB] Get:4 http://127.0.0.1:12990/debian sid/main Sources T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [39.2 kB] Get:4 http://127.0.0.1:12990/debian sid/main Sources T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [39.2 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 Packages T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [76.5 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 Packages T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [76.5 kB] Fetched 408 kB in 2s (263 kB/s) Reading package lists... Reading package lists... Building dependency tree... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +--+ | Fetch source files | +--+ Check APT - Checking available source versions... Download source files with APT -- Reading package lists... NOTICE: 'python-pycdlib' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/openstack-team/third-party/python-pycdlib.git Please use: git clone https://salsa.debian.org/openstack-team/third-party/python-pycdlib.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 253 kB of source archives. Get:1 http://127.0.0.1:12990/debian sid/main python-pycdlib 1.12.0+ds1-3 (dsc) [2148 B] Get:2 http://127.0.0.1:12990/debian sid/main python-pycdlib 1.12.0+ds1-3 (tar) [248 kB] Get:3 http://127.0.0.1:12990/debian sid/main python-pycdlib 1.12.0+ds1-3 (diff) [3308 B] Fetched 253 kB in 0s (3520 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/python-pycdlib-j9rLz7/python-pycdlib-1.12.0+ds1' with '<>' I: NOTICE: Log filtering will replace 'build/python-pycdlib-j9rLz7' with '<>' +--+ | Install package build dependencies | +--+ Setup apt archive - Merged Build-Depends: debhelper-compat (= 11), dh-python, openstack-pkg-tools, python3-all, python3-setuptools, build-essential, fakeroot, genisoimage, python3-pytest Filtered Build-Depends: debhelper-compat (= 11), dh-python, openstack-pkg-tools, python3-all, python3-setuptools, build-essential, fakeroot, genisoimage, python3-pytest dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [424 B] Get:5 copy:/<>/apt_archive ./ Packages [496 B] Fetched 1877 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---
Bug#1002789: python-pycdlib: FTBFS: failed tests
Hi Lucas, I wasn't able to reproduce the FTBFS. I'm using a normal sbuild environment, so I don't see what's different from your build. Any clue? Cheers, Thomas Goirand (zigo)
Bug#1002789: python-pycdlib: FTBFS: failed tests
Source: python-pycdlib Version: 1.12.0+ds1-3 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211228 ftbfs-bookworm Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<>' > make[1]: pyversions: No such file or directory > py3versions: no X-Python3-Version in control file, using supported versions > pkgos-dh_auto_install --no-py2 --in-tmp > + PKGOS_USE_PY2=yes > + PKGOS_USE_PY3=yes > + PKGOS_IN_TMP=no > + PKGOS_USE_PY2=no > + shift > + PKGOS_IN_TMP=yes > + shift > + dpkg-parsechangelog -SSource > + SRC_PKG_NAME=python-pycdlib > + echo python-pycdlib > + sed s/python-// > + PY_MODULE_NAME=pycdlib > + [ no = yes ] > + [ yes = yes ] > + py3versions -vr > + PYTHON3S=3.10 3.9 > + [ no = yes ] > + [ yes = yes ] > + [ yes = yes ] > + TARGET_DIR=tmp > + pwd > + python3.10 setup.py install --install-layout=deb --root > /<>/debian/tmp > running install > /usr/lib/python3/dist-packages/setuptools/command/install.py:34: > SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and > pip and other standards-based tools. > warnings.warn( > running build > running build_py > creating build > creating build/lib > creating build/lib/pycdlib > copying pycdlib/__init__.py -> build/lib/pycdlib > copying pycdlib/dates.py -> build/lib/pycdlib > copying pycdlib/backport_functools.py -> build/lib/pycdlib > copying pycdlib/eltorito.py -> build/lib/pycdlib > copying pycdlib/pycdlibexception.py -> build/lib/pycdlib > copying pycdlib/udf.py -> build/lib/pycdlib > copying pycdlib/rockridge.py -> build/lib/pycdlib > copying pycdlib/pycdlib.py -> build/lib/pycdlib > copying pycdlib/isohybrid.py -> build/lib/pycdlib > copying pycdlib/headervd.py -> build/lib/pycdlib > copying pycdlib/path_table_record.py -> build/lib/pycdlib > copying pycdlib/facade.py -> build/lib/pycdlib > copying pycdlib/dr.py -> build/lib/pycdlib > copying pycdlib/inode.py -> build/lib/pycdlib > copying pycdlib/pycdlibio.py -> build/lib/pycdlib > copying pycdlib/utils.py -> build/lib/pycdlib > running build_scripts > creating build/scripts-3.10 > copying and adjusting tools/pycdlib-explorer -> build/scripts-3.10 > copying and adjusting tools/pycdlib-extract-files -> build/scripts-3.10 > copying and adjusting tools/pycdlib-genisoimage -> build/scripts-3.10 > changing mode of build/scripts-3.10/pycdlib-explorer from 644 to 755 > changing mode of build/scripts-3.10/pycdlib-extract-files from 644 to 755 > changing mode of build/scripts-3.10/pycdlib-genisoimage from 644 to 755 > running install_lib > creating /<>/debian/tmp > creating /<>/debian/tmp/usr > creating /<>/debian/tmp/usr/lib > creating /<>/debian/tmp/usr/lib/python3 > creating /<>/debian/tmp/usr/lib/python3/dist-packages > creating /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/__init__.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/dates.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/backport_functools.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/eltorito.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/pycdlibexception.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/udf.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/rockridge.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/pycdlib.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/isohybrid.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/headervd.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/path_table_record.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/facade.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/dr.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/inode.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/pycdlibio.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > copying build/lib/pycdlib/utils.py -> > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib > byte-compiling > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib/__init__.py > to __init__.cpython-310.pyc > byte-compiling > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib/dates.py to > dates.cpython-310.pyc > byte-compiling > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib/backport_functools.py > to backport_functools.cpython-310.pyc > byte-compiling > /<>/debian/tmp/usr/lib/python3/dist-packages/pycdlib/eltorito.py > to eltorito.cpython-310.pyc > byte-compiling > /<>/debia