[DRE-maint] Bug#860708: ruby-seamless-database-pool: FTBFS on i386: ERROR: Test "ruby2.3" failed: Failure/Error: pool_connection.to_s.should =~ /\A#<ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::Abstract:0x[0-9a-f]+ 3 connections>\z/

Lucas Nussbaum lucas at debian.org
Wed Apr 19 07:21:40 UTC 2017


Source: ruby-seamless-database-pool
Version: 1.0.17-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170418-i386 qa-ftbfs
Justification: FTBFS in stretch on i386

Hi,

During a rebuild of all packages in stretch (in a stretch chroot, not a
sid chroot), your package failed to build on i386.

Relevant part (hopefully):
>      Failure/Error: pool_connection.to_s.should =~ /\A#<ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::Abstract:0x[0-9a-f]+ 3 connections>\z/
> 
>        expected: /\A#<ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::Abstract:0x[0-9a-f]+ 3 connections>\z/
>             got: "#<ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::Abstract:0x-2ddcab2 3 connections>" (using =~)
>        Diff:
>        @@ -1,2 +1,2 @@
>        -/\A#<ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::Abstract:0x[0-9a-f]+ 3 connections>\z/
>        +"#<ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::Abstract:0x-2ddcab2 3 connections>"
>      # ./spec/seamless_database_pool_adapter_spec.rb:92:in `block (2 levels) in <top (required)>'
> 
> Deprecation Warnings:
> 
> Using `should_receive` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /<<PKGBUILDDIR>>/spec/connection_statistics_spec.rb:64:in `block (2 levels) in <top (required)>'.
> 
> Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /<<PKGBUILDDIR>>/spec/connection_statistics_spec.rb:32:in `block (2 levels) in <top (required)>'.
> 
> 
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
> 
> 2 deprecation warnings total
> 
> Finished in 0.78735 seconds (files took 1.27 seconds to load)
> 62 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/seamless_database_pool_adapter_spec.rb:91 # SeamlessDatabasePoolAdapter should be able to be converted to a string
> 
> /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.3" failed: 

The full build log is available from:
   http://aws-logs.debian.net/2017/04/18/ruby-seamless-database-pool_1.0.17-1_testing-i386.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