Describe the bug
!!! WARNING The following tests failed:
*** [err]: Replication of an expired key does not delete the expired key in tests/integration/replication-4.tcl Expected '0' to be equal to '1' (context: type eval line 13 cmd {assert_equal 0 [$slave exists k]} proc ::test) *** [err]: Interactive CLI: Parsing quotes in tests/integration/redis-cli.tcl Expected 'OK' to be equal to '(0.84s) OK' (context: type eval line 4 cmd {assert_equal "OK" [run_command $fd "set key \" bar \""]} proc ::test) *** [err]: Test child sending info in tests/integration/rdb.tcl COW info wasn't reported *** [err]: Active defrag big list in tests/unit/memefficiency.tcl Expected 1.01 >= 1.7 (context: type eval line 40 cmd {assert {$frag >= $expected_frag}} proc ::test) Cleanup: may take some time... OK make[1]: *** [Makefile:427: test] Error 1 make[1]: Leaving directory '/home/keefer/redis-stable/src' make: *** [Makefile:6: test] Error 2
To reproduce
Tried to install and test the latest Source Code on both an existing system and on a fresh Debian 11 install. Followed the instructions on Install Redis from Source, https://redis.io/docs/getting-started/installation/install-redis-from-source/ and added the following packages.
sudo apt install lsb-release -y sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 -y sudo apt-get install libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev libfmt-dev sudo apt install tcl wget https://download.redis.io/redis-stable.tar.gz tar -xzvf redis-stable.tar.gz cd redis-stable make make test
Expected behavior
It goes without saying, I expected "make test" to run with no errors.
Additional information
during the "make" I didn't notice any warnings or errors.
Comment From: enjoy-binbin
these tests are relatively fragile, and we are working on it, to improve them. and i guess your machine is slow? (0.84s)
OK'. this will (more likely) happen on some slow machines.
it is known, and i guess you can ignore it for now, we will try to handle it in the future
Comment From: keefer223
Yes it is slow. I'm using this cpu for building the project inorder to work any bugs out before installing the project to a 16 core threadripper.
Thanks
On Mon, Aug 22, 2022, 10:19 PM Binbin @.***> wrote:
these tests are relatively fragile, and we are working on it, to improve them. and i guess your machine is slow? (0.84s) OK'. this will (more likely) happen on some slow machines.
it is known, and i guess you can ignore it for now, we will try to handle it in the future
— Reply to this email directly, view it on GitHub https://github.com/redis/redis/issues/11153#issuecomment-1223440652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBYOZQ6NRRYXAKL5ZH5NGLV2QYJTANCNFSM57DDGO2A . You are receiving this because you authored the thread.Message ID: @.***>
Comment From: enjoy-binbin
I guess it has also been fixed by #11548 not quite, but there is a high probability that it will not fail again