Package: src:ruby-influxdb Version: 0.8.1-2 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] 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 dh_ruby --test create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-influxdb/ -O--buildsystem=ruby dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-influxdb /usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240723-1309808-epg740/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: influxdb Version: 0.8.1 File: influxdb-0.8.1.gem /usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-influxdb/usr/share/rubygems-integration/all /tmp/d20240723-1309808-epg740/influxdb-0.8.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/client.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/client/http.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/config.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/errors.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/logging.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/max_queue.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/point_value.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/batch.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/builder.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/cluster.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/continuous_query.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/core.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/database.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/measurement.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/retention_policy.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/series.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/query/user.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/timestamp_conversion.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/version.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/writer/async.rb /<<PKGBUILDDIR>>/debian/ruby-influxdb/usr/share/rubygems-integration/all/gems/influxdb-0.8.1/lib/influxdb/writer/udp.rb Successfully installed influxdb-0.8.1 1 gem installed cd debian/ruby-influxdb/usr/share/rubygems-integration/all rm -rf bin rm -rf build_info rm -rf cache rm -rf doc rm -rf extensions rmdir plugins cd gems/influxdb-0.8.1 rm -f chmod 644 lib/influxdb/client/http.rb lib/influxdb/client.rb lib/influxdb/config.rb lib/influxdb/errors.rb lib/influxdb/logging.rb lib/influxdb/max_queue.rb lib/influxdb/point_value.rb lib/influxdb/query/batch.rb lib/influxdb/query/builder.rb lib/influxdb/query/cluster.rb lib/influxdb/query/continuous_query.rb lib/influxdb/query/core.rb lib/influxdb/query/database.rb lib/influxdb/query/measurement.rb lib/influxdb/query/retention_policy.rb lib/influxdb/query/series.rb lib/influxdb/query/user.rb lib/influxdb/timestamp_conversion.rb lib/influxdb/version.rb lib/influxdb/writer/async.rb lib/influxdb/writer/udp.rb lib/influxdb.rb find lib/ -type d -empty -delete cd - cd - dh_installchangelogs -pruby-influxdb /<<PKGBUILDDIR>>/CHANGELOG.md upstream /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby3.1 │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-influxdb/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\ \"influxdb\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby3.1 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-influxdb/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 --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/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 SMOKE TESTS ARE NOT CURRENTLY RUNNING Run options: exclude {:smoke=>true} Run options: exclude {:smoke=>true} InfluxDB::Client #batch is expected to be a kind of InfluxDB::Query::Batch . #execute is expected to eq [] . #add returns statement id . block form returns statement id . #batch.execute with multiple queries when there is no data for a query should return responses for all statements . with a group by tag query should return a single result . InfluxDB::Client #create_cluster_admin with existing admin user should GET to create a new cluster admin . with no admin user should GET to create a new cluster admin . #list_cluster_admins should GET a list of cluster admins . #revoke_cluster_admin_privileges should GET to revoke cluster admin privileges from a user . InfluxDB::Client #list_continuous_queries should GET a list of continuous queries for specified db only . #create_continuous_query without resampling should GET to create a new continuous query . with resampling EVERY <interval> should GET to create a new continuous query . FOR <interval> should GET to create a new continuous query . EVERY <interval> FOR <interval> should GET to create a new continuous query . #delete_continuous_query should GET to remove continuous query . InfluxDB::Client #query should handle responses with no values . InfluxDB::Client #create_database from param should GET to create a new database . from config should GET to create a new database using database name from config . #delete_database from param should GET to remove a database . from config should GET to remove a database using database name from config . #list_databases should GET a list of databases . InfluxDB::Client #list_retention_policies database with RPs should GET a list of retention policies . database without RPs should GET a list of retention policies . #create_retention_policy default should GET to create a new database . non-default should GET to create a new database . default_with_shard_duration should GET to create a new database . non-default_with_shard_duration should GET to create a new database . #delete_retention_policy should GET to remove a database . #alter_retention_policy default should GET to alter a new database . non-default should GET to alter a new database . default_with_shard_duration should GET to alter a new database . non-default_with_shard_duration should GET to alter a new database . InfluxDB::Client GET #list_series returns a list of all series names . GET empty #list_series returns a empty list . #delete_series without a where clause should GET to remove a database . with a where clause should GET to remove a database . InfluxDB::Client #update user password should GET to update user password . #grant_user_privileges should GET to grant privileges for a user on a database . #grant_user_admin_privileges should GET to grant privileges for a user on a database . #revoke_user_privileges should GET to revoke privileges from a user on a database . #create_database_user without specifying permissions should GET to create a new database user with all permissions . with passing permission as argument should GET to create a new database user with permission set . #delete_user should GET to delete a user . #list_users should GET a list of database users . #list_user_grants should GET for a user . InfluxDB::Client #query with parameters should handle responses with no values . #query_with_params with empty params hash is expected to raise ArgumentError . with empty params array is expected to raise ArgumentError . with empty params is expected to raise ArgumentError . with simple params is expected to eq "select * from foo where bar > 42" . string escaping is expected to eq "select * from foo where bar > 'string'" . InfluxDB::Client #query with series with different tags (multi-line) should return array with 2 elements grouped by tags . with multiple series with different tags should return array with 4 elements grouped by name and tags . InfluxDB::Client #query with single series with multiple points should return array with single hash containing multiple values . with series with different tags should return array with 2 elements grouped by tags . with multiple series with different tags should return array with 4 elements grouped by name and tags . with multiple series for explicit value only should return array with 2 elements grouped by name only and no tags . with a block should accept a block and yield name, tags and points . with epoch set to seconds should return results with integer timestamp . with chunk_size set to 100 should set 'chunked' and 'chunk_size' parameters . with database should return array with single hash containing multiple values . multiple select queries with single series with multiple points should return array with single hash containing multiple values . with series with different tags should return array with 2 elements grouped by tags . with a block should accept a block and yield name, tags and points . InfluxDB::Client retrying requests raises when stopped . raise an exception if the server didn't return 200 . when retry is 0 raise error directly . when retry is 'n' raise error after 'n' attemps . when retry is -1 keep trying until get the connection . InfluxDB::Client #show_field_keys should GET a list of field/type pairs per measurement . InfluxDB::Client is expected to be a kind of InfluxDB::Writer::UDP . #write sends a UDP packet . #write with discard_write_errors doesn't raise . InfluxDB::Client #write_point should POST to add single point . should not mutate data object . #write_points with multiple series should POST multiple points . with no tags should POST multiple points . with time precision set to milisceconds should POST multiple points . with retention policy should POST multiple points . with database should POST multiple points . InfluxDB::Client is expected not to be stopped . with basic auth GET (FAILED - 1) F POST (FAILED - 2) F #full_url returns String . escapes params . with prefix returns path with prefix . GET #ping returns OK . with prefix returns OK with prefix . GET #version returns 1.1.1 . with prefix returns 1.1.1 with prefix . Load balancing balance requests . InfluxDB::Config with no parameters specified is expected to be nil . is expected to eq ["localhost"] . is expected to eq 8086 . is expected to eq "root" . is expected to eq "root" . is expected to be falsey . is expected to eq "s" . is expected to eq "params" . is expected to be truthy . is expected not to be udp . is expected not to be async . is expected to be falsey . is expected to be nil . is expected to be nil . with no database specified is expected to be nil . is expected to eq ["host"] . is expected to eq "port" . is expected to eq "username" . is expected to eq "password" . is expected to eq "m" . is expected to be falsey . with both a database and options specified is expected to eq "database" . is expected to eq ["host"] . is expected to eq "port" . is expected to eq "username" . is expected to eq "password" . is expected to eq "m" . is expected to be falsey . with ssl option specified is expected to be nil . is expected to eq ["localhost"] . is expected to eq 8086 . is expected to eq "root" . is expected to eq "root" . is expected to be truthy . with multiple hosts specified is expected to be nil . is expected to eq 8086 . is expected to eq "root" . is expected to eq "root" . is expected to eq ["1.1.1.1", "2.2.2.2"] . with auth_method basic auth specified is expected to be nil . is expected to eq ["localhost"] . is expected to eq 8086 . is expected to eq "root" . is expected to eq "root" . is expected to eq "basic_auth" . with udp specified with params is expected to be udp . with udp specified as true is expected to be udp . with async specified with params is expected to be async . with async specified as true is expected to be async . with epoch specified as seconds is expected to eq "s" . given a config URL applies values found in URL . applies defaults . with encoded values decode encoded values . UDP is expected to be udp . is expected to equal 2345 . is expected to equal true . given a config URL and explicit options applies values found in URL . applies values found in opts hash . applies defaults . given explicit proxy information is expected to eq "my.proxy.addr" . is expected to eq 8080 . InfluxDB::Logging has a default logger . allows setting of a logger . allows disabling of a logger . when logging is disabled does not log . when included in classes logs with string message . logs with block message . InfluxDB::MaxQueue is expected to be a kind of Thread::Queue . #new allows max_depth to be set . #push allows an item to be added if the queue is not full . doesn't allow items to be added if the queue is full . InfluxDB::PointValue escaping should escape correctly . with empty values should raise an exception . dump with all possible data passed should have proper form . without tags should have proper form . without tags and timestamp should have proper form . empty tag values should be omitted . InfluxDB::Query::Builder #quote should quote parameters properly . #build named parameters is expected to eq "SELECT value FROM rpm WHERE f = 'value' group by time(5m)" . with string keys is expected to eq "SELECT value FROM rpm WHERE f = 'value' group by time(5m)" . positional parameter is expected to eq "SELECT value FROM rpm WHERE time > 1437019900" . missing parameters is expected to raise /key.1. not found/ . extra parameters is expected to eq "SELECT value FROM rpm WHERE time > 0" . InfluxDB .convert_timestamp should return the timestamp in "ns" . should return the timestamp in nil . should return the timestamp in "u" . should return the timestamp in "ms" . should return the timestamp in "s" . should return the timestamp in "m" . should return the timestamp in "h" . should raise an excpetion when precision is unrecognized . .now should return the current time in "ns" . should return the current time in nil . should return the current time in "u" . should return the current time in "ms" . should return the current time in "s" . should return the current time in "m" . should return the current time in "h" . InfluxDB::Writer::Async::Worker #push writes aggregate payload to the client . Failures: 1) InfluxDB::Client with basic auth GET Failure/Error: let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } NameError: uninitialized constant Base64 let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } ^^^^^^ # ./spec/influxdb/client_spec.rb:26:in `block (3 levels) in <top (required)>' # ./spec/influxdb/client_spec.rb:32:in `block (3 levels) in <top (required)>' # /usr/share/rubygems-integration/all/gems/webmock-3.23.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>' 2) InfluxDB::Client with basic auth POST Failure/Error: let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } NameError: uninitialized constant Base64 let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } ^^^^^^ # ./spec/influxdb/client_spec.rb:26:in `block (3 levels) in <top (required)>' # ./spec/influxdb/client_spec.rb:37:in `block (3 levels) in <top (required)>' # /usr/share/rubygems-integration/all/gems/webmock-3.23.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>' Failures: 1) InfluxDB::Client with basic auth GET Failure/Error: let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } NameError: uninitialized constant Base64 let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } ^^^^^^ # ./spec/influxdb/client_spec.rb:26:in `block (3 levels) in <top (required)>' # ./spec/influxdb/client_spec.rb:32:in `block (3 levels) in <top (required)>' # /usr/share/rubygems-integration/all/gems/webmock-3.23.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>' 2) InfluxDB::Client with basic auth POST Failure/Error: let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } NameError: uninitialized constant Base64 let(:auth_header) { { "Authorization" => "Basic " + Base64.encode64(credentials).chomp } } ^^^^^^ # ./spec/influxdb/client_spec.rb:26:in `block (3 levels) in <top (required)>' # ./spec/influxdb/client_spec.rb:37:in `block (3 levels) in <top (required)>' # /usr/share/rubygems-integration/all/gems/webmock-3.23.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>' Finished in 0.15699 seconds (files took 0.26674 seconds to load) 191 examples, 2 failures Failed examples: 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 Finished in 0.15699 seconds (files took 0.26674 seconds to load) 191 examples, 2 failures Failed examples: 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 /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/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.1" failed. Exiting. dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-influxdb returned exit code 1 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202407/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not 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 affects, so that this is still visible in the BTS web page for this package. Thanks.