export CC=/export/umesh/server/binaries/llvm-build/build/bin/clang export CXX=/export/umesh/server/binaries/llvm-build/build/bin/clang++ export LD=$CXX export ASAN_SYMBOLIZER_PATH=/export/umesh/server/binaries/llvm-build/build/bin/llvm-symbolizer cmake . -DWITH_DEBUG=ON -DWITH_ASAN=1 -DWITH_BOOST=./boost/ -DCMAKE_INSTALL_PREFIX=/export/umesh/server/source/bugs/mysql-5.7.15/5715 make -j32 make install [umshastr@hod03]/export/umesh/server/source/bugs/mysql-5.7.15/mysql-test: ./mtr 82908 Logging: ./mtr 82908 MySQL Version 5.7.15 Checking supported features... - SSL connections supported - binaries are debug compiled Collecting tests... Checking leftover processes... Removing old var directory... Creating var directory '/export/umesh/server/source/bugs/mysql-5.7.15/mysql-test/var'... Installing system database... Using parallel: 1 ============================================================================== TEST RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 SET @@GLOBAL.innodb_limit_optimistic_insert_debug=2; DROP DATABASE test; CREATE DATABASE test; USE test; SET @start_global_value=@@global.sort_buffer_size; SET @@global.innodb_change_buffering_debug=@start_global_value; Warnings: Warning 1292 Truncated incorrect innodb_change_buffering_debug value: '262144' CREATE TABLE t1(c1 DOUBLE PRECISION,c2 CHAR (1),c3 INT(1),c4 VARCHAR(1) KEY,c5 DOUBLE PRECISION UNIQUE KEY,c6 FIXED(0,0) DEFAULT 3.141592); Warnings: Note 1265 Data truncated for column 'c6' at row 1 DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,t17,t18; Warnings: Note 1051 Unknown table 'test.t2' Note 1051 Unknown table 'test.t3' Note 1051 Unknown table 'test.t4' Note 1051 Unknown table 'test.t5' Note 1051 Unknown table 'test.t6' Note 1051 Unknown table 'test.t7' Note 1051 Unknown table 'test.t8' Note 1051 Unknown table 'test.t9' Note 1051 Unknown table 'test.t10' Note 1051 Unknown table 'test.t11' Note 1051 Unknown table 'test.t12' Note 1051 Unknown table 'test.t13' Note 1051 Unknown table 'test.t14' Note 1051 Unknown table 'test.t15' Note 1051 Unknown table 'test.t16' Note 1051 Unknown table 'test.t17' Note 1051 Unknown table 'test.t18' SELECT 1; 1 1 main.82908 [ fail ] Test ended at 2016-09-09 07:19:21 CURRENT_TEST: main.82908 mysqltest: At line 8: query 'SELECT sleep(15)' failed: 2013: Lost connection to MySQL server during query safe_process[7696]: Child process: 7697, exit: 1 Server [mysqld.1 - pid: 7668, winpid: 7668, exit: 256] failed during test run Server log from this test: ----------SERVER LOG START----------- 2016-09-09T05:19:19.774587Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2016-09-09T05:19:19.777437Z 0 [Warning] Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory. 2016-09-09T05:19:19.777511Z 0 [Warning] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory. 2016-09-09T05:19:19.777671Z 0 [Note] /export/umesh/server/source/bugs/mysql-5.7.15/sql/mysqld (mysqld 5.7.15-debug-log-asan) starting as process 7669 ... 2016-09-09T05:19:19.782745Z 0 [Warning] setrlimit could not change the size of core files to 'infinity'; We may not be able to generate a core file on signals 2016-09-09T05:19:19.788279Z 0 [Note] InnoDB: PUNCH HOLE support available 2016-09-09T05:19:19.788345Z 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2016-09-09T05:19:19.788382Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2016-09-09T05:19:19.788409Z 0 [Note] InnoDB: Uses event mutexes 2016-09-09T05:19:19.788434Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2016-09-09T05:19:19.788464Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2016-09-09T05:19:19.788488Z 0 [Note] InnoDB: Using Linux native AIO 2016-09-09T05:19:19.793000Z 0 [Note] InnoDB: Number of pools: 1 2016-09-09T05:19:19.793481Z 0 [Note] InnoDB: Using CPU crc32 instructions 2016-09-09T05:19:19.796231Z 0 [Note] InnoDB: Initializing buffer pool, total size = 24M, instances = 1, chunk size = 24M 2016-09-09T05:19:19.809602Z 0 [Note] InnoDB: Completed initialization of buffer pool 2016-09-09T05:19:19.814466Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2016-09-09T05:19:19.827498Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2016-09-09T05:19:19.871736Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2016-09-09T05:19:19.871881Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2016-09-09T05:19:19.890407Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2016-09-09T05:19:19.899006Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2016-09-09T05:19:19.899038Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2016-09-09T05:19:19.901005Z 0 [Note] InnoDB: Waiting for purge to start 2016-09-09T05:19:19.951378Z 0 [Note] InnoDB: 5.7.15 started; log sequence number 1350443 2016-09-09T05:19:19.953241Z 0 [Note] InnoDB: Loading buffer pool(s) from /export/umesh/server/source/bugs/mysql-5.7.15/mysql-test/var/mysqld.1/data/ib_buffer_pool 2016-09-09T05:19:19.953463Z 0 [Note] Plugin 'FEDERATED' is disabled. 2016-09-09T05:19:19.959191Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160909 8:19:19 2016-09-09T05:19:19.960689Z 0 [Warning] unknown variable 'loose-mysqlx-socket=/export/umesh/server/source/bugs/mysql-5.7.15/mysql-test/var/tmp/mysqlx.1.sock' 2016-09-09T05:19:19.960712Z 0 [Warning] unknown variable 'loose-sha256_password_auto_generate_rsa_keys=0' 2016-09-09T05:19:19.960719Z 0 [Warning] unknown variable 'loose-mysqlx-port=13009' 2016-09-09T05:19:19.965234Z 0 [Note] Salting uuid generator variables, current_pid: 7669, server_start_time: 1473398359, bytes_sent: 0, 2016-09-09T05:19:19.965352Z 0 [Note] Generated uuid: 'f616b231-764c-11e6-a650-0010e05f3e06', server_start_time: 2158631597867426892, bytes_sent: 106094282422528 2016-09-09T05:19:19.965446Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: f616b231-764c-11e6-a650-0010e05f3e06. 2016-09-09T05:19:19.968759Z 0 [Warning] CA certificate /export/umesh/server/source/bugs/mysql-5.7.15/mysql-test/std_data/cacert.pem is self signed. 2016-09-09T05:19:19.971313Z 0 [Note] Server hostname (bind-address): '*'; port: 13000 2016-09-09T05:19:19.971400Z 0 [Note] IPv6 is available. 2016-09-09T05:19:19.971430Z 0 [Note] - '::' resolves to '::'; 2016-09-09T05:19:19.971513Z 0 [Note] Server socket created on IP: '::'. 2016-09-09T05:19:20.020894Z 0 [Note] Event Scheduler: Loaded 0 events 2016-09-09T05:19:20.021800Z 0 [Note] /export/umesh/server/source/bugs/mysql-5.7.15/sql/mysqld: ready for connections. Version: '5.7.15-debug-log-asan' socket: '/export/umesh/server/source/bugs/mysql-5.7.15/mysql-test/var/tmp/mysqld.1.sock' port: 13000 Source distribution 2016-09-09T05:19:20.809939Z 3 [Note] InnoDB: innodb_change_buffering_debug flush [page id: space=0, page number=314] SIGKILL myself safe_process[7668]: Child process: 7669, killed by signal: 9 ----------SERVER LOG END------------- - the logfile can be found in '/export/umesh/server/source/bugs/mysql-5.7.15/mysql-test/var/log/main.82908/82908.log' -------------------------------------------------------------------------- The servers were restarted 0 times Spent 0.000 of 6 seconds executing testcases Completed: Failed 1/1 tests, 0.00% were successful. Failing test(s): main.82908 The log files in var/log may give you some hint of what went wrong. If you want to report this error, please read first the documentation at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html mysql-test-run: *** ERROR: there were failing test cases