Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern test #5

Open
daedric opened this issue Aug 15, 2014 · 2 comments
Open

Pattern test #5

daedric opened this issue Aug 15, 2014 · 2 comments

Comments

@daedric
Copy link
Contributor

daedric commented Aug 15, 2014

Hi,
Just to say that the Pattern test is not passing on my machine.
here is the output:

2/2 Testing: patterns
2/2 Test: patterns
Command: "/home/thomas/redis3m/build/patterns_test"
Directory: /home/thomas/redis3m/build
"patterns" start time: Aug 15 11:33 CEST
Output:
----------------------------------------------------------
Running 6 test cases...
/home/thomas/redis3m/tests/patterns.cpp(82): error in "scheduler_test": check found_id == "testid" failed [ != testid]
/home/thomas/redis3m/tests/patterns.cpp(87): error in "scheduler_test": check found_id == "testid" failed [ != testid]
/home/thomas/redis3m/tests/patterns.cpp(93): error in "scheduler_test": check r.integer() == 0 failed [1 != 0]
/home/thomas/redis3m/tests/patterns.cpp(130): error in "orm_save_test": check restored.loaded() == true failed [false != true]
unknown location(0): fatal error in "orm_save_test": std::exception: std::exception
/home/thomas/redis3m/tests/patterns.cpp(131): last checkpoint
/home/thomas/redis3m/tests/patterns.cpp(150): error in "orm_tracked_key": check id != "" failed [ == ]
unknown location(0): fatal error in "orm_tracked_key": std::exception: std::exception
/home/thomas/redis3m/tests/patterns.cpp(150): last checkpoint

*** 7 failures detected in test suite "redis3m"
<end of output>
Test time =   4.01 sec
----------------------------------------------------------
Test Failed.
"patterns" end time: Aug 15 11:33 CEST
"patterns" time elapsed: 00:00:04
----------------------------------------------------------

Version of software installed:

$> dpkg -l  redis-server libhiredis-dev libboost-dev                
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                           Version                              Architecture                         Description
+++-==============================================================-====================================-====================================-=================================================================================================================================
ii  libboost-dev                                                   1.54.0.1ubuntu1                      amd64                                Boost C++ Libraries development files (default version)
ii  libhiredis-dev:amd64                                           0.11.0-3                             amd64                                minimalistic C client library for Redis (development files)
ii  redis-server                                                   2:2.8.4-2                            amd64                                Persistent key-value database with network interface

Wouldn't worth it to have the CI running the tests ?

Thanks

@luca3m
Copy link
Owner

luca3m commented Aug 16, 2014

Hi daedric,

Have you set environment variable REDIS_HOST=localhost? CI already runs tests, except connection pool ones which are a bit complex.

Thank you

@daedric
Copy link
Contributor Author

daedric commented Sep 15, 2014

Hi,
Sorry for the very late answer, it stills fail:

○ [0](thomas@LT0161 ~/work/redis3m/build [0])./patterns_test   
Running 6 test cases...
/home/thomas/work/redis3m/tests/patterns.cpp(82): error in "scheduler_test": check found_id == "testid" failed [ != testid]
/home/thomas/work/redis3m/tests/patterns.cpp(87): error in "scheduler_test": check found_id == "testid" failed [ != testid]
/home/thomas/work/redis3m/tests/patterns.cpp(93): error in "scheduler_test": check r.integer() == 0 failed [1 != 0]

*** 3 failures detected in test suite "redis3m"

The redis-cli monitor output:

