unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* staging: django fails to build
@ 2016-12-29  1:21 Leo Famulari
  2016-12-29 13:58 ` Hartmut Goebel
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-12-29  1:21 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 5498 bytes --]

Django is failing its test suite on the staging branch:

https://hydra.gnu.org/job/gnu/staging/python-django-1.10.3.x86_64-linux
https://hydra.gnu.org/job/gnu/staging/python-django-1.10.3.i686-linux

I can reproduce this on my own machine, but I'm not sure what the
problem is.

Does anyone have any ideas?

Here are the failing tests:

======================================================================
FAIL: test_timeuntil08 (template_tests.filter_tests.test_timeuntil.TimeuntilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 600, in run
    testMethod()
  File "/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/django/test/utils.py", line 205, in inner
    return func(*args, **kwargs)
  File "/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/utils.py", line 61, in inner
    func(self)
  File "/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/filter_tests/test_timeuntil.py", line 66, in test_timeuntil08
    self.assertEqual(output, '1\xa0week')
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 820, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 813, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: '1\xa0week, 1\xa0day' != '1\xa0week'

======================================================================
FAIL: test_timeuntil09 (template_tests.filter_tests.test_timeuntil.TimeuntilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 600, in run
    testMethod()
  File "/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/django/test/utils.py", line 205, in inner
    return func(*args, **kwargs)
  File "/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/utils.py", line 61, in inner
    func(self)
  File "/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/filter_tests/test_timeuntil.py", line 71, in test_timeuntil09
    self.assertEqual(output, '1\xa0week')
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 820, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 813, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: '1\xa0week, 1\xa0day' != '1\xa0week'

======================================================================
FAIL: test_both_date_objects (utils_tests.test_timesince.TimesinceTests)
Timesince should work with both date objects (#9672)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 600, in run
    testMethod()
  File "/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/utils_tests/test_timesince.py", line 106, in test_both_date_objects
    self.assertEqual(timeuntil(today + self.oneweek, today), '1\xa0week')
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 820, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 1193, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py", line 665, in fail
    raise self.failureException(msg)
AssertionError: '1\xa0week, 1\xa0day' != '1\xa0week'
- 1??week, 1 day
+ 1 week


----------------------------------------------------------------------
Ran 11263 tests in 107.254s

FAILED (failures=3, skipped=1122, expected failures=4)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
phase `check' failed after 137.8 seconds

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-02 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29  1:21 staging: django fails to build Leo Famulari
2016-12-29 13:58 ` Hartmut Goebel
2017-01-02 20:49   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).