From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: staging: django fails to build
Date: Wed, 28 Dec 2016 20:21:10 -0500 [thread overview]
Message-ID: <20161229012110.GA2934@jasmine> (raw)
[-- 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 --]
next reply other threads:[~2016-12-29 1:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-29 1:21 Leo Famulari [this message]
2016-12-29 13:58 ` staging: django fails to build Hartmut Goebel
2017-01-02 20:49 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161229012110.GA2934@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).