autopkgtest regression triggered by ruby-defaults/1:2.5.2

Bug #1855475 reported by Lucas Kanashiro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-riddle (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

ruby-riddle version 2.3.1-1ubuntu1 had a regression in focal after ruby-defaults/1:2.5.2 in all architectures, as you can see here [1][2].

[1] http://autopkgtest.ubuntu.com/packages/r/ruby-riddle
[2] http://autopkgtest.ubuntu.com/packages/r/ruby-riddle/focal/amd64

Tags: patch
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :
Download full text (6.8 KiB)

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 ...

Read more...

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :
Download full text (6.8 KiB)

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 ...

Read more...

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

debdiff was updated since ruby-riddle version 2.3.1-2 was imported from Debian.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby-riddle - 2.3.1-2ubuntu2

---------------
ruby-riddle (2.3.1-2ubuntu2) focal; urgency=medium

  * Fix DEP-8 tests regression (LP: #1855475)
    - B-d on sphinxsearch >= 2.2.11-2ubuntu1 which has support for MySQL 8
      clients, in this case ruby-mysql2.

 -- Lucas Kanashiro <email address hidden> Sat, 07 Dec 2019 11:30:20 -0300

Changed in ruby-riddle (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

Bug attachments

Remote bug watches

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