!!! WARNING The following tests failed:
*** [err]: replica buffer don't induce eviction in tests/unit/maxmemory.tcl
Expected condition '$slave_buf > 2*1024*1024' to be true (16922 > 2*1024*1024)
Cleanup: may take some time... OK
Makefile:262: recipe for target 'test' failed
!!! WARNING The following tests failed:
*** [err]: slave buffer are counted correctly in tests/unit/maxmemory.tcl
Expected condition '$delta < 50*1024 && $delta > -50*1024' to be true (-75384 < 50*1024 && -75384 > -50*1024)
Cleanup: may take some time... OK
Makefile:262: recipe for target 'test' failed
!!! WARNING The following tests failed:
*** [err]: Active defrag in tests/unit/memefficiency.tcl
defrag didn't stop.
Cleanup: may take some time... OK
Makefile:262: recipe for target 'test' failed
Redis: 5.0.3
$ docker -v Docker version 18.06.1-ce, build e68fc7a
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
# cat /etc/release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS" NAME="Ubuntu" VERSION="18.04.1 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.1 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
Comment From: neomantra
I just tried this out like this:
$ docker run -it --rm ubuntu:18.04
# apt update
# apt install gcc make tcl build-essential wget
# wget https://github.com/antirez/redis/archive/5.0.3.tar.gz
# cd redis-5.0.3
# make
# make test
I only had this failure:
*** [err]: slave buffer are counted correctly in tests/unit/maxmemory.tcl
Expected condition '$delta_no_repl > -50*1024 && $delta_no_repl < 50*1024' to be true (81680 > -50*1024 && 81680 < 50*1024)
Comment From: SocieteCiss
Same issue, redis-5.0.8 with Docker version 18.06.3-ce, build d7080c1
*** [err]: replica buffer don't induce eviction in tests/unit/maxmemory.tcl
Expected condition '$slave_buf > 2*1024*1024' to be true (16922 > 2*1024*1024)
Makefile:6: recipe for target 'test' failed
Comment From: oranagra
this was hopefully solved by ba809f26d4bd81d23fa929d0c018f235ab298564