[DRE-maint] Bug#921931: puma: FTBFS in sid (failing tests)

Santiago Vila sanvila at debian.org
Sun Feb 10 11:45:47 GMT 2019


Package: src:puma
Version: 3.12.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in sid but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --buildsystem=ruby --with ruby
   dh_update_autotools_config -a -O--buildsystem=ruby
   dh_autoreconf -a -O--buildsystem=ruby
   dh_auto_configure -a -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -a -O--buildsystem=ruby
	dh_ruby --build
   dh_ruby --build
   dh_auto_test -a -O--buildsystem=ruby
	dh_ruby --test
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-arch
dh binary-arch --buildsystem=ruby --with ruby
   dh_testroot -a -O--buildsystem=ruby
   dh_prep -a -O--buildsystem=ruby
   dh_auto_install -a -O--buildsystem=ruby
	dh_ruby --install /<<PKGBUILDDIR>>/debian/puma
   dh_ruby --install

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install files                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

install -d /<<PKGBUILDDIR>>/debian/puma/usr/bin
install -D -m755 /<<PKGBUILDDIR>>/bin/puma /<<PKGBUILDDIR>>/debian/puma/usr/bin/puma
install -D -m755 /<<PKGBUILDDIR>>/bin/pumactl /<<PKGBUILDDIR>>/debian/puma/usr/bin/pumactl
install -d /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/puma.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/reactor.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/reactor.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/const.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/const.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/io_buffer.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/io_buffer.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/client.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/client.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/thread_pool.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/thread_pool.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/detect.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/detect.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/binder.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/binder.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/accept_nonblock.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/accept_nonblock.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/util.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/util.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/rack/builder.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/rack/builder.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/rack/urlmap.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/rack/urlmap.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/rack/backports/uri/common_193.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/rack/backports/uri/common_193.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/plugin/tmp_restart.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/plugin/tmp_restart.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/launcher.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/launcher.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/server.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/server.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/events.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/events.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/plugin.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/plugin.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/rack_default.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/rack_default.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/null_io.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/null_io.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/tcp_logger.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/tcp_logger.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/daemon_ext.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/daemon_ext.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/cli.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/cli.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/single.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/single.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/cluster.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/cluster.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/configuration.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/configuration.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/state_file.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/state_file.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/delegation.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/delegation.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/control_cli.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/app/status.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/app/status.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/java_io_buffer.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/java_io_buffer.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/commonlogger.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/commonlogger.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/dsl.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/dsl.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/compat.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/compat.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/convenient.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/convenient.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/jruby_restart.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/jruby_restart.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/runner.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/runner.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/puma/minissl.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/minissl.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/rack/handler/puma.rb /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/rack/handler/puma.rb

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build native extensions for ruby2.5                                          │
└──────────────────────────────────────────────────────────────────────────────┘

/usr/bin/ruby2.5 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>> debian/puma
current directory: /<<PKGBUILDDIR>>/ext/puma_http11
/usr/bin/ruby2.5 -r ./siteconf20190210-32072-vd9u69.rb extconf.rb
checking for BIO_read() in -lcrypto... yes
checking for SSL_CTX_new() in -lssl... yes
checking for openssl/bio.h... yes
creating Makefile
current directory: /<<PKGBUILDDIR>>/ext/puma_http11
make V=1 "DESTDIR=" clean
make[1]: Entering directory '/<<PKGBUILDDIR>>/ext/puma_http11'
rm -f 
rm -f puma_http11.so  *.o  *.bak mkmf.log .*.time
make[1]: Leaving directory '/<<PKGBUILDDIR>>/ext/puma_http11'
current directory: /<<PKGBUILDDIR>>/ext/puma_http11
make V=1 "DESTDIR="
make[1]: Entering directory '/<<PKGBUILDDIR>>/ext/puma_http11'
gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -DHAVE_OPENSSL_BIO_H -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.5-amG7uo/ruby2.5-2.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  -o http11_parser.o -c http11_parser.c
gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -DHAVE_OPENSSL_BIO_H -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.5-amG7uo/ruby2.5-2.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  -o io_buffer.o -c io_buffer.c
gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -DHAVE_OPENSSL_BIO_H -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.5-amG7uo/ruby2.5-2.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  -o mini_ssl.o -c mini_ssl.c
mini_ssl.c: In function 'engine_init_client':
mini_ssl.c:220:3: warning: 'DTLSv1_method' is deprecated [-Wdeprecated-declarations]
   conn->ctx = SSL_CTX_new(DTLSv1_method());
   ^~~~
