Bug #25381 | gcov build fails to test with openssl | ||
---|---|---|---|
Submitted: | 3 Jan 2007 10:25 | Modified: | 16 Mar 2009 11:29 |
Reporter: | Ingo Strüwing | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 5.1.23 | OS: | Linux (Debian Linux/x86) |
Assigned to: | Daniel Fischer | CPU Architecture: | Any |
[3 Jan 2007 10:25]
Ingo Strüwing
[24 Sep 2007 12:52]
Ingo Strüwing
I am sorry that I missed the internal note before. I retried on a current pull of mysql-5.1. In this version, BUILD/compile-pentium-gcov does not contain $static_link. I checked that my objects are compiled without the option -all-static, which is usually supplied by $static_link. The failures on all SSL related tests still fail: main.openssl_1 [ fail ] mysqltest: At line 19: query 'connect con1,localhost,ssl_user1,,,,,SSL' failed: 2026: SSL connection error The result from queries just before the failure was: drop table if exists t1; create table t1(f1 int); insert into t1 values (5); grant select on test.* to ssl_user1@localhost require SSL; grant select on test.* to ssl_user2@localhost require cipher "DHE-RSA-AES256-SHA"; grant select on test.* to ssl_user3@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB/emailAddress=abstract.mysql.developer@mysql.com"; grant select on test.* to ssl_user4@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB/emailAddress=abstract.mysql.developer@mysql.com" ISSUER "/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB"; grant select on test.* to ssl_user5@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "xxx"; flush privileges; More results from queries before failure can be found in /home/mydev/mysql-5.1-amain/mysql-test/var/log/openssl_1.log Stopping All Servers Restoring snapshot of databases Saving core.20180 Resuming Tests main.ssl [ fail ] mysqltest: At line 6: query 'connect ssl_con,localhost,root,,,,,SSL' failed: 2026: SSL connection error Stopping All Servers Restoring snapshot of databases Saving core.20188 Resuming Tests main.ssl_8k_key [ fail ] mysqltest: At line 5: command "$MYSQL --ssl --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1" failed The result from queries just before the failure was: ERROR 2026 (HY000): SSL connection error exec of '/home/mydev/mysql-5.1-amain/client/mysql --no-defaults --debug-check --host=localhost --user=root --password= --port=10680 --socket=/home/mydev/mysql-5.1-amain/mysql-test/var/tmp/master.sock --character-sets-dir=/home/mydev/mysql-5.1-amain/sql/share/charsets --ssl --ssl-key=/home/mydev/mysql-5.1-amain/mysql-test/std_data/client-key.pem --ssl-cert=/home/mydev/mysql-5.1-amain/mysql-test/std_data/client-cert.pem -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1' failed, error: 256, status: 1, errno: 0 More results from queries before failure can be found in /home/mydev/mysql-5.1-amain/mysql-test/var/log/ssl_8k_key.log Stopping All Servers Restoring snapshot of databases Saving core.20196 Resuming Tests main.ssl_compress [ fail ] mysqltest: At line 7: query 'connect ssl_compress_con,localhost,root,,,,,SSL COMPRESS' failed: 2026: SSL connection error Stopping All Servers Restoring snapshot of databases Saving core.20205 Resuming Tests main.ssl_connect [ fail ] mysqltest: At line 9: query 'connect test_con1,localhost,root,,,,,SSL' failed: 2026: SSL connection error Stopping All Servers Restoring snapshot of databases Saving core.20213 Resuming Tests rpl.rpl_ssl [ fail ] timeout Stopping All Servers Restoring snapshot of databases Resuming Tests rpl.rpl_ssl1 [ fail ] timeout Stopping All Servers Restoring snapshot of databases Resuming Tests The stack backtrace from one of the tests is almost the same as reported.
[16 Dec 2007 13:45]
Ingo Strüwing
I can add here that it still happens on a 32-bit Debian x86. It does not happen on a 64-bit Debian x86_64. It has lower urgency for me now.
[16 Mar 2009 11:29]
Daniel Fischer
This bug was never verified, and I can't repeat it at this time. In any case, gcov is likely not the culprit.