#29187: test_delete_signals occasionally fails when running all django tests
-------------------------------------+-------------------------------------
     Reporter:  Jacob Mulford        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Core (Other)         |                  Version:  2.0
     Severity:  Normal               |               Resolution:
     Keywords:  tests, unit tests    |             Triage Stage:
                                     |  Someday/Maybe
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Hans-Peter Jansen):

 * cc: Hans-Peter Jansen (added)


Comment:

 I see this very issue in OBS builds of Django, which typically build with
 the Django testsuite enabled.

 {{{
 [  264s]
 ======================================================================
 [  264s] FAIL: test_delete_signals (signals.tests.SignalTests)
 [  264s]
 ----------------------------------------------------------------------
 [  264s] Traceback (most recent call last):
 [  264s]   File "/usr/lib64/python3.6/unittest/case.py", line 59, in
 testPartExecutor
 [  264s]     yield
 [  264s]   File "/usr/lib64/python3.6/unittest/case.py", line 608, in run
 [  264s]     self.tearDown()
 [  264s]   File
 "/home/abuild/rpmbuild/BUILD/Django-2.1.5/tests/signals/tests.py", line
 32, in tearDown
 [  264s]     self.assertEqual(self.pre_signals, post_signals)
 [  264s]   File "/usr/lib64/python3.6/unittest/case.py", line 829, in
 assertEqual
 [  264s]     assertion_func(first, second, msg=msg)
 [  264s]   File "/usr/lib64/python3.6/unittest/case.py", line 1039, in
 assertTupleEqual
 [  264s]     self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
 [  264s]   File "/usr/lib64/python3.6/unittest/case.py", line 1010, in
 assertSequenceEqual
 [  264s]     self.fail(msg)
 [  264s]   File "/usr/lib64/python3.6/unittest/case.py", line 670, in fail
 [  264s]     raise self.failureException(msg)
 [  264s] AssertionError: Tuples differ: (1, 0, 2, 1) != (1, 0, 2, 0)
 [  264s]
 [  264s] First differing element 3:
 [  264s] 1
 [  264s] 0
 [  264s]
 [  264s] - (1, 0, 2, 1)
 [  264s] ?           ^
 [  264s]
 [  264s] + (1, 0, 2, 0)
 [  264s] ?           ^
 [  264s]
 [  264s]
 [  264s]
 ----------------------------------------------------------------------
 [  264s] Ran 12368 tests in 172.836s
 }}}

 These builds are in public here:
 https://build.opensuse.org/package/show/home:frispete:python/python-Django

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29187#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.631ee38fc244cfb0525c15d65becae67%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to