[Python-modules-team] Bug#951969: social-auth-app-django: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" --system=custom "--test-args={interpreter} ./manage.py test" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 07:09:54 GMT 2020
Source: social-auth-app-django
Version: 3.1.0-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="{interpreter} ./manage.py test"
> I: pybuild base:217: python3.8 ./manage.py test
> Creating test database for alias 'default'...
> ......................................E................
> ======================================================================
> ERROR: test_html (tests.test_strategy.TestStrategy)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_strategy.py", line 73, in test_html
> result = self.strategy.render_html(html='xoxo')
> File "/<<PKGBUILDDIR>>/social_django/strategy.py", line 98, in render_html
> template = loader.get_template(tpl)
> File "/usr/lib/python3/dist-packages/django/template/loader.py", line 15, in get_template
> return engine.get_template(template_name)
> File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 34, in get_template
> return Template(self.engine.get_template(template_name), self)
> File "/usr/lib/python3/dist-packages/django/template/engine.py", line 143, in get_template
> template, origin = self.find_template(template_name)
> File "/usr/lib/python3/dist-packages/django/template/engine.py", line 125, in find_template
> template = loader.get_template(name, skip=skip)
> File "/usr/lib/python3/dist-packages/django/template/loaders/cached.py", line 54, in get_template
> template = super().get_template(template_name, skip)
> File "/usr/lib/python3/dist-packages/django/template/loaders/base.py", line 18, in get_template
> for origin in self.get_template_sources(template_name):
> File "/usr/lib/python3/dist-packages/django/template/loaders/cached.py", line 65, in get_template_sources
> yield from loader.get_template_sources(template_name)
> File "/usr/lib/python3/dist-packages/django/template/loaders/filesystem.py", line 36, in get_template_sources
> name = safe_join(template_dir, template_name)
> File "/usr/lib/python3/dist-packages/django/utils/_os.py", line 32, in safe_join
> final_path = abspath(join(base, *paths))
> File "/usr/lib/python3.8/posixpath.py", line 90, in join
> genericpath._check_arg_types('join', a, *p)
> File "/usr/lib/python3.8/genericpath.py", line 152, in _check_arg_types
> raise TypeError(f'{funcname}() argument must be str, bytes, or '
> TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
>
> ----------------------------------------------------------------------
> Ran 55 tests in 0.642s
>
> FAILED (errors=1)
> Destroying test database for alias 'default'...
> System check identified no issues (0 silenced).
> E: pybuild pybuild:341: test: plugin custom failed with: exit code=1: python3.8 ./manage.py test
> dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" --system=custom "--test-args={interpreter} ./manage.py test" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/social-auth-app-django_3.1.0-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-modules-team
mailing list