Re: CVS commit: src/tests/lib/libc/net

2014-01-09 Thread Justin Cormack
On Thu, Jan 9, 2014 at 2:18 AM, Christos Zoulas chris...@netbsd.org wrote: Module Name:src Committed By: christos Date: Thu Jan 9 02:18:10 UTC 2014 Modified Files: src/tests/lib/libc/net: Makefile h_dns_server.c h_hostent.c t_hostent.sh Added Files:

Re: CVS commit: src/tests/lib/libc/net

2014-01-09 Thread Martin Husemann
On Thu, Jan 09, 2014 at 09:42:25AM +, Justin Cormack wrote: On Thu, Jan 9, 2014 at 2:18 AM, Christos Zoulas chris...@netbsd.org wrote: Module Name:src Committed By: christos Date: Thu Jan 9 02:18:10 UTC 2014 Modified Files: src/tests/lib/libc/net: Makefile

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Martin Husemann
On Thu, Oct 24, 2013 at 06:40:49AM -0700, Paul Goyette wrote: All of the tests related to sixthavenue.astron.com are still failing in my amd64 test-bed[1]. Sources are updated (via anoncvs) and are current as of 2013-10-23 23:20:04, and the build was successfully done using 'build.sh -j1

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Paul Goyette
On Thu, 24 Oct 2013, Martin Husemann wrote: On Thu, Oct 24, 2013 at 06:40:49AM -0700, Paul Goyette wrote: All of the tests related to sixthavenue.astron.com are still failing in my amd64 test-bed[1]. Sources are updated (via anoncvs) and are current as of 2013-10-23 23:20:04, and the build

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Martin Husemann
On Thu, Oct 24, 2013 at 07:04:41AM -0700, Paul Goyette wrote: Looks normal to me: It is lacking all the IPv6 stuff. Does host list both addresses? Martin

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Paul Goyette
On Thu, 24 Oct 2013, Martin Husemann wrote: On Thu, Oct 24, 2013 at 07:04:41AM -0700, Paul Goyette wrote: Looks normal to me: It is lacking all the IPv6 stuff. Does host list both addresses? Yes, host reports everything: # host sixthavenue.astron.com sixthavenue.astron.com has address

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Martin Husemann
On Thu, Oct 24, 2013 at 07:18:55AM -0700, Paul Goyette wrote: Yes, host reports everything: # host sixthavenue.astron.com sixthavenue.astron.com has address 38.117.134.6 sixthavenue.astron.com has IPv6 address 2620:106:3003:1f00:2e0:81ff:fe2f:e5d7 sixthavenue.astron.com mail is handled by

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Paul Goyette
On Thu, 24 Oct 2013, Martin Husemann wrote: On Thu, Oct 24, 2013 at 07:18:55AM -0700, Paul Goyette wrote: Yes, host reports everything: # host sixthavenue.astron.com sixthavenue.astron.com has address 38.117.134.6 sixthavenue.astron.com has IPv6 address 2620:106:3003:1f00:2e0:81ff:fe2f:e5d7

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Martin Husemann
On Thu, Oct 24, 2013 at 07:37:13AM -0700, Paul Goyette wrote: No cache info, only my provider's name-servers: Can you trace with tcpdump while the test fails? Martin

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Paul Goyette
On Thu, 24 Oct 2013, Martin Husemann wrote: On Thu, Oct 24, 2013 at 07:37:13AM -0700, Paul Goyette wrote: No cache info, only my provider's name-servers: Can you trace with tcpdump while the test fails? From an off-line exchange with Martin, it seems that the failures in my test-bed are

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Taylor R Campbell
Date: Thu, 24 Oct 2013 08:01:51 -0700 (PDT) From: Paul Goyette p...@whooppee.com Although my host machine has full connectivity, including IPv6, the tests are run under qemu. The qemu virtual machine has a default nic available, but there is nothing in the test-bed set-up to

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Martin Husemann
On Thu, Oct 24, 2013 at 03:04:56PM +, Taylor R Campbell wrote: It seems to me that this is an entirely reasonable setup, and that the tests ought not to depend on a connection to the internet. Indeed, another option is to rumpify these tests (and not rely on external machines). Not trivial

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Manuel Bouyer
On Thu, Oct 24, 2013 at 03:04:56PM +, Taylor R Campbell wrote: It seems to me that this is an entirely reasonable setup, and that the tests ought not to depend on a connection to the internet. Seconded. Tests are failing on the xen testbed too, and I wondered how they could work in a setup

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Christos Zoulas
In article 20131024162426.ga7...@asim.lip6.fr, Manuel Bouyer bou...@antioche.eu.org wrote: On Thu, Oct 24, 2013 at 03:04:56PM +, Taylor R Campbell wrote: It seems to me that this is an entirely reasonable setup, and that the tests ought not to depend on a connection to the internet.

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Paul Goyette
Maybe run ifconfig and see if there are any interfaces, other than lo0, in UP state. If not, then the test case can return a skip status. On Thu, 24 Oct 2013, Christos Zoulas wrote: In article 20131024162426.ga7...@asim.lip6.fr, Manuel Bouyer bou...@antioche.eu.org wrote: On Thu, Oct 24,

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Christos Zoulas
On Oct 24, 12:32pm, p...@whooppee.com (Paul Goyette) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/net | Maybe run ifconfig and see if there are any interfaces, other than lo0, | in UP state. If not, then the test case can return a skip status. I think that it should be a builtin test

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread Paul Goyette
On Thu, 24 Oct 2013, Christos Zoulas wrote: On Oct 24, 12:32pm, p...@whooppee.com (Paul Goyette) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/net | Maybe run ifconfig and see if there are any interfaces, other than lo0, | in UP state. If not, then the test case can return a skip

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread David Holland
On Thu, Oct 24, 2013 at 01:24:34PM -0700, Paul Goyette wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/net | Maybe run ifconfig and see if there are any interfaces, other than lo0, | in UP state. If not, then the test case can return a skip status. I think that it should

