START lib/libssl/openssl-ruby 2023-12-25T09:13:07Z ==== openssl-ruby-test ==== rm -f .test cd /usr/src/regress/lib/libssl/openssl-ruby && exec make test mkdir -p build touch .builddir cd build && ruby32 /usr/local/share/openssl-ruby-tests/ext/openssl/extconf.rb && make; checking for rb_io_descriptor()... yes checking for rb_io_maybe_wait(0, Qnil, Qnil, Qnil) in ruby/io.h... yes checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for openssl/ssl.h... yes checking for LIBRESSL_VERSION_NUMBER in openssl/opensslv.h... yes checking for LibreSSL version >= 3.1.0... yes checking for RAND_egd() in openssl/rand.h... no checking for ENGINE_load_dynamic() in openssl/engine.h... yes checking for ENGINE_load_4758cca() in openssl/engine.h... no checking for ENGINE_load_aep() in openssl/engine.h... no checking for ENGINE_load_atalla() in openssl/engine.h... no checking for ENGINE_load_chil() in openssl/engine.h... no checking for ENGINE_load_cswift() in openssl/engine.h... no checking for ENGINE_load_nuron() in openssl/engine.h... no checking for ENGINE_load_sureware() in openssl/engine.h... no checking for ENGINE_load_ubsec() in openssl/engine.h... no checking for ENGINE_load_padlock() in openssl/engine.h... no checking for ENGINE_load_capi() in openssl/engine.h... no checking for ENGINE_load_gmp() in openssl/engine.h... no checking for ENGINE_load_gost() in openssl/engine.h... no checking for ENGINE_load_cryptodev() in openssl/engine.h... no checking for SSL.ctx in openssl/ssl.h... no checking for EVP_MD_CTX_new() in openssl/evp.h... yes checking for EVP_MD_CTX_free(NULL) in openssl/evp.h... yes checking for EVP_MD_CTX_pkey_ctx(NULL) in openssl/evp.h... yes checking for X509_STORE_get_ex_data(NULL, 0) in openssl/x509.h... yes checking for X509_STORE_set_ex_data(NULL, 0, NULL) in openssl/x509.h... yes checking for X509_STORE_get_ex_new_index(0, NULL, NULL, NULL, NULL) in openssl/x509.h... yes checking for X509_CRL_get0_signature(NULL, NULL, NULL) in openssl/x509.h... yes checking for X509_REQ_get0_signature(NULL, NULL, NULL) in openssl/x509.h... yes checking for X509_REVOKED_get0_serialNumber(NULL) in openssl/x509.h... yes checking for X509_REVOKED_get0_revocationDate(NULL) in openssl/x509.h... yes checking for X509_get0_tbs_sigalg(NULL) in openssl/x509.h... yes checking for X509_STORE_CTX_get0_untrusted(NULL) in openssl/x509.h... yes checking for X509_STORE_CTX_get0_cert(NULL) in openssl/x509.h... yes checking for X509_STORE_CTX_get0_chain(NULL) in openssl/x509.h... yes checking for OCSP_SINGLERESP_get0_id(NULL) in openssl/ocsp.h... yes checking for SSL_CTX_get_ciphers(NULL) in openssl/ssl.h... yes checking for X509_up_ref(NULL) in openssl/x509.h... yes checking for X509_CRL_up_ref(NULL) in openssl/x509.h... yes checking for X509_STORE_up_ref(NULL) in openssl/x509.h... yes checking for SSL_SESSION_up_ref(NULL) in openssl/ssl.h... yes checking for EVP_PKEY_up_ref(NULL) in openssl/evp.h... yes checking for SSL_CTX_set_min_proto_version(NULL, 0) in openssl/ssl.h... yes checking for SSL_CTX_get_security_level(NULL) in openssl/ssl.h... yes checking for X509_get0_notBefore(NULL) in openssl/x509.h... yes checking for SSL_SESSION_get_protocol_version(NULL) in openssl/ssl.h... yes checking for TS_STATUS_INFO_get0_status(NULL) in openssl/ts.h... yes checking for TS_STATUS_INFO_get0_text(NULL) in openssl/ts.h... yes checking for TS_STATUS_INFO_get0_failure_info(NULL) in openssl/ts.h... yes checking for TS_VERIFY_CTS_set_certs(NULL, NULL) in openssl/ts.h... yes checking for TS_VERIFY_CTX_set_store(NULL, NULL) in openssl/ts.h... yes checking for TS_VERIFY_CTX_add_flags(NULL, 0) in openssl/ts.h... yes checking for TS_RESP_CTX_set_time_cb(NULL, NULL, NULL) in openssl/ts.h... yes checking for EVP_PBE_scrypt("", 0, (unsigned char *)"", 0, 0, 0, 0, 0, NULL, 0) in openssl/evp.h... no checking for SSL_CTX_set_post_handshake_auth(NULL, 0) in openssl/ssl.h... yes checking for EVP_PKEY_check(NULL) in openssl/evp.h... yes checking for EVP_PKEY_new_raw_private_key(0, NULL, (unsigned char *)"", 0) in openssl/evp.h... yes checking for SSL_CTX_set_ciphersuites(NULL, "") in openssl/ssl.h... yes checking for SSL_set0_tmp_dh_pkey(NULL, NULL) in openssl/ssl.h... no checking for ERR_get_error_all(NULL, NULL, NULL, NULL, NULL) in openssl/err.h... no checking for TS_VERIFY_CTX_set_certs(NULL, NULL) in openssl/ts.h... yes checking for SSL_CTX_load_verify_file(NULL, "") in openssl/ssl.h... no checking for BN_check_prime(NULL, NULL, NULL) in openssl/bn.h... no checking for EVP_MD_CTX_get0_md(NULL) in openssl/evp.h... no checking for EVP_MD_CTX_get_pkey_ctx(NULL) in openssl/evp.h... no checking for EVP_PKEY_eq(NULL, NULL) in openssl/evp.h... no checking for EVP_PKEY_dup(NULL) in openssl/evp.h... no creating extconf.h creating Makefile compiling /usr/local/share/openssl-ruby-tests/ext/openssl/openssl_missing.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_asn1.c /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_asn1.c:86:24: warning: implicit conversion loses integer precision: 'time_t' (aka 'long long') to 'long' [-Wshorten-64-to-32] *days = rb_long2int(t / 86400); ~~~~~~~~~~~ ~~^~~~~~~ 1 warning generated. compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_bio.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_bn.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_cipher.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_config.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_digest.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_engine.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_hmac.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_kdf.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_ns_spki.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_ocsp.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_pkcs12.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_pkcs7.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_pkey.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_pkey_dh.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_pkey_dsa.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_pkey_ec.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_pkey_rsa.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_provider.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_rand.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_ssl.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_ssl_session.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_ts.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509attr.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509cert.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509crl.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509ext.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509name.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509req.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509revoked.c compiling /usr/local/share/openssl-ruby-tests/ext/openssl/ossl_x509store.c linking shared-object openssl.so touch .build cd build && env SKIP_EXPECTED_FAILURES=true ruby32 -I. -I/usr/local/share/openssl-ruby-tests/test/openssl -I/usr/local/share/openssl-ruby-tests/lib -e 'Dir["/usr/local/share/openssl-ruby-tests/test/openssl/test_*.rb"].each{|f| require f}' -- --no-use-color --no-show-detail-immediately msyscall 93295000 9e000 error /usr/obj/regress/lib/libssl/openssl-ruby/build/openssl.so: [BUG] Segmentation fault at 0x932ed7ac ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm-openbsd] -- Control frame information ----------------------------------------------- c:0015 p:---- s:0091 e:000090 TOP [FINISH] c:0014 p:---- s:0088 e:000087 CFUNC :require c:0013 p:0107 s:0083 e:000082 METHOD :85 c:0012 p:0005 s:0068 e:000067 TOP /usr/local/share/openssl-ruby-tests/lib/openssl.rb:13 [FINISH] c:0011 p:---- s:0065 e:000064 CFUNC :require c:0010 p:0107 s:0060 e:000059 METHOD :85 c:0009 p:0005 s:0045 e:000044 TOP /usr/local/share/openssl-ruby-tests/test/openssl/utils.rb:3 [FINISH] c:0008 p:---- s:0042 e:000041 CFUNC :require_relative c:0007 p:0005 s:0037 e:000036 TOP /usr/local/share/openssl-ruby-tests/test/openssl/test_asn1.rb:2 [FINISH] c:0006 p:---- s:0034 e:000033 CFUNC :require c:0005 p:0107 s:0029 e:000028 METHOD :85 c:0004 p:0005 s:0014 e:000013 BLOCK -e:1 [FINISH] c:0003 p:---- s:0010 e:000009 CFUNC :each c:0002 p:0008 s:0006 e:000005 EVAL -e:1 [FINISH] c:0001 p:0000 s:0003 E:ffffe898 DUMMY [FINISH] -- Ruby level backtrace information ---------------------------------------- -e:1:in `
' -e:1:in `each' -e:1:in `block in
' :85:in `require' :85:in `require' /usr/local/share/openssl-ruby-tests/test/openssl/test_asn1.rb:2:in `' /usr/local/share/openssl-ruby-tests/test/openssl/test_asn1.rb:2:in `require_relative' /usr/local/share/openssl-ruby-tests/test/openssl/utils.rb:3:in `' :85:in `require' :85:in `require' /usr/local/share/openssl-ruby-tests/lib/openssl.rb:13:in `' :85:in `require' :85:in `require' -- Other runtime information ----------------------------------------------- * Loaded script: -e * Loaded features: 0 enumerator.so 1 thread.rb 2 fiber.so 3 rational.so 4 complex.so 5 ruby2_keywords.rb 6 /usr/local/lib/ruby/3.2/arm-openbsd/enc/encdb.so 7 /usr/local/lib/ruby/3.2/arm-openbsd/enc/trans/transdb.so 8 /usr/local/lib/ruby/3.2/arm-openbsd/rbconfig.rb 9 /usr/local/lib/ruby/3.2/rubygems/compatibility.rb 10 /usr/local/lib/ruby/3.2/rubygems/defaults.rb 11 /usr/local/lib/ruby/3.2/rubygems/deprecate.rb 12 /usr/local/lib/ruby/3.2/rubygems/errors.rb 13 /usr/local/lib/ruby/3.2/rubygems/unknown_command_spell_checker.rb 14 /usr/local/lib/ruby/3.2/rubygems/exceptions.rb 15 /usr/local/lib/ruby/3.2/rubygems/basic_specification.rb 16 /usr/local/lib/ruby/3.2/rubygems/stub_specification.rb 17 /usr/local/lib/ruby/3.2/rubygems/platform.rb 18 /usr/local/lib/ruby/3.2/rubygems/util/list.rb 19 /usr/local/lib/ruby/3.2/rubygems/version.rb 20 /usr/local/lib/ruby/3.2/rubygems/requirement.rb 21 /usr/local/lib/ruby/3.2/rubygems/specification.rb 22 /usr/local/lib/ruby/3.2/rubygems/util.rb 23 /usr/local/lib/ruby/3.2/rubygems/dependency.rb 24 /usr/local/lib/ruby/3.2/rubygems/core_ext/kernel_gem.rb 25 /usr/local/lib/ruby/3.2/arm-openbsd/monitor.so 26 /usr/local/lib/ruby/3.2/monitor.rb 27 /usr/local/lib/ruby/3.2/rubygems.rb 28 /usr/local/lib/ruby/3.2/rubygems/path_support.rb 29 /usr/local/lib/ruby/3.2/error_highlight/version.rb 30 /usr/local/lib/ruby/3.2/error_highlight/base.rb 31 /usr/local/lib/ruby/3.2/error_highlight/formatter.rb 32 /usr/local/lib/ruby/3.2/error_highlight/core_ext.rb 33 /usr/local/lib/ruby/3.2/error_highlight.rb 34 /usr/local/lib/ruby/3.2/did_you_mean/version.rb 35 /usr/local/lib/ruby/3.2/did_you_mean/core_ext/name_error.rb 36 /usr/local/lib/ruby/3.2/did_you_mean/levenshtein.rb 37 /usr/local/lib/ruby/3.2/did_you_mean/jaro_winkler.rb 38 /usr/local/lib/ruby/3.2/did_you_mean/spell_checker.rb 39 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb 40 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb 41 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/name_error_checkers.rb 42 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/method_name_checker.rb 43 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/key_error_checker.rb 44 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/null_checker.rb 45 /usr/local/lib/ruby/3.2/did_you_mean/tree_spell_checker.rb 46 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/require_path_checker.rb 47 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/pattern_key_name_checker.rb 48 /usr/local/lib/ruby/3.2/did_you_mean/formatter.rb 49 /usr/local/lib/ruby/3.2/did_you_mean.rb 50 /usr/local/lib/ruby/3.2/syntax_suggest/core_ext.rb Abort trap (core dumped) *** Error 134 in . (Makefile:43 '.test') *** Error 2 in . (Makefile:57 'retest') FAILED ==== test_client_ca ==== cd build && ruby32 -I. -I/usr/local/share/openssl-ruby-tests/test/openssl -I/usr/local/share/openssl-ruby-tests/lib /usr/local/share/openssl-ruby-tests/test/openssl/test_ssl.rb -n test_client_ca msyscall b88d9000 9e000 error /usr/obj/regress/lib/libssl/openssl-ruby/build/openssl.so: [BUG] Segmentation fault at 0xb89317ac ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm-openbsd] -- Control frame information ----------------------------------------------- c:0010 p:---- s:0060 e:000059 TOP [FINISH] c:0009 p:---- s:0057 e:000056 CFUNC :require c:0008 p:0107 s:0052 e:000051 METHOD :85 c:0007 p:0005 s:0037 e:000036 TOP /usr/local/share/openssl-ruby-tests/lib/openssl.rb:13 [FINISH] c:0006 p:---- s:0034 e:000033 CFUNC :require c:0005 p:0107 s:0029 e:000028 METHOD :85 c:0004 p:0005 s:0014 e:000013 TOP /usr/local/share/openssl-ruby-tests/test/openssl/utils.rb:3 [FINISH] c:0003 p:---- s:0011 e:000010 CFUNC :require_relative c:0002 p:0005 s:0006 e:000005 EVAL /usr/local/share/openssl-ruby-tests/test/openssl/test_ssl.rb:2 [FINISH] c:0001 p:0000 s:0003 E:fffffbb8 DUMMY [FINISH] -- Ruby level backtrace information ---------------------------------------- /usr/local/share/openssl-ruby-tests/test/openssl/test_ssl.rb:2:in `
' /usr/local/share/openssl-ruby-tests/test/openssl/test_ssl.rb:2:in `require_relative' /usr/local/share/openssl-ruby-tests/test/openssl/utils.rb:3:in `' :85:in `require' :85:in `require' /usr/local/share/openssl-ruby-tests/lib/openssl.rb:13:in `' :85:in `require' :85:in `require' -- Other runtime information ----------------------------------------------- * Loaded script: /usr/local/share/openssl-ruby-tests/test/openssl/test_ssl.rb * Loaded features: 0 enumerator.so 1 thread.rb 2 fiber.so 3 rational.so 4 complex.so 5 ruby2_keywords.rb 6 /usr/local/lib/ruby/3.2/arm-openbsd/enc/encdb.so 7 /usr/local/lib/ruby/3.2/arm-openbsd/enc/trans/transdb.so 8 /usr/local/lib/ruby/3.2/arm-openbsd/rbconfig.rb 9 /usr/local/lib/ruby/3.2/rubygems/compatibility.rb 10 /usr/local/lib/ruby/3.2/rubygems/defaults.rb 11 /usr/local/lib/ruby/3.2/rubygems/deprecate.rb 12 /usr/local/lib/ruby/3.2/rubygems/errors.rb 13 /usr/local/lib/ruby/3.2/rubygems/unknown_command_spell_checker.rb 14 /usr/local/lib/ruby/3.2/rubygems/exceptions.rb 15 /usr/local/lib/ruby/3.2/rubygems/basic_specification.rb 16 /usr/local/lib/ruby/3.2/rubygems/stub_specification.rb 17 /usr/local/lib/ruby/3.2/rubygems/platform.rb 18 /usr/local/lib/ruby/3.2/rubygems/util/list.rb 19 /usr/local/lib/ruby/3.2/rubygems/version.rb 20 /usr/local/lib/ruby/3.2/rubygems/requirement.rb 21 /usr/local/lib/ruby/3.2/rubygems/specification.rb 22 /usr/local/lib/ruby/3.2/rubygems/util.rb 23 /usr/local/lib/ruby/3.2/rubygems/dependency.rb 24 /usr/local/lib/ruby/3.2/rubygems/core_ext/kernel_gem.rb 25 /usr/local/lib/ruby/3.2/arm-openbsd/monitor.so 26 /usr/local/lib/ruby/3.2/monitor.rb 27 /usr/local/lib/ruby/3.2/rubygems.rb 28 /usr/local/lib/ruby/3.2/rubygems/path_support.rb 29 /usr/local/lib/ruby/3.2/error_highlight/version.rb 30 /usr/local/lib/ruby/3.2/error_highlight/base.rb 31 /usr/local/lib/ruby/3.2/error_highlight/formatter.rb 32 /usr/local/lib/ruby/3.2/error_highlight/core_ext.rb 33 /usr/local/lib/ruby/3.2/error_highlight.rb 34 /usr/local/lib/ruby/3.2/did_you_mean/version.rb 35 /usr/local/lib/ruby/3.2/did_you_mean/core_ext/name_error.rb 36 /usr/local/lib/ruby/3.2/did_you_mean/levenshtein.rb 37 /usr/local/lib/ruby/3.2/did_you_mean/jaro_winkler.rb 38 /usr/local/lib/ruby/3.2/did_you_mean/spell_checker.rb 39 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb 40 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb 41 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/name_error_checkers.rb 42 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/method_name_checker.rb 43 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/key_error_checker.rb 44 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/null_checker.rb 45 /usr/local/lib/ruby/3.2/did_you_mean/tree_spell_checker.rb 46 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/require_path_checker.rb 47 /usr/local/lib/ruby/3.2/did_you_mean/spell_checkers/pattern_key_name_checker.rb 48 /usr/local/lib/ruby/3.2/did_you_mean/formatter.rb 49 /usr/local/lib/ruby/3.2/did_you_mean.rb 50 /usr/local/lib/ruby/3.2/syntax_suggest/core_ext.rb Abort trap (core dumped) *** Error 134 in . (Makefile:63 'test_client_ca') EXPECTED_FAIL FAIL lib/libssl/openssl-ruby *** Error 2 in . (Makefile:57 'retest')