Package: src:pwdsphinx
Version: 1.99.2-beta-5
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
test_invert_too_long (tests.test_pass2bin.TestRules.test_invert_too_long) ... ok
test_short_zeroes (tests.test_pass2bin.TestRules.test_short_zeroes) ... ok
test_rules (tests.test_rules.TestRules.test_rules) ... ok

======================================================================
ERROR: test_huge_user (tests.test.TestEndToEndNoRWD_Keys.test_huge_user)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test.py", line 144, 
in test_huge_user
    rwd=sphinx.create(s, pwd, 'a'*(2**16 - 42), host, char_classes, syms, size)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pwdsphinx/sphinx.py", 
line 535, in create
    update_rec(p.fd, id, user)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pwdsphinx/sphinx.py", 
line 275, in update_rec
    raise ValueError("ERROR: list of user names is bigger than 64KB. %d" % 
bsize)
ValueError: ERROR: list of user names is bigger than 64KB. 65541

======================================================================
ERROR: test_huge_user (tests.test.TestEndToEndNoValidatePassword.test_huge_user)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test.py", line 144, 
in test_huge_user
    rwd=sphinx.create(s, pwd, 'a'*(2**16 - 42), host, char_classes, syms, size)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pwdsphinx/sphinx.py", 
line 535, in create
    update_rec(p.fd, id, user)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pwdsphinx/sphinx.py", 
line 275, in update_rec
    raise ValueError("ERROR: list of user names is bigger than 64KB. %d" % 
bsize)
ValueError: ERROR: list of user names is bigger than 64KB. 65541

======================================================================
ERROR: test_huge_user (tests.test.TestEndToEndSingleMode.test_huge_user)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test.py", line 144, 
in test_huge_user
    rwd=sphinx.create(s, pwd, 'a'*(2**16 - 42), host, char_classes, syms, size)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pwdsphinx/sphinx.py", 
line 535, in create
    update_rec(p.fd, id, user)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pwdsphinx/sphinx.py", 
line 275, in update_rec
    raise ValueError("ERROR: list of user names is bigger than 64KB. %d" % 
bsize)
ValueError: ERROR: list of user names is bigger than 64KB. 65541

----------------------------------------------------------------------
Ran 37 tests in 9.206s

FAILED (errors=3)
exception caught <class 'ValueError'> ERROR: list of user names is bigger than 
64KB. 65541 <traceback object at 0x7f403ffcd2c0>
exception caught <class 'ValueError'> ERROR: list of user names is bigger than 
64KB. 65541 <traceback object at 0x7f403fff7800>
exception caught <class 'ValueError'> ERROR: list of user names is bigger than 
64KB. 65541 <traceback object at 0x7f4040019300>
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover 
-v 
I: pybuild pybuild:308: cp tests/cert.pem tests/key.pem tests/sphinx.cfg 
tests/start-servers.sh /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; mkdir -p 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/data; cp tests/data/masterkey 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/data; mkdir -p data
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m unittest discover -v 
test_corrupted_dkg (tests.test.TestEndToEnd.test_corrupted_dkg) ... ok
test_create_user (tests.test.TestEndToEnd.test_create_user) ... ok
test_huge_user (tests.test.TestEndToEnd.test_huge_user) ... ok
test_main_inv_params (tests.test.TestEndToEnd.test_main_inv_params) ... ok
test_corrupted_dkg (tests.test.TestEndToEndNoRWD_Keys.test_corrupted_dkg) ... ok
test_create_user (tests.test.TestEndToEndNoRWD_Keys.test_create_user) ... ok
test_huge_user (tests.test.TestEndToEndNoRWD_Keys.test_huge_user) ... ok
test_main_inv_params (tests.test.TestEndToEndNoRWD_Keys.test_main_inv_params) 
... ok
test_corrupted_dkg (tests.test.TestEndToEndNoUserlist.test_corrupted_dkg) ... ok
test_create_user (tests.test.TestEndToEndNoUserlist.test_create_user) ... ok
test_huge_user (tests.test.TestEndToEndNoUserlist.test_huge_user) ... ok
test_main_inv_params (tests.test.TestEndToEndNoUserlist.test_main_inv_params) 
... ok
test_corrupted_dkg 
(tests.test.TestEndToEndNoValidatePassword.test_corrupted_dkg) ... ok
test_create_user (tests.test.TestEndToEndNoValidatePassword.test_create_user) 
... ok
test_huge_user (tests.test.TestEndToEndNoValidatePassword.test_huge_user) ... ok
test_main_inv_params 
(tests.test.TestEndToEndNoValidatePassword.test_main_inv_params) ... ok
test_corrupted_dkg (tests.test.TestEndToEndNoneEither.test_corrupted_dkg) ... ok
test_create_user (tests.test.TestEndToEndNoneEither.test_create_user) ... ok
test_huge_user (tests.test.TestEndToEndNoneEither.test_huge_user) ... ok
test_main_inv_params (tests.test.TestEndToEndNoneEither.test_main_inv_params) 
... ok
test_corrupted_dkg (tests.test.TestEndToEndSingleMode.test_corrupted_dkg) ... ok
test_create_user (tests.test.TestEndToEndSingleMode.test_create_user) ... ok
test_huge_user (tests.test.TestEndToEndSingleMode.test_huge_user) ... ERROR
test_main_inv_params (tests.test.TestEndToEndSingleMode.test_main_inv_params) 
... ok
test_age (tests.test_conv.TestConverters.test_age) ... ok
test_bin2pass (tests.test_conv.TestConverters.test_bin2pass) ... ok
test_bin2pass_8char (tests.test_conv.TestConverters.test_bin2pass_8char) ... ok
test_otp (tests.test_conv.TestConverters.test_otp) ... ok
test_raw (tests.test_conv.TestConverters.test_raw) ... ok
test_all_zeroes (tests.test_pass2bin.TestRules.test_all_zeroes) ... ok
test_invert_iter (tests.test_pass2bin.TestRules.test_invert_iter) ... ok
test_invert_random (tests.test_pass2bin.TestRules.test_invert_random) ... ok
test_invert_reviter (tests.test_pass2bin.TestRules.test_invert_reviter) ... ok
test_invert_simple (tests.test_pass2bin.TestRules.test_invert_simple) ... ok
test_invert_too_long (tests.test_pass2bin.TestRules.test_invert_too_long) ... ok
test_short_zeroes (tests.test_pass2bin.TestRules.test_short_zeroes) ... ok
test_rules (tests.test_rules.TestRules.test_rules) ... ok

======================================================================
ERROR: test_huge_user (tests.test.TestEndToEndSingleMode.test_huge_user)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test.py", line 144, 
in test_huge_user
    rwd=sphinx.create(s, pwd, 'a'*(2**16 - 42), host, char_classes, syms, size)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pwdsphinx/sphinx.py", 
line 535, in create
    update_rec(p.fd, id, user)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pwdsphinx/sphinx.py", 
line 275, in update_rec
    raise ValueError("ERROR: list of user names is bigger than 64KB. %d" % 
bsize)
ValueError: ERROR: list of user names is bigger than 64KB. 65541

----------------------------------------------------------------------
Ran 37 tests in 9.508s

FAILED (errors=1)
exception caught <class 'ValueError'> ERROR: list of user names is bigger than 
64KB. 65541 <traceback object at 0x7faf694f2340>
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover 
-v 
        rm -fr -- /tmp/dh-xdg-rundir-Hx2n_fWB
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned 
exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pwdsphinx, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to