rm -rf CMackeCache.txt cmake . -DWITH_DEBUG=1 -DWITH_VALGRIND=1 -DWITH_BOOST=./boost -DCMAKE_INSTALL_PREFIX=/home/ushastry/Downloads/mysql-8.0.4-valgrind make -j8 make install cd /home/ushastry/Downloads/mysql-8.0.4-valgrind ushastry@ArtfulAardvark:~/Downloads/mysql-8.0.4-valgrind$ cat docs/INFO_SRC commit: 73b6cff33896a3cd0f0d02d6c30fdaed8b562cf3 date: 2018-01-18 16:43:56 +0100 build-date: 2018-01-18 16:53:08 +0100 short: 73b6cff branch: mysql-8.0.4-rc-release MySQL source 8.0.4 ushastry@ArtfulAardvark:~/Downloads/mysql-8.0.4-valgrind$ cd mysql-test/ ushastry@ArtfulAardvark:~/Downloads/mysql-8.0.4-valgrind/mysql-test$ ./mtr --big-test --debug-server --valgrind rpl_nogtid.rpl_semi_sync_after_sync Logging: ./mtr --big-test --debug-server --valgrind rpl_nogtid.rpl_semi_sync_after_sync 2018-02-09T12:08:20.395888Z 0 [System] [MY-010116] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld (mysqld 8.0.4-rc-debug-log-valgrind) starting as process 25096 ... MySQL Version 8.0.4 Turning on valgrind for all executables Running valgrind with options " --tool=memcheck --num-callers=16 --show-reachable=yes --suppressions=/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/valgrind.supp " Turning off --check-testcases to save time when valgrinding Checking supported features... - SSL connections supported - binaries are debug compiled Collecting tests... - adding combinations for rpl_nogtid Removing old var directory... Creating var directory '/home/ushastry/Downloads/mysql-8.0.4-valgrind/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 rpl_nogtid.rpl_semi_sync_after_sync 'mix' [ pass ] 393824 rpl_nogtid.rpl_semi_sync_after_sync 'row' [ pass ] 408614 rpl_nogtid.rpl_semi_sync_after_sync 'stmt' [ pass ] 402992 worker[1] Valgrind report from /home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/log/mysqld.1.err after tests: rpl_nogtid.rpl_semi_sync_after_sync -------------------------------------------------------------------------- HEAP SUMMARY: in use at exit: 33 bytes in 2 blocks total heap usage: 528,445 allocs, 528,443 frees, 534,920,906 bytes allocated 1 bytes in 1 blocks are still reachable in loss record 1 of 2 at 0x6903B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x5CE741C: allocate_dtv_entry (dl-tls.c:591) by 0x5CE741C: allocate_and_init (dl-tls.c:616) by 0x5CE741C: tls_get_addr_tail (dl-tls.c:796) by 0x5CEDFA7: __tls_get_addr (tls_get_addr.S:55) by 0x21DF5554: ??? by 0x27CE46E: plugin_deinitialize(st_plugin_int*, bool) (sql_plugin.cc:1102) by 0x27CE9C0: reap_plugins() (sql_plugin.cc:1181) by 0x27D14E4: plugin_shutdown() (sql_plugin.cc:2025) by 0x26451F9: clean_up(bool) (mysqld.cc:2082) by 0x26522F8: mysqld_main(int, char**) (mysqld.cc:6499) by 0x2641C99: main (main.cc:32) LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 0 bytes in 0 blocks possibly lost: 0 bytes in 0 blocks still reachable: 1 bytes in 1 blocks suppressed: 32 bytes in 1 blocks For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Memcheck, a memory error detector Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info Command: /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld --defaults-group-suffix=.1 --defaults-file=/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/my.cnf --log-output=file --loose-debug-sync-timeout=6000 --log-syslog=0 --plugin-dir=/home/ushastry/Downloads/mysql-8.0.4-valgrind/lib/plugin --skip-ssl --binlog-format=mixed --core-file 2018-02-09T12:16:05.534265Z 0 [Warning] [MY-010099] Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory. 2018-02-09T12:16:05.608955Z 0 [Warning] [MY-010101] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory. 2018-02-09T12:16:05.642795Z 0 [System] [MY-010116] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld (mysqld 8.0.4-rc-debug-log-valgrind) starting as process 25259 ... 2018-02-09T12:20:02.752225Z 0 [Warning] [MY-011071] unknown variable 'loose-mysqlx-port=13009' 2018-02-09T12:20:02.757911Z 0 [Warning] [MY-011071] unknown variable 'loose-mysqlx-socket=/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/tmp/mysqlx.1.sock' 2018-02-09T12:20:02.758360Z 0 [Warning] [MY-011071] unknown variable 'loose-sha256_password_auto_generate_rsa_keys=0' 2018-02-09T12:20:02.758782Z 0 [Warning] [MY-011071] unknown variable 'loose-caching_sha2_password_auto_generate_rsa_keys=0' 2018-02-09T12:20:08.930012Z 0 [System] [MY-010931] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld: ready for connections. Version: '8.0.4-rc-debug-log-valgrind' socket: '/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/tmp/mysqld.1.sock' port: 13000 Source distribution. 2018-02-09T12:21:11.339827Z 0 [System] [MY-010910] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld: Shutdown complete. HEAP SUMMARY: in use at exit: 33 bytes in 2 blocks total heap usage: 479,532 allocs, 479,530 frees, 433,063,626 bytes allocated 1 bytes in 1 blocks are still reachable in loss record 1 of 2 at 0x6903B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x5CE741C: allocate_dtv_entry (dl-tls.c:591) by 0x5CE741C: allocate_and_init (dl-tls.c:616) by 0x5CE741C: tls_get_addr_tail (dl-tls.c:796) by 0x5CEDFA7: __tls_get_addr (tls_get_addr.S:55) by 0x1F163387: ??? by 0x27CF112: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1319) by 0x27CF707: plugin_init_initialize_and_reap() (sql_plugin.cc:1472) by 0x27D0246: plugin_register_dynamic_and_init_all(int*, char**, int) (sql_plugin.cc:1718) by 0x264D8B0: init_server_components() (mysqld.cc:4999) by 0x2650BA3: mysqld_main(int, char**) (mysqld.cc:5943) by 0x2641C99: main (main.cc:32) LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 0 bytes in 0 blocks possibly lost: 0 bytes in 0 blocks still reachable: 1 bytes in 1 blocks suppressed: 32 bytes in 1 blocks For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) worker[1] Valgrind report from /home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/log/mysqld.1.err after tests: rpl_nogtid.rpl_semi_sync_after_sync -------------------------------------------------------------------------- HEAP SUMMARY: in use at exit: 33 bytes in 2 blocks total heap usage: 529,727 allocs, 529,725 frees, 535,056,436 bytes allocated 1 bytes in 1 blocks are still reachable in loss record 1 of 2 at 0x6903B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x5CE741C: allocate_dtv_entry (dl-tls.c:591) by 0x5CE741C: allocate_and_init (dl-tls.c:616) by 0x5CE741C: tls_get_addr_tail (dl-tls.c:796) by 0x5CEDFA7: __tls_get_addr (tls_get_addr.S:55) by 0x21DF5554: ??? by 0x27CE46E: plugin_deinitialize(st_plugin_int*, bool) (sql_plugin.cc:1102) by 0x27CE9C0: reap_plugins() (sql_plugin.cc:1181) by 0x27D14E4: plugin_shutdown() (sql_plugin.cc:2025) by 0x26451F9: clean_up(bool) (mysqld.cc:2082) by 0x26522F8: mysqld_main(int, char**) (mysqld.cc:6499) by 0x2641C99: main (main.cc:32) LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 0 bytes in 0 blocks possibly lost: 0 bytes in 0 blocks still reachable: 1 bytes in 1 blocks suppressed: 32 bytes in 1 blocks For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Memcheck, a memory error detector Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info Command: /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld --defaults-group-suffix=.1 --defaults-file=/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/my.cnf --log-output=file --loose-debug-sync-timeout=6000 --log-syslog=0 --plugin-dir=/home/ushastry/Downloads/mysql-8.0.4-valgrind/lib/plugin --skip-ssl --binlog-format=row --core-file 2018-02-09T12:27:52.885907Z 0 [Warning] [MY-010099] Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory. 2018-02-09T12:27:52.934291Z 0 [Warning] [MY-010101] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory. 2018-02-09T12:27:52.956845Z 0 [System] [MY-010116] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld (mysqld 8.0.4-rc-debug-log-valgrind) starting as process 25392 ... 2018-02-09T12:32:03.953037Z 0 [Warning] [MY-011071] unknown variable 'loose-mysqlx-port=13009' 2018-02-09T12:32:03.958517Z 0 [Warning] [MY-011071] unknown variable 'loose-mysqlx-socket=/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/tmp/mysqlx.1.sock' 2018-02-09T12:32:03.958868Z 0 [Warning] [MY-011071] unknown variable 'loose-sha256_password_auto_generate_rsa_keys=0' 2018-02-09T12:32:03.959277Z 0 [Warning] [MY-011071] unknown variable 'loose-caching_sha2_password_auto_generate_rsa_keys=0' 2018-02-09T12:32:10.548662Z 0 [System] [MY-010931] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld: ready for connections. Version: '8.0.4-rc-debug-log-valgrind' socket: '/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/tmp/mysqld.1.sock' port: 13000 Source distribution. 2018-02-09T12:33:13.001019Z 0 [System] [MY-010910] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld: Shutdown complete. HEAP SUMMARY: in use at exit: 33 bytes in 2 blocks total heap usage: 480,622 allocs, 480,620 frees, 433,130,284 bytes allocated 1 bytes in 1 blocks are still reachable in loss record 1 of 2 at 0x6903B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x5CE741C: allocate_dtv_entry (dl-tls.c:591) by 0x5CE741C: allocate_and_init (dl-tls.c:616) by 0x5CE741C: tls_get_addr_tail (dl-tls.c:796) by 0x5CEDFA7: __tls_get_addr (tls_get_addr.S:55) by 0x1F163387: ??? by 0x27CF112: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1319) by 0x27CF707: plugin_init_initialize_and_reap() (sql_plugin.cc:1472) by 0x27D0246: plugin_register_dynamic_and_init_all(int*, char**, int) (sql_plugin.cc:1718) by 0x264D8B0: init_server_components() (mysqld.cc:4999) by 0x2650BA3: mysqld_main(int, char**) (mysqld.cc:5943) by 0x2641C99: main (main.cc:32) LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 0 bytes in 0 blocks possibly lost: 0 bytes in 0 blocks still reachable: 1 bytes in 1 blocks suppressed: 32 bytes in 1 blocks For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) worker[1] Valgrind report from /home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/log/mysqld.1.err after tests: rpl_nogtid.rpl_semi_sync_after_sync -------------------------------------------------------------------------- HEAP SUMMARY: in use at exit: 33 bytes in 2 blocks total heap usage: 529,256 allocs, 529,254 frees, 535,005,272 bytes allocated 1 bytes in 1 blocks are still reachable in loss record 1 of 2 at 0x6903B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x5CE741C: allocate_dtv_entry (dl-tls.c:591) by 0x5CE741C: allocate_and_init (dl-tls.c:616) by 0x5CE741C: tls_get_addr_tail (dl-tls.c:796) by 0x5CEDFA7: __tls_get_addr (tls_get_addr.S:55) by 0x219F5554: ??? by 0x27CE46E: plugin_deinitialize(st_plugin_int*, bool) (sql_plugin.cc:1102) by 0x27CE9C0: reap_plugins() (sql_plugin.cc:1181) by 0x27D14E4: plugin_shutdown() (sql_plugin.cc:2025) by 0x26451F9: clean_up(bool) (mysqld.cc:2082) by 0x26522F8: mysqld_main(int, char**) (mysqld.cc:6499) by 0x2641C99: main (main.cc:32) LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 0 bytes in 0 blocks possibly lost: 0 bytes in 0 blocks still reachable: 1 bytes in 1 blocks suppressed: 32 bytes in 1 blocks For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Memcheck, a memory error detector Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info Command: /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld --defaults-group-suffix=.1 --defaults-file=/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/my.cnf --log-output=file --loose-debug-sync-timeout=6000 --log-syslog=0 --plugin-dir=/home/ushastry/Downloads/mysql-8.0.4-valgrind/lib/plugin --skip-ssl --binlog-format=statement --core-file 2018-02-09T12:39:56.119099Z 0 [Warning] [MY-010099] Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory. 2018-02-09T12:39:56.172164Z 0 [Warning] [MY-010101] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory. 2018-02-09T12:39:56.197048Z 0 [System] [MY-010116] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld (mysqld 8.0.4-rc-debug-log-valgrind) starting as process 25529 ... 2018-02-09T12:43:57.704345Z 0 [Warning] [MY-011071] unknown variable 'loose-mysqlx-port=13009' 2018-02-09T12:43:57.717596Z 0 [Warning] [MY-011071] unknown variable 'loose-mysqlx-socket=/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/tmp/mysqlx.1.sock' 2018-02-09T12:43:57.718254Z 0 [Warning] [MY-011071] unknown variable 'loose-sha256_password_auto_generate_rsa_keys=0' 2018-02-09T12:43:57.718702Z 0 [Warning] [MY-011071] unknown variable 'loose-caching_sha2_password_auto_generate_rsa_keys=0' 2018-02-09T12:44:04.201910Z 0 [System] [MY-010931] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld: ready for connections. Version: '8.0.4-rc-debug-log-valgrind' socket: '/home/ushastry/Downloads/mysql-8.0.4-valgrind/mysql-test/var/tmp/mysqld.1.sock' port: 13000 Source distribution. 2018-02-09T12:45:10.399213Z 0 [System] [MY-010910] /home/ushastry/Downloads/mysql-8.0.4-valgrind/bin/mysqld: Shutdown complete. HEAP SUMMARY: in use at exit: 33 bytes in 2 blocks total heap usage: 480,458 allocs, 480,456 frees, 433,144,254 bytes allocated 1 bytes in 1 blocks are still reachable in loss record 1 of 2 at 0x6903B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x5CE741C: allocate_dtv_entry (dl-tls.c:591) by 0x5CE741C: allocate_and_init (dl-tls.c:616) by 0x5CE741C: tls_get_addr_tail (dl-tls.c:796) by 0x5CEDFA7: __tls_get_addr (tls_get_addr.S:55) by 0x1F163387: ??? by 0x27CF112: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1319) by 0x27CF707: plugin_init_initialize_and_reap() (sql_plugin.cc:1472) by 0x27D0246: plugin_register_dynamic_and_init_all(int*, char**, int) (sql_plugin.cc:1718) by 0x264D8B0: init_server_components() (mysqld.cc:4999) by 0x2650BA3: mysqld_main(int, char**) (mysqld.cc:5943) by 0x2641C99: main (main.cc:32) LEAK SUMMARY: definitely lost: 0 bytes in 0 blocks indirectly lost: 0 bytes in 0 blocks possibly lost: 0 bytes in 0 blocks still reachable: 1 bytes in 1 blocks suppressed: 32 bytes in 1 blocks For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) valgrind_report [ fail ] Test ended at 2018-02-09 07:45:11 Valgrind reported failures at shutdown, see above -------------------------------------------------------------------------- The servers were restarted 2 times Spent 1205.430 of 2212 seconds executing testcases Completed: Failed 1/4 tests, 75.00% were successful. Failing test(s): valgrind_report 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