Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 339750 Details for
Bug 458792
dev-python/python-gnupg-0.3.2 fails tests.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Build log
python-gnupg_build.log (text/plain), 20.86 KB, created by
Myckel Habets
on 2013-02-22 21:33:51 UTC
(
hide
)
Description:
Build log
Filename:
MIME Type:
Creator:
Myckel Habets
Created:
2013-02-22 21:33:51 UTC
Size:
20.86 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/python-gnupg-0.3.2 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_2 userland_GNU >[32;01m * [39;49;00mFEATURES: nostrip sandbox test userpriv >>>> Unpacking source... >>>> Unpacking python-gnupg-0.3.2.tar.gz to /var/tmp/portage/dev-python/python-gnupg-0.3.2/work >>>> Source unpacked in /var/tmp/portage/dev-python/python-gnupg-0.3.2/work >>>> Preparing source in /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2 ... > [32;01m*[0m Applying python-gnupg-0.3.2-fast-random.patch ... >[A[149C [34;01m[ [32;01mok[34;01m ][0m >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2 ... > [32;01m*[0m python3.2: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.2 setup.py build build --build-base /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python3_2 --build-lib /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python3_2/lib --build-scripts /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python3_2/scripts > [32;01m*[0m python2.7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build build --build-base /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python2_7 --build-lib /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python2_7/lib --build-scripts /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python2_7/scripts >running build >running build_py >creating /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python3_2 >creating /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python3_2/lib >copying gnupg.py -> /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python3_2/lib >warning: build_py: byte-compiling is disabled, skipping. > >running build >running build_py >creating /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python2_7 >creating /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python2_7/lib >copying gnupg.py -> /var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python2_7/lib >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. > [32;01m*[0m python3.2: running distutils-r1_run_phase python_test > [32;01m*[0m python2.7: running distutils-r1_run_phase python_test >test_deletion (__main__.GPGTestCase) >Test that key deletion works ... test_deletion (__main__.GPGTestCase) >Test that key deletion works ... ok >test_encryption_and_decryption (__main__.GPGTestCase) >Test that encryption and decryption works ... ok >test_encryption_and_decryption (__main__.GPGTestCase) >Test that encryption and decryption works ... ok >test_environment (__main__.GPGTestCase) >Test the environment by ensuring that setup worked ... ok >test_file_encryption_and_decryption (__main__.GPGTestCase) >Test that encryption/decryption to/from file works ... ok >test_environment (__main__.GPGTestCase) >Test the environment by ensuring that setup worked ... ok >test_file_encryption_and_decryption (__main__.GPGTestCase) >Test that encryption/decryption to/from file works ... ok >test_import_and_export (__main__.GPGTestCase) >Test that key import and export works ... ok >test_import_only (__main__.GPGTestCase) >Test that key import works ... ok >test_key_generation_with_colons (__main__.GPGTestCase) >Test that key generation handles colons in key fields ... ok >test_key_generation_with_empty_value (__main__.GPGTestCase) >Test that key generation handles empty values ... ok >test_key_generation_with_invalid_key_type (__main__.GPGTestCase) >Test that key generation handles invalid key type ... ok >test_list_keys_after_generation (__main__.GPGTestCase) >Test that after key generation, the generated key is available ... ok >test_import_and_export (__main__.GPGTestCase) >Test that key import and export works ... ok >test_import_only (__main__.GPGTestCase) >Test that key import works ... ok >test_key_generation_with_colons (__main__.GPGTestCase) >Test that key generation handles colons in key fields ... ok >test_key_generation_with_empty_value (__main__.GPGTestCase) >Test that key generation handles empty values ... ok >test_key_generation_with_invalid_key_type (__main__.GPGTestCase) >Test that key generation handles invalid key type ... ok >test_list_keys_after_generation (__main__.GPGTestCase) >Test that after key generation, the generated key is available ... ok >test_list_keys_initial (__main__.GPGTestCase) >Test that initially there are no keys ... ok >test_make_args (__main__.GPGTestCase) >Test argument line construction ... ok >test_nogpg (__main__.GPGTestCase) >Test that absence of gpg is handled correctly ... ok >test_signature_verification (__main__.GPGTestCase) >Test that signing and verification works ... ok >test_list_keys_initial (__main__.GPGTestCase) >Test that initially there are no keys ... ok >test_make_args (__main__.GPGTestCase) >Test argument line construction ... ok >test_nogpg (__main__.GPGTestCase) >Test that absence of gpg is handled correctly ... ok >test_signature_verification (__main__.GPGTestCase) >Test that signing and verification works ... Exception in thread Thread-140: >Traceback (most recent call last): > File "/usr/lib64/python2.7/threading.py", line 551, in __bootstrap_inner > self.run() > File "/usr/lib64/python2.7/threading.py", line 504, in run > self.__target(*self.__args, **self.__kwargs) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 588, in _read_response > result.handle_status(keyword, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 484, in handle_status > raise ValueError("Unknown status message: %r" % key) >ValueError: Unknown status message: u'NO_SGNR' > >FAIL >encrypt (gnupg.GPG) >Doctest: gnupg.GPG.encrypt ... Exception in thread Thread-166: >Traceback (most recent call last): > File "/usr/lib64/python2.7/threading.py", line 551, in __bootstrap_inner > self.run() > File "/usr/lib64/python2.7/threading.py", line 504, in run > self.__target(*self.__args, **self.__kwargs) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 588, in _read_response > result.handle_status(keyword, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 411, in handle_status > Verify.handle_status(self, key, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 219, in handle_status > raise ValueError("Unknown status message: %r" % key) >ValueError: Unknown status message: u'NO_SGNR' > >FAIL >gen_key (gnupg.GPG) >Doctest: gnupg.GPG.gen_key ... ok >import_keys (gnupg.GPG) >Doctest: gnupg.GPG.import_keys ... ok >list_keys (gnupg.GPG) >Doctest: gnupg.GPG.list_keys ... ok >recv_keys (gnupg.GPG) >Doctest: gnupg.GPG.recv_keys ... ok >verify (gnupg.GPG) >Doctest: gnupg.GPG.verify ... Exception in thread Thread-140: >Traceback (most recent call last): > File "/usr/lib64/python3.2/threading.py", line 740, in _bootstrap_inner > self.run() > File "/usr/lib64/python3.2/threading.py", line 693, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 588, in _read_response > result.handle_status(keyword, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 484, in handle_status > raise ValueError("Unknown status message: %r" % key) >ValueError: Unknown status message: 'NO_SGNR' > >FAIL >encrypt (gnupg.GPG) >Doctest: gnupg.GPG.encrypt ... Exception in thread Thread-248: >Traceback (most recent call last): > File "/usr/lib64/python2.7/threading.py", line 551, in __bootstrap_inner > self.run() > File "/usr/lib64/python2.7/threading.py", line 504, in run > self.__target(*self.__args, **self.__kwargs) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 588, in _read_response > result.handle_status(keyword, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 484, in handle_status > raise ValueError("Unknown status message: %r" % key) >ValueError: Unknown status message: u'NO_SGNR' > >FAIL > >====================================================================== >FAIL: test_signature_verification (__main__.GPGTestCase) >Test that signing and verification works >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/test_gnupg.py", line 302, in test_signature_verification > self.assertTrue(sig, "Good passphrase should succeed") >AssertionError: Good passphrase should succeed > >====================================================================== >FAIL: encrypt (gnupg.GPG) >Doctest: gnupg.GPG.encrypt >---------------------------------------------------------------------- >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 gnupg.GPG.encrypt > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 991, in encrypt > >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 1023, in gnupg.GPG.encrypt >Failed example: > result.status == 'encryption ok' >Expected: > True >Got: > False >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 1027, in gnupg.GPG.encrypt >Failed example: > result.status == 'decryption ok' >Expected: > True >Got: > False >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 1029, in gnupg.GPG.encrypt >Failed example: > assert result.fingerprint == print1 >Exception raised: > Traceback (most recent call last): > File "/usr/lib64/python2.7/doctest.py", line 1289, in __run > compileflags, 1) in test.globs > File "<doctest gnupg.GPG.encrypt[28]>", line 1, in <module> > assert result.fingerprint == print1 > AssertionError > > >====================================================================== >FAIL: verify (gnupg.GPG) >Doctest: gnupg.GPG.verify >---------------------------------------------------------------------- >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 gnupg.GPG.verify > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 694, in verify > >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 704, in gnupg.GPG.verify >Failed example: > assert sig >Exception raised: > Traceback (most recent call last): > File "/usr/lib64/python2.7/doctest.py", line 1289, in __run > compileflags, 1) in test.globs > File "<doctest gnupg.GPG.verify[7]>", line 1, in <module> > assert sig > AssertionError >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 706, in gnupg.GPG.verify >Failed example: > assert verify >Exception raised: > Traceback (most recent call last): > File "/usr/lib64/python2.7/doctest.py", line 1289, in __run > compileflags, 1) in test.globs > File "<doctest gnupg.GPG.verify[9]>", line 1, in <module> > assert verify > AssertionError > > >---------------------------------------------------------------------- >Ran 20 tests in 23.646s > >FAILED (failures=3) >[?1034h [31;01m*[0m ERROR: dev-python/python-gnupg-0.3.2 failed (test phase): > [31;01m*[0m Tests fail with python2.7 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 93: Called src_test > [31;01m*[0m environment, line 3233: Called distutils-r1_src_test > [31;01m*[0m environment, line 1066: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 276: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3005: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 999: Called python_test > [31;01m*[0m environment, line 3184: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${PYTHON}" "${S}"/test_gnupg.py || die "Tests fail with ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/python-gnupg-0.3.2'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/python-gnupg-0.3.2'`. >/usr/lib64/portage/bin/isolated-functions.sh: regel 215: wait: 'Tests fail with python2.7': is geen PID en geen geldige taakaanduiding > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/python-gnupg-0.3.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/python-gnupg-0.3.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python2_7' > [31;01m*[0m S: '/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2' >Exception in thread Thread-166: >Traceback (most recent call last): > File "/usr/lib64/python3.2/threading.py", line 740, in _bootstrap_inner > self.run() > File "/usr/lib64/python3.2/threading.py", line 693, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 588, in _read_response > result.handle_status(keyword, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 411, in handle_status > Verify.handle_status(self, key, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 219, in handle_status > raise ValueError("Unknown status message: %r" % key) >ValueError: Unknown status message: 'NO_SGNR' > >FAIL >gen_key (gnupg.GPG) >Doctest: gnupg.GPG.gen_key ... ok >import_keys (gnupg.GPG) >Doctest: gnupg.GPG.import_keys ... ok >list_keys (gnupg.GPG) >Doctest: gnupg.GPG.list_keys ... ok >recv_keys (gnupg.GPG) >Doctest: gnupg.GPG.recv_keys ... ok >verify (gnupg.GPG) >Doctest: gnupg.GPG.verify ... Exception in thread Thread-248: >Traceback (most recent call last): > File "/usr/lib64/python3.2/threading.py", line 740, in _bootstrap_inner > self.run() > File "/usr/lib64/python3.2/threading.py", line 693, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 588, in _read_response > result.handle_status(keyword, value) > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 484, in handle_status > raise ValueError("Unknown status message: %r" % key) >ValueError: Unknown status message: 'NO_SGNR' > >FAIL > >====================================================================== >FAIL: test_signature_verification (__main__.GPGTestCase) >Test that signing and verification works >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/test_gnupg.py", line 302, in test_signature_verification > self.assertTrue(sig, "Good passphrase should succeed") >AssertionError: <gnupg.Sign object at 0x2a18950> is not true : Good passphrase should succeed > >====================================================================== >FAIL: encrypt (gnupg.GPG) >Doctest: gnupg.GPG.encrypt >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest > raise self.failureException(self.format_failure(new.getvalue())) >AssertionError: Failed doctest test for gnupg.GPG.encrypt > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 991, in encrypt > >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 1023, in gnupg.GPG.encrypt >Failed example: > result.status == 'encryption ok' >Expected: > True >Got: > False >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 1027, in gnupg.GPG.encrypt >Failed example: > result.status == 'decryption ok' >Expected: > True >Got: > False >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 1029, in gnupg.GPG.encrypt >Failed example: > assert result.fingerprint == print1 >Exception raised: > Traceback (most recent call last): > File "/usr/lib64/python3.2/doctest.py", line 1288, in __run > compileflags, 1), test.globs) > File "<doctest gnupg.GPG.encrypt[28]>", line 1, in <module> > assert result.fingerprint == print1 > AssertionError > > >====================================================================== >FAIL: verify (gnupg.GPG) >Doctest: gnupg.GPG.verify >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest > raise self.failureException(self.format_failure(new.getvalue())) >AssertionError: Failed doctest test for gnupg.GPG.verify > File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 694, in verify > >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 704, in gnupg.GPG.verify >Failed example: > assert sig >Exception raised: > Traceback (most recent call last): > File "/usr/lib64/python3.2/doctest.py", line 1288, in __run > compileflags, 1), test.globs) > File "<doctest gnupg.GPG.verify[7]>", line 1, in <module> > assert sig > AssertionError >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2/gnupg.py", line 706, in gnupg.GPG.verify >Failed example: > assert verify >Exception raised: > Traceback (most recent call last): > File "/usr/lib64/python3.2/doctest.py", line 1288, in __run > compileflags, 1), test.globs) > File "<doctest gnupg.GPG.verify[9]>", line 1, in <module> > assert verify > AssertionError > > >---------------------------------------------------------------------- >Ran 20 tests in 27.062s > >FAILED (failures=3) >[?1034h [31;01m*[0m ERROR: dev-python/python-gnupg-0.3.2 failed (test phase): > [31;01m*[0m Tests fail with python3.2 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 93: Called src_test > [31;01m*[0m environment, line 3233: Called distutils-r1_src_test > [31;01m*[0m environment, line 1066: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 276: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3005: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 999: Called python_test > [31;01m*[0m environment, line 3184: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${PYTHON}" "${S}"/test_gnupg.py || die "Tests fail with ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/python-gnupg-0.3.2'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/python-gnupg-0.3.2'`. >/usr/lib64/portage/bin/isolated-functions.sh: regel 215: wait: 'Tests fail with python3.2': is geen PID en geen geldige taakaanduiding > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/python-gnupg-0.3.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/python-gnupg-0.3.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2-python3_2' > [31;01m*[0m S: '/var/tmp/portage/dev-python/python-gnupg-0.3.2/work/python-gnupg-0.3.2' >/usr/lib64/portage/bin/isolated-functions.sh: regel 245: kill: (4775) - Proces bestaat niet
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 458792
: 339750