Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306105 - app-admin/webapp-config-1.50.16-r{1,3,4} fails tests
Summary: app-admin/webapp-config-1.50.16-r{1,3,4} fails tests
Status: RESOLVED DUPLICATE of bug 406929
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-20 19:38 UTC by Patrick Lauer
Modified: 2012-06-13 14:32 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2010-02-20 19:38:56 UTC
>>> Source compiled.
 * Running webapp-config doctests...
/var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/content.py:27: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, re, os, os.path
....F.FF..../var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/ebuild.py:135: DeprecationWarning: os.popen3 is deprecated.  Use the subprocess module.
  + type)
........
======================================================================
FAIL: Doctest: WebappConfig.db.WebappDB
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.6/doctest.py", line 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for WebappConfig.db.WebappDB
  File "/var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/db.py", line 143, in WebappDB

----------------------------------------------------------------------
File "/var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/db.py", line 188, in WebappConfig.db.WebappDB
Failed example:
    sb
Expected:
    [['gallery', '1.4.4_p6'], ['gallery', '2.0_rc2'], ['horde', '3.0.5'], ['phpldapadmin', '0.9.7_alpha4']]
Got:
    [[u'gallery', u'1.4.4_p6'], [u'gallery', u'2.0_rc2'], [u'horde', u'3.0.5'], [u'phpldapadmin', u'0.9.7_alpha4']]


======================================================================
FAIL: Doctest: WebappConfig.db.WebappSource.get_source_directories
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.6/doctest.py", line 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for WebappConfig.db.WebappSource.get_source_directories
  File "/var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/db.py", line 564, in get_source_directories

----------------------------------------------------------------------
File "/var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/db.py", line 574, in WebappConfig.db.WebappSource.get_source_directories
Failed example:
    [i for i in d if i != '.svn']
Expected:
    ['dir1', 'dir2']
Got:
    [u'dir1', u'dir2']


======================================================================
FAIL: Doctest: WebappConfig.db.WebappSource.get_source_files
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.6/doctest.py", line 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for WebappConfig.db.WebappSource.get_source_files
  File "/var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/db.py", line 597, in get_source_files

----------------------------------------------------------------------
File "/var/tmp/portage/app-admin/webapp-config-1.50.16-r3/work/webapp-config-1.50.16/WebappConfig/db.py", line 606, in WebappConfig.db.WebappSource.get_source_files
Failed example:
    a.get_source_files('htdocs')
Expected:
    ['test1', 'test2']
Got:
    [u'test1', u'test2']


----------------------------------------------------------------------
Ran 20 tests in 0.687s

FAILED (failures=3)
 * DocTests failed - please submit a bug report
 * ERROR: app-admin/webapp-config-1.50.16-r3 failed:
 *   DocTesting failed!
Comment 1 Michal Petrucha 2010-04-29 19:58:59 UTC
I can confirm this bug with both webapp-config-1.50.16-r1 and webapp-config-1.50.16-r3.
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-09 13:25:45 UTC
still present on -r4
Comment 3 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-03-01 17:30:52 UTC
1.50.18 compiles fine
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-29 01:06:51 UTC
(In reply to comment #3)
> 1.50.18 compiles fine

This also happens for stable -r1. Should we stabilize the version that passes?
Comment 5 Arfrever Frehtes Taifersar Arahesis 2011-09-29 05:25:01 UTC
(In reply to comment #4)

No. See bug #355295.
Comment 6 Anthony Basile gentoo-dev 2012-06-13 14:32:50 UTC

*** This bug has been marked as a duplicate of bug 406929 ***