Package: src:ruby-elasticsearch
Version: 7.17.11-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-elasticsearch, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=ruby --with ruby
   dh_auto_clean -O--buildsystem=ruby
        dh_ruby --clean
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
        dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
        dh_ruby --build
   dh_auto_test -O--buildsystem=ruby

[... snipped ...]

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-elasticsearch-transport: Install Rubygems integration metadata         
 │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at 
/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-transport/usr/share/rubygems-integration/all/specifications/elasticsearch-transport-7.17.11.gemspec
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rb                             
 │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-elasticsearch/usr/lib/ruby/vendor_ruby:/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-api/usr/lib/ruby/vendor_ruby:/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-transport/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-elasticsearch/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-api/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-transport/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0
 ruby3.3 debian/ruby-tests.rb
SKIP: 'transport_manticore_test.rb' only supported on JRuby (you're running 
ruby 3.3.8)
Started with run options --seed 13900

Elasticsearch::Transport::Transport::ResponseTest
  test:Response should force-encode the body into UTF.            PASS (0.00s)

Elasticsearch::Transport::Transport::Connections::ConnectionTest
  test:Connection should return right full url with path when path starts with 
/.  PASS (0.00s)
  test:Connection should return full path.                        PASS (0.00s)
  test:Connection should implement the equality operator.         PASS (0.00s)
  test:Connection should return full url with escaped credentials.  PASS (0.00s)
  test:Connection should return full url with path.               PASS (0.00s)
  test:Connection should not be dead by default.                  PASS (0.00s)
  test:Connection should be resurrected if timeout passed.        PASS (0.00s)
  test:Connection should be resurrected if timeout passed for multiple 
failures.  PASS (0.00s)
  test:Connection should be initialized with :host, :connection, and :options.  
PASS (0.00s)
  test:Connection should have a string representation.            PASS (0.00s)
  test:Connection should be healthy when marked.                  PASS (0.00s)
  test:Connection should be alive when marked.                    PASS (0.00s)
  test:Connection should be dead when marked.                     PASS (0.00s)
  test:Connection should return full url with credentials.        PASS (0.00s)
  test:Connection should return full url.                         PASS (0.00s)

Elasticsearch::Transport::Transport::BaseTest
  test:Transport::Base should have custom sniffer.                PASS (0.00s)
  test:Transport::Base when combining the URL should combine authentication 
credentials.  PASS (0.00s)
  test:getting a connection should increment the counter.         PASS (0.00s)
  test:performing a request should get the connection.            PASS (0.00s)
  test:performing a request with reload connections on connection failures 
should reload connections when host is unreachable.  PASS (0.00s)
  test:getting a connection should get a connection.              PASS (0.00s)
  test:logging should log the request and response.               PASS (0.00s)
  test:getting a connection should not reload connections by default.  PASS 
(0.10s)
  test:reloading connections should not duplicate connections.    PASS (0.00s)
  test:getting a connection should reload connections when it hits the 
threshold.  PASS (0.00s)
  test:Transport::Base should have default sniffer.               PASS (0.00s)
  test:resurrecting connections should not resurrect connections until timeout. 
 PASS (0.00s)
  test:performing a request should raise an error when no connection is 
available.  PASS (0.00s)
  test:performing a request should call the passed block.         PASS (0.00s)
  test:performing a request should raise an error when no block is passed.  
PASS (0.00s)
  test:rebuilding connections should close connections.           PASS (0.00s)
  test:Transport::Base should have default serializer.            PASS (0.00s)
  test:performing a request should not deserialize an empty response body.  
PASS (0.00s)
  test:Transport::Base should build connections on initialization.  PASS (0.00s)
  test:logging should not log a failed Elasticsearch request as fatal.  PASS 
(0.00s)
  test:performing a request should serialize non-String objects.  PASS (0.00s)
  test:performing a request should raise an error for HTTP status 404.  PASS 
(0.00s)
  test:tracing should trace a failed Elasticsearch request.       PASS (0.00s)
  test:performing a request should raise an error on connection failure.  PASS 
