racy-ctest: cachetable-simple-pin-nonblocking fails occationally

Description

The test fails on jenkin builds occationally with the following stack trace:
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/ft/tests/cachetable-simple-pin-nonblocking.cc:130 run_test: Assertion `r==0' failed (errno=2)
: No such file or directory
Backtrace: (Note: toku_do_assert=0x0x7f14577857fe)
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/build/portability/libtokuportability.so(_Z19db_env_do_backtraceP8_IO_FILE+0x26)[0x7f1457785395]
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/build/portability/libtokuportability.so(+0x9572)[0x7f1457785572]
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/build/portability/libtokuportability.so(_Z24toku_do_assert_zero_failmPKcS0_S0_ii+0x0)[0x7f1457785666]
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/build/ft/tests/cachetable-simple-pin-nonblocking[0x4030d7]
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/build/ft/tests/cachetable-simple-pin-nonblocking[0x4032c7]
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/build/ft/tests/cachetable-simple-pin-nonblocking[0x402770]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f145637faf5]
/mnt/workspace/PerconaFT-param/BUILD_TYPE/debug/Host/centos7-64/build/ft/tests/cachetable-simple-pin-nonblocking[0x401509]
Engine status function not available
Memory usage:
Arena 0:
system bytes = 135168
in use bytes = 14208
Arena 1:
system bytes = 135168
in use bytes = 3520
Arena 2:
system bytes = 135168
in use bytes = 3520
Total (incl. mmap):
system bytes = 75911168
in use bytes = 75526912
max mmap regions = 2
max mmap bytes = 75505664

The bug is basically suspected to be caused by the use of sleep to do the debug_sync.

Environment

both on ubuntu and centos5/7

Activity

Show:
George Lorch
November 25, 2015, 7:18 PM

Assignee

Unassigned

Reporter

Jun Yuan

Labels

External issue ID

None

Freshdesk Tickets

None

Priority

Critical