| Summary: | FTBFS python-webhelpers-1.3-1.fc16 | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | FTBFS <ftbfs> | ||||||||||||||
| Component: | python-webhelpers | Assignee: | Kyle VanderBeek <kylev> | ||||||||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||
| Priority: | high | ||||||||||||||||
| Version: | rawhide | CC: | dmalcolm, kylev | ||||||||||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | All | ||||||||||||||||
| OS: | Linux | ||||||||||||||||
| URL: | http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/ | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | python-webhelpers-1.3-2.fc17 | Doc Type: | Bug Fix | ||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2011-12-07 00:00:16 UTC | Type: | --- | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Bug Depends On: | |||||||||||||||||
| Bug Blocks: | 713919 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
FTBFS
2011-06-23 15:18:19 UTC
Created attachment 507378 [details]
root.log
root.log for i386
Created attachment 507380 [details]
build.log
build.log for i386
Created attachment 507382 [details]
mock.log
mock.log for i386
Created attachment 507384 [details]
root.log
root.log for x86_64
Created attachment 507385 [details]
build.log
build.log for x86_64
Created attachment 507386 [details]
mock.log
mock.log for x86_64
Failing test is:
======================================================================
FAIL: test_distance_of_time_in_words (test_date.TestDateHelper)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/WebHelpers-1.3/tests/test_date.py", line 24, in test_distance_of_time_in_words
self.assertEqual("11 months and 30 days", distance_of_time_in_words(0, 31536000))
AssertionError: '11 months and 30 days' != '11 months and 29 days'
----------------------------------------------------------------------
Ran 252 tests in 1.015s
FAILED (SKIP=5, failures=1)
Looks like a leap-year issue.
Also seen by Debian as:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629699
It's being tracked upstream as:
https://bitbucket.org/bbangert/webhelpers/issue/61/test_distance_of_time_in_words-fails
I've patched out the fragile part of the test for now, as: http://pkgs.fedoraproject.org/gitweb/?p=python-webhelpers.git;a=commitdiff;h=3949b1c8cbd8baf038c94a815aa8cdbc35dfd4f6 and successfully rebuilt as python-webhelpers-1.3-2.fc17 into rawhide. |