autopkgtest fails in bionic

Bug #1899173 reported by Balint Reczey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-mysql2 (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/r/ruby-mysql2/20200921_121828_864d7@/log.gz

............................................................*.

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) Mysql2::Client should terminate connections when calling close
     # Temporarily skipped with xit
     # ./spec/mysql2/client_spec.rb:168

  2) Mysql2::Statement close should free server resources
     # Temporarily skipped with xit
     # ./spec/mysql2/statement_spec.rb:765

Failures:

  1) Mysql2::Client should be able to connect via SSL options
     Failure/Error:
       expect {
         # rubocop:disable Style/TrailingComma
         ssl_client = new_client(
           'host' => 'mysql2gem.example.com', # must match the certificates
           :sslkey => '/etc/mysql/client-key.pem',
           :sslcert => '/etc/mysql/client-cert.pem',
           :sslca => '/etc/mysql/ca-cert.pem',
           :sslcipher => 'DHE-RSA-AES256-SHA',
           :sslverify => true
         )

       expected no Exception, got #<Mysql2::Error: Unknown MySQL server host 'mysql2gem.example.com' (95)> with backtrace:
         # ./spec/spec_helper.rb:27:in `new'
         # ./spec/spec_helper.rb:27:in `new_client'
         # ./spec/mysql2/client_spec.rb:140:in `block (3 levels) in <top (required)>'
         # ./spec/mysql2/client_spec.rb:138:in `block (2 levels) in <top (required)>'
     # ./spec/mysql2/client_spec.rb:138:in `block (2 levels) in <top (required)>'

Finished in 8.83 seconds (files took 0.24249 seconds to load)
311 examples, 1 failure, 2 pending
...

Balint Reczey (rbalint)
Changed in ruby-mysql2 (Ubuntu Focal):
status: New → Incomplete
status: Incomplete → Fix Released
Changed in ruby-mysql2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.