(0.00s)
  test:Transport::Base should have custom serializer.             PASS (0.00s)
  test:Transport::Base when combining the URL should escape the username and 
password.  PASS (0.00s)
  test:resurrecting connections should delegate to dead connections.  PASS 
(0.00s)
  test:errors should raise highest-level Error exception for any ServerError.  
PASS (0.00s)
  test:rebuilding connections should should replace the connections.  PASS 
(0.00s)
  test:performing a request with retry on connection failures should retry 
DEFAULT_MAX_RETRIES when host is unreachable.  PASS (0.00s)
  test:performing a request should not serialize a String object.  PASS (0.00s)
  test:performing a request should raise an error for HTTP status 404 with 
application/json content type.  PASS (0.00s)
  test:performing a request should mark the connection as dead on failure.  
PASS (0.00s)
  test:performing a request should not deserialize a response string body.  
PASS (0.00s)
  test:Transport::Base when combining the URL should combine path.  PASS (0.00s)
  test:logging should sanitize password in the URL.               PASS (0.00s)
  test:tracing should trace the request.                          PASS (0.00s)
F, [2026-02-26T16:27:42.125731 #293] FATAL -- : 
[Elasticsearch::Transport::Transport::Errors::InternalServerError] Cannot get 
response from  after 4 tries
  test:performing a request with retry on status should retry when the status 
code does match.  PASS (0.00s)
  test:performing a request should not raise an error when the :ignore argument 
has been passed.  PASS (0.00s)
  test:Transport::Base should raise exception when it doesn't implement 
__build_connection.  PASS (0.00s)
I, [2026-02-26T16:27:42.126568 #293]  INFO -- : GET  [status:400, 
request:0.000s, query:N/A]
D, [2026-02-26T16:27:42.126595 #293] DEBUG -- : < Bad Request
F, [2026-02-26T16:27:42.126659 #293] FATAL -- : [400] Bad Request
  test:performing a request with retry on status should not retry when the 
status code does not match.  PASS (0.00s)
  test:resurrecting connections should resurrect connections after timeout.  
PASS (0.00s)
  test:logging should log and re-raise a Ruby exception.          PASS (0.00s)
  test:Transport::Base when combining the URL should combine basic parts.  PASS 
(0.00s)
  test:reloading connections should rebuild connections.          PASS (0.00s)
  test:reloading connections should remove dead connections.      PASS (0.00s)
  test:getting a connection should not reload connections when the option is 
set to false.  PASS (0.08s)
  test:reloading connections should log error and continue when timing out 
while sniffing hosts.  PASS (0.00s)
  test:performing a request should deserialize a response JSON body.  PASS 
(0.00s)
  test:reloading connections should keep existing connections.    PASS (0.00s)
  test:performing a request with retry on connection failures should raise an 
error after max tries.  PASS (0.00s)
  test:resurrecting connections should mark connection healthy if it succeeds.  
PASS (0.00s)
  test:logging should log a failed Elasticsearch request as fatal.  PASS (0.00s)
  test:performing a request should raise an error on server failure.  PASS 
(0.00s)
  test:performing a request should raise TooManyRequestsError on 429.  PASS 
(0.00s)

Elasticsearch::Transport::Transport::ClientAdaptersUnitTest
  test:Adapters should use the default Faraday adapter.           PASS (0.00s)
  test:Adapters should use HTTPClient Faraday adapter.            PASS (0.00s)
  test:Adapters should use Typhoeus Faraday adapter.              PASS (0.01s)
  test:Adapters should use NetHttpPersistent Faraday adapter.     PASS (0.01s)
  test:Adapters should use Patron Faraday adapter.                PASS (0.01s)

Elasticsearch::Transport::Transport::SerializerTest
  test:Serializer should use MultiJson by default.                PASS (0.00s)

Elasticsearch::Transport::Transport::HTTP::FaradayTest
  test:Curb transport should perform the request.                 PASS (0.00s)
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require': cannot load such file -- faraday/httpclient (LoadError)
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:78:in 
`block (3 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:76:in `fork'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:76:in 
`block (2 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:83:in 
`instance_exec'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:83:in 
`block in create_test_from_should_hash'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:95:in
 `block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:191:in
 `capture_exceptions'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:90:in
 `block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:382:in 
`time_it'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:89:in
 `run'
        from /usr/lib/ruby/vendor_ruby/minitest/reporters.rb:48:in 
`run_with_hooks'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:1223:in
 `run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:462:in 
`run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:449:in 
`block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`each'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:487:in 
`on_signal'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:474:in 
`with_info_handler'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:444:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`block in __run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`map'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`__run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:301:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:85:in 
`block in autorun'
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require': cannot load such file -- faraday/typhoeus (LoadError)
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:52:in 
`block (3 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:50:in `fork'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:50:in 
`block (2 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:57:in 
`instance_exec'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:57:in 
`block in create_test_from_should_hash'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:95:in
 `block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:191:in
 `capture_exceptions'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:90:in
 `block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:382:in 
`time_it'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:89:in
 `run'
        from /usr/lib/ruby/vendor_ruby/minitest/reporters.rb:48:in 
`run_with_hooks'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:1223:in
 `run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:462:in 
`run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:449:in 
`block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`each'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:487:in 
`on_signal'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:474:in 
`with_info_handler'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:444:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`block in __run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`map'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`__run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:301:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:85:in 
`block in autorun'
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require': cannot load such file -- faraday/net_http_persistent (LoadError)
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:65:in 
`block (3 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:63:in `fork'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:63:in 
`block (2 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:70:in 
`instance_exec'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:70:in 
`block in create_test_from_should_hash'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:95:in
 `block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:191:in
 `capture_exceptions'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:90:in
 `block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:382:in 
`time_it'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:89:in
 `run'
        from /usr/lib/ruby/vendor_ruby/minitest/reporters.rb:48:in 
`run_with_hooks'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:1223:in
 `run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:462:in 
`run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:449:in 
`block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`each'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:487:in 
`on_signal'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:474:in 
`with_info_handler'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:444:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`block in __run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`map'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`__run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:301:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:85:in 
`block in autorun'
  test:Faraday transport should properly pass the Content-Type header option.  
PASS (0.03s)
  test:Curb transport should implement host_unreachable_exceptions.  PASS 
(0.00s)
  test:Faraday transport should not serialize a String request body.  PASS 
(0.00s)
  test:Curb transport should implement __build_connections.       PASS (0.00s)
  test:Faraday transport should override options credentials if passed 
explicitly.  PASS (0.00s)
  test:Curb transport should set body for PUT request.            PASS (0.01s)
  test:Curb transport should handle HTTP methods.                 PASS (0.00s)
  test:Faraday transport should override options scheme if passed explicitly.  
PASS (0.00s)
  test:Faraday transport should serialize the request body.      
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require': cannot load such file -- faraday/patron (LoadError)
        from 
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in 
`require'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:39:in 
`block (3 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:37:in `fork'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:37:in 
`block (2 levels) in <class:ClientAdaptersUnitTest>'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:44:in 
`instance_exec'
        from 
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/adapters_test.rb:44:in 
`block in create_test_from_should_hash'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:95:in
 `block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:191:in
 `capture_exceptions'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:90:in
 `block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:382:in 
`time_it'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest/test.rb:89:in
 `run'
        from /usr/lib/ruby/vendor_ruby/minitest/reporters.rb:48:in 
`run_with_hooks'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:1223:in
 `run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:462:in 
`run_one_method'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:449:in 
`block (2 levels) in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`each'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:445:in 
`block in run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:487:in 
`on_signal'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:474:in 
`with_info_handler'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:444:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`block in __run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`map'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:346:in 
`__run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:301:in 
`run'
        from 
/usr/share/rubygems-integration/all/gems/minitest-5.27.0/lib/minitest.rb:85:in 
`block in autorun'
 PASS (0.00s)
  test:Faraday transport should properly prepare the request with custom 
headers.  PASS (0.00s)
  test:Curb transport should allow to set options for Curb.       PASS (0.00s)
  test:Faraday transport should use global http configuration.    PASS (0.00s)
  test:Curb transport should set body for GET request.            PASS (0.00s)
  test:Curb transport should not serialize a String request body.  PASS (0.00s)
  test:Faraday transport should set connection scheme to https if it exist in 
options.  PASS (0.00s)
  test:Faraday transport should implement host_unreachable_exceptions.  PASS 
(0.00s)
  test:Faraday transport should perform the request.              PASS (0.00s)
  test:Faraday transport should pass transport_options to the Faraday 
constructor.  PASS (0.00s)
  test:Curb transport should set the credentials if passed.       PASS (0.00s)
  test:Curb transport should perform request with headers.        FAIL (0.00s)
        unexpected invocation: {"Content-Type" => "application/json", 
"User-Agent" => "elasticsearch-ruby/7.17.11 (RUBY_VERSION: 3.3.8; linux x86_64; 
Curb 1.2.2)"}.merge!({"Content-Type" => "application/x-ndjson"})
        unsatisfied expectations:
        - expected exactly once, invoked never: #<Curl::Easy:0x1658>.http(:POST)
        - expected exactly once, invoked never: {"Content-Type" => 
"application/json", "User-Agent" => "elasticsearch-ruby/7.17.11 (RUBY_VERSION: 
3.3.8; linux x86_64; Curb 1.2.2)"}.merge!("Content-Type" => 
"application/x-ndjson")
        satisfied expectations:
        - expected exactly once, invoked once: 
#<Curl::Easy:0x1658>.put_data=("{\"foo\":\"bar\"}")
        
/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-transport/usr/lib/ruby/vendor_ruby/elasticsearch/transport/transport/http/curb.rb:49:in
 `block in perform_request'
        
/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-transport/usr/lib/ruby/vendor_ruby/elasticsearch/transport/transport/base.rb:288:in
 `perform_request'
        
/<<PKGBUILDDIR>>/debian/ruby-elasticsearch-transport/usr/lib/ruby/vendor_ruby/elasticsearch/transport/transport/http/curb.rb:34:in
 `perform_request'
        
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/transport_curb_test.rb:62:in 
`block (2 levels) in <class:FaradayTest>'
        
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/transport_curb_test.rb:65:in 
`instance_exec'
        
/<<PKGBUILDDIR>>/elasticsearch-transport/test/unit/transport_curb_test.rb:65:in 
`block in create_test_from_should_hash'

  test:Faraday transport should pass the selector_class options to collection.  
PASS (0.00s)
  test:Curb transport should serialize the request body.          PASS (0.00s)
  test:Curb transport should set application/json response header.  PASS (0.00s)
  test:Faraday transport should set the credentials if they exist in options.  
PASS (0.00s)
  test:Faraday transport should not overwrite request parameters with the 
Faraday connection parameters.  PASS (0.00s)
  test:Curb transport should properly pass the Content-Type header option.  
PASS (0.00s)
  test:Faraday transport should properly prepare the request.     PASS (0.00s)
  test:Faraday transport should set connection scheme to https if passed.  PASS 
(0.00s)
  test:Faraday transport should implement __build_connections.    PASS (0.00s)
  test:Faraday transport should pass a configuration block to the Faraday 
constructor.  PASS (0.00s)
  test:Curb transport should use global http configuration.       PASS (0.00s)
  test:Faraday transport should pass the selector option to collection.  PASS 
(0.00s)
  test:Faraday transport should merge in parameters defined in the Faraday 
connection parameters.  PASS (0.00s)
  test:Faraday transport should set the credentials if passed.    PASS (0.00s)
  test:Faraday transport should return a Response.                PASS (0.00s)

Finished in 0.29857s
113 tests, 232 assertions, 1 failures, 0 errors, 0 skips
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 
/usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
        from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
        from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
        from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in 
`run_tests_for_version'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in 
run_tests'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57:in `install'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
        from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/tmp returned 
exit code 1
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to