==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_da34ba0f-afc0-4938-8b84-42397de2c641]...done ==> Making package: ruby-puma 6.4.2-3.1 (Wed Nov 20 19:23:30 2024) ==> Retrieving sources... -> Downloading ruby-puma-6.4.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 378k 0 378k 0 0 636k 0 --:--:-- --:--:-- --:--:-- 636k -> Found ruby-puma_fix_tests.patch -> Downloading 11e5d6dcbf0f6bfb170f38c5713d5851399a55dd.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 30975 100 30975 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k -> Downloading 0b6b91080db31e7c51b2a430efee2c2827b050f8.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 10 36464 10 3918 0 0 17094 0 0:00:02 --:--:-- 0:00:02 17034 100 36464 100 36464 0 0 139k 0 --:--:-- --:--:-- --:--:-- 139k -> Downloading 9b3a89b4cb068809f7840aeb8f045d0079f1266d.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13950 100 13950 0 0 58976 0 --:--:-- --:--:-- --:--:-- 59110 -> Downloading 6db7c28b069710419cc0a78dbc93c351b222a8e4.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 114k 100 114k 0 0 388k 0 --:--:-- --:--:-- --:--:-- 389k -> Downloading aadf9e25c38c2a9a3c3aa36b20f37f340696da3d.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 919 100 919 0 0 4361 0 --:--:-- --:--:-- --:--:-- 4376 ==> Validating source files with sha512sums... ruby-puma-6.4.2.tar.gz ... Passed ruby-puma_fix_tests.patch ... Passed 11e5d6dcbf0f6bfb170f38c5713d5851399a55dd.patch ... Passed 0b6b91080db31e7c51b2a430efee2c2827b050f8.patch ... Passed 9b3a89b4cb068809f7840aeb8f045d0079f1266d.patch ... Passed 6db7c28b069710419cc0a78dbc93c351b222a8e4.patch ... Passed aadf9e25c38c2a9a3c3aa36b20f37f340696da3d.patch ... Passed ==> Validating source files with b2sums... ruby-puma-6.4.2.tar.gz ... Passed ruby-puma_fix_tests.patch ... Passed 11e5d6dcbf0f6bfb170f38c5713d5851399a55dd.patch ... Passed 0b6b91080db31e7c51b2a430efee2c2827b050f8.patch ... Passed 9b3a89b4cb068809f7840aeb8f045d0079f1266d.patch ... Passed 6db7c28b069710419cc0a78dbc93c351b222a8e4.patch ... Passed aadf9e25c38c2a9a3c3aa36b20f37f340696da3d.patch ... Passed ==> Making package: ruby-puma 6.4.2-3.1 (Wed Nov 20 19:23:35 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: rubygems will be installed before its ruby dependency Package (5) New Version Net Change extra/libyaml 0.2.5-3 0.18 MiB extra/rubygems 3.5.16-1 2.69 MiB extra/ruby 3.3.5-2 16.13 MiB extra/ruby-nio4r 2.7.3-2 0.61 MiB extra/ruby-sd_notify 0.1.1-4 0.01 MiB Total Installed Size: 19.63 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libyaml... installing rubygems... installing ruby... Optional dependencies for ruby tk: for Ruby/TK ruby-docs: Documentation for Ruby ruby-default-gems: Default gems which are part of Ruby StdLib ruby-bundled-gems: Bundled gems which are part of Ruby StdLib ruby-stdlib: Full Ruby StdLib including default gems, bundled gems and tools installing ruby-nio4r... installing ruby-sd_notify... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (16) New Version Net Change extra/perl-error 0.17029-7 0.04 MiB extra/perl-mailtools 2.21-9 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/ruby-erb 4.0.4-6 0.10 MiB extra/ruby-webrick 1.8.2-1 0.39 MiB extra/git 2.47.0-1 28.29 MiB extra/ruby-bundler 2.5.16-1 1.59 MiB extra/ruby-minitest 5.22.3-2 0.69 MiB extra/ruby-minitest-proveit 1.0.0-4 0.01 MiB extra/ruby-minitest-retry 0.2.2-3 0.02 MiB extra/ruby-minitest-stub-const 0.6-4 0.01 MiB extra/ruby-rack 3.0.9.1-2 0.81 MiB extra/ruby-rackup 2.1.0-3 0.04 MiB extra/ruby-rake 13.1.0-1 0.26 MiB extra/ruby-rake-compiler 1.2.7-2 0.23 MiB extra/ruby-rdoc 6.6.3.1-1 2.84 MiB Total Installed Size: 35.50 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing ruby-bundler... installing ruby-minitest... installing ruby-minitest-proveit... installing ruby-minitest-retry... installing ruby-minitest-stub-const... installing ruby-erb... installing ruby-rack... installing ruby-rake... installing ruby-webrick... installing ruby-rackup... installing ruby-rake-compiler... installing ruby-rdoc... :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules ==> Retrieving sources... -> Found ruby-puma-6.4.2.tar.gz -> Found ruby-puma_fix_tests.patch -> Found 11e5d6dcbf0f6bfb170f38c5713d5851399a55dd.patch -> Found 0b6b91080db31e7c51b2a430efee2c2827b050f8.patch -> Found 9b3a89b4cb068809f7840aeb8f045d0079f1266d.patch -> Found 6db7c28b069710419cc0a78dbc93c351b222a8e4.patch -> Found aadf9e25c38c2a9a3c3aa36b20f37f340696da3d.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting ruby-puma-6.4.2.tar.gz with bsdtar ==> Starting prepare()... patching file test/test_integration_single.rb Hunk #1 succeeded at 121 (offset -1 lines). Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/test/test_binder.rb b/test/test_binder.rb |index 31d3ff86..c18fb85f 100644 |--- a/test/test_binder.rb |+++ b/test/test_binder.rb -------------------------- patching file test/test_binder.rb Using Plan A... Hunk #1 succeeded at 390. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/test/test_config.rb b/test/test_config.rb |index ec8e21c6..e4d2c6f4 100644 |--- a/test/test_config.rb |+++ b/test/test_config.rb -------------------------- patching file test/test_config.rb Using Plan A... Hunk #1 succeeded at 69. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/test/test_integration_ssl.rb b/test/test_integration_ssl.rb |index 88917fe7..608061f1 100644 |--- a/test/test_integration_ssl.rb |+++ b/test/test_integration_ssl.rb -------------------------- patching file test/test_integration_ssl.rb Using Plan A... Hunk #1 succeeded at 229. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/test/test_pumactl.rb b/test/test_pumactl.rb |index b3093bf9..2e9039c9 100644 |--- a/test/test_pumactl.rb |+++ b/test/test_pumactl.rb -------------------------- patching file test/test_pumactl.rb Using Plan A... Hunk #1 succeeded at 260. Hunk #2 succeeded at 284. done removed 'test/config/ssl_self_signed_config.rb' removed 'test/test_preserve_bundler_env.rb' removed 'test/test_puma_localhost_authority.rb' removed 'test/test_worker_gem_independence.rb' ==> Starting build()... checking for pkg-config for openssl... [" ", "", "-lssl -lcrypto"] using OpenSSL pkgconfig (openssl.pc) checking for openssl/bio.h... yes checking for DTLS_method() in openssl/ssl.h... yes checking for SSL_CTX_set_session_cache_mode(NULL, 0) in openssl/ssl.h... yes checking for TLS_server_method() in openssl/ssl.h... yes checking for SSL_CTX_set_min_proto_version(NULL, 0) in openssl/ssl.h... yes checking for X509_STORE_up_ref()... yes checking for SSL_CTX_set_ecdh_auto(NULL, 0) in openssl/ssl.h... yes checking for SSL_CTX_set_dh_auto(NULL, 0) in openssl/ssl.h... yes checking for SSL_get1_peer_certificate() in openssl/ssl.h... yes checking for Random.bytes... yes creating Makefile compiling ../../../../ext/puma_http11/http11_parser.c compiling ../../../../ext/puma_http11/mini_ssl.c compiling ../../../../ext/puma_http11/puma_http11.c linking shared-object puma/puma_http11.so /usr/bin/install -c -m 0755 puma_http11.so ../../../../lib/puma puma 6.4.2 built to pkg/puma-6.4.2.gem. ==> Starting check()... /usr/bin/install -c -m 0755 puma_http11.so ../../../../lib/puma /usr/lib/ruby/3.3.0/json/common.rb:3: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add ostruct to your Gemfile or gemspec to silence this warning. Rack::Handler is deprecated and replaced by Rackup::Handler /usr/lib/ruby/gems/3.3.0/gems/rack-3.0.9.1/lib/rack/chunked.rb:6: warning: Rack::Chunked is deprecated and will be removed in Rack 3.1 Run options: --seed=16538 # Running: ..................................................................F.............................F................./usr/bin/rackup:25: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add ostruct to your Gemfile or gemspec to silence this warning. .......................................................................S.....................................................................................................................................F.F........................2024-11-20 19:24:16 +0100 SSL error, peer: ::1, peer cert: /DC=net/DC=puma/CN=CA: # E..E...........E...........S................S...........E.........................S...........................................................S.......................S......S............................................................................................................... Finished in 76.936174s, 8.2016 runs/s, 23.7470 assertions/s. Errors & Failures: 1) Failure: TestExampleCertExpiration#test_certs_not_expired [test/test_example_cert_expiration.rb:40]: Cert puma/cert_puma.pem has expired. Check the puma for a `.rb` with instructions on how to regenerate. 2) Failure: TestPumaServerSSLWithCertPemAndKeyPem#test_server_ssl_with_cert_pem_and_key_pem [test/test_puma_server_ssl.rb:503]: Expected # to be nil. 3) Failure: TestPumaServerSSLClient#test_verify_client_cert [test/test_puma_server_ssl.rb:348]: SSL_connect returned=1 errno=0 peeraddr=127.0.0.1:43817 state=error: certificate verify failed (certificate has expired). Expected: false Actual: true 4) Failure: TestPumaServerSSLClient#test_verify_fail_if_client_expired_cert [test/test_puma_server_ssl.rb:338]: --- expected +++ actual @@ -1 +1,3 @@ -"/DC=net/DC=puma/CN=localhost" +# encoding: ASCII-8BIT +# valid: true +"/DC=net/DC=puma/CN=CA" 5) Error: TestIntegrationSSL#test_ssl_run_with_curl_client: RuntimeError: "curl -s -v --show-error --cacert /startdir/src/puma-6.4.2/examples/puma/client-certs/ca.crt --cert /startdir/src/puma-6.4.2/examples/puma/client-certs/client.crt --key /startdir/src/puma-6.4.2/examples/puma/client-certs/client.key --tlsv1.2 --tls-max 1.2 -X GET -k https://localhost:44283" process failed: pid 3706 exit 35 * Host localhost:44283 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:44283... * ALPN: curl offers h2,http/1.1 } [5 bytes data] * TLSv1.2 (OUT), TLS handshake, Client hello (1): } [224 bytes data] * TLSv1.2 (IN), TLS handshake, Server hello (2): { [61 bytes data] * TLSv1.2 (IN), TLS handshake, Certificate (11): { [1575 bytes data] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): { [300 bytes data] * TLSv1.2 (IN), TLS handshake, Request CERT (13): { [58 bytes data] * TLSv1.2 (IN), TLS handshake, Server finished (14): { [4 bytes data] * TLSv1.2 (OUT), TLS handshake, Certificate (11): } [786 bytes data] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): } [37 bytes data] * TLSv1.2 (OUT), TLS handshake, CERT verify (15): } [264 bytes data] * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): } [1 bytes data] * TLSv1.2 (OUT), TLS handshake, Finished (20): } [16 bytes data] * TLS connect error: error:00000000:lib(0)::reason(0) * OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:44283 * closing connection #0 curl: (35) TLS connect error: error:00000000:lib(0)::reason(0) test/test_integration_ssl.rb:317:in `curl_and_get_response' test/test_integration_ssl.rb:191:in `test_ssl_run_with_curl_client' test/helper.rb:91:in `block (4 levels) in run' /usr/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /usr/lib/ruby/3.3.0/timeout.rb:193:in `timeout' test/helper.rb:89:in `block (3 levels) in run' 6) Error: TestIntegrationSSL#test_verify_client_cert_roundtrip_tls1_2: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=[::1]:40651 state=error: certificate verify failed (certificate has expired) test/helpers/test_puma/puma_socket.rb:334:in `connect' test/helpers/test_puma/puma_socket.rb:334:in `new_socket' test/helpers/test_puma/puma_socket.rb:180:in `send_http' test/helpers/test_puma/puma_socket.rb:132:in `send_http_read_resp_body' test/test_integration_ssl.rb:135:in `test_verify_client_cert_roundtrip' test/test_integration_ssl.rb:157:in `test_verify_client_cert_roundtrip_tls1_2' test/helper.rb:91:in `block (4 levels) in run' /usr/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /usr/lib/ruby/3.3.0/timeout.rb:193:in `timeout' test/helper.rb:89:in `block (3 levels) in run' 7) Error: TestIntegrationSSL#test_verify_client_cert_roundtrip: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=[::1]:33061 state=error: certificate verify failed (certificate has expired) test/helpers/test_puma/puma_socket.rb:334:in `connect' test/helpers/test_puma/puma_socket.rb:334:in `new_socket' test/helpers/test_puma/puma_socket.rb:180:in `send_http' test/helpers/test_puma/puma_socket.rb:132:in `send_http_read_resp_body' test/test_integration_ssl.rb:135:in `test_verify_client_cert_roundtrip' test/helper.rb:91:in `block (4 levels) in run' /usr/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /usr/lib/ruby/3.3.0/timeout.rb:193:in `timeout' test/helper.rb:89:in `block (3 levels) in run' 8) Error: TestIntegrationCluster#test_idle_timeout: Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 44145 test/helpers/integration.rb:210:in `initialize' test/helpers/integration.rb:210:in `new' test/helpers/integration.rb:210:in `fast_connect' test/test_integration_cluster.rb:230:in `block in test_idle_timeout' :237:in `times' test/test_integration_cluster.rb:229:in `test_idle_timeout' test/helper.rb:91:in `block (4 levels) in run' /usr/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /usr/lib/ruby/3.3.0/timeout.rb:193:in `timeout' test/helper.rb:89:in `block (3 levels) in run' 631 runs, 1827 assertions, 4 failures, 4 errors, 7 skips You have skipped tests. Run with --verbose for details. rake aborted! Command failed with status (1) Tasks: TOP => test:all => test (See full trace by running task with --trace) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_da34ba0f-afc0-4938-8b84-42397de2c641/build