In file included from /usr/include/openssl/e_os2.h:13,
                 from /usr/include/openssl/bio.h:13,
                 from mini_ssl.c:14:
/usr/include/openssl/ssl.h:1882:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
 ^~~~~~~~~~~~~~~~~~
gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -DHAVE_OPENSSL_BIO_H -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.5-amG7uo/ruby2.5-2.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  -o puma_http11.o -c puma_http11.c
rm -f puma_http11.so
gcc -shared -o puma_http11.so http11_parser.o io_buffer.o mini_ssl.o puma_http11.o -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,-z,now -Wl,--compress-debug-sections=zlib    -lruby-2.5 -lssl -lcrypto  -lpthread -lgmp -ldl -lcrypt -lm   -lc
make[1]: Leaving directory '/<<PKGBUILDDIR>>/ext/puma_http11'
current directory: /<<PKGBUILDDIR>>/ext/puma_http11
make V=1 "DESTDIR=" install
make[1]: Entering directory '/<<PKGBUILDDIR>>/ext/puma_http11'
/bin/mkdir -p . ./.gem.20190210-32072-s22pjx/puma
exit > .sitearchdir.-.puma.time
/usr/bin/install -c -m 0755 puma_http11.so ./.gem.20190210-32072-s22pjx/puma
make[1]: Leaving directory '/<<PKGBUILDDIR>>/ext/puma_http11'
rm -f /<<PKGBUILDDIR>>/debian/puma/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0/mkmf.log
Rewriting shebang line of /<<PKGBUILDDIR>>/debian/puma/usr/bin/puma
Rewriting shebang line of /<<PKGBUILDDIR>>/debian/puma/usr/bin/pumactl

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install Rubygems integration metadata                                        │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at /<<PKGBUILDDIR>>/debian/puma/usr/share/rubygems-integration/2.5.0/specifications/puma-3.12.0.gemspec
/usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.5                           │
└──────────────────────────────────────────────────────────────────────────────┘

GEM_PATH=debian/puma/usr/share/rubygems-integration/2.5.0:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -e gem\ \"puma\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/puma/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0:/<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/puma/usr/share/rubygems-integration/2.5.0:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_app_status.rb" "test/test_binder.rb" "test/test_cli.rb" "test/test_config.rb" "test/test_events.rb" "test/test_http10.rb" "test/test_http11.rb" "test/test_integration.rb" "test/test_iobuffer.rb" "test/test_minissl.rb" "test/test_null_io.rb" "test/test_persistent.rb" "test/test_puma_server.rb" "test/test_puma_server_ssl.rb" "test/test_pumactl.rb" "test/test_rack_handler.rb" "test/test_rack_server.rb" "test/test_tcp_logger.rb" "test/test_tcp_rack.rb" "test/test_thread_pool.rb" "test/test_unix_socket.rb" "test/test_web_server.rb" -v
/<<PKGBUILDDIR>>/test/test_puma_server_ssl.rb:150: warning: assigned but unused variable - ssl_listener

65156
Run options: -v --seed 12549

# Running:

