Your message dated Thu, 5 Jan 2017 15:25:50 +0100
with message-id <20170105142550.dkycj4qlbaagp...@home.ouaza.com>
and subject line Re: Bug#850236: python-django: FTBFS (AssertionError)
has caused the Debian Bug report #850236,
regarding python-django: FTBFS (AssertionError)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
850236: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850236
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-django
Version: 1:1.10.3-2
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with sphinxdoc,python2,python3 --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
I: pybuild base:184: python3.5 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:184: /usr/bin/python setup.py build 

[... snipped ...]

test_options (generic_views.test_base.ViewTest) ... ok
test_options_for_get_and_post_view (generic_views.test_base.ViewTest) ... ok
test_options_for_get_view (generic_views.test_base.ViewTest) ... ok
test_options_for_post_view (generic_views.test_base.ViewTest) ... ok
test_pathological_http_method (generic_views.test_base.ViewTest) ... ok
test_response_without_messages (messages_tests.test_middleware.MiddlewareTest) 
... ok
test_script_prefix_set_in_commands (user_commands.tests.CommandRunTests) ... ok

======================================================================
FAIL: test_timesince07 
(template_tests.filter_tests.test_timesince.TimesinceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/django/test/utils.py", line 205, in inner
    return func(*args, **kwargs)
  File "/<<PKGBUILDDIR>>/tests/template_tests/utils.py", line 61, in inner
    func(self)
  File "/<<PKGBUILDDIR>>/tests/template_tests/filter_tests/test_timesince.py", 
line 67, in test_timesince07
    self.assertEqual(output, '1\xa0week')
AssertionError: u'6\xa0days' != u'1\xa0week'

======================================================================
FAIL: test_timesince08 
(template_tests.filter_tests.test_timesince.TimesinceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/django/test/utils.py", line 205, in inner
    return func(*args, **kwargs)
  File "/<<PKGBUILDDIR>>/tests/template_tests/utils.py", line 61, in inner
    func(self)
  File "/<<PKGBUILDDIR>>/tests/template_tests/filter_tests/test_timesince.py", 
line 74, in test_timesince08
    self.assertEqual(output, '1\xa0week')
AssertionError: u'6\xa0days' != u'1\xa0week'

----------------------------------------------------------------------
Ran 11263 tests in 245.226s

FAILED (failures=2, skipped=1064, expected failures=5)
 OK
Destroying test database for alias 'default' (':memory:')...
Destroying test database for alias 'other' (':memory:')...
debian/rules:24: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:12: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/python-django/

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine.
It always fail for me (I tried 10 times in different autobuilders), and it
also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django.html

Thanks.

--- End Message ---
--- Begin Message ---
Version: 1:1.10.5-1

This is https://code.djangoproject.com/ticket/27637 and has been fixed
in version 1.10.5 that just got uploaded. The failure only happens during
one week every 4 years. So it's not really release critical but we
still want the new version to migrate in testing so it doesn't change
much.

Cheers,

On Thu, 05 Jan 2017, Santiago Vila wrote:
> ======================================================================
> FAIL: test_timesince07 
> (template_tests.filter_tests.test_timesince.TimesinceTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/django/test/utils.py", line 205, in inner
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/tests/template_tests/utils.py", line 61, in inner
>     func(self)
>   File 
> "/<<PKGBUILDDIR>>/tests/template_tests/filter_tests/test_timesince.py", line 
> 67, in test_timesince07
>     self.assertEqual(output, '1\xa0week')
> AssertionError: u'6\xa0days' != u'1\xa0week'
> 
> ======================================================================
> FAIL: test_timesince08 
> (template_tests.filter_tests.test_timesince.TimesinceTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/django/test/utils.py", line 205, in inner
>     return func(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/tests/template_tests/utils.py", line 61, in inner
>     func(self)
>   File 
> "/<<PKGBUILDDIR>>/tests/template_tests/filter_tests/test_timesince.py", line 
> 74, in test_timesince08
>     self.assertEqual(output, '1\xa0week')
> AssertionError: u'6\xa0days' != u'1\xa0week'
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/

--- End Message ---

Reply via email to