Bug #81752 mysql-test-run does not support starting server in lldb
Submitted: 7 Jun 2016 13:21 Modified: 9 Jun 2016 6:51
Reporter: Vlad Lesin Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Tests Severity:S4 (Feature request)
Version:5.1, 5.5, 5.6 OS:Any
Assigned to: CPU Architecture:Any

[7 Jun 2016 13:21] Vlad Lesin
Description:
mysql-test-run does not support starting server in lldb, but there are options to start mysql in ddd, dbx, gdb. It would be very nice to have similar options for lldb.

How to repeat:
./mtr --help

Suggested fix:
https://github.com/percona/percona-server/commit/1509c0fce3b1c458f30557361b6ade9dc794d1f8
https://github.com/percona/percona-server/commit/c98aa17b2f62e2bf119a3898056bad4ec0758023
[8 Jun 2016 9:41] MySQL Verification Team
Hello Vlad,

Thank you for the report.
Imho this was implemented after Laurynas contribution in Bug #73418 and another internal bug. Could you please confirm this?

-- 5.7.12 source build/5.7.14 daily build

[umshastr@hod03]/export/umesh/server/source/bugs/mysql-5.7.12/mysql-test:  ./mtr --help|grep lldb
  client-lldb           Start mysqltest client in lldb
  lldb                  Start the mysqld(s) in lldb
  manual-lldb           Let user manually start mysqld in lldb, before running

[umshastr@hod03]/export/umesh/server/binaries/mysql-advanced-5.7.14/mysql-test: ./mtr --help|grep lldb
  client-lldb           Start mysqltest client in lldb
  lldb                  Start the mysqld(s) in lldb
  manual-lldb           Let user manually start mysqld in lldb, before running
[umshastr@hod03]/export/umesh/server/binaries/mysql-advanced-5.7.14/mysql-test: cd ../../mysql-advanced-5.6.31/mysql-test/
[umshastr@hod03]/export/umesh/server/binaries/mysql-advanced-5.6.31/mysql-test: ./mtr --help|grep lldb
  manual-lldb           Let user manually start mysqld in lldb, before running

Thanks,
Umesh
[9 Jun 2016 6:39] Laurynas Biveinis
--lldb is not present in 5.5 and 5.6, only --manual-lldb is, this contribution should be considered for those branches.

BTW, can you please update bug 73418 status?
[9 Jun 2016 6:51] MySQL Verification Team
Thank you Laurynas for confirming(Contribution for 5.5/5.6 branches).