[DRE-maint] Bug#867645: ruby-influxdb: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: http.request(req)

Lucas Nussbaum lucas at debian.org
Sat Jul 8 06:27:50 UTC 2017


Source: ruby-influxdb
Version: 0.2.3-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170707 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
>      Failure/Error: http.request(req)
> 
>      WebMock::NetConnectNotAllowedError:
>        Real HTTP connections are disabled. Unregistered request: POST http://influxdb.test:9999/ with body '{}' with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic dXNlcm5hbWU6cGFzc3dvcmQ=', 'Content-Type'=>'application/octet-stream', 'User-Agent'=>'Ruby'}
> 
>        You can stub this request with the following snippet:
> 
>        stub_request(:post, "http://influxdb.test:9999/").
>          with(body: {},
>               headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic dXNlcm5hbWU6cGFzc3dvcmQ=', 'Content-Type'=>'application/octet-stream', 'User-Agent'=>'Ruby'}).
>          to_return(status: 200, body: "", headers: {})
> 
>        registered request stubs:
> 
>        stub_request(:post, "http://username:password@influxdb.test:9999/")
> 
>        ============================================================
>      # ./lib/influxdb/client/http.rb:72:in `do_request'
>      # ./lib/influxdb/client/http.rb:26:in `block in post'
>      # ./lib/influxdb/client/http.rb:52:in `connect_with_retry'
>      # ./lib/influxdb/client/http.rb:25:in `post'
>      # ./spec/influxdb/client_spec.rb:35:in `block (3 levels) in <top (required)>'
> 
> Finished in 0.17528 seconds (files took 0.65682 seconds to load)
> 117 examples, 2 failures
> 
> Failed examples:
> 
> rspec ./spec/influxdb/client_spec.rb:28 # InfluxDB::Client with basic auth GET
> rspec ./spec/influxdb/client_spec.rb:33 # InfluxDB::Client with basic auth POST
> 
> /usr/bin/ruby2.3 /usr/bin/rspec ./spec/influxdb/cases/query_cluster_spec.rb ./spec/influxdb/cases/query_continuous_query_spec.rb ./spec/influxdb/cases/query_database_spec.rb ./spec/influxdb/cases/query_retention_policy_spec.rb ./spec/influxdb/cases/query_series_spec.rb ./spec/influxdb/cases/query_shard_space_spec.rb ./spec/influxdb/cases/query_shard_spec.rb ./spec/influxdb/cases/query_user_spec.rb ./spec/influxdb/cases/querying_spec.rb ./spec/influxdb/cases/retry_requests_spec.rb ./spec/influxdb/cases/udp_client_spec.rb ./spec/influxdb/cases/write_points_spec.rb ./spec/influxdb/client_spec.rb ./spec/influxdb/config_spec.rb ./spec/influxdb/logging_spec.rb ./spec/influxdb/max_queue_spec.rb ./spec/influxdb/point_value_spec.rb ./spec/influxdb/worker_spec.rb --format documentation failed
> ERROR: Test "ruby2.3" failed: 

The full build log is available from:
   http://aws-logs.debian.net/2017/07/07/ruby-influxdb_0.2.3-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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