allen8807 / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Tests fail #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. building 1.4.9 (or 1.4.5) with libevent 1.4
2. make test

What is the expected output? What do you see instead?

<29 server listening (udp)
Invalid value for binding protocol: http
 -- should be one of auto, binary, or ascii

later...

t/binary.............NOK 267
#   Failed test 'Expected read length'
#   in t/binary.t at line 577.
#          got: '23'
#     expected: '24'
Use of uninitialized value in addition (+) at t/binary.t line 583.
t/binary.............NOK 271
#   Failed test 'Got proper response magic'
#   in t/binary.t at line 581.
#          got: '48'
#     expected: '129'
t/binary.............NOK 274
#   Failed test 'Got proper response magic'
#   in t/binary.t at line 581.
#          got: '0'
#     expected: '129'

Then a timeout occurred.

What version of the product are you using? On what operating system?
1.4.9. Linux, RedHat 5.4 64-bit (x86_64).

Please provide any additional information below.
Used non-root user to make test.

Process tree looked like this:
/usr/bin/perl t/binary.t
  \_ /tistribution54/devel/common/redhat/BUILD/memcached-1.4.9/timedrun 600 /tistribution54/devel/common/redhat/BUILD/memcached-1.4.9/memcached-debug -p
  \_ /tistribution54/devel/common/redhat/BUILD/memcached-1.4.9/memcached-debug -p 48163 -U 49419

Original issue reported on code.google.com by oth...@gmail.com on 18 Oct 2011 at 5:03

GoogleCodeExporter commented 9 years ago
You're saying that both 1.4.5 and 1.4.9 fail tests on your system? In the same 
exact way?

Original comment by dorma...@rydia.net on 18 Oct 2011 at 5:33

GoogleCodeExporter commented 9 years ago
Not in the exact same way; 1.4.5 does not timeout and just fails, with the 
tests continuing. But I just downloaded the latest version via git - commit 
c460f0e13a35dcec26c71311dae6f31acec79f66 Mon Oct 17, 16:49:50 2011 -0700. Same 
problem.

Original comment by oth...@gmail.com on 18 Oct 2011 at 5:47

GoogleCodeExporter commented 9 years ago
FYI: This is perl, v5.8.8 built for x86_64-linux-thread-multi

Original comment by oth...@gmail.com on 18 Oct 2011 at 5:50

GoogleCodeExporter commented 9 years ago
t/00-startup.........ok 1/18getaddrinfo(): Name or service not known
failed to listen on TCP port 49259: No such file or directory

Original comment by oth...@gmail.com on 18 Oct 2011 at 5:51

GoogleCodeExporter commented 9 years ago
Can you include output on how 1.4.5 is failing?

I have a feeling something is wrong with your libevent library. Any chance you 
could install a newer one?

Original comment by dorma...@rydia.net on 18 Oct 2011 at 5:51

GoogleCodeExporter commented 9 years ago
libevent-1.4.13-1.src.rpm
Build Date: Tue 18 Oct 2011 06:42:56 PM CEST

Not really possible.

Original comment by oth...@gmail.com on 18 Oct 2011 at 5:57

GoogleCodeExporter commented 9 years ago
You were right on. I uninstalled the rpms completely and reinstalled them. 
Apparently something was still lingering from the previous libevent install. 
Kudos to your instincts.

Tyvm

Original comment by oth...@gmail.com on 18 Oct 2011 at 6:02

GoogleCodeExporter commented 9 years ago
I AM THE ORACLE OF BUGGY CENTOS LIBRARY INSTALLS

ISSUE IS NOW CLOSED

Original comment by dorma...@rydia.net on 18 Oct 2011 at 6:08