twitter / pelikan

Pelikan is Twitter's unified cache backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test 28 (Integration) Failure

QingchenDang opened this issue · comments

I encountered an issue for running pelican_twemcache in Ubuntu.
Following the instructions, I run 'cmake ..' and 'make -j' and it does not produce any errors. It seems successfully pass all the checks and build the executables.

But when I run it as following, it automatically tear down the module:
$ _bin/pelikan_twemcache ../config/twemcache.conf
load config from ../config/twemcache.conf
set up the ccommon::log module
Set up the ccommon::debug module
create logger with filename twemcache.log cap 1048576
create logger with filename twemcache.cmd cap 2097152
Tear down the ccommon::debug module
tear down the ccommon::log module
$

I re-run the the tests, and it gets struck on test 28. After showing "Start 28: integration", it never finishes running:
$ make test
Running tests...
Test project /home/qingchend/pelikan/_build
Start 1: check_array
1/28 Test #1: check_array ...................... Passed 0.01 sec
Start 2: check_bstring
2/28 Test #2: check_bstring .................... Passed 0.01 sec
Start 3: check_buf
3/28 Test #3: check_buf ........................ Passed 0.01 sec
Start 4: check_pipe
4/28 Test #4: check_pipe ....................... Passed 0.51 sec
Start 5: check_tcp
5/28 Test #5: check_tcp ........................ Passed 0.51 sec
Start 6: check_event
6/28 Test #6: check_event ...................... Passed 1.01 sec
Start 7: check_log
7/28 Test #7: check_log ........................ Passed 0.02 sec
Start 8: check_metric
8/28 Test #8: check_metric ..................... Passed 0.01 sec
Start 9: check_option
9/28 Test #9: check_option ..................... Passed 0.01 sec
Start 10: check_pool
10/28 Test #10: check_pool ....................... Passed 0.01 sec
Start 11: check_rbuf
11/28 Test #11: check_rbuf ....................... Passed 0.00 sec
Start 12: check_ring_array
12/28 Test #12: check_ring_array ................. Passed 0.05 sec
Start 13: check_timer
13/28 Test #13: check_timer ...................... Passed 0.01 sec
Start 14: check_wheel
14/28 Test #14: check_wheel ...................... Passed 1.82 sec
Start 15: check_bitmap
15/28 Test #15: check_bitmap ..................... Passed 0.01 sec
Start 16: check_sarray
16/28 Test #16: check_sarray ..................... Passed 0.01 sec
Start 17: check_smap
17/28 Test #17: check_smap ....................... Passed 0.01 sec
Start 18: check_ziplist
18/28 Test #18: check_ziplist .................... Passed 0.02 sec
Start 19: check_memcache
19/28 Test #19: check_memcache ................... Passed 0.04 sec
Start 20: check_resp
20/28 Test #20: check_resp ....................... Passed 0.02 sec
Start 21: check_admin
21/28 Test #21: check_admin ...................... Passed 0.01 sec
Start 22: check_kc_map
22/28 Test #22: check_kc_map ..................... Passed 0.00 sec
Start 23: check_key_window
23/28 Test #23: check_key_window ................. Passed 0.00 sec
Start 24: check_cuckoo
24/28 Test #24: check_cuckoo ..................... Passed 0.10 sec
Start 25: check_slab
25/28 Test #25: check_slab ....................... Passed 0.70 sec
Start 26: check_seg
26/28 Test #26: check_seg ........................ Passed 4.76 sec
Start 27: check_time
27/28 Test #27: check_time ....................... Passed 2.01 sec
Start 28: integration
_

I also run it on MacOS which does not have the same problem, but it failed to run the operations using Memtier_benchmark. I did not find any related issues from others. Could you help?