>>> ruby-net-smtp: Building main/ruby-net-smtp 0.4.0-r0 (using abuild 3.13.0-r2) started Sun, 21 Apr 2024 00:18:01 +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/10) Installing libffi (3.4.6-r0) (2/10) Installing yaml (0.2.5-r2) (3/10) Installing ruby-libs (3.3.0-r0) (4/10) Installing libucontext (1.2-r3) (5/10) Installing ruby (3.3.0-r0) (6/10) Installing ruby-rdoc (3.3.0-r0) (7/10) Installing ruby-rake (13.1.0-r0) (8/10) Installing ruby-power_assert (2.0.3-r1) (9/10) Installing ruby-test-unit (3.6.2-r0) (10/10) Installing .makedepends-ruby-net-smtp (20240421.001803) Executing busybox-1.36.1-r25.trigger OK: 397 MiB in 111 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/v3.20/net-smtp-0.4.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> ruby-net-smtp: Fetching https://github.com/ruby/net-smtp/archive/v0.4.0/net-smtp-0.4.0.tar.gz Connecting to github.com (20.26.156.215:443) Connecting to codeload.github.com (20.26.156.216:443) saving to '/var/cache/distfiles/v3.20/net-smtp-0.4.0.tar.gz.part' net-smtp-0.4.0.tar.g 100% |********************************| 26695 0:00:00 ETA '/var/cache/distfiles/v3.20/net-smtp-0.4.0.tar.gz.part' saved >>> ruby-net-smtp: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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/v3.20/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 ===============================================================================# 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) 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) 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' ===============================================================================# 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) 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 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 2.937820008 seconds. ------------------------------------------------------------------------------- 93 tests, 155 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications 94.6237% passed ------------------------------------------------------------------------------- 31.66 tests/s, 52.76 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/10) Purging .makedepends-ruby-net-smtp (20240421.001803) (2/10) Purging ruby-rdoc (3.3.0-r0) (3/10) Purging ruby-rake (13.1.0-r0) (4/10) Purging ruby-test-unit (3.6.2-r0) (5/10) Purging ruby-power_assert (2.0.3-r1) (6/10) Purging ruby (3.3.0-r0) (7/10) Purging libucontext (1.2-r3) (8/10) Purging ruby-libs (3.3.0-r0) (9/10) Purging yaml (0.2.5-r2) (10/10) Purging libffi (3.4.6-r0) Executing busybox-1.36.1-r25.trigger OK: 376 MiB in 101 packages