[Python-modules-team] Bug#741783: django-auth-ldap: FTBFS: Tests failures

David Suárez david.sephirot at gmail.com
Sun Mar 16 13:18:18 UTC 2014


Source: django-auth-ldap
Version: 1.1.8-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140315 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory `/«PKGBUILDDIR»'
> django-admin startproject testproject
> if [ -d testproject/testproject ]; then \
> 		cp debian/settings.py testproject/testproject/settings.py; \
> 	else \
> 		cp debian/settings.py testproject ; \
> 	fi
> for python in python2.7; do \
> 	  rm -f testproject/test.db3 ; \
> 	  PYTHONPATH=".:src:testproject" $python testproject/manage.py syncdb --settings=testproject.settings --noinput ;\
> 	  PYTHONPATH=".:src:testproject" $python testproject/manage.py test --settings=testproject.settings django_auth_ldap ; \
> 	done
> Creating tables ...
> Creating table django_auth_ldap_testuser
> Creating table django_auth_ldap_testprofile
> Creating table auth_permission
> Creating table auth_group_permissions
> Creating table auth_group
> Creating table auth_user_groups
> Creating table auth_user_user_permissions
> Creating table auth_user
> Creating table django_content_type
> Creating table django_admin_log
> Creating table django_site
> Creating table django_session
> Installing custom SQL ...
> Installing indexes ...
> Installed 0 object(s) from 0 fixture(s)
> ../«PKGBUILDDIR»/django_auth_ldap/backend.py:583: DeprecationWarning: The use of AUTH_PROFILE_MODULE to define user profiles has been deprecated.
>   profile = self._user.get_profile()
> 
> ..................................F../«PKGBUILDDIR»/django_auth_ldap/tests.py:792: DeprecationWarning: The use of AUTH_PROFILE_MODULE to define user profiles has been deprecated.
>   self.assertTrue(alice.get_profile().is_special)
> 
> /«PKGBUILDDIR»/django_auth_ldap/tests.py:793: DeprecationWarning: The use of AUTH_PROFILE_MODULE to define user profiles has been deprecated.
>   self.assertTrue(not bob.get_profile().is_special)
> 
> ........./«PKGBUILDDIR»/django_auth_ldap/tests.py:582: DeprecationWarning: The use of AUTH_PROFILE_MODULE to define user profiles has been deprecated.
>   self.assertTrue(user.get_profile().populated)
> 
> ........
> ======================================================================
> FAIL: test_posix_group_permissions_no_gid (django_auth_ldap.tests.LDAPTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/django_auth_ldap/tests.py", line 862, in test_posix_group_permissions_no_gid
>     self.assertEqual(self.backend.get_group_permissions(alice), set(["auth.add_user", "auth.change_user"]))
> AssertionError: Items in the second set but not the first:
> 'auth.add_user'
> 'auth.change_user'
> 
> ----------------------------------------------------------------------
> Ran 56 tests in 0.357s
> 
> FAILED (failures=1)
> Creating test database for alias 'default'...
> Destroying test database for alias 'default'...
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/django-auth-ldap_1.1.8-1_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