#1014103 django-auth-ldap: autopkgtest regression: Command 'slapadd' not found

#1014103#5
Date:
2022-06-30 09:40:45 UTC
From:
To:
Dear maintainer(s),

With a recent upload of django-auth-ldap the autopkgtest of
django-auth-ldap fails in testing when that autopkgtest is run with the
binary packages of django-auth-ldap from unstable. It passes when run
with only packages from testing. In tabular form:

                        pass            fail
django-auth-ldap       from testing    4.0.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. Seems like
you're missing a test dependency?

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=django-auth-ldap

https://ci.debian.net/data/autopkgtest/testing/amd64/d/django-auth-ldap/23174684/log.gz

Creating test database for alias 'default'...
Found 88 test(s).
System check identified no issues (0 silenced).
E
======================================================================
ERROR: setUpClass (tests.tests.LDAPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
   File
"/tmp/autopkgtest-lxc.5awdudxv/downtmp/autopkgtest_tmp/tests/tests.py",
line 132, in setUpClass
     cls.server = slapdtest.SlapdObject()
   File "/usr/lib/python3/dist-packages/slapdtest/_slapdtest.py", line
233, in __init__
     self._find_commands()
   File "/usr/lib/python3/dist-packages/slapdtest/_slapdtest.py", line
262, in _find_commands
     self.PATH_SLAPADD = self._find_command('slapadd')
   File "/usr/lib/python3/dist-packages/slapdtest/_slapdtest.py", line
277, in _find_command
     raise ValueError(
ValueError: Command 'slapadd' not found. Set the BIN environment
variable to override slapdtest's search path.
----------------------------------------------------------------------
Ran 0 tests in 0.001s

FAILED (errors=1)
Destroying test database for alias 'default'...
autopkgtest [03:12:39]: test upstream

#1014103#12
Date:
2022-07-09 18:20:46 UTC
From:
To:
# Fixed by src:python-ldap-3.4.0-2.
close 1014103
thanks