* Package: app-portage/layman-2.0.0  * Repository: gentoo  * Maintainer: dolsen@gentoo.org tools-portage@gentoo.org  * USE: amd64 elibc_glibc git kernel_linux multilib test userland_GNU  * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking layman-2.0.0.tar.gz to /var/tmp/portage/app-portage/layman-2.0.0/work >>> Source unpacked in /var/tmp/portage/app-portage/layman-2.0.0/work >>> Preparing source in /var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0 ... * Adjusting to prefix / * layman.cfg ...  [ ok ] * config.py ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0 ... * Building of app-portage/layman-2.0.0 with CPython 2.7... python2.7 setup.py build -b build-2.7 running build running build_py creating build-2.7 creating build-2.7/lib creating build-2.7/lib/layman copying layman/config.py -> build-2.7/lib/layman copying layman/argsparser.py -> build-2.7/lib/layman copying layman/version.py -> build-2.7/lib/layman copying layman/debug.py -> build-2.7/lib/layman copying layman/__init__.py -> build-2.7/lib/layman copying layman/dbbase.py -> build-2.7/lib/layman copying layman/updater.py -> build-2.7/lib/layman copying layman/cli.py -> build-2.7/lib/layman copying layman/api.py -> build-2.7/lib/layman copying layman/compatibility.py -> build-2.7/lib/layman copying layman/output.py -> build-2.7/lib/layman copying layman/constants.py -> build-2.7/lib/layman copying layman/makeconf.py -> build-2.7/lib/layman copying layman/utils.py -> build-2.7/lib/layman copying layman/db.py -> build-2.7/lib/layman creating build-2.7/lib/layman/overlays copying layman/overlays/source.py -> build-2.7/lib/layman/overlays copying layman/overlays/__init__.py -> build-2.7/lib/layman/overlays copying layman/overlays/svn.py -> build-2.7/lib/layman/overlays copying layman/overlays/g_common.py -> build-2.7/lib/layman/overlays copying layman/overlays/darcs.py -> build-2.7/lib/layman/overlays copying layman/overlays/rsync.py -> build-2.7/lib/layman/overlays copying layman/overlays/overlay.py -> build-2.7/lib/layman/overlays copying layman/overlays/tar.py -> build-2.7/lib/layman/overlays copying layman/overlays/mercurial.py -> build-2.7/lib/layman/overlays copying layman/overlays/bzr.py -> build-2.7/lib/layman/overlays copying layman/overlays/git.py -> build-2.7/lib/layman/overlays copying layman/overlays/cvs.py -> build-2.7/lib/layman/overlays warning: build_py: byte-compiling is disabled, skipping. running build_scripts creating build-2.7/scripts-2.7 copying and adjusting bin/layman -> build-2.7/scripts-2.7 copying and adjusting bin/layman-updater -> build-2.7/scripts-2.7 changing mode of build-2.7/scripts-2.7/layman from 644 to 755 changing mode of build-2.7/scripts-2.7/layman-updater from 644 to 755 >>> Source compiled. * Testing of app-portage/layman-2.0.0 with CPython 2.7... .... * Fatal error: Please run layman-updater, then run layman again * Fatal error(s) - aborting F * Fatal error: Please run layman-updater, then run layman again * Fatal error(s) - aborting F.... * Warning: an installed db file was not found at: ['/var/tmp/portage/app-portage/layman-2.0.0/temp/laymantmp_Qnsxq1/test.xml'] ..... * Running Tar... # /bin/tar -v -x -f /var/tmp/portage/app-portage/layman-2.0.0/temp/laymantmp_biVlBS/dummy.tar.bz2 -C /var/tmp/portage/app-portage/layman-2.0.0/temp/laymantmp_biVlBS/tmpOp2VDI layman-test/ layman-test/app-admin/ layman-test/app-admin/layman/ layman-test/app-admin/layman/layman-0.8.ebuild layman-test/app-portage/ . ====================================================================== FAIL: add (layman.db.DB) Doctest: layman.db.DB.add ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 2201, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for layman.db.DB.add File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 84, in add ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 104, in layman.db.DB.add Failed example: b = DB(config) Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in b = DB(config) File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 76, in __init__ self.output.die("Please run layman-updater, " File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/output.py", line 211, in die sys.exit(1) SystemExit: 1 ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 107, in layman.db.DB.add Failed example: m = MakeConf(config, b.overlays) Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in m = MakeConf(config, b.overlays) NameError: name 'b' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 108, in layman.db.DB.add Failed example: m.path = write2 Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in m.path = write2 NameError: name 'm' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 109, in layman.db.DB.add Failed example: success = m.write() Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in success = m.write() NameError: name 'm' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 110, in layman.db.DB.add Failed example: success Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in success NameError: name 'success' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 126, in layman.db.DB.add Failed example: os.unlink(write2) Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in os.unlink(write2) OSError: [Errno 2] No such file or directory: '/var/tmp/portage/app-portage/layman-2.0.0/temp/laymantmp_0SUz5D/make.conf' ====================================================================== FAIL: delete (layman.db.DB) Doctest: layman.db.DB.delete ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 2201, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for layman.db.DB.delete File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 164, in delete ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 184, in layman.db.DB.delete Failed example: b = DB(config) Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in b = DB(config) File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 76, in __init__ self.output.die("Please run layman-updater, " File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/output.py", line 211, in die sys.exit(1) SystemExit: 1 ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 187, in layman.db.DB.delete Failed example: m = MakeConf(config, b.overlays) Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in m = MakeConf(config, b.overlays) NameError: name 'b' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 188, in layman.db.DB.delete Failed example: m.path = here + '/tests/testfiles/make.conf' Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in m.path = here + '/tests/testfiles/make.conf' NameError: name 'm' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 189, in layman.db.DB.delete Failed example: m.read() Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in m.read() NameError: name 'm' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 192, in layman.db.DB.delete Failed example: m.path = write2 Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in m.path = write2 NameError: name 'm' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 193, in layman.db.DB.delete Failed example: m.write() Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in m.write() NameError: name 'm' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0/layman/db.py", line 214, in layman.db.DB.delete Failed example: os.unlink(write2) Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "", line 1, in os.unlink(write2) OSError: [Errno 2] No such file or directory: '/var/tmp/portage/app-portage/layman-2.0.0/temp/laymantmp_Ed0gjx/make.conf' ---------------------------------------------------------------------- Ran 16 tests in 0.368s FAILED (failures=2) * ERROR: app-portage/layman-2.0.0 failed (test phase): * test suite 'layman/tests/dtest.py' failed * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 5085: Called python_execute_function 'testing' * environment, line 3407: Called testing * environment, line 5082: Called die * The specific snippet of code: * PYTHONPATH="." "$(PYTHON)" ${suite} || die "test suite '${suite}' failed"; * * If you need support, post the output of `emerge --info '=app-portage/layman-2.0.0'`, * the complete build log and the output of `emerge -pqv '=app-portage/layman-2.0.0'`. * The complete build log is located at '/var/tmp/portage/app-portage/layman-2.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-portage/layman-2.0.0/temp/environment'. * Working directory: '/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0' * S: '/var/tmp/portage/app-portage/layman-2.0.0/work/layman-2.0.0'