Bug#789344: libnet-ssleay-perl: FTBFS: Test failure
Daniel Schepler
dschepler at gmail.com
Sat Jun 20 01:32:59 UTC 2015
Source: libnet-ssleay-perl
Version: 1.68-1
Severity: serious
>From my pbuilder build log:
...
t/local/33_x509_create_cert.t ..........
1..123
ok 1 - BIO_new_file 1
ok 2 - PEM_read_bio_X509
ok 3 - BIO_new_file 2
ok 4 - PEM_read_bio_PrivateKey
ok 5 - X509_verify
ok 6 - X509_get_subject_name
ok 7 - X509_get_issuer_name
ok 8 - X509_NAME_cmp
ok 9 - EVP_PKEY_new
ok 10 - RSA_generate_key
ok 11 - EVP_PKEY_assign_RSA
ok 12 - X509_new
ok 13 - X509_set_pubkey
ok 14 - X509_get_subject_name
ok 15 - X509_NAME_add_entry_by_NID
ok 16 - OBJ_nid2obj
ok 17 - X509_NAME_add_entry_by_OBJ
ok 18 - X509_NAME_add_entry_by_txt
ok 19 - X509_set_version
ok 20 - X509_get_serialNumber
ok 21 - ASN1_INTEGER_get
ok 22 - P_ASN1_INTEGER_get_hex
ok 23 - ASN1_INTEGER_get
ok 24 - P_ASN1_INTEGER_get_dec
ok 25 - P_ASN1_INTEGER_get_hex
ok 26 - P_ASN1_TIME_set_isotime+X509_get_notBefore
ok 27 - P_ASN1_TIME_set_isotime+X509_get_notAfter
ok 28 - P_X509_add_extensions
ok 29 - EVP_get_digestbyname
ok 30 - X509_sign
ok 31 - X509_get_version
ok 32 - X509_verify
ok 33 - PEM_get_string_X509
ok 34 - PEM_get_string_PrivateKey+nopasswd
ok 35 - PEM_get_string_PrivateKey+passwd
ok 36 - EVP_get_cipherbyname
ok 37 - PEM_get_string_PrivateKey+passwd+enc_alg
ok 38 - EVP_get_cipherbyname
not ok 39 - PEM_get_string_PrivateKey+passwd+enc_alg
# Failed test 'PEM_get_string_PrivateKey+passwd+enc_alg'
# at t/local/33_x509_create_cert.t line 104.
# undef
# doesn't match '(?^:-----BEGIN (ENCRYPTED|RSA) PRIVATE KEY-----)'
ok 40 - X509_NAME_print_ex
ok 41 - X509_get_ext_by_NID
ok 42 - X509_get_ext
ok 43 - X509V3_EXT_print
ok 44 - EVP_PKEY_new
ok 45 - RSA_generate_key
ok 46 - EVP_PKEY_assign_RSA
ok 47 - X509_REQ_new
ok 48 - X509_REQ_set_pubkey
ok 49 - X509_REQ_get_subject_name
ok 50 - X509_NAME_add_entry_by_txt
ok 51 - X509_NAME_add_entry_by_txt
ok 52 - X509_NAME_add_entry_by_txt
ok 53 - P_X509_REQ_add_extensions
ok 54 - X509_REQ_add1_attr_by_NID
ok 55 - X509_REQ_add1_attr_by_NID
ok 56 - X509_REQ_set_version
ok 57 - EVP_get_digestbyname
ok 58 - X509_REQ_sign
ok 59 - X509_REQ_get_pubkey
ok 60 - X509_REQ_verify
ok 61 - X509_REQ_get_version
ok 62 - OBJ_txt2obj
ok 63 - OBJ_obj2nid
ok 64 - X509_REQ_get_attr_count
ok 65 - X509_REQ_get_attr_by_NID
ok 66 - X509_REQ_get_attr_by_OBJ
ok 67 - P_X509_REQ_get_attr
ok 68 - attr_values size
ok 69 - attr_values[0]
ok 70 - PEM_get_string_X509_REQ
ok 71 - PEM_get_string_PrivateKey
ok 72 - X509_new
ok 73 - X509_set_version
ok 74 - X509_get_serialNumber
ok 75 - X509_gmtime_adj + X509_get_notBefore
ok 76 - X509_gmtime_adj + X509_get_notAfter
ok 77 - X509_set_subject_name + X509_REQ_get_subject_name
ok 78 - P_X509_copy_extensions
ok 79 - X509_REQ_get_pubkey
ok 80 - X509_set_pubkey
ok 81 - X509_sign
ok 82 - PEM_get_string_X509
ok 83 - X509_NAME_print_ex 1
ok 84 - X509_NAME_print_ex 2
ok 85 - X509_get_notBefore
ok 86 - X509_get_notAfter
ok 87 - X509_certificate_type
ok 88 - X509_REQ_free
ok 89 - X509_free
ok 90 - X509_new
ok 91 - X509_get_subject_name
ok 92 - X509_NAME_add_entry_by_txt
ok 93 - X509_NAME_add_entry_by_txt
ok 94 - X509_NAME_print_ex
ok 95 - BIO_new_file
ok 96 - PEM_read_bio_X509
ok 97 - EVP_PKEY_new
ok 98 - RSA_generate_key
ok 99 - EVP_PKEY_assign_RSA
ok 100 - X509_new
ok 101 - X509_set_pubkey
ok 102 - X509_get_subject_name
ok 103 - X509_set_subject_name
ok 104 - X509_get_serialNumber
ok 105 - X509_get_serialNumber
ok 106 - P_ASN1_TIME_set_isotime+X509_get_notBefore
ok 107 - P_ASN1_TIME_set_isotime+X509_get_notAfter
ok 108 - EVP_get_digestbyname
ok 109 - X509_sign
ok 110 - PEM_get_string_X509
ok 111 - PEM_get_string_PrivateKey
ok 112 - BIO_new_file
ok 113 - PEM_read_bio_X509
ok 114 - EVP_get_digestbyname
ok 115 - X509_REQ_digest
ok 116 - X509_REQ_new
ok 117 - X509_REQ_get_subject_name
ok 118 - X509_REQ_set_subject_name
ok 119 - X509_REQ_free
ok 120 - BIO_new_file
ok 121 - d2i_X509_REQ_bio
ok 122 - BIO_new_file
ok 123 - d2i_X509_bio
# Looks like you failed 1 test of 123.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/123 subtests
...
Test Summary Report
-------------------
t/local/33_x509_create_cert.t (Wstat: 256 Tests: 123 Failed: 1)
Failed test: 39
Non-zero exit status: 1
Files=29, Tests=2712, 3 wallclock secs ( 0.28 usr 0.04 sys + 2.46 cusr
0.13 csys = 2.91 CPU)
Result: FAIL
Failed 1/29 test programs. 1/2712 subtests failed.
Makefile:945: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory '/tmp/buildd/libnet-ssleay-perl-1.68'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
(Note: I've ruled out the disabling of network access in pbuilder as the cause
of this, as the build still fails with USENETWORK=yes in the configuration.)
--
Daniel Schepler
More information about the pkg-perl-maintainers
mailing list