OK
1410768438.809408 [0 127.0.0.1:56226] "FLUSHDB"
1410768438.809494 [0 127.0.0.1:56226] "EVALSHA" "dc9acaa27306c368e1f1eb390e9b0dc9ec7314ee" "0"
1410768438.809517 [0 lua] "PING"
1410768438.809801 [0 127.0.0.1:56227] "FLUSHDB"
1410768438.809939 [0 127.0.0.1:56227] "ZADD" "test-queue" "1410768439" "testid"
1410768438.810047 [0 127.0.0.1:56227] "EVALSHA" "41a2fc7e6088884000e63035872b4593e4b4542c" "1" "test-queue" "1410768438" "1410768498"
1410768438.810079 [0 lua] "ZRANGEBYSCORE" "test-queue" "+inf" "1410768438" "LIMIT" "0" "1"
1410768440.810963 [0 127.0.0.1:56227] "EVALSHA" "41a2fc7e6088884000e63035872b4593e4b4542c" "1" "test-queue" "1410768440" "1410768441"
1410768440.811063 [0 lua] "ZRANGEBYSCORE" "test-queue" "+inf" "1410768440" "LIMIT" "0" "1"
1410768442.811667 [0 127.0.0.1:56227] "EVALSHA" "41a2fc7e6088884000e63035872b4593e4b4542c" "1" "test-queue" "1410768442" "1410768444"
1410768442.811768 [0 lua] "ZRANGEBYSCORE" "test-queue" "+inf" "1410768442" "LIMIT" "0" "1"
1410768442.812125 [0 127.0.0.1:56227] "ZREM" "test-queue" ""
1410768442.812350 [0 127.0.0.1:56227] "ZCARD" "test-queue"
1410768442.813153 [0 127.0.0.1:56229] "FLUSHDB"
1410768442.813392 [0 127.0.0.1:56229] "HMSET" "Test:xxx" "field" "test"
1410768442.813606 [0 127.0.0.1:56229] "HGETALL" "Test:xxx"
1410768442.813850 [0 127.0.0.1:56229] "DEL" "Test:xxx"
1410768442.814057 [0 127.0.0.1:56229] "HGETALL" "Test:xxx"
1410768442.814653 [0 127.0.0.1:56230] "FLUSHDB"
1410768442.814888 [0 127.0.0.1:56230] "EVALSHA" "d84093efbb10df1c5995c6b0e7340520973b306d" "0" "\x81\xa4name\xa4Test" "\x92\xa5field\xa4test" "\x81\xa5field\x91\xa4test" "\x80"
1410768442.815011 [0 lua] "INCR" "Test:id"
1410768442.815043 [0 lua] "SADD" "Test:all" "1"
1410768442.815061 [0 lua] "DEL" "Test:1"
1410768442.815075 [0 lua] "HMSET" "Test:1" "field" "test"
1410768442.815099 [0 lua] "SMEMBERS" "Test:1:_indices"
1410768442.815128 [0 lua] "SADD" "Test:1:_indices" "Test:indices:field:test"
1410768442.815158 [0 lua] "SADD" "Test:indices:field:test" "1"
1410768442.815181 [0 lua] "HKEYS" "Test:1:_uniques"
1410768442.815340 [0 127.0.0.1:56230] "HGETALL" "Test:1"
1410768442.815606 [0 127.0.0.1:56230] "EVALSHA" "55e478dd20bb68caae3eb6e27a9164f6d9f9fff6" "0" "\x83\xa2id\xa11\xa3key\xa6Test:1\xa4name\xa4Test" "\x80" "\x91\xa6mylist"
1410768442.815714 [0 lua] "SMEMBERS" "Test:1:_indices"
1410768442.815755 [0 lua] "SREM" "Test:indices:field:test" "1"
1410768442.815778 [0 lua] "SREM" "Test:1:_indices" "Test:indices:field:test"
1410768442.815810 [0 lua] "DEL" "Test:1:mylist"
1410768442.815834 [0 lua] "SREM" "Test:all" "1"
1410768442.815849 [0 lua] "DEL" "Test:1:counters" "Test:1:_indices" "Test:1:_uniques" "Test:1"
1410768442.816060 [0 127.0.0.1:56230] "HGETALL" "Test:1"
1410768442.816682 [0 127.0.0.1:56231] "FLUSHDB"
1410768442.816833 [0 127.0.0.1:56231] "EVALSHA" "d84093efbb10df1c5995c6b0e7340520973b306d" "0" "\x81\xa4name\xa4Test" "\x92\xa5field\xa3xxx" "\x81\xa5field\x91\xa3xxx" "\x80"
1410768442.816947 [0 lua] "INCR" "Test:id"
1410768442.816982 [0 lua] "SADD" "Test:all" "1"
1410768442.816998 [0 lua] "DEL" "Test:1"
1410768442.817012 [0 lua] "HMSET" "Test:1" "field" "xxx"
1410768442.817036 [0 lua] "SMEMBERS" "Test:1:_indices"
1410768442.817086 [0 lua] "SADD" "Test:1:_indices" "Test:indices:field:xxx"
1410768442.817115 [0 lua] "SADD" "Test:indices:field:xxx" "1"
1410768442.817140 [0 lua] "HKEYS" "Test:1:_uniques"
1410768442.817280 [0 127.0.0.1:56231] "LPUSH" "Test:1:mylist" "yyy"
1410768442.817370 [0 127.0.0.1:56231] "HGETALL" "Test:1"
1410768442.817509 [0 127.0.0.1:56231] "EVALSHA" "55e478dd20bb68caae3eb6e27a9164f6d9f9fff6" "0" "\x83\xa2id\xa11\xa3key\xa6Test:1\xa4name\xa4Test" "\x80" "\x91\xa6mylist"
1410768442.817571 [0 lua] "SMEMBERS" "Test:1:_indices"
1410768442.817591 [0 lua] "SREM" "Test:indices:field:xxx" "1"
1410768442.817605 [0 lua] "SREM" "Test:1:_indices" "Test:indices:field:xxx"
1410768442.817621 [0 lua] "DEL" "Test:1:mylist"
1410768442.817630 [0 lua] "SREM" "Test:all" "1"
1410768442.817638 [0 lua] "DEL" "Test:1:counters" "Test:1:_indices" "Test:1:_uniques" "Test:1"
1410768442.817773 [0 127.0.0.1:56231] "EXISTS" "Test:1:mylist"
1410768442.818110 [0 127.0.0.1:56232] "FLUSHDB"
1410768442.818233 [0 127.0.0.1:56232] "MULTI"
1410768442.818249 [0 127.0.0.1:56232] "LPUSH" "even" "1"
1410768442.818259 [0 127.0.0.1:56232] "LTRIM" "even" "0" "10"
1410768442.818269 [0 127.0.0.1:56232] "EXEC"
1410768442.818362 [0 127.0.0.1:56232] "MULTI"
1410768442.818371 [0 127.0.0.1:56232] "LPUSH" "even" "0"
1410768442.818380 [0 127.0.0.1:56232] "LTRIM" "even" "0" "10"
1410768442.818389 [0 127.0.0.1:56232] "EXEC"
1410768442.818483 [0 127.0.0.1:56232] "MULTI"
1410768442.818494 [0 127.0.0.1:56232] "LPUSH" "even" "4"
1410768442.818501 [0 127.0.0.1:56232] "LTRIM" "even" "0" "10"
1410768442.818509 [0 127.0.0.1:56232] "EXEC"
1410768442.818559 [0 127.0.0.1:56232] "MULTI"
1410768442.818570 [0 127.0.0.1:56232] "LPUSH" "even" "5"
1410768442.818578 [0 127.0.0.1:56232] "LTRIM" "even" "0" "10"
1410768442.818585 [0 127.0.0.1:56232] "EXEC"
1410768442.818630 [0 127.0.0.1:56232] "MULTI"
1410768442.818645 [0 127.0.0.1:56232] "LPUSH" "even" "8"
1410768442.818658 [0 127.0.0.1:56232] "LTRIM" "even" "0" "10"
1410768442.818672 [0 127.0.0.1:56232] "EXEC"
1410768442.818727 [0 127.0.0.1:56232] "MULTI"
1410768442.818739 [0 127.0.0.1:56232] "LPUSH" "even" "10"
1410768442.818747 [0 127.0.0.1:56232] "LTRIM" "even" "0" "10"
1410768442.818755 [0 127.0.0.1:56232] "EXEC"
1410768442.818803 [0 127.0.0.1:56232] "SORT" "even"
1410768442.818916 [0 127.0.0.1:56232] "MULTI"
1410768442.818934 [0 127.0.0.1:56232] "LPUSH" "odd" "1"
1410768442.818948 [0 127.0.0.1:56232] "LTRIM" "odd" "0" "10"
1410768442.818957 [0 127.0.0.1:56232] "EXEC"
1410768442.819000 [0 127.0.0.1:56232] "MULTI"
1410768442.819010 [0 127.0.0.1:56232] "LPUSH" "odd" "0"
1410768442.819017 [0 127.0.0.1:56232] "LTRIM" "odd" "0" "10"
1410768442.819025 [0 127.0.0.1:56232] "EXEC"
1410768442.819070 [0 127.0.0.1:56232] "MULTI"
1410768442.819082 [0 127.0.0.1:56232] "LPUSH" "odd" "3.5"
1410768442.819089 [0 127.0.0.1:56232] "LTRIM" "odd" "0" "10"
1410768442.819097 [0 127.0.0.1:56232] "EXEC"
1410768442.819138 [0 127.0.0.1:56232] "MULTI"
1410768442.819156 [0 127.0.0.1:56232] "LPUSH" "odd" "5"
1410768442.819164 [0 127.0.0.1:56232] "LTRIM" "odd" "0" "10"
1410768442.819176 [0 127.0.0.1:56232] "EXEC"
1410768442.819221 [0 127.0.0.1:56232] "MULTI"
1410768442.819231 [0 127.0.0.1:56232] "LPUSH" "odd" "10"
1410768442.819239 [0 127.0.0.1:56232] "LTRIM" "odd" "0" "10"
1410768442.819251 [0 127.0.0.1:56232] "EXEC"
1410768442.819292 [0 127.0.0.1:56232] "SORT" "odd"
1410768442.819347 [0 127.0.0.1:56232] "MULTI"
1410768442.819365 [0 127.0.0.1:56232] "LPUSH" "over" "90"
1410768442.819376 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819384 [0 127.0.0.1:56232] "EXEC"
1410768442.819425 [0 127.0.0.1:56232] "MULTI"
1410768442.819439 [0 127.0.0.1:56232] "LPUSH" "over" "1"
1410768442.819452 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819466 [0 127.0.0.1:56232] "EXEC"
1410768442.819507 [0 127.0.0.1:56232] "MULTI"
1410768442.819521 [0 127.0.0.1:56232] "LPUSH" "over" "0"
1410768442.819533 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819552 [0 127.0.0.1:56232] "EXEC"
1410768442.819591 [0 127.0.0.1:56232] "MULTI"
1410768442.819605 [0 127.0.0.1:56232] "LPUSH" "over" "3.5"
1410768442.819618 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819632 [0 127.0.0.1:56232] "EXEC"
1410768442.819675 [0 127.0.0.1:56232] "MULTI"
1410768442.819694 [0 127.0.0.1:56232] "LPUSH" "over" "5"
1410768442.819707 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819721 [0 127.0.0.1:56232] "EXEC"
1410768442.819761 [0 127.0.0.1:56232] "MULTI"
1410768442.819770 [0 127.0.0.1:56232] "LPUSH" "over" "10"
1410768442.819778 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819793 [0 127.0.0.1:56232] "EXEC"
1410768442.819837 [0 127.0.0.1:56232] "MULTI"
1410768442.819850 [0 127.0.0.1:56232] "LPUSH" "over" "80"
1410768442.819863 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819878 [0 127.0.0.1:56232] "EXEC"
1410768442.819921 [0 127.0.0.1:56232] "MULTI"
1410768442.819935 [0 127.0.0.1:56232] "LPUSH" "over" "1"
1410768442.819947 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.819962 [0 127.0.0.1:56232] "EXEC"
1410768442.820003 [0 127.0.0.1:56232] "MULTI"
1410768442.820012 [0 127.0.0.1:56232] "LPUSH" "over" "28"
1410768442.820021 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.820036 [0 127.0.0.1:56232] "EXEC"
1410768442.820080 [0 127.0.0.1:56232] "MULTI"
1410768442.820093 [0 127.0.0.1:56232] "LPUSH" "over" "15"
1410768442.820106 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.820121 [0 127.0.0.1:56232] "EXEC"
1410768442.820163 [0 127.0.0.1:56232] "MULTI"
1410768442.820178 [0 127.0.0.1:56232] "LPUSH" "over" "35"
1410768442.820192 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.820206 [0 127.0.0.1:56232] "EXEC"
1410768442.820246 [0 127.0.0.1:56232] "MULTI"
1410768442.820260 [0 127.0.0.1:56232] "LPUSH" "over" "47"
1410768442.820273 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.820288 [0 127.0.0.1:56232] "EXEC"
1410768442.820329 [0 127.0.0.1:56232] "MULTI"
1410768442.820344 [0 127.0.0.1:56232] "LPUSH" "over" "100"
1410768442.820357 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.820372 [0 127.0.0.1:56232] "EXEC"
1410768442.820413 [0 127.0.0.1:56232] "MULTI"
1410768442.820426 [0 127.0.0.1:56232] "LPUSH" "over" "19"
1410768442.820441 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.820455 [0 127.0.0.1:56232] "EXEC"
1410768442.820494 [0 127.0.0.1:56232] "MULTI"
1410768442.820508 [0 127.0.0.1:56232] "LPUSH" "over" "31"
1410768442.820521 [0 127.0.0.1:56232] "LTRIM" "over" "0" "10"
1410768442.820536 [0 127.0.0.1:56232] "EXEC"
1410768442.820574 [0 127.0.0.1:56232] "SORT" "over"
1410768442.820637 [0 127.0.0.1:56232] "SORT" "not_exist"
1410768442.820691 [0 127.0.0.1:56232] "MULTI"
1410768442.820707 [0 127.0.0.1:56232] "LPUSH" "one" "3"
1410768442.820716 [0 127.0.0.1:56232] "LTRIM" "one" "0" "10"
1410768442.820724 [0 127.0.0.1:56232] "EXEC"
1410768442.820757 [0 127.0.0.1:56232] "SORT" "one"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants