Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 408557

Summary: dev-python/beaker-1.6.3 test failures
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: [OLD] LibraryAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bitbucket.org/bbangert/beaker/issue/112/test-suite-failures
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch for beaker-1.6.3.ebuild

Description Ian Delaney (RETIRED) gentoo-dev 2012-03-17 09:24:29 UTC
Created attachment 305679 [details, diff]
ebuild patch for beaker-1.6.3.ebuild

gentoo64 beaker # USE_PYTHON="2.5 2.6 2.7 3.1 3.2 2.7-pypy-1.8" emerge beaker

>>> Emerging (1 of 1) dev-python/beaker-1.6.3
>>> Installing (1 of 1) dev-python/beaker-1.6.3

So it takes all forms of python.  However, the test run is a disaster.  The test suite also pulled up horribly in the prior version.

gentoo64 beaker # USE_PYTHON="2.5 2.6 2.7" emerge beaker  [FEATURES test set]

  File "/mnt/gen2/tmpdir/portage/dev-python/beaker-1.6.3/work/Beaker-1.6.3/tests/test_memcached.py", line 275
    with mock.patch('beaker.ext.memcached._load_client', load_mock):
            ^
SyntaxError: invalid syntax
----------------------------------------------------------------------
FAILED (SKIP=1, errors=11)
 * ERROR: dev-python/beaker-1.6.3 failed (test phase):
 *   Testing failed with CPython 2.5 in python_test_function() function
---------------------------------------------------------------------------------

gentoo64 beaker # USE_PYTHON="2.6 2.7" emerge beaker  [FEATURES test set]

a string of similar
-----------------------------------------------------------
  File "/usr/lib64/python2.6/anydbm.py", line 80, in open
    raise error, "db type could not be determined"
error: db type could not be determined

Ran 49 tests in 102.456s

FAILED (SKIP=2, errors=10)

This may be fixable; db content gets a bit heavy.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-05-03 23:59:42 UTC
All tests pass for me with Python 2.6 and 2.7.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-21 23:53:27 UTC
With 1.6.4, no failures with 2.6&2.7, a number of failures with 2.5. I don't see a reason to waste our time fixing them.