[Python-modules-team] Bug#865559: django-model-utils FTBFS with Django 1.11
Adrian Bunk
bunk at debian.org
Thu Jun 22 17:35:17 UTC 2017
Source: django-model-utils
Version: 2.5.2-2
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/django-model-utils.html
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/django-model-utils-2.5.2'
dh_auto_test -- --system=custom --test-args="{interpreter} ./runtests.py"
dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use)
I: pybuild base:184: python2.7 ./runtests.py
..........................................................................F..FFFFsF..FFF..sF..FFFsF..FFF..sFF.FFF............................................................................................sss..................................
======================================================================
FAIL: test_children_and_grandchildren (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 662, in test_children_and_grandchildren
children,
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestParent: Parent(4)>
Items in the second set but not the first:
<InheritanceManagerTestChild1: Child1(1)>
<InheritanceManagerTestGrandChild1: GrandChild1(3)>
<InheritanceManagerTestChild1: Child1(4)>
======================================================================
FAIL: test_get_method_with_select_subclasses (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 1064, in test_get_method_with_select_subclasses
self.child1)
AssertionError: <InheritanceManagerTestParent: Parent(1)> != <InheritanceManagerTestChild1: Child1(1)>
======================================================================
FAIL: test_get_subclass (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 669, in test_get_subclass
self.child1)
AssertionError: <InheritanceManagerTestParent: Parent(1)> != <InheritanceManagerTestChild1: Child1(1)>
======================================================================
FAIL: test_get_subclass_on_queryset (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 675, in test_get_subclass_on_queryset
self.child1)
AssertionError: <InheritanceManagerTestParent: Parent(1)> != <InheritanceManagerTestChild1: Child1(1)>
======================================================================
FAIL: test_manually_specifying_parent_fk_including_grandchildren (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 733, in test_manually_specifying_parent_fk_including_grandchildren
self.assertEqual(list(results), expected_objs)
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestChild1...
First differing element 0:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestChild1: Child1(1)>
- [<InheritanceManagerTestParent: Parent(1)>,
- <InheritanceManagerTestParent: Parent(2)>,
- <InheritanceManagerTestParent: Parent(3)>,
- <InheritanceManagerTestParent: Parent(4)>,
- <InheritanceManagerTestParent: Parent(5)>]
+ [<InheritanceManagerTestChild1: Child1(1)>,
+ <InheritanceManagerTestChild2: Child2(2)>,
+ <InheritanceManagerTestGrandChild1: GrandChild1(3)>,
+ <InheritanceManagerTestGrandChild1_2: GrandChild1_2(4)>,
+ <InheritanceManagerTestChild3: Child3(5)>]
======================================================================
FAIL: test_manually_specifying_parent_fk_single_subclass (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 760, in test_manually_specifying_parent_fk_single_subclass
self.assertEqual(list(results), expected_objs)
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestParent...
First differing element 4:
<InheritanceManagerTestParent: Parent(5)>
<InheritanceManagerTestChild3: Child3(5)>
[<InheritanceManagerTestParent: Parent(1)>,
<InheritanceManagerTestParent: Parent(2)>,
<InheritanceManagerTestParent: Parent(3)>,
<InheritanceManagerTestParent: Parent(4)>,
- <InheritanceManagerTestParent: Parent(5)>]
+ <InheritanceManagerTestChild3: Child3(5)>]
======================================================================
FAIL: test_select_all_subclasses (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 599, in test_select_all_subclasses
set(self.get_manager().select_subclasses()), children)
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestParent: Parent(2)>
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestParent: Parent(4)>
Items in the second set but not the first:
<InheritanceManagerTestChild1: Child1(1)>
<InheritanceManagerTestChild2: Child2(2)>
<InheritanceManagerTestGrandChild1: GrandChild1(3)>
<InheritanceManagerTestGrandChild1_2: GrandChild1_2(4)>
======================================================================
FAIL: test_select_specific_grandchildren (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 643, in test_select_specific_grandchildren
children,
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(3)>
Items in the second set but not the first:
<InheritanceManagerTestGrandChild1: GrandChild1(3)>
======================================================================
FAIL: test_select_specific_subclasses (model_utils.tests.tests.InheritanceManagerRelatedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 625, in test_select_specific_subclasses
children,
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestParent: Parent(4)>
Items in the second set but not the first:
<InheritanceManagerTestChild1: Child1(1)>
<InheritanceManagerTestChild1: Child1(3)>
<InheritanceManagerTestChild1: Child1(4)>
======================================================================
FAIL: test_children_and_grandchildren (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 662, in test_children_and_grandchildren
children,
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestParent: Parent(4)>
Items in the second set but not the first:
<InheritanceManagerTestChild1: Child1(1)>
<InheritanceManagerTestGrandChild1: GrandChild1(3)>
<InheritanceManagerTestChild1: Child1(4)>
======================================================================
FAIL: test_get_subclass (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 669, in test_get_subclass
self.child1)
AssertionError: <InheritanceManagerTestParent: Parent(1)> != <InheritanceManagerTestChild1: Child1(1)>
======================================================================
FAIL: test_get_subclass_on_queryset (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 675, in test_get_subclass_on_queryset
self.child1)
AssertionError: <InheritanceManagerTestParent: Parent(1)> != <InheritanceManagerTestChild1: Child1(1)>
======================================================================
FAIL: test_manually_specifying_parent_fk_including_grandchildren (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 733, in test_manually_specifying_parent_fk_including_grandchildren
self.assertEqual(list(results), expected_objs)
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestChild1...
First differing element 0:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestChild1: Child1(1)>
- [<InheritanceManagerTestParent: Parent(1)>,
- <InheritanceManagerTestParent: Parent(2)>,
- <InheritanceManagerTestParent: Parent(3)>,
- <InheritanceManagerTestParent: Parent(4)>,
- <InheritanceManagerTestParent: Parent(5)>]
+ [<InheritanceManagerTestChild1: Child1(1)>,
+ <InheritanceManagerTestChild2: Child2(2)>,
+ <InheritanceManagerTestGrandChild1: GrandChild1(3)>,
+ <InheritanceManagerTestGrandChild1_2: GrandChild1_2(4)>,
+ <InheritanceManagerTestChild3: Child3(5)>]
======================================================================
FAIL: test_manually_specifying_parent_fk_single_subclass (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 760, in test_manually_specifying_parent_fk_single_subclass
self.assertEqual(list(results), expected_objs)
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestParent...
First differing element 4:
<InheritanceManagerTestParent: Parent(5)>
<InheritanceManagerTestChild3: Child3(5)>
[<InheritanceManagerTestParent: Parent(1)>,
<InheritanceManagerTestParent: Parent(2)>,
<InheritanceManagerTestParent: Parent(3)>,
<InheritanceManagerTestParent: Parent(4)>,
- <InheritanceManagerTestParent: Parent(5)>]
+ <InheritanceManagerTestChild3: Child3(5)>]
======================================================================
FAIL: test_select_all_subclasses (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 599, in test_select_all_subclasses
set(self.get_manager().select_subclasses()), children)
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestParent: Parent(2)>
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestParent: Parent(4)>
Items in the second set but not the first:
<InheritanceManagerTestChild1: Child1(1)>
<InheritanceManagerTestChild2: Child2(2)>
<InheritanceManagerTestGrandChild1: GrandChild1(3)>
<InheritanceManagerTestGrandChild1_2: GrandChild1_2(4)>
======================================================================
FAIL: test_select_specific_grandchildren (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 643, in test_select_specific_grandchildren
children,
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(3)>
Items in the second set but not the first:
<InheritanceManagerTestGrandChild1: GrandChild1(3)>
======================================================================
FAIL: test_select_specific_subclasses (model_utils.tests.tests.InheritanceManagerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 625, in test_select_specific_subclasses
children,
AssertionError: Items in the first set but not the second:
<InheritanceManagerTestParent: Parent(1)>
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestParent: Parent(4)>
Items in the second set but not the first:
<InheritanceManagerTestChild1: Child1(1)>
<InheritanceManagerTestChild1: Child1(3)>
<InheritanceManagerTestChild1: Child1(4)>
======================================================================
FAIL: test_child_doesnt_accidentally_get_parent (model_utils.tests.tests.InheritanceManagerUsingModelsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 1010, in test_child_doesnt_accidentally_get_parent
], list(objs))
AssertionError: Lists differ: [<InheritanceManagerTestChild1... != [<InheritanceManagerTestChild1...
First differing element 1:
<InheritanceManagerTestGrandChild1: GrandChild1(4)>
<InheritanceManagerTestChild1: Child1(4)>
[<InheritanceManagerTestChild1: Child1(2)>,
- <InheritanceManagerTestGrandChild1: GrandChild1(4)>,
? ----- -----
+ <InheritanceManagerTestChild1: Child1(4)>,
<InheritanceManagerTestChild1: Child1(5)>]
======================================================================
FAIL: test_duplications (model_utils.tests.tests.InheritanceManagerUsingModelsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 994, in test_duplications
InheritanceManagerTestParent(pk=self.grandchild1_2.pk),
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestParent...
First differing element 2:
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestChild2: Child2(3)>
[<InheritanceManagerTestParent: Parent(1)>,
<InheritanceManagerTestParent: Parent(2)>,
- <InheritanceManagerTestParent: Parent(3)>,
+ <InheritanceManagerTestChild2: Child2(3)>,
<InheritanceManagerTestParent: Parent(4)>,
<InheritanceManagerTestParent: Parent(5)>]
======================================================================
FAIL: test_manually_specifying_parent_fk_only_specific_child (model_utils.tests.tests.InheritanceManagerUsingModelsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 1029, in test_manually_specifying_parent_fk_only_specific_child
self.assertEqual(list(results), expected_objs)
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestParent...
First differing element 5:
<InheritanceManagerTestParent: Parent(6)>
<InheritanceManagerTestChild3: Child3(6)>
[<InheritanceManagerTestParent: Parent(1)>,
<InheritanceManagerTestParent: Parent(2)>,
<InheritanceManagerTestParent: Parent(3)>,
<InheritanceManagerTestParent: Parent(4)>,
<InheritanceManagerTestParent: Parent(5)>,
- <InheritanceManagerTestParent: Parent(6)>]
+ <InheritanceManagerTestChild3: Child3(6)>]
======================================================================
FAIL: test_mixing_strings_and_classes_with_children (model_utils.tests.tests.InheritanceManagerUsingModelsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 977, in test_mixing_strings_and_classes_with_children
self.assertEqual(list(objs), expecting2)
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestParent...
First differing element 1:
<InheritanceManagerTestParent: Parent(2)>
<InheritanceManagerTestChild1: Child1(2)>
[<InheritanceManagerTestParent: Parent(1)>,
- <InheritanceManagerTestParent: Parent(2)>,
- <InheritanceManagerTestParent: Parent(3)>,
- <InheritanceManagerTestParent: Parent(4)>,
- <InheritanceManagerTestParent: Parent(5)>]
+ <InheritanceManagerTestChild1: Child1(2)>,
+ <InheritanceManagerTestChild2: Child2(3)>,
+ <InheritanceManagerTestChild1: Child1(4)>,
+ <InheritanceManagerTestChild1: Child1(5)>]
======================================================================
FAIL: test_mixing_strings_and_classes_with_grandchildren (model_utils.tests.tests.InheritanceManagerUsingModelsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-model-utils-2.5.2/model_utils/tests/tests.py", line 954, in test_mixing_strings_and_classes_with_grandchildren
self.assertEqual(list(objs), expecting2)
AssertionError: Lists differ: [<InheritanceManagerTestParent... != [<InheritanceManagerTestParent...
First differing element 2:
<InheritanceManagerTestParent: Parent(3)>
<InheritanceManagerTestChild2: Child2(3)>
[<InheritanceManagerTestParent: Parent(1)>,
<InheritanceManagerTestParent: Parent(2)>,
- <InheritanceManagerTestParent: Parent(3)>,
+ <InheritanceManagerTestChild2: Child2(3)>,
<InheritanceManagerTestParent: Parent(4)>,
- <InheritanceManagerTestParent: Parent(5)>]
+ <InheritanceManagerTestGrandChild1_2: GrandChild1_2(5)>]
----------------------------------------------------------------------
Ran 242 tests in 1.162s
FAILED (failures=22, skipped=7)
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
No changes detected
Destroying test database for alias 'default'...
E: pybuild pybuild:283: test: plugin custom failed with: exit code=22: python2.7 ./runtests.py
dh_auto_test: pybuild --test -i python{version} -p 2.7 --system=custom --test-args={interpreter} ./runtests.py returned exit code 13
debian/rules:11: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
More information about the Python-modules-team
mailing list