← Back to team overview

enterprise-support team mailing list archive

[Bug 1465670] [NEW] main.mysqld_safe test fails if only mysqld-debug was built

 

Public bug reported:

Copy of http://bugs.mysql.com/bug.php?id=77374:

[16 Jun 13:27] Laurynas Biveinis
Description:
main.mysqld_safe test fails if the server binary is named mysqld-debug and there is no binary named mysqld.

How to repeat:
Do an out-of-source build on a clean directory with CMake options that build mysqld-debug:

cmake ../mysql-server/ -DBUILD_CONFIG=mysql_release -DWITH_DEBUG=ON -DWITH_BOOST=...
...
make
...
$ ./mtr --debug-server mysqld_safe
...
main.mysqld_safe                         [ fail ]
        Test ended at 2015-06-16 16:23:24

CURRENT_TEST: main.mysqld_safe
mysqltest: In included file ./include/wait_until_connected_again.inc at line 29:
included from /Users/laurynas/percona/mysql-server/mysql-test/t/mysqld_safe.test at line 48:
At line 29: Server failed to restart

The result from queries just before the failure was:
use test;

Suggested fix:
mysqld_safe invocation in the test needs a correct --mysqld option passed.

** Affects: mysql-server
     Importance: Unknown
         Status: Unknown

** Affects: percona-server
     Importance: Undecided
         Status: Invalid

** Affects: percona-server/5.1
     Importance: Undecided
         Status: Invalid

** Affects: percona-server/5.5
     Importance: Undecided
         Status: Invalid

** Affects: percona-server/5.6
     Importance: Undecided
         Status: Invalid

** Affects: percona-server/5.7
     Importance: Low
     Assignee: Laurynas Biveinis (laurynas-biveinis)
         Status: Triaged


** Tags: ci upstream

** Also affects: percona-server/5.5
   Importance: Undecided
       Status: New

** Also affects: percona-server/5.7
   Importance: Undecided
       Status: New

** Also affects: percona-server/5.1
   Importance: Undecided
       Status: New

** Also affects: percona-server/5.6
   Importance: Undecided
       Status: New

** Changed in: percona-server/5.1
       Status: New => Invalid

** Changed in: percona-server/5.5
       Status: New => Invalid

** Changed in: percona-server/5.6
       Status: New => Invalid

** Changed in: percona-server/5.7
       Status: New => Triaged

** Changed in: percona-server/5.7
   Importance: Undecided => Low

** Changed in: percona-server/5.7
     Assignee: (unassigned) => Laurynas Biveinis (laurynas-biveinis)

** Tags added: ci upstream

** Bug watch added: MySQL Bug System #77374
   http://bugs.mysql.com/bug.php?id=77374

** Also affects: mysql-server via
   http://bugs.mysql.com/bug.php?id=77374
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1465670

Title:
  main.mysqld_safe test fails if only mysqld-debug was built

To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1465670/+subscriptions


Follow ups

References