in redis 2.4.6 and 2.4.7 i get the following failure from the "make test" test suite: Redis did not closed connection after protocol desync

this test does not fail in redis 2.4.5. i replicated this on 2 machines. both are EC2 "small" instances running ubuntu 11.04 lshw shows: domu-12-31-38-01-b8-a2
description: Computer width: 32 bits -core description: Motherboard physical id: 0 -memory description: System memory physical id: 0 size: 1665MiB -cpu product: Dual-Core AMD Opteron(tm) Processor 2218 HE vendor: Hynix Semiconductor (Hyundai Electronics) physical id: 1 bus info: cpu@0 version: 15.1.3 size: 2600MHz width: 64 bits capabilities: fpu fpu_exception wp tsc msr pae cx8 cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp x86-64 3dnowext 3dnow up pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy -cache:0 description: L1 cache physical id: 0 size: 128KiB -cache:1 description: L2 cache physical id: 1 size: 1MiB -network description: Ethernet interface physical id: 1 logical name: eth0 serial: 12:31:38:01:b8:a2 capabilities: ethernet physical configuration: broadcast=yes driver=vif ip=10.253.191.80 link=yes multicast=yes

thanks!

Comment From: gkochan

Same here, on Amazon EC2 large instance running 2.6.38-8-virtual #42-Ubuntu x86_64 GNU/Linux

Comment From: ghost

I've been getting this as well, on 2.4 and unstable (4a701b3801f0b5362c303b0d477b31d81516d139) However, this is only occurring on an AWS EC2 - not on a local, physical machine.

EC2 is 64-bit. Linux 3.2.2-1.fc16.x86_64 Compiled with make 32bit, then ARCH='-m32' make test. Also helps to remove the all prerequisite for make install :) Local machine is 32-bit. Linux 3.2.5-3.fc16.i686

Comment From: sujithrs

Same issue with 2.4.8. Running on Ubuntu (VirtualBox). Ran "make test" twice. Got same error both times.

* [err]: Protocol desync regression test #1 in tests/unit/protocol.tcl Redis did not closed connection after protocol desync * [err]: Protocol desync regression test #2 in tests/unit/protocol.tcl Redis did not closed connection after protocol desync *** [err]: Protocol desync regression test #3 in tests/unit/protocol.tcl Redis did not closed connection after protocol desync

uname -a Linux exodus 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686 i686 i386 GNU/Linux

Comment From: snowyu

me too on 2.4 and unstable . It's a VM.

uname -a
Linux  2.6.32-37-server #81-Ubuntu SMP Fri Dec 2 20:49:12 UTC 2011 x86_64 GNU/Linux

Comment From: davidecerri

Had the same problem on an ubuntu ec2 instance. make clean, make fixed it for me.

Comment From: davidecerri

in my case i was running on 11.10 ubuntu uname -a Linux ip-10-28-117-89 3.0.0-16-virtual #28-Ubuntu SMP Fri Jan 27 18:22:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Comment From: ilower

same error for me on CentOS5.5(VMware). but all tests passed after the firewall was closed.

chkconfig iptables off

Comment From: sibblegp

Same error for me. Ubuntu EC2 image.

Comment From: skyborg

Same error. Linux 3.1.9-1.4-desktop #1 SMP PREEMPT Fri Jan 27 08:55:10 UTC 2012 (efb5ff4) i686 i686 i386 GNU/Linux Redis 2.4.8 from redis.io

Comment From: snsparrish

Installing 2.4.7 on 9 identical servers Ubuntu 10.04 64bit, about 1/2 give this error on 'make test'. 1/2 of those errors go away when I 'make clean', 'make', 'make test' again. Some persists... Weird Maybe it depends on which finger I use to press 'Enter' with?

Comment From: davidecerri

Do not worry about the error. I it is a bug in the test not in redis. It is a timing issue with the test, so the error happens sometimes and sometimes it does not. I think antirez will eventually fix that test, but we should be able to use redis correctly in the meantime.

Comment From: yoav-steinberg

This doesn't seem to be happening anymore (or in our CI). Closing since it's very old.