[DRE-maint] Bug#1002087: ruby-mysql2: FTBFS: ERROR: Test "ruby2.7" failed: expected Mysql2::Error with message matching /Lost connection to MySQL server/, got #<Mysql2::Error::ConnectionError: Lost connection to server during query> with backtrace:

Lucas Nussbaum lucas at debian.org
Tue Dec 21 15:57:01 GMT 2021


Source: ruby-mysql2
Version: 0.5.3-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>        expected Mysql2::Error with message matching /Lost connection to MySQL server/, got #<Mysql2::Error::ConnectionError: Lost connection to server during query> with backtrace:
>          # ./lib/mysql2/client.rb:131:in `_query'
>          # ./lib/mysql2/client.rb:131:in `block in query'
>          # ./lib/mysql2/client.rb:130:in `handle_interrupt'
>          # ./lib/mysql2/client.rb:130:in `query'
>          # ./spec/mysql2/client_spec.rb:575:in `block (4 levels) in <top (required)>'
>          # ./spec/mysql2/client_spec.rb:574:in `block (3 levels) in <top (required)>'
>      # ./spec/mysql2/client_spec.rb:574:in `block (3 levels) in <top (required)>'
> 
> Finished in 5.35 seconds (files took 0.09954 seconds to load)
> 315 examples, 1 failure, 6 pending
> 
> Failed examples:
> 
> rspec ./spec/mysql2/client_spec.rb:566 # Mysql2::Client#query should detect closed connection on query read error
> 
> Randomized with seed 37489
> 
> + cleanup
> + /usr/bin/mysqladmin --user=user42 --socket=/tmp/tmp.VABRYgsgta/mysql.sock shutdown
> 2021-12-20 19:03:32 0 [Note] /usr/sbin/mysqld (initiated by: user42[user42] @ localhost []): Normal shutdown
> 2021-12-20 19:03:32 0 [Note] Event Scheduler: Purging the queue. 0 events
> 2021-12-20 19:03:32 0 [Note] InnoDB: FTS optimize thread exiting.
> 2021-12-20 19:03:32 0 [Note] InnoDB: Starting shutdown...
> 2021-12-20 19:03:32 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.VABRYgsgta/ib_buffer_pool
> 2021-12-20 19:03:32 0 [Note] InnoDB: Buffer pool(s) dump completed at 211220 19:03:32
> 2021-12-20 19:03:32 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
> 2021-12-20 19:03:32 0 [Note] InnoDB: Shutdown completed; log sequence number 168856; transaction id 479
> 2021-12-20 19:03:32 0 [Note] /usr/sbin/mysqld: Shutdown complete
> 
> + rm -rf /tmp/tmp.VABRYgsgta
> rake aborted!
> Command failed with status (1): [./debian/start_mysqld_and_run.sh ruby2.7 -...]
> /<<PKGBUILDDIR>>/debian/ruby-tests.rake:6:in `block in <top (required)>'
> /usr/share/rubygems-integration/all/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.7" failed: 


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/ruby-mysql2_0.5.3-3_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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