TestPathHandler#test_handler_boots = 2.00 s = .
TestIOBuffer#test_append = 0.00 s = .
TestIOBuffer#test_append_op = 0.00 s = .
TestIOBuffer#test_reset = 0.00 s = .
TestIOBuffer#test_initial_size = 0.00 s = .
TestTCPRack#test_passes_the_socket = 0.00 s = .
Http11ParserTest#test_max_uri_path_length = 0.00 s = .
Http11ParserTest#test_parse_absolute_uri = 0.00 s = .
Http11ParserTest#test_parse_dumbfuck_headers = 0.00 s = .
Http11ParserTest#test_fragment_in_uri = 0.00 s = .
Http11ParserTest#test_parse_escaping_in_query = 0.00 s = .
Http11ParserTest#test_horrible_queries = 0.01 s = .
Http11ParserTest#test_parse_error = 0.00 s = .
Http11ParserTest#test_parse_simple = 0.00 s = .
TestPumaUnixSocket#test_server = 0.00 s = .
TestPumaUnixSocket#test_handler = 0.00 s = .
WebServerTest#test_header_is_too_long = 1.20 s = .
WebServerTest#test_bad_client = 1.20 s = .
WebServerTest#test_simple_server = 0.00 s = .
WebServerTest#test_file_streamed_request = 1.61 s = .
WebServerTest#test_close_client = 1.60 s = .
WebServerTest#test_trickle_attack = 4.61 s = .
TestCLI#test_tmp_control = 0.01 s = .
TestCLI#test_pid_file = 0.01 s = .
TestCLI#test_state = 0.01 s = .
TestCLI#test_control_stop = 0.05 s = .
TestCLI#test_environment = 0.01 s = .
TestCLI#test_load_path = 0.01 s = .
TestCLI#test_state_file_callback_filtering = 0.01 s = .
TestCLI#test_control_for_tcp = 0.01 s = .
TestCLI#test_control = 0.01 s = .
TestConfigFile#test_app_from_app_DSL = 0.00 s = .
TestConfigFile#test_explicit_config_files = 0.00 s = .
TestConfigFile#test_overwrite_options = 0.00 s = .
TestConfigFile#test_app_from_rackup = 0.00 s = .
TestConfigFile#test_allow_users_to_override_default_options = 0.00 s = .
TestConfigFile#test_config_files_with_rack_env = 0.00 s = .
TestConfigFile#test_config_files_with_specified_environment = 0.00 s = .
TestConfigFile#test_config_files_with_existing_path = 0.00 s = .
TestConfigFile#test_config_files_with_integer_convert = 0.00 s = .
TestConfigFile#test_double_bind_port = 0.00 s = .
TestConfigFile#test_parameters_overwrite_files = 0.00 s = .
TestConfigFile#test_config_files_with_dash = 0.00 s = .
TestConfigFile#test_lowlevel_error_handler_DSL = 0.00 s = .
TestConfigFile#test_config_files_default = 0.00 s = .
TestConfigFile#test_config_files_with_non_existing_path = 0.00 s = .
TestBinder#test_localhost_addresses_dont_alter_listeners_for_tcp_addresses = 0.00 s = .
TestBinder#test_localhost_addresses_dont_alter_listeners_for_ssl_addresses = 0.00 s = .
TestBinder#test_binder_parses_jruby_ssl_options = 0.00 s = S
TestBinder#test_binder_parses_ssl_cipher_filter = 0.00 s = .
TestRackServer#test_large_post_body = 0.00 s = .
TestRackServer#test_after_reply = 0.00 s = .
TestRackServer#test_common_logger = 0.00 s = .
TestRackServer#test_lint = 0.00 s = .
TestRackServer#test_path_info = 0.00 s = .
TestMiniSSL#test_raises_with_invalid_key_file = 0.00 s = .
TestMiniSSL#test_raises_with_invalid_cert_file = 0.00 s = .
TestNullIO#test_read_with_positive_integer_length = 0.00 s = .
TestNullIO#test_read_with_length_and_buffer = 0.00 s = .
TestNullIO#test_size = 0.00 s = .
TestNullIO#test_eof_returns_true = 0.00 s = .
TestNullIO#test_read_with_no_arguments = 0.00 s = .
TestNullIO#test_read_with_zero_length = 0.00 s = .
TestNullIO#test_each_never_yields = 0.00 s = .
TestNullIO#test_read_with_nil_length = 0.00 s = .
TestNullIO#test_gets_returns_nil = 0.00 s = .
TestUserSuppliedOptionsPortIsSet#test_port_wins_over_config = 0.00 s = .
TestUserSuppliedOptionsIsEmpty#test_config_file_wins_over_port = 0.00 s = .
TestTCPLogger#test_events = 0.00 s = .
TestTCPLogger#test_io = 0.00 s = .
TestThreadPool#test_trim = 0.40 s = .
TestThreadPool#test_auto_reap_dead_threads = 1.40 s = .
TestThreadPool#test_converts_pool_sizes = 0.00 s = .
TestThreadPool#test_trim_is_ignored_if_no_waiting_threads = 0.20 s = .
TestThreadPool#test_append_spawns = 0.20 s = .
TestThreadPool#test_autotrim = 1.40 s = .
TestThreadPool#test_trim_leaves_min = 0.60 s = .
TestThreadPool#test_cleanliness = 0.20 s = .
TestThreadPool#test_force_shutdown_immediately = 0.10 s = .
TestThreadPool#test_force_trim_doesnt_overtrim = 0.20 s = .
TestThreadPool#test_reap_only_dead_threads = 0.40 s = .
TestThreadPool#test_append_queues_on_max = 0.20 s = .
TestAppStatus#test_stats = 0.01 s = .
TestAppStatus#test_unsupported = 0.00 s = .
TestAppStatus#test_bad_token = 0.00 s = .
TestAppStatus#test_halt = 0.00 s = .
TestAppStatus#test_alternate_location = 0.00 s = .
TestAppStatus#test_good_token = 0.00 s = .
TestAppStatus#test_stop = 0.00 s = .
TestPumaControlCli#test_control_url = #<Thread:0x0000558093894d38@/<<PKGBUILDDIR>>/test/test_pumactl.rb:48 run> terminated with exception (report_on_exception is true):
/<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:107:in `write': closed stream (IOError)
	from /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:107:in `puts'
	from /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:107:in `message'
	from /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:234:in `rescue in run'
	from /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:222:in `run'
	from /<<PKGBUILDDIR>>/test/test_pumactl.rb:50:in `block in test_control_url'
