The attached debdiff plus the sphinxsearch fixed here [1] (proposed
debdiff) fix the autopkgtest regression for ruby-riddle. Here is a PPA
with the proposed package:
https://launchpad.net/~lucaskanashiro/+archive/ubuntu/focal-ruby-riddle-
lp-1855475

[1] https://bugs.launchpad.net/ubuntu/+source/sphinxsearch/+bug/1855468


The output of autopkgtest below:

autopkgtest [16:11:51]: test command1: gem2deb-test-runner --autopkgtest 
--check-dependencies 2>&1
autopkgtest [16:11:51]: test command1: [-----------------------

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.5                           │
└──────────────────────────────────────────────────────────────────────────────┘

fatal: not a git repository (or any of the parent directories): .git
GEM_PATH= ruby2.5 -e gem\ \"riddle\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

mv lib .gem2deb.lib
RUBYLIB=. GEM_PATH= ruby2.5 -S rake -f debian/ruby-tests.rake
./debian/start_mysqld_and_run.sh ruby2.5 -S rspec
2019-12-06T19:11:51.986893Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld 
(mysqld 8.0.18-0ubuntu3) initializing of server in progress as process 7653
2019-12-06T19:11:51.988687Z 0 [Warning] [MY-010122] [Server] One can only use 
the --user switch if running as root
2019-12-06T19:11:54.710430Z 4 [Warning] [MY-010453] [Server] root@localhost is 
created with an empty password ! Please consider switching off the 
--initialize-insecure option.
pinging mysqld.mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket 
'/tmp/tmp.akOhPrI01x/mysql.sock' (2)'
Check that mysqld is running and that the socket: 
'/tmp/tmp.akOhPrI01x/mysql.sock' exists!
2019-12-06T19:11:59.078885Z 0 [Warning] [MY-010097] [Server] Insecure 
configuration for --secure-file-priv: Current value does not restrict location 
of generated files. Consider setting it to a valid, non-empty path.
2019-12-06T19:11:59.078932Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld 
(mysqld 8.0.18-0ubuntu3) starting as process 7700
2019-12-06T19:11:59.080935Z 0 [Warning] [MY-010122] [Server] One can only use 
the --user switch if running as root
2019-12-06T19:11:59.441391Z 0 [Warning] [MY-010068] [Server] CA certificate 
ca.pem is self signed.
2019-12-06T19:11:59.444879Z 0 [Warning] [MY-011810] [Server] Insecure 
configuration for --pid-file: Location '/tmp' in the path is accessible to all 
OS users. Consider choosing a different directory.
2019-12-06T19:11:59.458348Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: 
ready for connections. Version: '8.0.18-0ubuntu3'  socket: 
'/tmp/tmp.akOhPrI01x/mysql.sock'  port: 0  (Ubuntu).
2019-12-06T19:11:59.615488Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx 
reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'
2019-12-06T19:11:59.616253Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx 
reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't open 
lock file /var/run/mysqld/mysqlx.sock.lock'
2019-12-06T19:12:01.878265Z 7 [Warning] [MY-013360] [Server] Plugin 
sha256_password reported: ''sha256_password' is deprecated and will be removed 
in a future release. Please use caching_sha2_password instead'
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'ubuntu'@'localhost' (using password: NO)'
Run options: include {:wip=>true}

All examples were filtered out; ignoring {:wip=>true}
............................WARNING: Using the `raise_error` matcher without 
providing a specific error or message risks false positives, since 
`raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or 
`ArgumentError`, potentially allowing the expectation to pass without even 
executing the method you are intending to call. Actual error raised was 
#<RuntimeError: Already Connected>. Instead consider providing a specific error 
class or message. This message can be suppressed by setting: 
`RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. 
Called from 
/tmp/autopkgtest.QrKbdw/build.xd9/src/spec/functional/persistance_spec.rb:12:in 
`block (2 levels) in <top (required)>'.
.WARNING: Using the `raise_error` matcher without providing a specific error or 
message risks false positives, since `raise_error` will match when Ruby raises 
a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the 
expectation to pass without even executing the method you are intending to 
call. Actual error raised was #<RuntimeError: Not Connected>. Instead consider 
providing a specific error class or message. This message can be suppressed by 
setting: `RSpec::Expectations.configuration.on_potential_false_positives = 
:nothing`. Called from 
/tmp/autopkgtest.QrKbdw/build.xd9/src/spec/functional/persistance_spec.rb:17:in 
`block (2 levels) in <top (required)>'.
.....................................................................................................................................................................................................................................................

Deprecation Warnings:

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
/tmp/autopkgtest.QrKbdw/build.xd9/src/spec/functional/connection_spec.rb:19:in
`block (3 levels) in <top (required)>'.

Using `stub` 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
/tmp/autopkgtest.QrKbdw/build.xd9/src/spec/riddle/auto_version_spec.rb:8:in
`block (3 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 29.75 seconds (files took 1.19 seconds to load)
274 examples, 0 failures

2019-12-06T19:12:32.873369Z 22 [System] [MY-013172] [Server] Received SHUTDOWN 
from user root. Shutting down mysqld (Version: 8.0.18-0ubuntu3).
2019-12-06T19:12:33.726782Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: 
Shutdown complete (mysqld 8.0.18-0ubuntu3)  (Ubuntu).
mv .gem2deb.lib lib
autopkgtest [16:12:34]: test command1: -----------------------]
autopkgtest [16:12:34]: test command1:  - - - - - - - - - - results - - - - - - 
- - - -
command1             PASS
autopkgtest [16:12:34]: @@@@@@@@@@@@@@@@@@@@ summary
command1             PASS

** Attachment added: "debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/ruby-riddle/+bug/1855475/+attachment/5310304/+files/debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855475

Title:
  autopkgtest regression triggered by ruby-defaults/1:2.5.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-riddle/+bug/1855475/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to