Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295068 - dev-python/epsilon-0.5.12 fails tests
Summary: dev-python/epsilon-0.5.12 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 17:39 UTC by Patrick Lauer
Modified: 2016-03-02 22:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (epsilon-0.6.0:20110216-184331.log,23.68 KB, text/plain)
2011-02-16 19:05 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2009-11-29 17:39:27 UTC
Reason: '    email.Utils implementation does not handle obsoleted military style\n    timezones, nor does it handle obsoleted comments in the header'
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/epsilon-0.5.12/work/Epsilon-0.5.12/epsilon/test/test_extime.py", line 293, in test_obsoleteRFC2822
    self._checkReference( extime.Time.fromRFC2822('Monday,6 December (i hate this month) 2004 9:15:16 R') )
  File "/var/tmp/portage/dev-python/epsilon-0.5.12/work/Epsilon-0.5.12/epsilon/extime.py", line 625, in fromRFC2822
    raise ValueError, 'could not parse RFC 2822 date %r' % (rfc822string,)
exceptions.ValueError: could not parse RFC 2822 date 'Monday,6 December (i hate this month) 2004 9:15:16 R'
===============================================================================
[FAIL]: epsilon.test.test_extime.TestTime.test_cmp

Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/epsilon-0.5.12/work/Epsilon-0.5.12/epsilon/test/test_extime.py", line 74, in test_cmp
    self.assertNotEquals(extime.Time.fromStructTime(now), extime.Time.fromStructTime(time.localtime()))
twisted.trial.unittest.FailTest: extime.Time.fromDatetime(datetime.datetime(2009, 11, 29, 14, 13, 43)) == extime.Time.fromDatetime(datetime.datetime(2009, 11, 29, 14, 13, 43))
===============================================================================
[ERROR]: epsilon.test.test_benchmark

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/twisted/trial/runner.py", line 555, in loadPackage
    module = modinfo.load()
  File "/usr/lib64/python2.6/site-packages/twisted/python/modules.py", line 380, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib64/python2.6/site-packages/twisted/python/reflect.py", line 456, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib64/python2.6/site-packages/twisted/python/reflect.py", line 392, in _importAndCheckStack
    return __import__(importName)
  File "/var/tmp/portage/dev-python/epsilon-0.5.12/work/Epsilon-0.5.12/epsilon/test/test_benchmark.py", line 12, in <module>
    from epsilon.scripts import benchmark
  File "/var/tmp/portage/dev-python/epsilon-0.5.12/work/Epsilon-0.5.12/epsilon/scripts/benchmark.py", line 354, in <module>
    assert hostname != 'localhost', "Fix your computro."
exceptions.AssertionError: Fix your computro.
-------------------------------------------------------------------------------
Ran 226 tests in 0.556s

FAILED (skips=5, expectedFailures=1, failures=1, errors=1, successes=219)
 * ERROR: dev-python/epsilon-0.5.12 failed:


Portage 2.2_rc54 (default/linux/amd64/10.0/server, gcc-4.4.2, glibc-2.11-r0, 2.6.32-rc6-git6 x86_64)
=================================================================                                   
System uname: Linux-2.6.32-rc6-git6-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown                                                                          
app-shells/bash:     4.0_p35                                                                        
dev-lang/python:     2.6.4, 3.1.1-r1                                                                
sys-apps/baselayout: 2.0.1                                                                          
sys-apps/openrc:     0.5.2-r2                                                                       
sys-apps/sandbox:    2.2                                                                            
sys-devel/autoconf:  2.64                                                                           
sys-devel/automake:  1.10.2, 1.11                                                                   
sys-devel/binutils:  2.20                                                                           
sys-devel/gcc-config: 1.4.1                                                                         
sys-devel/libtool:   2.2.6b                                                                         
virtual/os-headers:  2.6.30-r1                                                                      
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                      
ACCEPT_LICENSE="*"                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                        
CFLAGS="-O2 -pipe"                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                         
CONFIG_PROTECT="/etc /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd truetype unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Johan Bergström 2009-12-24 00:36:55 UTC
I'm able to reproduce this with epsilon 0.6 as well. I also get some additional failures, need to look some more..
Comment 2 Pacho Ramos gentoo-dev 2011-02-16 19:05:17 UTC
Created attachment 262789 [details]
build.log

Still valid with 0.6
Comment 3 Neil Leathers 2011-03-02 20:43:43 UTC
In the section of the error log in the report I can see:

assert hostname != 'localhost', "Fix your computro."

This occurs when the host name of the system is localhost. If set to a specific host name the set of test will pass. In the list of test results you will see:

epsilon
  test
    test_benchmark ...                                                  [ERROR]
Comment 4 Neil Leathers 2011-03-02 20:45:59 UTC
The failure in test_obsoleteRFC2822 (epsilon.test.test_extime.TestTime.test_cmp) is reported and skipped. There is noise but it doesn't appear to cause the overall tests to fail. So the message:

[FAIL]: epsilon.test.test_extime.TestTime.test_cmp

can be ignored. It is correct but skippable.
Comment 5 Patrice Clement gentoo-dev 2016-03-02 22:55:49 UTC
commit 7ca04f466053686d6d76faf628d7a05598cdcd9e (HEAD -> master, origin/master, origin/HEAD)
Author: Patrice Clement <monsieurp@gentoo.org>
Date:   Wed Mar 2 22:41:51 2016 +0000

dev-python/epsilon: Clean up old.

Tests pass fine now with recent versions.

Gentoo-Bug: https://bugs.gentoo.org/295068

Package-Manager: portage-2.2.26
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

dev-python/epsilon/Manifest                |  1 -
dev-python/epsilon/epsilon-0.6.0-r2.ebuild | 47 -----------------------------------------------
2 files changed, 48 deletions(-)
delete mode 100644 dev-python/epsilon/epsilon-0.6.0-r2.ebuild