Bug #41552 falcon_bug_39708 fails sporadically: "unknown variable 'falcon-page-size=2k' "
Submitted: 17 Dec 2008 15:01 Modified: 19 Dec 2008 12:31
Reporter: Sven Sandberg Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Tests Severity:S7 (Test Cases)
Version:6.0-rpl OS:Any
Assigned to: John Embretsen CPU Architecture:Any
Tags: 6.0-rpl-green, falcon_bug_39708, pushbuild, sporadic, test failure

[17 Dec 2008 15:01] Sven Sandberg
Description:
falcon_bug_39708 fails sporadically with this message:

falcon.falcon_bug_39708                  [ fail ]
        Test ended at 2008-12-15 11:22:50

CURRENT_TEST: falcon.falcon_bug_39708
081215 13:22:50 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general-log --general-log-file' instead.
081215 13:22:50 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in MySQL 7.0. Please use '--slow-query-log --slow-query-log-file' instead.
081215 13:22:50 [Warning] /data0/pushbuild/pb1-4/pb/bzr_mysql-6.0-rpl/124/mysql-6.0.9-alpha-pb124/sql/mysqld: unknown variable 'loose-innodb_data_file_path=ibdata1:10M:autoextend'
081215 13:22:50 [Warning] /data0/pushbuild/pb1-4/pb/bzr_mysql-6.0-rpl/124/mysql-6.0.9-alpha-pb124/sql/mysqld: unknown option '--loose-skip-innodb'
081215 13:22:50 [ERROR] /data0/pushbuild/pb1-4/pb/bzr_mysql-6.0-rpl/124/mysql-6.0.9-alpha-pb124/sql/mysqld: unknown variable 'falcon-page-size=2k'
081215 13:22:50 [ERROR] Aborting

081215 13:22:50 [Note] /data0/pushbuild/pb1-4/pb/bzr_mysql-6.0-rpl/124/mysql-6.0.9-alpha-pb124/sql/mysqld: Shutdown complete

Failed to start mysqld.1

 - saving '/dev/shm/var-falcon-131/log/falcon.falcon_bug_39708/' to '/dev/shm/var-falcon-131/log/falcon.falcon_bug_39708/'

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

worker[1] mysql-test-run: WARNING: Process [mysqld.1 - pid: 9513, winpid: 9513, exit: 1792] died

How to repeat:
https://intranet.mysql.com/secure/pushbuild/showpush.pl?dir=bzr_mysql-6.0-rpl&order=124 sles10-ia64-a-1/falcon
xref: http://tinyurl.com/5b5pmr
Has only failed in 6.0-rpl and 6.0_with_tests_from_6.0-rpl
[18 Dec 2008 23:43] Omer Barnir
triage: setting tag to SR60TEST (probably mtr needs to clean up entire falcon instance between tests)
[19 Dec 2008 8:16] Hakan Küçükyılmaz
falcon_bug_39708-master.opt reads now:
    --loose-falcon_page_size=2048

According to your bug report, you are using an older version of falcon_bug_39708.test
[19 Dec 2008 12:31] Sven Sandberg
Hakan, thanks, I verify that indeed the version where the failure happened had --falcon-page-size=2k whereas the current version has --loose-falcon_page_size=2048. Setting to "Can't repeat".
[19 Dec 2008 12:53] John Embretsen
Not able to reproduce this behavior.

In the Pushbuild test logs, mysqld also gives warnings about the following options when this error occurs:

  [Warning] The syntax '--log' is deprecated
  [Warning] The syntax '--log-slow-queries' is deprecated
  [Warning] unknown variable 'loose-innodb_data_file_path=ibdata1:10M:autoextend'
  [Warning] unknown option '--loose-skip-innodb'

As far as I can see from running MTR (v2) with --verbose --verbose options, these options are not passed to mysqld when I run this test or the falcon test suite. And the server should indeed recognize these options. So this is very mysterious.

However, at least some of the options are passed to mysqld if the environment variable MTR_VERSION=1, but this variable does not seem to be set (otherwise the test order and output would be different, etc.). I am not able to reproduce even when MTR_VERSION=1.

The suite/falcon/t/falcon_bug_39708-master.opt file was modified (option changed to --loose-falcon_page_size=2048) on the last merge from main into mysql-6.0-rpl. The test does not seem to have failed this way since then. Note that I am not able to reproduce even if I revert the change to the -master.opt file.

I also checked MTR cleanup code as best I can in this amount of time. The test framework cleans up (deletes) datadirs (including falcon tablespaces) between server restarts. And the server is restarted before this test due to the existence of the -master.opt file.

Feel free to re-open if this happens again or if someone is able to reproduce on their own. I am not able to debug this further at this time.