Source: ruby-influxdb
Version: 0.8.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-influxdb was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>       Failure/Error: specify { expect(conf.proxy_port).to eq(8080) }
> 
>         expected: 8080
>              got: nil
> 
>         (compared using ==)
>       # ./spec/influxdb/config_spec.rb:225:in `block (3 levels) in <top 
> (required)>'
> 
> Finished in 0.63051 seconds (files took 1.34 seconds to load)
> 190 examples, 71 failures
> 
> Failed examples:
> 
> rspec ./spec/influxdb/cases/query_batch_spec.rb:98 # 
> InfluxDB::Client#batch.execute with multiple queries when there is no data 
> for a query should return responses for all statements
> rspec ./spec/influxdb/cases/query_batch_spec.rb:143 # 
> InfluxDB::Client#batch.execute with a group by tag query should return a 
> single result
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:29 # 
> InfluxDB::Client#create_cluster_admin with existing admin user should GET to 
> create a new cluster admin
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:43 # 
> InfluxDB::Client#create_cluster_admin with no admin user should GET to create 
> a new cluster admin
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:63 # 
> InfluxDB::Client#list_cluster_admins should GET a list of cluster admins
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:78 # 
> InfluxDB::Client#revoke_cluster_admin_privileges should GET to revoke cluster 
> admin privileges from a user
> rspec ./spec/influxdb/cases/query_core_spec.rb:29 # InfluxDB::Client#query 
> should handle responses with no values
> rspec ./spec/influxdb/cases/query_series_spec.rb:31 # InfluxDB::Client GET 
> #list_series returns a list of all series names
> rspec ./spec/influxdb/cases/query_series_spec.rb:46 # InfluxDB::Client GET 
> empty #list_series returns a empty list
> rspec ./spec/influxdb/cases/query_series_spec.rb:61 # 
> InfluxDB::Client#delete_series without a where clause should GET to remove a 
> database
> rspec ./spec/influxdb/cases/query_series_spec.rb:75 # 
> InfluxDB::Client#delete_series with a where clause should GET to remove a 
> database
> rspec ./spec/influxdb/cases/query_with_params_spec.rb:31 # 
> InfluxDB::Client#query with parameters should handle responses with no values
> rspec ./spec/influxdb/cases/querying_issue_7000_spec.rb:54 # 
> InfluxDB::Client#query with series with different tags (multi-line) should 
> return array with 2 elements grouped by tags
> rspec ./spec/influxdb/cases/querying_issue_7000_spec.rb:110 # 
> InfluxDB::Client#query with multiple series with different tags should return 
> array with 4 elements grouped by name and tags
> rspec ./spec/influxdb/cases/querying_spec.rb:41 # InfluxDB::Client#query with 
> single series with multiple points should return array with single hash 
> containing multiple values
> rspec ./spec/influxdb/cases/querying_spec.rb:69 # InfluxDB::Client#query with 
> series with different tags should return array with 2 elements grouped by tags
> rspec ./spec/influxdb/cases/querying_spec.rb:110 # InfluxDB::Client#query 
> with multiple series with different tags should return array with 4 elements 
> grouped by name and tags
> rspec ./spec/influxdb/cases/querying_spec.rb:135 # InfluxDB::Client#query 
> with multiple series for explicit value only should return array with 2 
> elements grouped by name only and no tags
> rspec ./spec/influxdb/cases/querying_spec.rb:164 # InfluxDB::Client#query 
> with a block should accept a block and yield name, tags and points
> rspec ./spec/influxdb/cases/querying_spec.rb:199 # InfluxDB::Client#query 
> with epoch set to seconds should return results with integer timestamp
> rspec ./spec/influxdb/cases/querying_spec.rb:222 # InfluxDB::Client#query 
> with chunk_size set to 100 should set 'chunked' and 'chunk_size' parameters
> rspec ./spec/influxdb/cases/querying_spec.rb:243 # InfluxDB::Client#query 
> with database should return array with single hash containing multiple values
> rspec ./spec/influxdb/cases/querying_spec.rb:275 # InfluxDB::Client multiple 
> select queries with single series with multiple points should return array 
> with single hash containing multiple values
> rspec ./spec/influxdb/cases/querying_spec.rb:319 # InfluxDB::Client multiple 
> select queries with series with different tags should return array with 2 
> elements grouped by tags
> rspec ./spec/influxdb/cases/querying_spec.rb:364 # InfluxDB::Client multiple 
> select queries with a block should accept a block and yield name, tags and 
> points
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:43 # InfluxDB::Client 
> retrying requests raises when stopped
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:94 # InfluxDB::Client 
> retrying requests raise an exception if the server didn't return 200
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:53 # InfluxDB::Client 
> retrying requests when retry is 0 raise error directly
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:64 # InfluxDB::Client 
> retrying requests when retry is 'n' raise error after 'n' attemps
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:88 # InfluxDB::Client 
> retrying requests when retry is -1 keep trying until get the connection
> rspec ./spec/influxdb/cases/show_field_keys_spec.rb:57 # 
> InfluxDB::Client#show_field_keys should GET a list of field/type pairs per 
> measurement
> rspec ./spec/influxdb/client_spec.rb:20 # InfluxDB::Client 
> rspec ./spec/influxdb/client_spec.rb:31 # InfluxDB::Client with basic auth GET
> rspec ./spec/influxdb/client_spec.rb:36 # InfluxDB::Client with basic auth 
> POST
> rspec ./spec/influxdb/client_spec.rb:43 # InfluxDB::Client#full_url returns 
> String
> rspec ./spec/influxdb/client_spec.rb:47 # InfluxDB::Client#full_url escapes 
> params
> rspec ./spec/influxdb/client_spec.rb:57 # InfluxDB::Client#full_url with 
> prefix returns path with prefix
> rspec ./spec/influxdb/client_spec.rb:64 # InfluxDB::Client GET #ping returns 
> OK
> rspec ./spec/influxdb/client_spec.rb:74 # InfluxDB::Client GET #ping with 
> prefix returns OK with prefix
> rspec ./spec/influxdb/client_spec.rb:84 # InfluxDB::Client GET #version 
> returns 1.1.1
> rspec ./spec/influxdb/client_spec.rb:94 # InfluxDB::Client GET #version with 
> prefix returns 1.1.1 with prefix
> rspec ./spec/influxdb/client_spec.rb:117 # InfluxDB::Client Load balancing 
> balance requests
> rspec ./spec/influxdb/config_spec.rb:39 # InfluxDB::Config with no database 
> specified is expected to eq ["host"]
> rspec ./spec/influxdb/config_spec.rb:40 # InfluxDB::Config with no database 
> specified is expected to eq "port"
> rspec ./spec/influxdb/config_spec.rb:41 # InfluxDB::Config with no database 
> specified is expected to eq "username"
> rspec ./spec/influxdb/config_spec.rb:42 # InfluxDB::Config with no database 
> specified is expected to eq "password"
> rspec ./spec/influxdb/config_spec.rb:43 # InfluxDB::Config with no database 
> specified is expected to eq "m"
> rspec ./spec/influxdb/config_spec.rb:59 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:60 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:61 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:62 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:63 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:64 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:65 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:76 # InfluxDB::Config with ssl option 
> specified is expected to be truthy
> rspec ./spec/influxdb/config_spec.rb:86 # InfluxDB::Config with multiple 
> hosts specified is expected to eq ["1.1.1.1", "2.2.2.2"]
> rspec ./spec/influxdb/config_spec.rb:97 # InfluxDB::Config with auth_method 
> basic auth specified is expected to eq "basic_auth"
> rspec ./spec/influxdb/config_spec.rb:103 # InfluxDB::Config with udp 
> specified with params is expected to be udp
> rspec ./spec/influxdb/config_spec.rb:109 # InfluxDB::Config with udp 
> specified as true is expected to be udp
> rspec ./spec/influxdb/config_spec.rb:115 # InfluxDB::Config with async 
> specified with params is expected to be async
> rspec ./spec/influxdb/config_spec.rb:121 # InfluxDB::Config with async 
> specified as true is expected to be async
> rspec ./spec/influxdb/config_spec.rb:127 # InfluxDB::Config with epoch 
> specified as seconds is expected to eq "s"
> rspec ./spec/influxdb/config_spec.rb:134 # InfluxDB::Config given a config 
> URL applies values found in URL
> rspec ./spec/influxdb/config_spec.rb:163 # InfluxDB::Config given a config 
> URL UDP is expected to be udp
> rspec ./spec/influxdb/config_spec.rb:164 # InfluxDB::Config given a config 
> URL UDP 
> rspec ./spec/influxdb/config_spec.rb:165 # InfluxDB::Config given a config 
> URL UDP is expected to equal true
> rspec ./spec/influxdb/config_spec.rb:180 # InfluxDB::Config given a config 
> URL and explicit options applies values found in URL
> rspec ./spec/influxdb/config_spec.rb:189 # InfluxDB::Config given a config 
> URL and explicit options applies values found in opts hash
> rspec ./spec/influxdb/config_spec.rb:195 # InfluxDB::Config given a config 
> URL and explicit options applies defaults
> rspec ./spec/influxdb/config_spec.rb:224 # InfluxDB::Config given explicit 
> proxy information is expected to eq "my.proxy.addr"
> rspec ./spec/influxdb/config_spec.rb:225 # InfluxDB::Config given explicit 
> proxy information is expected to eq 8080
> 
> Finished in 0.63051 seconds (files took 1.34 seconds to load)
> 190 examples, 71 failures
> 
> Failed examples:
> 
> rspec ./spec/influxdb/cases/query_batch_spec.rb:98 # 
> InfluxDB::Client#batch.execute with multiple queries when there is no data 
> for a query should return responses for all statements
> rspec ./spec/influxdb/cases/query_batch_spec.rb:143 # 
> InfluxDB::Client#batch.execute with a group by tag query should return a 
> single result
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:29 # 
> InfluxDB::Client#create_cluster_admin with existing admin user should GET to 
> create a new cluster admin
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:43 # 
> InfluxDB::Client#create_cluster_admin with no admin user should GET to create 
> a new cluster admin
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:63 # 
> InfluxDB::Client#list_cluster_admins should GET a list of cluster admins
> rspec ./spec/influxdb/cases/query_cluster_spec.rb:78 # 
> InfluxDB::Client#revoke_cluster_admin_privileges should GET to revoke cluster 
> admin privileges from a user
> rspec ./spec/influxdb/cases/query_core_spec.rb:29 # InfluxDB::Client#query 
> should handle responses with no values
> rspec ./spec/influxdb/cases/query_series_spec.rb:31 # InfluxDB::Client GET 
> #list_series returns a list of all series names
> rspec ./spec/influxdb/cases/query_series_spec.rb:46 # InfluxDB::Client GET 
> empty #list_series returns a empty list
> rspec ./spec/influxdb/cases/query_series_spec.rb:61 # 
> InfluxDB::Client#delete_series without a where clause should GET to remove a 
> database
> rspec ./spec/influxdb/cases/query_series_spec.rb:75 # 
> InfluxDB::Client#delete_series with a where clause should GET to remove a 
> database
> rspec ./spec/influxdb/cases/query_with_params_spec.rb:31 # 
> InfluxDB::Client#query with parameters should handle responses with no values
> rspec ./spec/influxdb/cases/querying_issue_7000_spec.rb:54 # 
> InfluxDB::Client#query with series with different tags (multi-line) should 
> return array with 2 elements grouped by tags
> rspec ./spec/influxdb/cases/querying_issue_7000_spec.rb:110 # 
> InfluxDB::Client#query with multiple series with different tags should return 
> array with 4 elements grouped by name and tags
> rspec ./spec/influxdb/cases/querying_spec.rb:41 # InfluxDB::Client#query with 
> single series with multiple points should return array with single hash 
> containing multiple values
> rspec ./spec/influxdb/cases/querying_spec.rb:69 # InfluxDB::Client#query with 
> series with different tags should return array with 2 elements grouped by tags
> rspec ./spec/influxdb/cases/querying_spec.rb:110 # InfluxDB::Client#query 
> with multiple series with different tags should return array with 4 elements 
> grouped by name and tags
> rspec ./spec/influxdb/cases/querying_spec.rb:135 # InfluxDB::Client#query 
> with multiple series for explicit value only should return array with 2 
> elements grouped by name only and no tags
> rspec ./spec/influxdb/cases/querying_spec.rb:164 # InfluxDB::Client#query 
> with a block should accept a block and yield name, tags and points
> rspec ./spec/influxdb/cases/querying_spec.rb:199 # InfluxDB::Client#query 
> with epoch set to seconds should return results with integer timestamp
> rspec ./spec/influxdb/cases/querying_spec.rb:222 # InfluxDB::Client#query 
> with chunk_size set to 100 should set 'chunked' and 'chunk_size' parameters
> rspec ./spec/influxdb/cases/querying_spec.rb:243 # InfluxDB::Client#query 
> with database should return array with single hash containing multiple values
> rspec ./spec/influxdb/cases/querying_spec.rb:275 # InfluxDB::Client multiple 
> select queries with single series with multiple points should return array 
> with single hash containing multiple values
> rspec ./spec/influxdb/cases/querying_spec.rb:319 # InfluxDB::Client multiple 
> select queries with series with different tags should return array with 2 
> elements grouped by tags
> rspec ./spec/influxdb/cases/querying_spec.rb:364 # InfluxDB::Client multiple 
> select queries with a block should accept a block and yield name, tags and 
> points
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:43 # InfluxDB::Client 
> retrying requests raises when stopped
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:94 # InfluxDB::Client 
> retrying requests raise an exception if the server didn't return 200
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:53 # InfluxDB::Client 
> retrying requests when retry is 0 raise error directly
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:64 # InfluxDB::Client 
> retrying requests when retry is 'n' raise error after 'n' attemps
> rspec ./spec/influxdb/cases/retry_requests_spec.rb:88 # InfluxDB::Client 
> retrying requests when retry is -1 keep trying until get the connection
> rspec ./spec/influxdb/cases/show_field_keys_spec.rb:57 # 
> InfluxDB::Client#show_field_keys should GET a list of field/type pairs per 
> measurement
> rspec ./spec/influxdb/client_spec.rb:20 # InfluxDB::Client 
> rspec ./spec/influxdb/client_spec.rb:31 # InfluxDB::Client with basic auth GET
> rspec ./spec/influxdb/client_spec.rb:36 # InfluxDB::Client with basic auth 
> POST
> rspec ./spec/influxdb/client_spec.rb:43 # InfluxDB::Client#full_url returns 
> String
> rspec ./spec/influxdb/client_spec.rb:47 # InfluxDB::Client#full_url escapes 
> params
> rspec ./spec/influxdb/client_spec.rb:57 # InfluxDB::Client#full_url with 
> prefix returns path with prefix
> rspec ./spec/influxdb/client_spec.rb:64 # InfluxDB::Client GET #ping returns 
> OK
> rspec ./spec/influxdb/client_spec.rb:74 # InfluxDB::Client GET #ping with 
> prefix returns OK with prefix
> rspec ./spec/influxdb/client_spec.rb:84 # InfluxDB::Client GET #version 
> returns 1.1.1
> rspec ./spec/influxdb/client_spec.rb:94 # InfluxDB::Client GET #version with 
> prefix returns 1.1.1 with prefix
> rspec ./spec/influxdb/client_spec.rb:117 # InfluxDB::Client Load balancing 
> balance requests
> rspec ./spec/influxdb/config_spec.rb:39 # InfluxDB::Config with no database 
> specified is expected to eq ["host"]
> rspec ./spec/influxdb/config_spec.rb:40 # InfluxDB::Config with no database 
> specified is expected to eq "port"
> rspec ./spec/influxdb/config_spec.rb:41 # InfluxDB::Config with no database 
> specified is expected to eq "username"
> rspec ./spec/influxdb/config_spec.rb:42 # InfluxDB::Config with no database 
> specified is expected to eq "password"
> rspec ./spec/influxdb/config_spec.rb:43 # InfluxDB::Config with no database 
> specified is expected to eq "m"
> rspec ./spec/influxdb/config_spec.rb:59 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:60 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:61 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:62 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:63 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:64 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:65 # InfluxDB::Config with both a 
> database and options specified 
> rspec ./spec/influxdb/config_spec.rb:76 # InfluxDB::Config with ssl option 
> specified is expected to be truthy
> rspec ./spec/influxdb/config_spec.rb:86 # InfluxDB::Config with multiple 
> hosts specified is expected to eq ["1.1.1.1", "2.2.2.2"]
> rspec ./spec/influxdb/config_spec.rb:97 # InfluxDB::Config with auth_method 
> basic auth specified is expected to eq "basic_auth"
> rspec ./spec/influxdb/config_spec.rb:103 # InfluxDB::Config with udp 
> specified with params is expected to be udp
> rspec ./spec/influxdb/config_spec.rb:109 # InfluxDB::Config with udp 
> specified as true is expected to be udp
> rspec ./spec/influxdb/config_spec.rb:115 # InfluxDB::Config with async 
> specified with params is expected to be async
> rspec ./spec/influxdb/config_spec.rb:121 # InfluxDB::Config with async 
> specified as true is expected to be async
> rspec ./spec/influxdb/config_spec.rb:127 # InfluxDB::Config with epoch 
> specified as seconds is expected to eq "s"
> rspec ./spec/influxdb/config_spec.rb:134 # InfluxDB::Config given a config 
> URL applies values found in URL
> rspec ./spec/influxdb/config_spec.rb:163 # InfluxDB::Config given a config 
> URL UDP is expected to be udp
> rspec ./spec/influxdb/config_spec.rb:164 # InfluxDB::Config given a config 
> URL UDP 
> rspec ./spec/influxdb/config_spec.rb:165 # InfluxDB::Config given a config 
> URL UDP is expected to equal true
> rspec ./spec/influxdb/config_spec.rb:180 # InfluxDB::Config given a config 
> URL and explicit options applies values found in URL
> rspec ./spec/influxdb/config_spec.rb:189 # InfluxDB::Config given a config 
> URL and explicit options applies values found in opts hash
> rspec ./spec/influxdb/config_spec.rb:195 # InfluxDB::Config given a config 
> URL and explicit options applies defaults
> rspec ./spec/influxdb/config_spec.rb:224 # InfluxDB::Config given explicit 
> proxy information is expected to eq "my.proxy.addr"
> rspec ./spec/influxdb/config_spec.rb:225 # InfluxDB::Config given explicit 
> proxy information is expected to eq 8080
> 
> 
> /usr/bin/ruby3.0 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec 
> ./spec/influxdb/cases/query_batch_spec.rb 
> ./spec/influxdb/cases/query_cluster_spec.rb 
> ./spec/influxdb/cases/query_continuous_query_spec.rb 
> ./spec/influxdb/cases/query_core_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_spec.rb 
> ./spec/influxdb/cases/query_user_spec.rb 
> ./spec/influxdb/cases/query_with_params_spec.rb 
> ./spec/influxdb/cases/querying_issue_7000_spec.rb 
> ./spec/influxdb/cases/querying_spec.rb 
> ./spec/influxdb/cases/retry_requests_spec.rb 
> ./spec/influxdb/cases/show_field_keys_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/query_builder_spec.rb ./spec/influxdb/time_conversion_spec.rb 
> ./spec/influxdb/worker_spec.rb ./spec/smoke/smoke_batch_spec.rb 
> ./spec/smoke/smoke_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-influxdb/ruby-influxdb_0.8.0-1+rebuild1633383387_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to