Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212050 Details for
Bug 295712
dev-python/decoratortools fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Build log
decoratortools-1.7:20091201-183511.log (text/plain), 11.60 KB, created by
Diego Elio Pettenò (RETIRED)
on 2009-12-04 20:31:03 UTC
(
hide
)
Description:
Build log
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2009-12-04 20:31:03 UTC
Size:
11.60 KB
patch
obsolete
> [32;01m*[0m CPV: dev-python/decoratortools-1.7 > [32;01m*[0m REPO: gentoo > [32;01m*[0m USE: elibc_glibc kernel_linux test userland_GNU x86 >>>> Unpacking source... >>>> Unpacking DecoratorTools-1.7.zip to /var/tmp/portage/dev-python/decoratortools-1.7/work >>>> Source unpacked in /var/tmp/portage/dev-python/decoratortools-1.7/work >>>> Preparing source in /var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7 ... > [1;32m*[0m [1;34mBuilding of dev-python/decoratortools-1.7 with Python 2.6...[0m >python2.6 setup.py build -b build-2.6 >running build >running build_py >creating build-2.6 >creating build-2.6/lib >creating build-2.6/lib/peak >copying peak/__init__.py -> build-2.6/lib/peak >creating build-2.6/lib/peak/util >copying peak/util/decorators.py -> build-2.6/lib/peak/util >copying peak/util/__init__.py -> build-2.6/lib/peak/util >>>> Source compiled. > [1;32m*[0m [1;34mTesting of dev-python/decoratortools-1.7 with Python 2.6...[0m >running build >running build_py >running test >running egg_info >writing DecoratorTools.egg-info/PKG-INFO >writing namespace_packages to DecoratorTools.egg-info/namespace_packages.txt >writing top-level names to DecoratorTools.egg-info/top_level.txt >writing dependency_links to DecoratorTools.egg-info/dependency_links.txt >reading manifest file 'DecoratorTools.egg-info/SOURCES.txt' >writing manifest file 'DecoratorTools.egg-info/SOURCES.txt' >running build_ext >testDoubleType (test_decorators.ClassDecoratorTests) ... ok >testMetaOfClass (test_decorators.ClassDecoratorTests) ... ok >testMixedMetas (test_decorators.ClassDecoratorTests) ... ok >testOrder (test_decorators.ClassDecoratorTests) ... ok >testOutside (test_decorators.ClassDecoratorTests) ... ok >testSingleExplicitMeta (test_decorators.ClassDecoratorTests) ... ok >test24DecoratorMode (test_decorators.DecoratorTests) ... ok >testAs (test_decorators.DecoratorTests) ... ok >testAssignAdvice (test_decorators.DecoratorTests) ... ok >testCallInfo (test_decorators.FrameInfoTest) ... ok >testClassExec (test_decorators.FrameInfoTest) ... ok >testClassInfo (test_decorators.FrameInfoTest) ... ok >testModuleInfo (test_decorators.FrameInfoTest) ... ok >Doctest: README.txt ... /var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt:23: DeprecationWarning: object.__new__() takes no parameters > def my_class_decorator(): >FAIL > >====================================================================== >FAIL: Doctest: README.txt >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 2145, in runTest > raise self.failureException(self.format_failure(new.getvalue())) >AssertionError: Failed doctest test for README.txt > File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 0 > >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 198, in README.txt >Failed example: > from peak.util.decorators import synchronized >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[8]>", line 1, in <module> > from peak.util.decorators import synchronized > ImportError: cannot import name synchronized >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 200, in README.txt >Failed example: > class TryingToBeThreadSafe(object): > synchronized() # could be just ``@synchronized`` for 2.4+ > def method1(self, arg): > print "in method 1" > self.method2() > print "back in method 1" > return arg > > synchronized() # could be just ``@synchronized`` for 2.4+ > def method2(self): > print "in method 2" > return 42 >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[9]>", line 1, in <module> > class TryingToBeThreadSafe(object): > File "<doctest README.txt[9]>", line 2, in TryingToBeThreadSafe > synchronized() # could be just ``@synchronized`` for 2.4+ > NameError: name 'synchronized' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 213, in README.txt >Failed example: > TryingToBeThreadSafe().method1(99) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[10]>", line 1, in <module> > TryingToBeThreadSafe().method1(99) > NameError: name 'TryingToBeThreadSafe' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 230, in README.txt >Failed example: > ts = TryingToBeThreadSafe() >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[12]>", line 1, in <module> > ts = TryingToBeThreadSafe() > NameError: name 'TryingToBeThreadSafe' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 231, in README.txt >Failed example: > ts.__lock__ = DemoLock("lock 1") >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[13]>", line 1, in <module> > ts.__lock__ = DemoLock("lock 1") > NameError: name 'ts' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 233, in README.txt >Failed example: > ts.method2() >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[14]>", line 1, in <module> > ts.method2() > NameError: name 'ts' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 239, in README.txt >Failed example: > ts.method1(27) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[15]>", line 1, in <module> > ts.method1(27) > NameError: name 'ts' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 258, in README.txt >Failed example: > del ts.__lock__ >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[16]>", line 1, in <module> > del ts.__lock__ > NameError: name 'ts' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 260, in README.txt >Failed example: > ts.method1(27) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[17]>", line 1, in <module> > ts.method1(27) > NameError: name 'ts' is not defined >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 266, in README.txt >Failed example: > ts.__lock__ >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.6/doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest README.txt[18]>", line 1, in <module> > ts.__lock__ > NameError: name 'ts' is not defined > > >---------------------------------------------------------------------- >Ran 14 tests in 0.122s > >FAILED (failures=1) > [31;01m*[0m ERROR: dev-python/decoratortools-1.7 failed: > [31;01m*[0m Testing failed with Python 2.6 in testing() function > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 55: Called src_test > [31;01m*[0m environment, line 3400: Called python_execute_function 'testing' > [31;01m*[0m environment, line 3022: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m die "${failure_message}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of 'emerge --info =dev-python/decoratortools-1.7', > [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-python/decoratortools-1.7'. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-python/decoratortools-1.7:20091201-183511.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/decoratortools-1.7/temp/environment'. > [31;01m*[0m S: '/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7' > >>>> Install decoratortools-1.7 into /var/tmp/portage/dev-python/decoratortools-1.7/image/ category dev-python > [1;32m*[0m [1;34mInstallation of dev-python/decoratortools-1.7 with Python 2.6...[0m >python2.6 setup.py build -b build-2.6 install --root=/var/tmp/portage/dev-python/decoratortools-1.7/image/ --no-compile >running build >running build_py >running install >running install_lib >Skipping installation of /var/tmp/portage/dev-python/decoratortools-1.7/image/usr/lib/python2.6/site-packages/peak/__init__.py (namespace package) >copying peak/util/decorators.py -> /var/tmp/portage/dev-python/decoratortools-1.7/image/usr/lib/python2.6/site-packages/peak/util >Skipping installation of /var/tmp/portage/dev-python/decoratortools-1.7/image/usr/lib/python2.6/site-packages/peak/util/__init__.py (namespace package) >running install_egg_info >running egg_info >writing DecoratorTools.egg-info/PKG-INFO >writing namespace_packages to DecoratorTools.egg-info/namespace_packages.txt >writing top-level names to DecoratorTools.egg-info/top_level.txt >writing dependency_links to DecoratorTools.egg-info/dependency_links.txt >reading manifest file 'DecoratorTools.egg-info/SOURCES.txt' >writing manifest file 'DecoratorTools.egg-info/SOURCES.txt' >Copying DecoratorTools.egg-info to /var/tmp/portage/dev-python/decoratortools-1.7/image/usr/lib/python2.6/site-packages/DecoratorTools-1.7-py2.6.egg-info >Installing /var/tmp/portage/dev-python/decoratortools-1.7/image/usr/lib/python2.6/site-packages/DecoratorTools-1.7-py2.6-nspkg.pth >running install_scripts >>>> Completed installing decoratortools-1.7 into /var/tmp/portage/dev-python/decoratortools-1.7/image/ > > [32;01m*[0m Removing /usr/share/doc > [32;01m*[0m Removing /usr/share/info > [32;01m*[0m Compilation and optimization of Python modules for Python 2.6 ... >[A[72C [34;01m[ [32;01mok[34;01m ][0m
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 295712
: 212050 |
391982