python-django version 1.3-2 failed to build in oneiric

Bug #829487 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-django (Ubuntu)
Fix Released
High
Barry Warsaw
Oneiric
Fix Released
High
Barry Warsaw

Bug Description

python-django version 1.3-2 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2709287

Details about the rebuild:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2709287/+files/buildlog_ubuntu-oneiric-i386.python-django_1.3-2_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 8345 lines into the build log:

Creating table one_to_one_regress_undergroundbar
Creating table one_to_one_regress_favorites_restaurants
Creating table one_to_one_regress_favorites
Creating table one_to_one_regress_target
Creating table one_to_one_regress_pointer
Creating table one_to_one_regress_pointer2
Installing custom SQL ...
Installing indexes ...
Installed 50 object(s) from 4 fixture(s)
Destroying test database for alias 'default' (':memory:')...
Destroying test database for alias 'other' (':memory:')...
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/build/buildd/python-django-1.3'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110818-0844
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/python-django-1.3

Tags: ftbfs oneiric
Matthias Klose (doko)
Changed in python-django (Ubuntu):
milestone: none → ubuntu-11.10-beta-1
status: New → Confirmed
importance: Undecided → High
Barry Warsaw (barry)
Changed in python-django (Ubuntu Oneiric):
assignee: nobody → Barry Warsaw (barry)
Revision history for this message
Barry Warsaw (barry) wrote :

FWIW, I can build successfully locally when I remove the locales-all build-dep. Apparently, while that package is in Debian, it's not in Ubuntu. This is a different build failure than what we see above, so I'm not sure it's related. I'm going to build the updated package in a PPA to see if the buildd's can reproduce the problem.

Revision history for this message
Barry Warsaw (barry) wrote :
Revision history for this message
Barry Warsaw (barry) wrote :

I think this ticket may also be relevant, although it appears there's already a quilt patch to disable it. I'm just not sure why the buildd's still fail on those tests.

https://code.djangoproject.com/ticket/16687

Revision history for this message
Matthias Klose (doko) wrote :

the URL tests don't fail, but:

======================================================================
FAIL: test_view_decorator (regressiontests.cache.tests.CacheMiddlewareTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/python-django-1.3/tests/regressiontests/cache/tests.py", line 1433, in test_view_decorator
    self.assertEqual(response.content, 'Hello World 18')
AssertionError: 'Hello World 10' != 'Hello World 18'

Revision history for this message
Barry Warsaw (barry) wrote :

I do get different failures when building locally vs. the buildds. Since the bug is now reported upstream, I propose we just disable this test for now.

Revision history for this message
Barry Warsaw (barry) wrote :

Sorry, what I meant to say was, I will just increase the sleep time. I'll apply the fix and upload.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-django - 1.3-2ubuntu1

---------------
python-django (1.3-2ubuntu1) oneiric; urgency=low

  * 09_test_view_decorator_sleep.diff increases the sleep time to
    reduce race condition effects on build machines.
    https://code.djangoproject.com/ticket/16686 (LP: #829487)
  * Remove build-dep on locales-all which isn't in the Ubuntu archive.
 -- Barry Warsaw <email address hidden> Tue, 23 Aug 2011 17:57:46 -0400

Changed in python-django (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.