>>> ruby-net-smtp: Building main/ruby-net-smtp 0.4.0-r0 (using abuild 3.13.0-r2) started Sun, 21 Apr 2024 00:19:40 +0000 >>> ruby-net-smtp: Checking sanity of /home/buildozer/aports/main/ruby-net-smtp/APKBUILD... >>> ruby-net-smtp: Analyzing dependencies... >>> ruby-net-smtp: Installing for build: build-base ruby ruby-rdoc ruby-rake ruby-test-unit (1/9) Installing libffi (3.4.6-r0) (2/9) Installing yaml (0.2.5-r2) (3/9) Installing ruby-libs (3.3.0-r0) (4/9) Installing ruby (3.3.0-r0) (5/9) Installing ruby-rdoc (3.3.0-r0) (6/9) Installing ruby-rake (13.1.0-r0) (7/9) Installing ruby-power_assert (2.0.3-r1) (8/9) Installing ruby-test-unit (3.6.2-r0) (9/9) Installing .makedepends-ruby-net-smtp (20240421.001941) Executing busybox-1.36.1-r25.trigger OK: 501 MiB in 114 packages >>> ruby-net-smtp: Cleaning up srcdir >>> ruby-net-smtp: Cleaning up pkgdir >>> ruby-net-smtp: Cleaning up tmpdir >>> ruby-net-smtp: Fetching https://distfiles.alpinelinux.org/distfiles/edge/net-smtp-0.4.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/net-smtp-0.4.0.tar.gz.part' net-smtp-0.4.0.tar.g 100% |********************************| 26695 0:00:00 ETA '/var/cache/distfiles/net-smtp-0.4.0.tar.gz.part' saved >>> ruby-net-smtp: Fetching https://distfiles.alpinelinux.org/distfiles/edge/net-smtp-0.4.0.tar.gz >>> ruby-net-smtp: Checking sha512sums... net-smtp-0.4.0.tar.gz: OK gemspec.patch: OK >>> ruby-net-smtp: Unpacking /var/cache/distfiles/net-smtp-0.4.0.tar.gz... >>> ruby-net-smtp: gemspec.patch patching file net-smtp.gemspec WARNING: description and summary are identical WARNING: open-ended dependency on net-protocol (>= 0) is not recommended use a bounded requirement, such as "~> x.y" WARNING: You have specified the uri: https://github.com/ruby/net-smtp for all of the following keys: homepage_uri source_code_uri Only the first one will be shown on rubygems.org WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: net-smtp Version: 0.4.0 File: net-smtp-0.4.0.gem Loaded suite /usr/lib/ruby/gems/3.3.0/gems/rake-13.1.0/lib/rake/rake_test_loader Started E =============================================================================== Error: test_enable_starttls(Net::TestSSLContext): OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=empty-path-AF_UNIX-sockaddr state=error: certificate verify failed (certificate has expired) /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `connect_nonblock' /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `ssl_socket_connect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:676:in `tlsconnect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:652:in `do_start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:616:in `start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:140:in `test_enable_starttls' 137: smtp = MySMTP.new(start_smtpd_starttls) 138: context = default_ssl_context 139: smtp.enable_starttls(context) => 140: smtp.start 141: assert_equal(context, smtp.__ssl_context) 142: assert_equal(true, smtp.rset.success?) 143: end =============================================================================== E =============================================================================== Error: test_enable_starttls_before_disable_tls(Net::TestSSLContext): OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=empty-path-AF_UNIX-sockaddr state=error: certificate verify failed (certificate has expired) /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `connect_nonblock' /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `ssl_socket_connect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:676:in `tlsconnect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:652:in `do_start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:616:in `start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:150:in `test_enable_starttls_before_disable_tls' 147: context = default_ssl_context 148: smtp.enable_starttls(context) 149: smtp.disable_tls => 150: smtp.start 151: assert_equal(context, smtp.__ssl_context) 152: assert_equal(true, smtp.rset.success?) 153: end =============================================================================== E =============================================================================== Error: test_enable_tls(Net::TestSSLContext): OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=empty-path-AF_UNIX-sockaddr state=error: certificate verify failed (certificate has expired) /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `connect_nonblock' /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `ssl_socket_connect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:676:in `tlsconnect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:644:in `do_start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:616:in `start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:121:in `test_enable_tls' 118: smtp = MySMTP.new(start_smtpd_smtps)# terminated with exception (report_on_exception is true): /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:87:in `block in start_smtpd_smtps': break from proc-closure (LocalJumpError) 119: context = default_ssl_context 120: smtp.enable_tls(context) => 121: smtp.start 122: assert_equal(context, smtp.__ssl_context) 123: assert_equal(true, smtp.rset.success?) 124: end =============================================================================== E =============================================================================== Error: test_enable_tls(Net::TestSSLContext): LocalJumpError: break from proc-closure /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:87:in `block in start_smtpd_smtps' =============================================================================== E =============================================================================== Error: test_enable_tls_before_disable_starttls(Net::TestSSLContext): OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=empty-path-AF_UNIX-sockaddr state=error: certificate verify failed (certificate has expired) /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `connect_nonblock' /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `ssl_socket_connect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:676:in `tlsconnect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:644:in `do_start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:616:in `start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:131:in `test_enable_tls_before_disable_starttls' 128: context = default_ssl_context# terminated with exception (report_on_exception is true): /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:87:in `block in start_smtpd_smtps': break from proc-closure (LocalJumpError) 129: smtp.enable_tls(context) 130: smtp.disable_starttls => 131: smtp.start 132: assert_equal(context, smtp.__ssl_context) 133: assert_equal(true, smtp.rset.success?) 134: end =============================================================================== E =============================================================================== Error: test_enable_tls_before_disable_starttls(Net::TestSSLContext): LocalJumpError: break from proc-closure /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:87:in `block in start_smtpd_smtps' =============================================================================== E =============================================================================== Error: test_start_without_tls_hostname(Net::TestSSLContext): OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=empty-path-AF_UNIX-sockaddr state=error: certificate verify failed (certificate has expired) /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `connect_nonblock' /usr/lib/ruby/3.3.0/net/protocol.rb:46:in `ssl_socket_connect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:676:in `tlsconnect' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:652:in `do_start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/lib/net/smtp.rb:616:in `start' /home/buildozer/aports/main/ruby-net-smtp/src/net-smtp-0.4.0/test/net/smtp/test_sslcontext.rb:198:in `test_start_without_tls_hostname' 195: smtp = MySMTP.new(start_smtpd_starttls) 196: context = default_ssl_context 197: smtp.enable_starttls(context) => 198: smtp.start 199: assert_equal("localhost", smtp.__ssl_socket.hostname) 200: assert_equal(true, smtp.rset.success?) 201: end =============================================================================== Finished in 4.234442193 seconds. ------------------------------------------------------------------------------- 93 tests, 155 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications 94.6237% passed ------------------------------------------------------------------------------- 21.96 tests/s, 36.60 assertions/s rake aborted! Command failed with status (1) Tasks: TOP => test (See full trace by running task with --trace) >>> ERROR: ruby-net-smtp: check failed >>> ruby-net-smtp: Uninstalling dependencies... (1/9) Purging .makedepends-ruby-net-smtp (20240421.001941) (2/9) Purging ruby-rdoc (3.3.0-r0) (3/9) Purging ruby-rake (13.1.0-r0) (4/9) Purging ruby-test-unit (3.6.2-r0) (5/9) Purging ruby-power_assert (2.0.3-r1) (6/9) Purging ruby (3.3.0-r0) (7/9) Purging ruby-libs (3.3.0-r0) (8/9) Purging yaml (0.2.5-r2) (9/9) Purging libffi (3.4.6-r0) Executing busybox-1.36.1-r25.trigger OK: 473 MiB in 105 packages