0.01 s = E
TestPumaControlCli#test_config_file = 0.00 s = .
Http10ParserTest#test_parse_simple = 0.00 s = .
TestPumaServer#test_empty_header_values = 0.00 s = .
TestPumaServer#test_http_10_close_without_body = 0.00 s = .
TestPumaServer#test_custom_http_codes_10 = 0.00 s = .
TestPumaServer#test_chunked_request_pause_mid_value = 1.00 s = .
TestPumaServer#test_chunked_request_header_case = 0.00 s = .
TestPumaServer#test_http_10_keep_alive_without_body = 0.00 s = .
TestPumaServer#test_chunked_request_pause_between_chunks = 1.00 s = .
TestPumaServer#test_chunked_request_pause_before_value = 1.00 s = .
TestPumaServer#test_chunked_request_pause_mid_count = 1.00 s = .
TestPumaServer#test_doesnt_print_backtrace_in_production = 0.00 s = .
TestPumaServer#test_GET_with_empty_body_has_sane_chunking = 0.00 s = .
TestPumaServer#test_proper_stringio_body = 0.10 s = .
TestPumaServer#test_prints_custom_error = 0.00 s = .
TestPumaServer#test_Expect_100 = 0.00 s = .
TestPumaServer#test_HEAD_has_no_body = 0.00 s = .
TestPumaServer#test_http_10_close_with_body = 0.00 s = .
TestPumaServer#test_puma_socket = 0.00 s = .
TestPumaServer#test_chunked_request_pause_before_count_newline = 1.00 s = .
TestPumaServer#test_default_server_port = 0.00 s = .
TestPumaServer#test_respect_x_forwarded_proto = 0.00 s = .
TestPumaServer#test_HEAD_returns_content_headers = 0.00 s = .
TestPumaServer#test_early_hints_works = 0.00 s = .
TestPumaServer#test_early_hints_is_off_by_default = 0.00 s = .
TestPumaServer#test_http_11_close_without_body = 0.00 s = .
TestPumaServer#test_chunked_request = 0.00 s = .
TestPumaServer#test_http_11_close_with_body = 0.00 s = .
TestPumaServer#test_http_11_keep_alive_with_body = 0.00 s = .
TestPumaServer#test_status_hook_fires_when_server_changes_states = 0.00 s = .
TestPumaServer#test_custom_http_codes_11 = 0.00 s = .
TestPumaServer#test_http_10_keep_alive_with_body = 0.00 s = .
TestPumaServer#test_http_10_partial_hijack_with_content_length = 0.00 s = .
TestPumaServer#test_http_11_keep_alive_without_body = 0.00 s = .
TestPumaServer#test_very_large_return = 0.02 s = .
TestPumaServer#test_leh_gets_env_as_well = 0.00 s = .
TestPumaServer#test_GET_with_no_body_has_sane_chunking = 0.00 s = .
TestEvents#test_log_writes_to_stdout = 0.00 s = .
TestEvents#test_write_writes_to_stdout = 0.00 s = .
TestEvents#test_stdio = 0.00 s = .
TestEvents#test_on_booted_callback = 0.00 s = .
TestEvents#test_custom_log_formatter = 0.00 s = .
TestEvents#test_debug_not_write_to_stdout_if_env_is_not_present = 0.00 s = .
TestEvents#test_debug_writes_to_stdout_if_env_is_present = 0.00 s = .
TestEvents#test_register_callback_with_block = 0.00 s = .
TestEvents#test_error_writes_to_stderr_and_exits = 0.00 s = .
TestEvents#test_null = 0.00 s = .
TestEvents#test_pid_formatter = 0.00 s = .
TestEvents#test_register_callback_with_object = 0.00 s = .
TestEvents#test_fire_callback_with_multiple_arguments = 0.00 s = .
TestEvents#test_strings = 0.00 s = .
TestUserSuppliedOptionsHostIsSet#test_host_uses_supplied_port_default = 0.00 s = .
TestUserSuppliedOptionsIsNotPresent#test_default_port_when_no_config_file = 0.00 s = .
TestUserSuppliedOptionsIsNotPresent#test_user_port_wins_over_config = 0.00 s = .
TestUserSuppliedOptionsIsNotPresent#test_config_wins_over_default = 0.00 s = .
TestUserSuppliedOptionsIsNotPresent#test_user_port_wins_over_default_when_user_supplied_is_blank = 0.00 s = .
TestUserSuppliedOptionsIsNotPresent#test_user_port_wins_over_default = 0.00 s = .
TestIntegration#test_kill_unknown_via_pumactl = 0.01 s = .
TestIntegration#test_term_signal_exit_code_in_clustered_mode = [32580] Puma starting in cluster mode...
[32580] * Version 3.12.0 (ruby 2.5.3-p105), codename: Llamas in Pajamas
[32580] * Min threads: 0, max threads: 16
[32580] * Environment: production
[32580] * Process workers: 2
[32580] * Phased restart available
[32580] * Listening on tcp://127.0.0.1:9998
[32580] Use Ctrl-C to stop
[32584] + Gemfile in context: /<<PKGBUILDDIR>>/Gemfile
[32586] + Gemfile in context: /<<PKGBUILDDIR>>/Gemfile
[32580] - Worker 1 (pid: 32586) booted, phase: 0
[32580] - Worker 0 (pid: 32584) booted, phase: 0
[32580] - Gracefully shutting down workers...
6.00 s = .
TestIntegration#test_term_signal_exit_code_in_single_mode = Puma starting in single mode...
* Version 3.12.0 (ruby 2.5.3-p105), codename: Llamas in Pajamas
* Min threads: 0, max threads: 16
* Environment: production
* Listening on tcp://127.0.0.1:9998
Use Ctrl-C to stop
- Gracefully stopping, waiting for requests to finish
=== puma shutdown: 2019-02-10 11:37:56 +0000 ===
- Goodbye!
6.00 s = .
TestIntegration#test_restart_closes_keepalive_sockets_workers = 1.00 s = .
TestIntegration#test_stop_via_pumactl = 0.02 s = .
TestIntegration#test_restart_closes_keepalive_sockets = 0.91 s = .
TestIntegration#test_restart_restores_environment = 0.92 s = .
TestPersistent#test_client11_close = 0.00 s = .
TestPersistent#test_app_sets_content_length = 0.00 s = .
TestPersistent#test_second_request_not_in_first_req_body = 0.00 s = .
TestPersistent#test_two_back_to_back = 0.00 s = .
TestPersistent#test_chunked_with_empty_part = 0.00 s = .
TestPersistent#test_client10_close = 0.00 s = .
TestPersistent#test_one_with_content_length = 0.00 s = .
TestPersistent#test_hex = 0.00 s = .
TestPersistent#test_allow_app_to_chunk_itself = 0.00 s = .
TestPersistent#test_persistent_timeout = 3.00 s = .
TestPersistent#test_chunked = 0.01 s = .
TestPersistent#test_one_with_keep_alive_header = 0.01 s = .
TestPersistent#test_post_then_get = 0.01 s = .
TestPersistent#test_no_chunked_in_http10 = 0.00 s = .
TestPersistent#test_two_requests_in_one_chunk = 0.00 s = .
TestPersistent#test_keepalive_doesnt_starve_clients = 0.40 s = .
TestPersistent#test_no_body_then_get = 0.00 s = .

Finished in 41.348006s, 4.1356 runs/s, 8.5857 assertions/s.

  1) Skipped:
TestBinder#test_binder_parses_jruby_ssl_options [/<<PKGBUILDDIR>>/test/test_binder.rb:46]:
Skip unless JRuby

  2) Error:
TestPumaControlCli#test_control_url:
Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 9292
    /<<PKGBUILDDIR>>/test/test_pumactl.rb:55:in `initialize'
    /<<PKGBUILDDIR>>/test/test_pumactl.rb:55:in `new'
    /<<PKGBUILDDIR>>/test/test_pumactl.rb:55:in `test_control_url'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:265:in `time_it'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:360:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:960:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:334:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:321:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:320:in `each'
    /usr/lib/ruby/vendor_ruby/minitest.rb:320:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:360:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest.rb:347:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest.rb:319:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `block in __run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `map'
    /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `__run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:136:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:63:in `block in autorun'

Error:
TestPumaControlCli#test_control_url:
IOError: closed stream
    /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:107:in `write'
    /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:107:in `puts'
    /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:107:in `message'
    /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:234:in `rescue in run'
    /<<PKGBUILDDIR>>/debian/puma/usr/lib/ruby/vendor_ruby/puma/control_cli.rb:222:in `run'
    /<<PKGBUILDDIR>>/test/test_pumactl.rb:50:in `block in test_control_url'

171 runs, 355 assertions, 0 failures, 1 errors, 1 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_app_status.rb" "test/test_binder.rb" "test/test_cli.rb" "test/test_config.rb" "test/test_events.rb" "test/test_http10.rb" "test/test_http11.rb" "test/test_integration.rb" "test/test_iobuffer.rb" "test/test_minissl.rb" "test/test_null_io.rb" "test/test_persistent.rb" "test/test_puma_server.rb" "test/test_puma_server_ssl.rb" "test/test_pumactl.rb" "test/test_rack_handler.rb" "test/test_rack_server.rb" "test/test_tcp_logger.rb" "test/test_tcp_rack.rb" "test/test_thread_pool.rb" "test/test_unix_socket.rb" "test/test_web_server.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/puma returned exit code 1
make: *** [debian/rules:6: binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The failure is 100% reproducible in some of my autobuilders (where 3.11.3-1
used to build ok), so if you need a test machine to reproduce this,
please contact me privately and I will gladly provide ssh access.

I've pub a bunch of failed build logs here:

https://people.debian.org/~sanvila/build-logs/puma/

Thanks.



More information about the Pkg-ruby-extras-maintainers mailing list