[Libevent-users] libevent test failure: FAIL test/regress_http.c:3092: assert(req)
(Noticed this as I was repackaging libevent... dh runs tests by default, yay.) libevent master pulled as of Jan 11, commit bf7a0ff26808199ec68b86bb78c65fc21ba770f9 Author: Nick Mathewson Date: Fri Jan 11 16:37:34 2013 -0800 fails tests for me. System details: OS: Ubuntu 12.04.2 64 bits uname -a: Linux testbot01 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux /proc/cpuinfo: model name : Intel(R) Xeon(R) CPU E5530 @ 2.40GHz, shows 16 cores Here's one failure log: regress: http/connection_retry: FAIL test/regress_http.c:3092: assert(req) FAIL test/regress_http.c:3192: assert(test_ok == 1) [connection_retry FAILED] 1/209 TESTS FAILED. (8 skipped) Rerunning, got a similar error: regress: http/connection_retry: FAIL test/regress_http.c:3092: assert(req) FAIL test/regress_http.c:3190: assert(abs(timeval_msec_diff((&tv_start), (&tv_end)) - 500) <= 200): 500 vs 200 [connection_retry FAILED] 1/209 TESTS FAILED. (8 skipped) The test lines that failed are: 3089 static void 3090 http_connection_retry_done(struct evhttp_request *req, void *arg) 3091 { 3092 tt_assert(req); ... 3189 /* fails fast, .5 sec to wait to retry, fails fast again. */ 3190 test_timeval_diff_leq(&tv_start, &tv_end, 500, 200); (That tolerance looks awful tight.) Has anybody else run into these? I googled a bit, but didn't see any good matches. Pulling today ( 13676535c83448b957ae00772c13f823cc9d3503 ) gets me that error, plus another one: regress: http/connection_retry: FAIL test/regress_http.c:3110: assert(req) FAIL test/regress_http.c:3208: assert(abs(timeval_msec_diff((&tv_start), (&tv_end)) - 500) <= 200): 500 vs 200 [connection_retry FAILED] [warn] getaddrinfo: address family for nodename not supported [err] Could not start web server [Lost connection!] [ipv6_for_domain FAILED] 2/210 TESTS FAILED. (8 skipped) ___ Libevent-users mailing list Libevent-users@monkey.org http://lists.monkey.org:8080/listinfo/libevent-users
Re: [Libevent-users] libevent test failure: FAIL test/regress_http.c:3092: assert(req)
On Fri, Mar 8, 2013 at 12:44 PM, Dan Kegel wrote: > libevent master pulled as of Jan 11, > fails tests for me. System details: > OS: Ubuntu 12.04.2 64 bits > > Here's one failure log: > regress: http/connection_retry: > FAIL test/regress_http.c:3092: assert(req) > FAIL test/regress_http.c:3192: assert(test_ok == 1) > [connection_retry FAILED] > 1/209 TESTS FAILED. (8 skipped) That failure doesn't seem to happen on a similar box running Ubuntu 10.04. ___ Libevent-users mailing list Libevent-users@monkey.org http://lists.monkey.org:8080/listinfo/libevent-users
Re: [Libevent-users] libevent test failure: FAIL test/regress_http.c:3092: assert(req)
On Fri, Mar 8, 2013 at 1:05 PM, Dan Kegel wrote: > On Fri, Mar 8, 2013 at 12:44 PM, Dan Kegel wrote: >> libevent master pulled as of Jan 11, >> fails tests for me. System details: >> OS: Ubuntu 12.04.2 64 bits >> >> Here's one failure log: >> regress: http/connection_retry: >> FAIL test/regress_http.c:3092: assert(req) >> FAIL test/regress_http.c:3192: assert(test_ok == 1) >> [connection_retry FAILED] >> 1/209 TESTS FAILED. (8 skipped) > > That failure doesn't seem to happen on a similar box running Ubuntu 10.04. Scratch that. It happens sometimes (1 in 4 tries so far) on 10.04, too. I'll try to narrow it down before I post again. ___ Libevent-users mailing list Libevent-users@monkey.org http://lists.monkey.org:8080/listinfo/libevent-users
Re: [Libevent-users] libevent test failure: FAIL test/regress_http.c:3092: assert(req)
On Fri, Mar 8, 2013 at 6:47 PM, Dan Kegel wrote: > On Fri, Mar 8, 2013 at 1:05 PM, Dan Kegel wrote: >> On Fri, Mar 8, 2013 at 12:44 PM, Dan Kegel wrote: >>> libevent master pulled as of Jan 11, >>> fails tests for me. System details: >>> OS: Ubuntu 12.04.2 64 bits >>> >>> Here's one failure log: >>> regress: http/connection_retry: >>> FAIL test/regress_http.c:3092: assert(req) >>> FAIL test/regress_http.c:3192: assert(test_ok == 1) >>> [connection_retry FAILED] >>> 1/209 TESTS FAILED. (8 skipped) >> >> That failure doesn't seem to happen on a similar box running Ubuntu 10.04. > > Scratch that. It happens sometimes (1 in 4 tries so far) on 10.04, > too. I'll try to narrow it down before I post again. Ouch. This sounds like the kind of thing that's probably going to be timing-dependent. Anything you can do to try to track down what's going on here would be great. :/ (Also, the official libevent list is now libevent-us...@freehaven.net . Subscription information is at http://archives.seul.org/libevent/users/ ) ___ Libevent-users mailing list Libevent-users@monkey.org http://lists.monkey.org:8080/listinfo/libevent-users
Re: [Libevent-users] libevent test failure: FAIL test/regress_http.c:3092: assert(req)
On Fri, Mar 8, 2013 at 4:05 PM, Nick Mathewson wrote: regress: http/connection_retry: FAIL test/regress_http.c:3092: assert(req) FAIL test/regress_http.c:3192: assert(test_ok == 1) [connection_retry FAILED] 1/209 TESTS FAILED. (8 skipped) >> Scratch that. It happens sometimes (1 in 4 tries so far) on 10.04, >> too. I'll try to narrow it down before I post again. > > Ouch. This sounds like the kind of thing that's probably going to be > timing-dependent. Anything you can do to try to track down what's > going on here would be great. :/ Bug filed, https://sourceforge.net/tracker/?func=detail&aid=3607568&group_id=50884&atid=461322 Not hard to reproduce on 12.04. I had to run 'make check' twice. > (Also, the official libevent list is now libevent-us...@freehaven.net > . Subscription information is at > http://archives.seul.org/libevent/users/ ) ___ Libevent-users mailing list Libevent-users@monkey.org http://lists.monkey.org:8080/listinfo/libevent-users