Hey there,

just wanted to compile and install the latest version of redis via http://download.redis.io/redis-stable.tar.gz and came to the result that after a successful compile one test is failing.

It would be nice if you could have a look into it.

my commands used:

sudo apt-get install build-essential tcl
cd /tmp
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make
make install

Output:

!!! WARNING The following tests failed:

*** [err]: With min-slaves-to-write: master not writable with lagged slave in tests/integration/replication-4.tcl
Expected 'NOREPLICAS*' to equal or match 'OK'
Cleanup: may take some time... OK
Makefile:242: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/tmp/redis-stable/src'
Makefile:6: recipe for target 'test' failed
make: *** [test] Error 2

Comment From: marpme

Okay fixed it, but rebuilding and testing again shouldn't be the fix for this 🤔

make clean
make
make test

Comment From: techieroshan

I still get the same error!

Comment From: alpgul

sudo apt-get install tcl tk

Comment From: Enkumicahel

I am getting the same error even after trying all of the above

Comment From: oranagra

@Enkumicahel can you please share the exact error you're seeing, and which version of redis is it?

Comment From: yoav-steinberg

Is anyone still getting this error? There's no reaction here for a while. I'm marking to be closed.

Comment From: marpme

@yoav-steinberg I guess I would close it as I never experienced something like this on newer versions of ubuntu. And since Ubuntu 16.04. is out of maintenance mode, I totally agree with you to close this anyway.