I use Debian 10 server at Hetzner dedicated. When i try install redis, and use command make test i received error:

[err]: CONFIG SET bind address in tests/unit/networking.tcl
Expected 'OK' to match '*Failed to bind to specified addresses*' (context: type eval line 4 cmd {assert_match {*Failed to bind to specified addresses*} $e} proc ::start_server)
[err]: Client output buffer soft limit is enforced if time is overreached in tests/unit/obuf-limits.tcl
Expected 102520 >= 100000 && 15 < 6 (context: type eval line 27 cmd {assert {$omem >= 100000 && $time_elapsed < 6}} proc ::test)

*** [err]: CONFIG SET bind address in tests/unit/networking.tcl
Expected 'OK' to match '*Failed to bind to specified addresses*' (context: type eval line 4 cmd {assert_match {*Failed to bind to specified addresses*} $e} proc ::start_server)
*** [err]: Client output buffer soft limit is enforced if time is overreached in tests/unit/obuf-limits.tcl
Expected 102520 >= 100000 && 15 < 6 (context: type eval line 27 cmd {assert {$omem >= 100000 && $time_elapsed < 6}} proc ::test)

At my hosts server file i have:

### Hetzner Online GmbH installimage
# nameserver config
# IPv4
127.0.0.1       localhost.localdomain localhost
#138.2587.126.193        intelligent-yonath.138-628-126-844.plesk.page intelligent-yonath        
#
# IPv6
#::1    localhost.localdomain localhost ip6-localhost ip6-loopback      
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
2a01:4f8:172:29d2::2    intelligent-yonath.138-147-532-928.plesk.page intelligent-yonath

In my /etc/resolv.conf i has:

### Hetzner Online GmbH installimage
# nameserver config
nameserver 213.133.99.99
nameserver 213.133.100.100
nameserver 213.133.98.98
nameserver 2a01:4f8:0:1::add:9999
nameserver 2a01:4f8:0:1::add:9898
nameserver 2a01:4f8:0:1::add:1010

How i understand problem with hosts or resolv conf. How i can fix problem and install Redis?

Comment From: huangzhw

The first error is the same as https://github.com/redis/redis/issues/8828.

Comment From: ahab4ik

@huangzhw i already see it, but don't see solution to fix it :( i try comment all hosts and resolv.conf file, but it doesn't help

Comment From: huangzhw

What's output of ping some.wrong.bind.address?

Comment From: ahab4ik

Received"

root@intelligent-yonath ~ # ping some.wrong.bind.address
PING some.wrong.bind.address.138-201-126-182.plesk.page (138.201.126.182) 56(84) bytes of data.
64 bytes from static.182.126.201.138.clients.your-server.de (138.201.126.182): icmp_seq=1 ttl=64 time=0.028 ms
64 bytes from static.182.126.201.138.clients.your-server.de (138.201.126.182): icmp_seq=2 ttl=64 time=0.018 ms
64 bytes from static.182.126.201.138.clients.your-server.de (138.201.126.182): icmp_seq=3 ttl=64 time=0.017 ms
64 bytes from static.182.126.201.138.clients.your-server.de (138.201.126.182): icmp_seq=4 ttl=64 time=0.017 ms
64 bytes from static.182.126.201.138.clients.your-server.de (138.201.126.182): icmp_seq=5 ttl=64 time=0.023 ms
64 bytes from static.182.126.201.138.clients.your-server.de (138.201.126.182): icmp_seq=6 ttl=64 time=0.026 ms
^C
--- some.wrong.bind.address.138-201-126-182.plesk.page ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 95ms
rtt min/avg/max/mdev = 0.017/0.021/0.028/0.006 ms

Comment From: huangzhw

What's content of /etc/network/interfaces ?

Comment From: ahab4ik

Content of /etc/network/interfaces

### Hetzner Online GmbH installimage

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
iface lo inet6 loopback

auto enp41s0
iface enp41s0 inet static
  address 138.201.126.192
  netmask 255.255.255.192
  gateway 138.201.126.192
  # route 138.201.126.128/26 via 138.201.126.192
  up route add -net 138.201.126.159 netmask 255.255.255.192 gw 138.201.126.159 dev enp41s0

iface enp41s0 inet6 static
  address 2a01:4f8:172:29d2::2
  netmask 64
  gateway fe80::1

Comment From: huangzhw

I think it's something like https://askubuntu.com/questions/584054/how-do-i-configure-the-search-domain-correctly. But I don't how your server config this.

Comment From: huangzhw

@ahab4ik Please execute ping some.wrong.bind.address., add a ..

Comment From: ahab4ik

@huangzhw here is response:

ping: some.wrong.bind.address.: Name or service not known

p.s thank you, you try to help me, i appreciate the help

Comment From: huangzhw

I think I can improve the test.

Comment From: ahab4ik

Okay, i will wait

Comment From: huangzhw

The failure of this test will not affect you use. It just tests CONFIG SET bind runtime.

Comment From: ahab4ik

@huangzhw i can make install, how i understand, right?

Comment From: huangzhw

The first test failure is OK. I will take a look at the second failure. IMHO you can make install.

Comment From: ahab4ik

@huangzhw okay, it's a good response?

root@intelligent-yonath ~/redis-stable # make install
cd src && make install
make[1]: Entering directory '/root/redis-stable/src'

Hint: It's a good idea to run 'make test' ;)

    INSTALL redis-server
    INSTALL redis-benchmark
    INSTALL redis-cli
make[1]: Leaving directory '/root/redis-stable/src'
root@intelligent-yonath ~/redis-stable # 

Comment From: huangzhw

It's fine.

Comment From: huangzhw

https://github.com/redis/redis/pull/8833 will solve second failure.

Comment From: oranagra

@ahab4ik which version of redis were you testing? did it include the fix in #8803

Comment From: huangzhw

@oranagra I think the problem is when $omem > 100000, it may be <= 100000 again.

Comment From: oranagra

ok. so this happens after the last fix was applied, and it's likely because the OS swallowed the buffers after they initially grew.

8833 indeed is going to stabilize this test in that respect, let's hope that's the last of it.