Source: ruby-activerecord-deprecated-finders Version: 1.0.4-1 Severity: serious Tags: stretch sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20160828 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): > /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Run tests for ruby2.3 from debian/ruby-tests.rake > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-activerecord-deprecated-finders/usr/lib/ruby/vendor_ruby:. > > GEM_PATH=debian/ruby-activerecord-deprecated-finders/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all > ruby2.3 -S rake -f debian/ruby-tests.rake > /usr/bin/ruby2.3 -I"lib:test" > "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" > "test/associations_test.rb" "test/calculate_test.rb" > "test/default_scope_test.rb" "test/dynamic_methods_test.rb" > "test/find_in_batches_test.rb" "test/finder_options_test.rb" > "test/finder_test.rb" "test/scope_test.rb" "test/scoped_test.rb" > "test/update_all_test.rb" "test/with_scope_test.rb" > Run options: --seed 63972 > > # Running: > > ...................................................E................ > > Finished in 0.203161s, 334.7096 runs/s, 679.2637 assertions/s. > > 1) Error: > calculate#test_0002_should not issue :distinct deprecation warning when > :distinct was not passed: > ActiveRecord::StatementInvalid: SQLite3::SQLException: unrecognized token: > "{": SELECT COUNT({:conditions=>{:title=>"bar"}}) FROM "posts" > /usr/lib/ruby/vendor_ruby/sqlite3/database.rb:91:in `initialize' > /usr/lib/ruby/vendor_ruby/sqlite3/database.rb:91:in `new' > /usr/lib/ruby/vendor_ruby/sqlite3/database.rb:91:in `prepare' > > /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/sqlite3_adapter.rb:284:in > `block in exec_query' > > /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract_adapter.rb:484:in > `block in log' > > /usr/lib/ruby/vendor_ruby/active_support/notifications/instrumenter.rb:20:in > `instrument' > > /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract_adapter.rb:478:in > `log' > > /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/sqlite3_adapter.rb:281:in > `exec_query' > > /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:356:in > `select' > > /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/database_statements.rb:32:in > `select_all' > > /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/query_cache.rb:70:in > `select_all' > /usr/lib/ruby/vendor_ruby/active_record/relation/calculations.rb:270:in > `execute_simple_calculation' > /usr/lib/ruby/vendor_ruby/active_record/relation/calculations.rb:227:in > `perform_calculation' > /usr/lib/ruby/vendor_ruby/active_record/relation/calculations.rb:133:in > `calculate' > /<<PKGBUILDDIR>>/lib/active_record/deprecated_finders/relation.rb:84:in > `calculate' > /usr/lib/ruby/vendor_ruby/active_record/relation/calculations.rb:48:in > `count' > /usr/lib/ruby/vendor_ruby/active_record/querying.rb:13:in `count' > /<<PKGBUILDDIR>>/test/calculate_test.rb:35:in `block (3 levels) in <top > (required)>' > /usr/lib/ruby/vendor_ruby/active_support/testing/deprecation.rb:28:in > `collect_deprecations' > /<<PKGBUILDDIR>>/test/calculate_test.rb:34:in `block (2 levels) in <top > (required)>' > /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in > run' > /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions' > /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in > run' > /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it' > /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run' > /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal' > /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler' > /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run' > /usr/lib/ruby/vendor_ruby/minitest.rb:799:in `run_one_method' > /usr/lib/ruby/vendor_ruby/minitest.rb:322:in `run_one_method' > /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block (2 levels) in run' > /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `each' > /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `block in run' > /usr/lib/ruby/vendor_ruby/minitest.rb:348:in `on_signal' > /usr/lib/ruby/vendor_ruby/minitest.rb:335:in `with_info_handler' > /usr/lib/ruby/vendor_ruby/minitest.rb:308:in `run' > /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `block in __run' > /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `map' > /usr/lib/ruby/vendor_ruby/minitest.rb:158:in `__run' > /usr/lib/ruby/vendor_ruby/minitest.rb:135:in `run' > /usr/lib/ruby/vendor_ruby/minitest.rb:62:in `block in autorun' > > 68 runs, 138 assertions, 0 failures, 1 errors, 0 skips > rake aborted! > Command failed with status (1): [ruby -I"lib:test" > "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" > "test/associations_test.rb" "test/calculate_test.rb" > "test/default_scope_test.rb" "test/dynamic_methods_test.rb" > "test/find_in_batches_test.rb" "test/finder_options_test.rb" > "test/finder_test.rb" "test/scope_test.rb" "test/scoped_test.rb" > "test/update_all_test.rb" "test/with_scope_test.rb" ] > > Tasks: TOP => default => test > (See full trace by running task with --trace) > ERROR: Test "ruby2.3" failed. The full build log is available from: http://people.debian.org/~lucas/logs/2016/08/28/ruby-activerecord-deprecated-finders_1.0.4-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.