Re: CVS commit: src/tests/lib/libc/net

2013-10-24 Thread David Holland
On Fri, Oct 25, 2013 at 02:50:56AM +, David Holland wrote: In some sense I'd rather these tests ran by setting up two VMs (rumpy or otherwise), one with bind and one with the resolver. Among other things it would be more likely to produce consistent test results. ...but, as I meant to

Re: CVS commit: src/tests/lib/libc/net

2013-10-23 Thread Jukka Ruohonen
On Sun, Oct 20, 2013 at 01:22:49PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Oct 20 17:22:49 UTC 2013 Modified Files: src/tests/lib/libc/net: t_hostent.sh Log Message: broadway changed addresses. Something else too: the test appears

Re: CVS commit: src/tests/lib/libc/net

2013-10-23 Thread Christos Zoulas
On Oct 23, 1:04pm, jruoho...@iki.fi (Jukka Ruohonen) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/net | On Sun, Oct 20, 2013 at 01:22:49PM -0400, Christos Zoulas wrote: | Module Name:src | Committed By: christos | Date: Sun Oct 20 17:22:49 UTC 2013

Re: CVS commit: src/tests/lib/libc/net

2013-10-23 Thread Paul Goyette
On Wed, 23 Oct 2013, Christos Zoulas wrote: On Oct 23, 1:04pm, jruoho...@iki.fi (Jukka Ruohonen) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/net | On Sun, Oct 20, 2013 at 01:22:49PM -0400, Christos Zoulas wrote: | Module Name: src | Committed By:christos | Date

Re: CVS commit: src/tests/lib/libc/net

2013-10-23 Thread Jukka Ruohonen
On Wed, Oct 23, 2013 at 11:11:49AM -0700, Paul Goyette wrote: Fail: stdout does not match expected value --- /tmp/inline.19256b2013-10-23 14:25:50.0 + +++ /tmp/check.19256a/stdout 2013-10-23 14:25:50.0 + @@ -1 +1 @@ -name=sixthavenue.astron.com, length=4,

Re: CVS commit: src/tests/lib/libc/net

2013-10-23 Thread Christos Zoulas
On Oct 23, 10:10pm, jruoho...@iki.fi (Jukka Ruohonen) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/net | On Wed, Oct 23, 2013 at 11:11:49AM -0700, Paul Goyette wrote: | Fail: stdout does not match expected value | --- /tmp/inline.19256b 2013-10-23 14:25:50.0 +

Re: CVS commit: src/tests/lib/libc/net

2013-10-23 Thread Martin Husemann
They all work for me (again, after Christos' fixes) Martin

Re: CVS commit: src/tests/lib/libc/net

2013-08-16 Thread David Holland
On Fri, Aug 16, 2013 at 11:29:45AM -0400, Christos Zoulas wrote: Log Message: test harness for gethostbyname()/gethostbyaddr() and their internal bits. XXX[1]: How can we avoid using hard-coded hosts for DNS XXX[2]: How do we test NIS? Setting up a private rumpity network, I guess... --