[CONC-252] unit.conc tests fail in buildbot Created: 2017-05-09  Updated: 2017-07-01  Resolved: 2017-06-30

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.2

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to CONC-265 unit.conc_bulk1 test failues Closed

 Description   

Tests mostly fail on Power:

http://buildbot.askmonty.org/buildbot/builders/p8-rhel7-bintar/builds/2289/steps/test/logs/stdio

unit.conc_features-10_2                  w4 [ fail ]
        Test ended at 2017-05-09 06:25:40
 
CURRENT_TEST: unit.conc_features-10_2
# port: 16020
# socketname: /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/tmp/4/mysqld.1.sock
1..6
# Testing against MySQL Server 10.2.6-MariaDB-log
# Host: Localhost via UNIX socket
# Client library: 10.2.5
# Error:  (/home/buildbot/maria-slave/power8-vlp03-bintar/build/libmariadb/unittest/libmariadb/features-10_2.c: 208)
not ok 1 - test_cursor
ok 2 - conc_218
ok 3 - conc_212
ok 4 - conc_213
ok 5 - execute_direct
ok 6 - execute_direct_example
# close default
# Failed 1 tests!

unit.conc_misc                           w4 [ fail ]
        Test ended at 2017-05-09 06:25:51
 
CURRENT_TEST: unit.conc_misc
# port: 16020
# socketname: /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/tmp/4/mysqld.1.sock
1..24
# Testing against MySQL Server 10.2.6-MariaDB-log
# Host: Localhost via UNIX socket
# Client library: 10.2.5
ok 1 - test_wl6797
# Error: autocommit flag not set (/home/buildbot/maria-slave/power8-vlp03-bintar/build/libmariadb/unittest/libmariadb/misc.c: 1152)
not ok 2 - test_server_status
# error: Lost connection to MySQL server during query
ok 3 - test_read_timeout
# zerofill: 0000000001
ok 4 - test_zerofill
# skip - no remote io plugin available
# error: Plugin remote_io could not be loaded: /usr/local/mysql/lib/plugin/remote_io.so: cannot open shared object file: No such file or directory
ok 5 # skip test_remote1
# skip - no remote io plugin available
ok 6 # skip test_remote2
# max_allowed_packet: 1073741824
# net_buffer_length: 8192
# client_version_id: 100205
# server_version_id: 100206
# charset name: latin1
# connection type: 0
# protocol_version: 10
# server_type: MariaDB
# server_version: 10.2.6-MariaDB-log
# client_version: 10.2.5
# charset_name: utf8
# charset_nr: 33
# charset_name: binary
# error[0]: Unknown MySQL error
# mariadb_info: Records: 2  Duplicates: 0  Warnings: 0
ok 7 - test_get_info
ok 8 - test_conc117
# Error: Plugin foo could not be loaded: /usr/local/mysql/lib/plugin/foo.so: cannot open shared object file: No such file or directory
ok 9 - test_conc_114
ok 10 - test_connect_attrs
ok 11 - test_conc49
ok 12 - test_bug28075
ok 13 - test_bug28505
ok 14 - test_debug_example
ok 15 - test_bug29692
ok 16 - test_bug31418
ok 17 - test_frm_bug
ok 18 - test_wl4166_1
# rc=1 error: 2057
 
ok 19 - test_wl4166_2
# rc=0 
ok 20 - test_wl4166_3
ok 21 - test_wl4166_4
# InnoDB not configured or available
ok 22 # skip test_wl4284_1
ok 23 - test_bug49694
# Error: 2
ok 24 - test_ldi_path
# close default
# Failed 1 tests!

unit.conc_thread                         w4 [ fail ]
        Test ended at 2017-05-09 06:26:06
 
CURRENT_TEST: unit.conc_thread
# port: 16020
# socketname: /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysql-test/var/tmp/4/mysqld.1.sock
1..2
# Testing against MySQL Server 10.2.6-MariaDB-log
# Host: Localhost via UNIX socket
# Client library: 10.2.5
ok 1 - basic_connect
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# row=91
# Error: expected value THREAD_NUM (/home/buildbot/maria-slave/power8-vlp03-bintar/build/libmariadb/unittest/libmariadb/thread.c: 116)
not ok 2 - test_conc_27
# close default
# Failed 1 tests!

unit.conc_thread also fails outside Power:
http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/8055/steps/test_3/logs/stdio

unit.conc_thread                         w3 [ fail ]
        Test ended at 2017-05-08 16:13:18
 
CURRENT_TEST: unit.conc_thread
# port: 16040
# socketname: /mnt/buildbot/build/mariadb-10.2.6/mysql-test/var/tmp/3/mysqld.1.sock
1..2
# Testing against MySQL Server 10.2.6-MariaDB-debug-log
# Host: Localhost via UNIX socket
# Client library: 10.2.5
ok 1 - basic_connect
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# >Error: Lost connection to MySQL server at 'handshake: reading inital communication packet', system error: 22
# row=88
# Error: expected value THREAD_NUM (/home/buildbot/buildbot/build/mariadb-10.2.6/libmariadb/unittest/libmariadb/thread.c: 116)
not ok 2 - test_conc_27
# close default
# Failed 1 tests!



 Comments   
Comment by Elena Stepanova [ 2017-05-10 ]

http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/8086/steps/test_2/logs/stdio

unit.conc_connection                     w1 [ fail ]
        Test ended at 2017-05-10 01:34:16
 
CURRENT_TEST: unit.conc_connection
# port: 16060
# socketname: /mnt/buildbot/build/mariadb-10.2.6/mysql-test/var/tmp/1/mysqld.1.sock
1..21
# Testing against MySQL Server 10.2.6-MariaDB-debug-log
# Host: Localhost via UNIX socket
# Client library: 10.2.5
# server doesn't support sha256 authentication
ok 1 # skip test_auth256
# Error: Expected 0 rows (/home/buildbot/buildbot/build/mariadb-10.2.6/libmariadb/unittest/libmariadb/connection.c: 1028)
not ok 2 - test_reset
ok 3 - test_unix_socket_close
# session tracking not fully supported yet in 10.2
ok 4 # skip test_sess_track_db
# foo1 => bar1
# foo3 => bar3
# foo2 => bar2
ok 5 - test_get_options
# test doesn't work with unix sockets
ok 6 # skip test_wrong_bind_address
# test doesn't work with unix sockets
ok 7 # skip test_bind_address
ok 8 - test_conc118
ok 9 - test_conc66
ok 10 - test_bug20023
# Due to mysql_change_user security fix this test will not work anymore.
ok 11 # skip test_bug31669
ok 12 - test_bug33831
# Due to mysql_change_user security fix this test will not work anymore.
ok 13 # skip test_change_user
true: 1
ok 14 - test_opt_reconnect
ok 15 - test_compress
# Thread_id before kill: 1259
# Thread_id after kill: 1260
ok 16 - test_reconnect
ok 17 - test_conc21
ok 18 - test_conc26
# elapsed: 5
ok 19 - test_connection_timeout
# elapsed: 0
ok 20 - test_connection_timeout2
# elapsed: 5
# elapsed: 10
ok 21 - test_connection_timeout3
# close default
# Failed 1 tests!
 
 - skipping '/mnt/buildbot/build/mariadb-10.2.6/mysql-test/var/1/log/unit.conc_connection/'
 
Retrying test unit.conc_connection, attempt(2/3)...

Comment by Georg Richter [ 2017-06-30 ]

Fixed in rev. 6e156a63e32878e7beb0c1c5502774dc40a01833

Generated at Thu Feb 08 03:03:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.