make test with redis-2.4.8 on solaris is giving exception #653

Open
mdhakate opened this Issue Aug 30, 2012 · 1 comment

Comments

Projects
None yet
1 participant

I have compiled the redis-2.4.8 as 64 bit on Solaris spark machine.
When I ran the gmake test it is giving me the following exception.

Testing integration/aof
[ok]: Linked list: SORT BY key
[ok]: SUNION with non existing keys - hashtable
[ok]: SDIFF with two sets - hashtable
[ok]: HMSET - big hash
[ok]: SDIFF with three sets - hashtable
[ok]: HMGET against non existing key and fields
[ok]: SDIFFSTORE with three sets - hashtable
[ok]: HMGET against wrong type
[ok]: HMGET - small hash
[ok]: Linked list: SORT BY hash field
[ok]: HMGET - big hash
[ok]: HKEYS - small hash
[ok]: HKEYS - big hash
[ok]: HVALS - small hash
[ok]: BRPOPLPUSH with a client BLPOPing the target list
[ok]: Generated sets must be encoded as intset
[ok]: SINTER with two sets - intset
[ok]: BRPOPLPUSH with wrong source type
[ok]: SINTERSTORE with two sets - intset
[exception]: Executing test client: usage: tail [+/-[n][lbc][f]] [file]
tail [+/-[n][l][r|f]] [file].
usage: tail [+/-[n][lbc][f]] [file]
tail [+/-[n][l][r|f]] [file]
while executing
"exec cat [dict get $srv stdout] | tail -n1"
("uplevel" body line 5)
invoked from within
"uplevel 1 $code"
(procedure "test" line 29)
invoked from within
"test "Unfinished MULTI: Server should have logged an error" {
set pattern "Unexpected end of file reading the append only file"
..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code"
(procedure "start_server_aof" line 5)
invoked from within
"start_server_aof [list dir $server_path] {
test "Unfinished MULTI: Server should have logged an error" {
set pattern "Unexpected ..."
("uplevel" body line 9)
invoked from within
"uplevel 1 $code"
(procedure "tags" line 3)
invoked from within
"tags {"aof"} {
## Test the server doesn't start when the AOF contains an unfinished MULTI
create_aof {
append_to_aof [formatCommand se..."
(file "tests/integration/aof.tcl" line 25)
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 "
gmake[1]: *
* [test] Error 1
gmake[1]: Leaving directory `/Mukunda/redis-2.4.8/src'
gmake: *** [test] Error 2

Could some one please let me know where is the problem.

Thank You
Regards
Mukunda Dhakate

In the continuation of the above issue, i found that the following exception is coming due to integration/aof
I have removed aof test case from test_helper.tcl and again run the make test
this time it is giving me the following error.

!!! WARNING The following tests failed:

*** [err]: ZUNIONSTORE with +inf/-inf scores - ziplist in tests/unit/type/zset.tcl
Expected 'Infinity' to be equal to 'inf'
*** [err]: ZINTERSTORE with +inf/-inf scores - ziplist in tests/unit/type/zset.tcl
Expected 'Infinity' to be equal to 'inf'
*** [err]: ZUNIONSTORE with +inf/-inf scores - skiplist in tests/unit/type/zset.tcl
Expected 'Infinity' to be equal to 'inf'
*** [err]: ZINTERSTORE with +inf/-inf scores - skiplist in tests/unit/type/zset.tcl
Expected 'Infinity' to be equal to 'inf'
Cleanup: may take some time... OK
gmake[1]: *** [test] Error 1
gmake[1]: Leaving directory `/Mukunda/redis-2.4.8/src'
gmake: *** [test] Error 2

In some post I have read that these error do not come in case of 64 bit build.
But still I am getting it.
Could you please someone help me on this.

Thank You
Regards
Mukunda Dhakate

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