Bug #48878 "Embedded" tests fail due to an unknown variable "shared-memory-base-name"
Submitted: 18 Nov 2009 19:59 Modified: 5 Jan 2010 20:21
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:5.5.0-beta OS:Windows
Assigned to: Alexey Botchkov CPU Architecture:Any

[18 Nov 2009 19:59] Joerg Bruehe
Description:
This seems to be new in 5.5.0-beta, I have not found any previous occurrence:

=====
main.plugin_load                         [ fail ]
        Test ended at 2009-11-18 15:27:01

CURRENT_TEST: main.plugin_load
g:/mysql-5.5.0-beta-winbuild/mysql-community-nt-5.5.0-beta-build/libmysqld/examples/relwithdebinfo/mysqltest_embedded.exe: unknown variable 'shared-memory-base-name=g:/mysql-5.5.0-beta-winbuild/mysql-community-nt-5.5.0-beta-build/mysql-test/var/tmp/mysqld.1.sock'

 - saving 'g:/mysql-5.5.0-beta-winbuild/mysql-community-nt-5.5.0-beta-build/mysql-test/var/log/main.plugin_load/' to 'g:/mysql-5.5.0-beta-winbuild/mysql-community-nt-5.5.0-beta-build/mysql-test/var/log/main.plugin_load/'

Retrying test, attempt(2/3)...
=====

It happens for *all* "embedded" test runs on Windows, until MTR aborts the suite because the limit count of failing tests is reached (10).

How to repeat:
Run embedded tests on Windows.
[26 Nov 2009 12:18] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/91791

2909 Alexey Botchkov	2009-11-25
      Bug#48878      "Embedded" tests fail due to an unknown variable "shared-memory-base-name"
          the 'shared-memory-base-name' was added to the [client] section of the my.cnf file.
          That option isn't supported by the mysqltest_embedded.
      
      per-file comments:
        mysql-test/lib/My/ConfigFactory.pm
[26 Nov 2009 12:41] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/91794

2909 Alexey Botchkov	2009-11-25
      Bug#48878      "Embedded" tests fail due to an unknown variable "shared-memory-base-name"
          the 'shared-memory-base-name' was added to the [client] section of the my.cnf file.
          That option isn't supported by the mysqltest_embedded.
      
      per-file comments:
        mysql-test/lib/My/ConfigFactory.pm
[26 Nov 2009 12:44] Bjørn Munch
This looks reasonable with the second patch, OK to push. This might also be backported to 5.1 to keep MTR consistent.
[26 Nov 2009 13:03] Alexey Botchkov
pushed in the mysql-trunk.
[11 Dec 2009 6:01] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091211055901-yp18b3c7xuhl87rf) (version source revid:alik@sun.com-20091211055401-43rjwq7gjed6ds83) (merge vers: 6.0.14-alpha) (pib:13)
[11 Dec 2009 6:03] Bugs System
Pushed into 5.6.0-beta (revid:alik@sun.com-20091211055628-ltr7fero363uev7r) (version source revid:alik@sun.com-20091211055453-717czhtezc74u8db) (merge vers: 5.6.0-beta) (pib:13)
[11 Dec 2009 19:59] Paul DuBois
Change to test suite. No changelog entry needed.
[22 Dec 2009 17:00] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/95389

3195 Magnus Blaudd	2009-12-22
      Bug #48878	"Embedded" tests fail due to an unknown variable "shared-memory-base-name"
       - Remove the special hacks for 'shared-memory-base-name"
          and  instead use the loose prefix to allow some programs
          on some platforms in some configurations not to accept
          the parameter.
       - If there is a need to check that the product has ben compiled
          with a specific paramater that can be done by a .test file
          and not in the test runner.
[22 Dec 2009 17:30] Magnus Blåudd
Have committed a new patch that removes the conditional stuff and instead relies on "loose" prefix, this makes it easier to maintain on any platform. 

Pushed to MySQL Cluster 7.0 and have it ready for 5.1-mtr as well.
[22 Dec 2009 17:39] Magnus Blåudd
Doesn't work so good :(
[22 Dec 2009 17:52] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/95394

3196 Magnus Blaudd	2009-12-22
      Bug#48878      "Embedded" tests fail due to an unknown variable
      "shared-memory-base-name"
                the 'shared-memory-base-name' was added to the [client] section of the my.cnf
      file.
                That option isn't supported by the mysqltest_embedded.
[23 Dec 2009 12:07] Bugs System
Pushed into 5.1.41-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20091223120602-x2t9cev4f0k4yvs1) (version source revid:magnus.blaudd@sun.com-20091223120602-x2t9cev4f0k4yvs1) (merge vers: 5.1.41-ndb-7.1.0) (pib:15)