ctest - helgrind_test_circular_buffer fails with Assertion `is_empty()' failed

Description

Test fails in Percona jenkins on centos7-64.

/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/util/circular_buffer.cc:111 deinit: Assertion `is_empty()' failed (errno=2)
: No such file or directory
Backtrace: (Note: toku_do_assert=0x0x505f77a)
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/portability/libtokuportability.so(_Z19db_env_do_backtraceP8_IO_FILE+0x26)[0x505f311]
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/portability/libtokuportability.so(+0x94ee)[0x505f4ee]
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/portability/libtokuportability.so(_Z24toku_do_assert_zero_failmPKcS0_S0_ii+0x0)[0x505f5e2]
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/util/tests/test_circular_buffer[0x4022a3]
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/util/tests/test_circular_buffer[0x401ec8]
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/util/tests/test_circular_buffer[0x401f10]
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/util/tests/test_circular_buffer[0x4012a2]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x60cfaf5]
/mnt/workspace/ft-index-param/BUILD_TYPE/debug/Host/centos7-64/build/util/tests/test_circular_buffer[0x401009]
Engine status function not available
Memory usage:
==24572== ---Thread-Announcement------------------------------------------
==24572==
==24572== Thread #1 is the program's root thread
==24572==
==24572== ----------------------------------------------------------------
==24572==
==24572== Thread #1: Exiting thread still holds 1 lock
==24572== at 0x60E35D7: raise (in /usr/lib64/libc-2.17.so)
==24572== by 0x60E4CC7: abort (in /usr/lib64/libc-2.17.so)
==24572== by 0x505F4F2: toku_do_backtrace_abort() (toku_assert.cc:199)
==24572== by 0x505F5E1: toku_do_assert_fail(char const*, char const*, char const*, int, int) (toku_assert.cc:220)
==24572== by 0x4022A2: toku::circular_buffer<unsigned int>::deinit() (circular_buffer.cc:111)
==24572== by 0x401EC7: test_with_threads() (test_circular_buffer.cc:185)
==24572== by 0x401F0F: test_main(int, char const**) (test_circular_buffer.cc:195)
==24572== by 0x4012A1: main (test.h:133)
==24572==

Environment

None

Status

Assignee

Unassigned

Reporter

George Lorch

Labels

None

External issue ID

None

Freshdesk Tickets

None

Fix versions

Priority

Minor
Configure