| 1 | Script started on Thu 31 Jan 2008 05:14:26 PM PKT |
|---|
| 2 | % ./setup.py build && ./setup.py test |
|---|
| 3 | "/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp". |
|---|
| 4 | running build |
|---|
| 5 | running build_py |
|---|
| 6 | creating build |
|---|
| 7 | creating build/lib.linux-x86_64-2.5 |
|---|
| 8 | creating build/lib.linux-x86_64-2.5/pycryptopp |
|---|
| 9 | copying pycryptopp/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp |
|---|
| 10 | creating build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 11 | copying pycryptopp/test/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 12 | copying pycryptopp/test/test_rsa.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 13 | copying pycryptopp/test/test_sha256.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 14 | copying pycryptopp/test/test_aes.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 15 | creating build/lib.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 16 | copying pycryptopp/publickey/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 17 | creating build/lib.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 18 | copying pycryptopp/hash/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 19 | creating build/lib.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 20 | copying pycryptopp/cipher/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 21 | running egg_info |
|---|
| 22 | writing pycryptopp.egg-info/PKG-INFO |
|---|
| 23 | writing top-level names to pycryptopp.egg-info/top_level.txt |
|---|
| 24 | writing dependency_links to pycryptopp.egg-info/dependency_links.txt |
|---|
| 25 | writing manifest file 'pycryptopp.egg-info/SOURCES.txt' |
|---|
| 26 | creating build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 27 | copying pycryptopp/test/vectors/SHA256LongMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 28 | copying pycryptopp/test/vectors/SHA256Monte.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 29 | copying pycryptopp/test/vectors/SHA256ShortMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 30 | copying pycryptopp/publickey/rsamodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 31 | copying pycryptopp/hash/sha256module.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 32 | copying pycryptopp/cipher/aesmodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 33 | running build_ext |
|---|
| 34 | building 'pycryptopp.publickey.rsa' extension |
|---|
| 35 | creating build/temp.linux-x86_64-2.5 |
|---|
| 36 | creating build/temp.linux-x86_64-2.5/pycryptopp |
|---|
| 37 | creating build/temp.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 38 | gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_NAME_CRYPTO_PLUS_PLUS=True -I/usr/include -I/usr/include/python2.5 -c pycryptopp/publickey/rsamodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o |
|---|
| 39 | cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ |
|---|
| 40 | g++ -pthread -shared -Wl,-O1 build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so |
|---|
| 41 | building 'pycryptopp.hash.sha256' extension |
|---|
| 42 | creating build/temp.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 43 | gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_NAME_CRYPTO_PLUS_PLUS=True -I/usr/include -I/usr/include/python2.5 -c pycryptopp/hash/sha256module.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o |
|---|
| 44 | cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ |
|---|
| 45 | g++ -pthread -shared -Wl,-O1 build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so |
|---|
| 46 | building 'pycryptopp.cipher.aes' extension |
|---|
| 47 | creating build/temp.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 48 | gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_NAME_CRYPTO_PLUS_PLUS=True -I/usr/include -I/usr/include/python2.5 -c pycryptopp/cipher/aesmodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o |
|---|
| 49 | cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ |
|---|
| 50 | g++ -pthread -shared -Wl,-O1 build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so |
|---|
| 51 | "/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp". |
|---|
| 52 | running test |
|---|
| 53 | running egg_info |
|---|
| 54 | writing pycryptopp.egg-info/PKG-INFO |
|---|
| 55 | writing top-level names to pycryptopp.egg-info/top_level.txt |
|---|
| 56 | writing dependency_links to pycryptopp.egg-info/dependency_links.txt |
|---|
| 57 | writing manifest file 'pycryptopp.egg-info/SOURCES.txt' |
|---|
| 58 | running build_ext |
|---|
| 59 | copying build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so -> pycryptopp/publickey |
|---|
| 60 | copying build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so -> pycryptopp/hash |
|---|
| 61 | copying build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so -> pycryptopp/cipher |
|---|
| 62 | test_serialize_and_deserialize_signing_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ok |
|---|
| 63 | test_serialize_and_deserialize_verifying_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ok |
|---|
| 64 | test_sign_and_check_a (pycryptopp.test.test_rsa.SignAndVerify) ... ok |
|---|
| 65 | test_sign_and_check_random (pycryptopp.test.test_rsa.SignAndVerify) ... ok |
|---|
| 66 | test_sign_and_failcheck_a (pycryptopp.test.test_rsa.SignAndVerify) ... ok |
|---|
| 67 | test_sign_and_failcheck_random (pycryptopp.test.test_rsa.SignAndVerify) ... ok |
|---|
| 68 | test_generate (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 69 | test_generate_bad_size (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 70 | test_generate_from_seed (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 71 | test_generate_from_seed_bad_seed (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 72 | test_generate_from_seed_bad_size (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 73 | test_sign (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 74 | test_constructor_type_check (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 75 | test_digest (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 76 | test_digest_then_update_fail (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 77 | test_digest_twice (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 78 | test_hexdigest (pycryptopp.test.test_sha256.SHA256) ... ERROR |
|---|
| 79 | test_onebyte_1 (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 80 | test_onebyte_2 (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 81 | test_update (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 82 | test_update_type_check (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 83 | test_long (pycryptopp.test.test_sha256.SHSVectors) ... ok |
|---|
| 84 | test_monte (pycryptopp.test.test_sha256.SHSVectors) ... ok |
|---|
| 85 | test_short (pycryptopp.test.test_sha256.SHSVectors) ... ok |
|---|
| 86 | test_encrypt_zeroes (pycryptopp.test.test_aes.AES) ... ok |
|---|
| 87 | test_encrypt_zeroes_in_two_parts (pycryptopp.test.test_aes.AES) ... ok |
|---|
| 88 | test_init_type_check (pycryptopp.test.test_aes.AES) ... ok |
|---|
| 89 | |
|---|
| 90 | ====================================================================== |
|---|
| 91 | ERROR: test_hexdigest (pycryptopp.test.test_sha256.SHA256) |
|---|
| 92 | ---------------------------------------------------------------------- |
|---|
| 93 | Traceback (most recent call last): |
|---|
| 94 | File "/t78/repos/pycryptopp/pycryptopp/test/test_sha256.py", line 40, in test_hexdigest |
|---|
| 95 | empty_hexdigest = sha256.SHA256().hexdigest() |
|---|
| 96 | AttributeError: 'sha256.SHA256' object has no attribute 'hexdigest' |
|---|
| 97 | |
|---|
| 98 | ---------------------------------------------------------------------- |
|---|
| 99 | Ran 27 tests in 1.442s |
|---|
| 100 | |
|---|
| 101 | FAILED (errors=1) |
|---|
| 102 | % rm -fr build |
|---|
| 103 | % ./setup.py build --debug && ./setup.py test |
|---|
| 104 | "/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp". |
|---|
| 105 | running build |
|---|
| 106 | running build_py |
|---|
| 107 | creating build |
|---|
| 108 | creating build/lib.linux-x86_64-2.5 |
|---|
| 109 | creating build/lib.linux-x86_64-2.5/pycryptopp |
|---|
| 110 | copying pycryptopp/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp |
|---|
| 111 | creating build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 112 | copying pycryptopp/test/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 113 | copying pycryptopp/test/test_rsa.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 114 | copying pycryptopp/test/test_sha256.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 115 | copying pycryptopp/test/test_aes.py -> build/lib.linux-x86_64-2.5/pycryptopp/test |
|---|
| 116 | creating build/lib.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 117 | copying pycryptopp/publickey/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 118 | creating build/lib.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 119 | copying pycryptopp/hash/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 120 | creating build/lib.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 121 | copying pycryptopp/cipher/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 122 | running egg_info |
|---|
| 123 | writing pycryptopp.egg-info/PKG-INFO |
|---|
| 124 | writing top-level names to pycryptopp.egg-info/top_level.txt |
|---|
| 125 | writing dependency_links to pycryptopp.egg-info/dependency_links.txt |
|---|
| 126 | writing manifest file 'pycryptopp.egg-info/SOURCES.txt' |
|---|
| 127 | creating build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 128 | copying pycryptopp/test/vectors/SHA256LongMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 129 | copying pycryptopp/test/vectors/SHA256Monte.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 130 | copying pycryptopp/test/vectors/SHA256ShortMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors |
|---|
| 131 | copying pycryptopp/publickey/rsamodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 132 | copying pycryptopp/hash/sha256module.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 133 | copying pycryptopp/cipher/aesmodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 134 | running build_ext |
|---|
| 135 | building 'pycryptopp.publickey.rsa' extension |
|---|
| 136 | creating build/temp.linux-x86_64-2.5 |
|---|
| 137 | creating build/temp.linux-x86_64-2.5/pycryptopp |
|---|
| 138 | creating build/temp.linux-x86_64-2.5/pycryptopp/publickey |
|---|
| 139 | gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -g -DUSE_NAME_CRYPTO_PLUS_PLUS=True -UNDEBUG -I/usr/include -I/usr/include/python2.5 -c pycryptopp/publickey/rsamodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o -O0 -g -Wall |
|---|
| 140 | cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ |
|---|
| 141 | g++ -pthread -shared -Wl,-O1 -g build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so -g |
|---|
| 142 | building 'pycryptopp.hash.sha256' extension |
|---|
| 143 | creating build/temp.linux-x86_64-2.5/pycryptopp/hash |
|---|
| 144 | gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -g -DUSE_NAME_CRYPTO_PLUS_PLUS=True -UNDEBUG -I/usr/include -I/usr/include/python2.5 -c pycryptopp/hash/sha256module.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o -O0 -g -Wall |
|---|
| 145 | cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ |
|---|
| 146 | g++ -pthread -shared -Wl,-O1 -g build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so -g |
|---|
| 147 | building 'pycryptopp.cipher.aes' extension |
|---|
| 148 | creating build/temp.linux-x86_64-2.5/pycryptopp/cipher |
|---|
| 149 | gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -g -DUSE_NAME_CRYPTO_PLUS_PLUS=True -UNDEBUG -I/usr/include -I/usr/include/python2.5 -c pycryptopp/cipher/aesmodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o -O0 -g -Wall |
|---|
| 150 | cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ |
|---|
| 151 | g++ -pthread -shared -Wl,-O1 -g build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so -g |
|---|
| 152 | "/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp". |
|---|
| 153 | running test |
|---|
| 154 | running egg_info |
|---|
| 155 | writing pycryptopp.egg-info/PKG-INFO |
|---|
| 156 | writing top-level names to pycryptopp.egg-info/top_level.txt |
|---|
| 157 | writing dependency_links to pycryptopp.egg-info/dependency_links.txt |
|---|
| 158 | writing manifest file 'pycryptopp.egg-info/SOURCES.txt' |
|---|
| 159 | running build_ext |
|---|
| 160 | copying build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so -> pycryptopp/publickey |
|---|
| 161 | copying build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so -> pycryptopp/hash |
|---|
| 162 | copying build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so -> pycryptopp/cipher |
|---|
| 163 | test_serialize_and_deserialize_signing_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR |
|---|
| 164 | test_serialize_and_deserialize_verifying_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR |
|---|
| 165 | test_sign_and_check_a (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR |
|---|
| 166 | test_sign_and_check_random (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR |
|---|
| 167 | test_sign_and_failcheck_a (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR |
|---|
| 168 | test_sign_and_failcheck_random (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR |
|---|
| 169 | test_generate (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 170 | test_generate_bad_size (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 171 | test_generate_from_seed (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 172 | test_generate_from_seed_bad_seed (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 173 | test_generate_from_seed_bad_size (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 174 | test_sign (pycryptopp.test.test_rsa.Signer) ... ok |
|---|
| 175 | test_constructor_type_check (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 176 | test_digest (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 177 | test_digest_then_update_fail (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 178 | test_digest_twice (pycryptopp.test.test_sha256.SHA256) ... ok |
|---|
| 179 | test_hexdigest (pycryptopp.test.test_sha256.SHA256) ... ERROR |
|---|
| 180 | test_onebyte_1 (pycryptopp.test.test_sha256.SHA256) ... Segmentation fault (core dumped) |
|---|
| 181 | % |
|---|