I don't know what exactly this mean. I ran tests once, it failed, ran it again, it didn't. Here is the first output:
[37/50 done]: integration/psync2-reg (23 seconds)
[ok]: PSYNC2: generate load while killing replication links
[ok]: PSYNC2: cluster is consistent after load (x = 116216)
[ok]: PSYNC2: total sum of full synchronizations is exactly 4
[ok]: PSYNC2: Bring the master back again for next test
[ok]: PSYNC2: Partial resync after restart using RDB aux fields
[err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl
the used_memory of replica is much larger than master. Master:43587128 Replica:85530136
Logged warnings (pid 4927):
(none)
Logged warnings (pid 4914):
(none)
Logged warnings (pid 4881):
(none)
Logged warnings (pid 4847):
(none)
Logged warnings (pid 4824):
(none)
[exception]: Executing test client: couldn't open socket: connection refused.
couldn't open socket: connection refused
while executing
"wait_for_condition 50 1000 {
[$R($master_id) debug digest] == [$R($slave_id) debug digest]
} else {
fail "Replica not ..."
("uplevel" body line 13)
invoked from within
"uplevel 1 $code"
(procedure "test" line 47)
invoked from within
"test "PSYNC2: Replica RDB restart with EVALSHA in backlog issue #4483" {
# Pick a random slave
set slave_id [expr {($master_id+1)%5}]
..."
("uplevel" body line 177)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {} {
set master_id 0 ; # Current master
set start_time [clock seconds] ; # Test start time
set counter_value..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {} {
start_server {} {
set master_id 0 ; # Current master
set start_time [clock seconds] ; # Test start time
..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {} {
start_server {} {
start_server {} {
set master_id 0 ; # Current master
set start_time [clock seconds] ; # T..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {} {
start_server {} {
start_server {} {
start_server {} {
set master_id 0 ; # Current master
set start_time [clo..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {tags {"psync2"}} {
start_server {} {
start_server {} {
start_server {} {
start_server {} {
set master_id 0 ; # Curre..."
(file "tests/integration/psync2.tcl" line 1)
invoked from within
"source $path"
(procedure "execute_tests" line 4)
invoked from within
"execute_tests $data"
(procedure "test_client_main" line 10)
invoked from within
"test_client_main $::test_server_port "
Comment From: tw-bert
Encountered the same situation on two Azure Linux VM instances today, Redis 5.0.3.
First two make test runs failed, third succeeded, on both VM's.
Comment From: hobbsenigma
I encountered the same today on Ubuntu 16, Redis 5.0.3. The first make test failed, the second succeeded.
Comment From: 6westboy9
I encountered the same today on CentOS 7, Redis 5.0.5. Here is the first output:
*** [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl
the used_memory of replica is much larger than master. Master:43866024 Replica:69031816
Cleanup: may take some time... OK
make: *** [test] Error 1
Comment From: carlwgeorge
@6westboy9 If you need the latest redis on CentOS 7, you can install redis5 from IUS. We're currently skipping that tests, but once this issue is resolved we'll re-enable it in our spec file.
Comment From: tw-bert
Today we installed 5.0.5 on three Azure servers. make test succeeded everywhere on the first run (where 5.0.1, 5.0.2, 5.0.3, 5.0.4, failed on the first run). Could be coincidental of course.
Comment From: SuiFenPX
I encountered the same today on CentOS 7, Redis 5.0.5. Here is the first output:
*** [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl the used_memory of replica is much larger than master. Master:43866024 Replica:69031816 Cleanup: may take some time... OK make: *** [test] Error 1
Have you solved this problem now? How to solve it?
Comment From: ghost
same here on debian9 x64 with make 32bit. Remains the same on second run. v5.0.5
!!! WARNING The following tests failed:
*** [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl
the used_memory of replica is much larger than master. Master:43686872 Replica:68852696
Cleanup: may take some time... OK
Makefile:262: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/home/user/redis/src'
Makefile:6: recipe for target 'test' failed
make: *** [test] Error 2
**Comment From: obihill**
I had this issue when trying to install Redis 5.0.5 on a Google Compute Engine VM. Worked when I used `sudo`.
sudo make test
Before I do anything on a GCE VM, I usually do the following:
this will log you into root
sudo su
this will add you to the root group
usermod -a -G root [your_ssh_username]
Then Ctrl+D to go back to previous user i.e. your_ssh_username
This will switch you to the root group
newgrp root
run id -Gn to check group membership
```
I find it makes it easier to do root things with sudo.
Comment From: hello-albee
[err] Same here, Ubuntu 16.04, Redis 5.0.5. The first twice test failed, but third time succeeded. i don't know why. coincidence?
Comment From: vkatochka
Hetzner 1CPU, 2RAM, Load average: 14.39 9.03 6.20
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
cd
wget http://download.redis.io/releases/redis-5.0.7.tar.gz
tar -xzf redis-5.0.7.tar.gz
cd redis-5.0.7apt install build-essential tcl8.6
make
make test
[38/50 done]: unit/type/list-2 (130 seconds)
...
...
...
[err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl
the used_memory of replica is much larger than master. Master:43866024 Replica:85809072
....
!!! WARNING The following tests failed:
*** [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl
the used_memory of replica is much larger than master. Master:43866024 Replica:85809072
Cleanup: may take some time... OK
Makefile:262: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/home/vk/redis-5.0.7/src'
Makefile:6: recipe for target 'test' failed
make: *** [test] Error 2
The 1st time I ran make, I ran also installing other packages in parallel. I got an error while "make test".
The 2nd time, I repeated "make". And the "make test" runs without errors.
Comment From: djoudi
Hetzner 1CPU, 2RAM, Load average: 14.39 9.03 6.20
lsb_release -a
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bioniccd wget http://download.redis.io/releases/redis-5.0.7.tar.gz tar -xzf redis-5.0.7.tar.gz cd redis-5.0.7
apt install build-essential tcl8.6 make make test
```
... ... ... [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl the used_memory of replica is much larger than master. Master:43866024 Replica:85809072
....
!!! WARNING The following tests failed:
*** [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl the used_memory of replica is much larger than master. Master:43866024 Replica:85809072 Cleanup: may take some time... OK Makefile:262: recipe for target 'test' failed make[1]: *** [test] Error 1 make[1]: Leaving directory '/home/vk/redis-5.0.7/src' Makefile:6: recipe for target 'test' failed make: *** [test] Error 2 ```
The 1st time I ran make, I ran also installing other packages in parallel. I got an error while "make test".
The 2nd time, I repeated "make". And the "make test" runs without errors.
i have thesame issue