Source: python-django Version: 2:3.2.7-1 Severity: serious Tags: ftbfs https://buildd.debian.org/status/fetch.php?pkg=python-django&arch=all&ver=2%3A3.2.11-1&stamp=1641309500&raw=0
... ====================================================================== FAIL: test_custom_fields (inspectdb.tests.InspectDBTestCase) Introspection of columns with a custom field (#21090) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/usr/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/<<PKGBUILDDIR>>/tests/inspectdb/tests.py", line 313, in test_custom_fields self.assertIn("text_field = myfields.TextField()", output) File "/usr/lib/python3.10/unittest/case.py", line 1112, in assertIn self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3.10/unittest/case.py", line 675, in fail raise self.failureException(msg) AssertionError: 'text_field = myfields.TextField()' not found in "# This is an auto-generated Django model module.\n# You'll have to do the following manually to clean this up:\n# * Rearrange models' order\n# * Make sure each model has one field with primary_key=True\n# * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior\n# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table\n# Feel free to rename the models, but don't rename db_table values or field names.\nfrom django.db import models\n\n\nclass InspectdbColumntypes(models.Model):\n id = models.TextField(primary_key=True) # This field type is a guess.\n big_int_field = models.BigIntegerField()\n bool_field = models.TextField() # This field type is a guess.\n null_bool_field = models.TextField(blank=True, null=True) # This field type is a guess.\n char_field = models.TextField() # This field type is a guess.\n null_char_field = models.TextField(blank=True, null=True) # This field type is a guess.\n date_field = models.TextField() # This field type is a guess.\n date_time_field = models.TextField() # This field type is a guess.\n decimal_field = models.TextField() # This field type is a guess.\n email_field = models.TextField() # This field type is a guess.\n file_field = models.TextField() # This field type is a guess.\n file_path_field = models.TextField() # This field type is a guess.\n float_field = models.TextField() # This field type is a guess.\n int_field = models.TextField() # This field type is a guess.\n gen_ip_address_field = models.TextField() # This field type is a guess.\n pos_big_int_field = models.TextField() # This field type is a guess.\n pos_int_field = models.TextField() # This field type is a guess.\n pos_small_int_field = models.TextField() # This field type is a guess.\n slug_field = models.TextField() # This field type is a guess.\n small_int_field = models.TextField() # This field type is a guess.\n text_field = models.TextField() # This field type is a guess.\n time_field = models.TextField() # This field type is a guess.\n url_field = models.TextField() # This field type is a guess.\n uuid_field = models.TextField() # This field type is a guess.\n\n class Meta:\n managed = False\n db_table = 'inspectdb_columntypes'\n" ---------------------------------------------------------------------- Ran 14650 tests in 151.514s FAILED (failures=1, skipped=1141, expected failures=4) Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... make[1]: *** [debian/rules:23: override_dh_auto_test] Error 1