jandre / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

Test failures #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Test suite of Serf trunk fails since r1478.

Results with r1491:

== Testing test/testcases/simple.response ==
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>scotch.ics.uci.edu</title>
<!--base href="http://scotch.ics.uci.edu/" /-->
<link href="default.css" rel="stylesheet" type="text/css" />
</head>

<body>

<p>More to come!</p>

<p><a href="manual/">Apache httpd 2.0 manual</a></p>

<p><a href="CA.cert.pem">Trust our CA!</a></p>

<p><img src="apache_pb.gif" alt="Powered by Apache!" /></p>

</body>

</html>
== Testing test/testcases/chunked-empty.response ==
== Testing test/testcases/chunked.response ==
this is 1 test.
i am a test.this is a test.
== Testing test/testcases/chunked-trailers.response ==
this is 1 test.
i am a test.this is a test.
Trailer-Test: f
== Testing test/testcases/deflate.response ==
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Test of gzip Content-Encoding</title>
 </head>
 <body>
<h1>This is a test</h1>

<p>This file was created with mod_deflate on the server side.</p>
<pre>curl -i --output gzip.response -H "Accept-Encoding: gzip" 
http://localhost:8080/1.html</pre>

<hr />
<address>Apache</address>
</body></html>
== Running test_all ==
FFFFFFF............

There were 7 failures:
1) test_serf_connection_request_create: test/test_context.c:166: expected <0> 
but was <22>
2) test_serf_connection_priority_request_create: test/test_context.c:265: 
expected <0> but was <22>
3) test_serf_closed_connection: test/test_context.c:404: expected <0> but was 
<22>
4) test_serf_setup_proxy: test/test_context.c:506: expected <0> but was <22>
5) test_keepalive_limit_one_by_one: test/test_context.c:657: expected <0> but 
was <22>
6) test_keepalive_limit_one_by_one_and_burst: test/test_context.c:811: expected 
<0> but was <22>
7) test_serf_progress_callback: test/test_context.c:933: expected <0> but was 
<22>

!!!FAILURES!!!
Runs: 19 Passes: 12 Fails: 7

make: *** [check] Error 1

Original issue reported on code.google.com by Arfrever...@gmail.com on 18 Jun 2011 at 6:03

GoogleCodeExporter commented 9 years ago
This is related to IPv6 in some way. I haven't tracked the details of the 
investigation (some people have already looked into this), but I'm hoping they 
can put more details in this issue.

Original comment by gstein on 15 Jul 2011 at 8:41

GoogleCodeExporter commented 9 years ago
apr_socket_bind is returning EINVAL in test_start_server.  Passing 
address->family to apr_socket_create instead of APR_UNSPEC seems to fix it for 
me.  Patch attached.

Original comment by andersk@mit.edu on 17 Aug 2011 at 4:21

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r1560

Thanks, Anders!

Original comment by gstein on 18 Aug 2011 at 5:43