You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[exception]: Executing test client: assertion:Server started even if RDB was unreadable! #1034
[exception]: Executing test client: assertion:Server started even if RDB was unreadable!.
assertion:Server started even if RDB was unreadable!
while executing
"error "assertion:$msg""
(procedure "fail" line 2)
invoked from within
"fail "Server started even if RDB was unreadable!""
("uplevel" body line 2)
invoked from within
"uplevel 1 $elsescript"
(procedure "wait_for_condition" line 7)
invoked from within
"wait_for_condition 50 100 {
[string match {Fatal error loading} [exec tail -n1 < [dict get $srv stdout]]]
} else {
fail "Server..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code"
(procedure "start_server_and_kill_it" line 5)
invoked from within
"start_server_and_kill_it [list "dir" $server_path] {
wait_for_condition 50 100 {
[string match {Fatal error loading}
[exec..."
(file "tests/integration/rdb.tcl" line 57)
invoked from within
"source $path"
(procedure "execute_tests" line 4)
invoked from within
"execute_tests $data"
(procedure "test_client_main" line 9)
invoked from within
"test_client_main $::test_server_port "
make[1]: *** [test] Error 1
make[1]: Leaving directory `/tmp/redis-2.6.12/src'
make: *** [test] Error 2
Just chiming in to say that I am experiencing the same issue.
$uname -a
Linux sd08 2.6.32-41-generic #88-Ubuntu SMP Thu Mar 29 13:10:32 UTC 2012 x86_64 GNU/Linux
[exception]: Executing test client: assertion:Server started even if RDB was unreadable!.
assertion:Server started even if RDB was unreadable!while executing
"error "assertion:$msg""
(procedure "fail" line 2)
invoked from within
"fail "Server started even if RDB was unreadable!""
("uplevel" body line 2)
invoked from within
"uplevel 1 $elsescript"
(procedure "wait_for_condition" line 7)
invoked from within
"wait_for_condition 50 100 { [string match {*Fatal error loading*} [exec tail -n1 < [dict get $srv stdout]]] } else { fail "Server..." ("uplevel" body line 2) invoked from within"uplevel 1 $code" (procedure "start_server_and_kill_it" line 5) invoked from within"start_server_and_kill_it [list "dir"$server_path] {
wait_for_condition 50 100 {
[string match {*Fatal error loading*} \
[exec..." (file "tests/integration/rdb.tcl" line 57) invoked from within"source $path" (procedure "execute_tests" line 4) invoked from within"execute_tests $data" (procedure "test_client_main" line 9) invoked from within"test_client_main $::test_server_port "
Hey, that's just a false positive, I'll remove the test as it does not play nicely with some environment apparently... It involves calling chmod and so forth.
I can reproduce this error on my ubuntu machine.
I disabled apparmor with /etc/init.d/apparmor stop; /etc/init.d/apparmor teardown. make test still fails with the same error.
(both my Arch Linux & debian machine are working just fine)
@badboy oh great! Maybe tomorrow (or when you have time) at some point we can get some IRC meeting or alike? Thank you. Of course if you feel in the right vein you may just debug it and send a PR :-) But I'll be happy to do a four eyes debugging attempt otherwise. Thank you in advance.
Ok, while setting up the server for tomorrow (guest account, ssh access) I came across something weird: The test only fails with the root user. When running under my new guest user all tests pass. I can reproduce it on my local arch linux machine and my production server (debian)
...I do 'make test' twice, first time, appear err:
*** [err]: PEXPIRE/PSETEX/PEXPIREAT can set sub-second expires in tests/unit/expire.tcl
Expected 'somevalue {}' to equal or match '{} {}'
second time, it's gone~ 0 err
@swordhua that's a know false failure due to slow computers. The timeout here is just not working if the server is too busy doing other things at the moment. If it succeeded the second time everything is ok
Activity
hydak commentedon Apr 5, 2013
I get that same message too on 2.6.12
iamfafa commentedon Apr 7, 2013
how to fix it?
cromulus commentedon Apr 8, 2013
Just chiming in to say that I am experiencing the same issue.
ricardobeat commentedon Apr 8, 2013
Same here, 2.6.32-5-amd64, Debian 6.0, Redis 2.6.12.
iamfafa commentedon Apr 9, 2013
redis 2.4.18 is working, wait someone fix this problem
antirez commentedon Apr 9, 2013
Hey, that's just a false positive, I'll remove the test as it does not play nicely with some environment apparently... It involves calling chmod and so forth.
jinhao commentedon Apr 12, 2013
how to fix it?
jiazom commentedon Apr 16, 2013
Same to you, Ubuntu 12.10. redis 2.6.12 stable. finally,I found redis 2.4.18 is working,Useing 2.4.18.
CheckSkr commentedon Apr 22, 2013
I got this problem on my ubuntu12.10,how to fix it ? does anyone have ideas?
antirez commentedon Apr 22, 2013
Hello, I tried with many different Linux boxes, no way I can make it failing... any help from somebody with the failing test?
senfomat commentedon Apr 22, 2013
Some wierd apparmor-Permission-Stuff which comes preinstalled at least in Ubuntu?
badboy commentedon Apr 22, 2013
I can reproduce this error on my ubuntu machine.
I disabled apparmor with
/etc/init.d/apparmor stop; /etc/init.d/apparmor teardown.make teststill fails with the same error.(both my Arch Linux & debian machine are working just fine)
antirez commentedon Apr 22, 2013
@badboy oh great! Maybe tomorrow (or when you have time) at some point we can get some IRC meeting or alike? Thank you. Of course if you feel in the right vein you may just debug it and send a PR :-) But I'll be happy to do a four eyes debugging attempt otherwise. Thank you in advance.
badboy commentedon Apr 22, 2013
Sure, I'm available after 17:30. I don't have time to do this on my own, but together would be ok (you can get ssh access as well)
badboy commentedon Apr 22, 2013
Ok, while setting up the server for tomorrow (guest account, ssh access) I came across something weird: The test only fails with the root user. When running under my new guest user all tests pass. I can reproduce it on my local arch linux machine and my production server (debian)
Test: fix RDB test checking file permissions.
Test: fix RDB test checking file permissions.
Test: fix RDB test checking file permissions.
gankkank commentedon Jun 11, 2013
make test seems don't support root user.
badboy commentedon Jun 11, 2013
@gankkank It does now. Do you still have problems?
gankkank commentedon Jun 28, 2013
@badboy ok now. no problem with 2.6.14
bugs181 commentedon Mar 12, 2014
Problem reappears in 2.8.7 (Make test fails with root on debian)
badboy commentedon Mar 15, 2014
Just ran
make testas root on both the unstable branch and the 2.8.7 package and:@bugs181 You're sure you saw the exact same error as reported here? Maybe just another test was failing.
can-can commentedon Apr 18, 2014
...I do 'make test' twice, first time, appear err:
*** [err]: PEXPIRE/PSETEX/PEXPIREAT can set sub-second expires in tests/unit/expire.tcl
Expected 'somevalue {}' to equal or match '{} {}'
second time, it's gone~ 0 err
badboy commentedon Apr 18, 2014
@swordhua that's a know false failure due to slow computers. The timeout here is just not working if the server is too busy doing other things at the moment. If it succeeded the second time everything is ok
Test: fix RDB test checking file permissions.
Add Valkey 8.0 GA Release Notes (redis#1034)
Merge pull request redis#1034 from Cyan4973/make6
Update RedisBloom to version 8.10.0 (#15540)