[DRE-maint] Bug#1052721: ruby-xmlrpc: FTBFS: ERROR: Test "ruby3.1" failed.

Lucas Nussbaum lucas at debian.org
Tue Sep 26 13:40:58 BST 2023


Source: ruby-xmlrpc
Version: 0.3.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-xmlrpc/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"xmlrpc\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-xmlrpc/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-xmlrpc/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby3.1 -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_base64.rb" "test/test_client.rb" "test/test_cookie.rb" "test/test_datetime.rb" "test/test_features.rb" "test/test_marshal.rb" "test/test_parser.rb" "test/test_server.rb" "test/test_webrick_server.rb" "test/test_xmlrpc.rb"  -v
> Loaded suite /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader
> Started
> TestXMLRPC::TestCookie: 
>   test_cookie:						E
> ===============================================================================
> Error: test_cookie(TestXMLRPC::TestCookie): Errno::EADDRINUSE: Address already in use - listen(2)
> /usr/lib/ruby/3.1.0/socket.rb:710:in `listen'
> /usr/lib/ruby/3.1.0/socket.rb:710:in `block in tcp_server_sockets_port0'
> /usr/lib/ruby/3.1.0/socket.rb:709:in `each'
> /usr/lib/ruby/3.1.0/socket.rb:709:in `tcp_server_sockets_port0'
> /usr/lib/ruby/3.1.0/socket.rb:758:in `tcp_server_sockets'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/utils.rb:60:in `create_listeners'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/server.rb:130:in `listen'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/server.rb:111:in `initialize'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/httpserver.rb:47:in `initialize'
> /<<PKGBUILDDIR>>/test/webrick_testing.rb:31:in `new'
> /<<PKGBUILDDIR>>/test/webrick_testing.rb:31:in `start_server'
> /<<PKGBUILDDIR>>/test/webrick_testing.rb:58:in `with_server'
> /<<PKGBUILDDIR>>/test/test_cookie.rb:76:in `test_cookie'
>      73: 
>      74:   def test_cookie
>      75:     option = setup_http_server_option
>   => 76:     with_server(option, create_servlet) {|addr|
>      77:       begin
>      78:         @s = XMLRPC::Client.new3(:host => addr.ip_address, :port => addr.ip_port)
>      79:         do_test
> ===============================================================================
> : (0.002384)
> TestXMLRPC::TestXMLRPCServer: 
>   test_port:						.: (0.005861)
> TestXMLRPC::Test_Base64: 
>   test_equals:						.: (0.000379)
> TestXMLRPC::Test_DateTime: 
>   test_get_values:					.: (0.000249)
>   test_new:						.: (0.000109)
>   test_new_exception:					.: (0.000616)
>   test_set_exception:					.: (0.007272)
>   test_set_values:					.: (0.000207)
>   test_to_a:						.: (0.007151)
>   test_to_date1:					.: (0.000170)
>   test_to_date2:					.: (0.000094)
>   test_to_time1:					.: (0.004582)
>   test_to_time2:					.: (0.000182)
> TestXMLRPC::Test_Features: 
>   test_nil_create:					.: (0.002400)
>   test_nil_parse:					.: (0.002262)
> TestXMLRPC::Test_Marshal: 
>   test1_dump_call:					.: (0.000340)
>   test1_dump_response:					.: (0.000159)
>   test2_dump_load_call:					.: (0.001906)
>   test2_dump_load_response:				.: (0.001450)
>   test_no_params_tag:					.: (0.000133)
>   test_parser_invalid_values:				.: (0.000539)
>   test_parser_values:					.: (0.008626)
> TestXMLRPC::Test_REXMLStreamParser: 
>   test_cdata:						.: (0.005128)
>   test_dateTime:					.: (0.004212)
>   test_fault:						.: (0.005289)
>   test_fault_message:					.: (0.003621)
>   test_parseMethodCall:					.: (0.004276)
>   test_parseMethodResponse1:				.: (0.030333)
>   test_parseMethodResponse2:				.: (0.003976)
>   test_parseMethodResponse3:				.: (0.004058)
> TestXMLRPC::Test_Webrick: 
>   test_client_server:					E
> ===============================================================================
> Error: test_client_server(TestXMLRPC::Test_Webrick): Errno::EADDRINUSE: Address already in use - listen(2)
> /usr/lib/ruby/3.1.0/socket.rb:710:in `listen'
> /usr/lib/ruby/3.1.0/socket.rb:710:in `block in tcp_server_sockets_port0'
> /usr/lib/ruby/3.1.0/socket.rb:709:in `each'
> /usr/lib/ruby/3.1.0/socket.rb:709:in `tcp_server_sockets_port0'
> /usr/lib/ruby/3.1.0/socket.rb:758:in `tcp_server_sockets'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/utils.rb:60:in `create_listeners'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/server.rb:130:in `listen'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/server.rb:111:in `initialize'
> /usr/share/rubygems-integration/all/gems/webrick-1.8.1/lib/webrick/httpserver.rb:47:in `initialize'
> /<<PKGBUILDDIR>>/test/webrick_testing.rb:31:in `new'
> /<<PKGBUILDDIR>>/test/webrick_testing.rb:31:in `start_server'
> /<<PKGBUILDDIR>>/test/webrick_testing.rb:58:in `with_server'
> /<<PKGBUILDDIR>>/test/test_webrick_server.rb:72:in `block in test_client_server'
>      69:     # NOTE: I don't enable SSL testing as this hangs
>      70:     [false].each do |use_ssl|
>      71:       option = setup_http_server_option(use_ssl)
>   => 72:       with_server(option, method(:create_servlet)) {|addr|
>      73:         @s = XMLRPC::Client.new3(:host => addr.ip_address, :port => addr.ip_port, :use_ssl => use_ssl)
>      74:         @s.user = 'admin'
>      75:         @s.password = 'admin'
> /<<PKGBUILDDIR>>/test/test_webrick_server.rb:70:in `each'
> /<<PKGBUILDDIR>>/test/test_webrick_server.rb:70:in `test_client_server'
> ===============================================================================
> : (0.001922)
> XMLRPC::ClientTest: 
>   test_application_xml_content_type:			.: (0.001854)
>   test_async_request:					.: (0.001680)
>   test_bad_content_type:				.: (0.001485)
>   test_cookie_override:					.: (0.000262)
>   test_cookie_simple:					.: (0.000191)
>   test_i8_tag:						.: (0.001451)
>   test_new2_bad_protocol:				.: (0.000244)
>   test_new2_bad_uri:					.: (0.000174)
>   test_new2_custom_port:				.: (0.000210)
>   test_new2_host_path_port:				.: (0.000336)
>   test_new2_no_path:					.: (0.000184)
>   test_new2_path_with_query:				.: (0.000195)
>   test_new2_proxy_host:					.: (0.000177)
>   test_new2_proxy_port:					.: (0.000177)
>   test_new2_slash_path:					.: (0.000176)
>   test_new2_ssl:					.: (0.000537)
>   test_new2_ssl_custom_port:				.: (0.000235)
>   test_new2_user_password:				.: (0.000329)
>   test_no_data:						.: (0.000393)
>   test_request:						.: (0.001557)
> XmlrpcTest: 
>   test_that_it_has_a_version_number:			.: (0.000218)
> 
> Finished in 0.126364252 seconds.
> -------------------------------------------------------------------------------
> 52 tests, 214 assertions, 0 failures, 2 errors, 0 pendings, 0 omissions, 0 notifications
> 96.1538% passed
> -------------------------------------------------------------------------------
> 411.51 tests/s, 1693.52 assertions/s
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_base64.rb" "test/test_client.rb" "test/test_cookie.rb" "test/test_datetime.rb" "test/test_features.rb" "test/test_marshal.rb" "test/test_parser.rb" "test/test_server.rb" "test/test_webrick_server.rb" "test/test_xmlrpc.rb"  -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed.


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/ruby-xmlrpc_0.3.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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