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

Already on GitHub? Sign in to your account

redis 2.6.12 make test failures #1041

Closed
klydel opened this Issue Apr 8, 2013 · 6 comments

Comments

Projects
None yet
5 participants

klydel commented Apr 8, 2013

currently getting test case failures on amazon linux x86_64 ami:
[err]: PEXPIRE/PSETEX/PEXPIREAT can set sub-second expires in tests/unit/expire.tcl
then......
[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 `/opt/redis/redis-2.6.12/src'
make: *** [test] Error 2

dup of #1034

jiazom commented Apr 16, 2013

redis 2.4.18 can work.

klydel commented Apr 16, 2013

thank you, will try

don't use root to run make test.

may be it's better to create a user such as "redis" when install? and run test server use redis user.

klydel commented Jun 11, 2013

thanks for that

klydel commented Jun 11, 2013

"\o/ All tests passed without errors!" when uid not 0.
thanks for your help, im a pebkac

@mattsta mattsta closed this May 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment