> > === modified file 'lava_dispatcher/client/base.py' > > --- lava_dispatcher/client/base.py 2013-03-27 11:22:07 +0000 > > +++ lava_dispatcher/client/base.py 2013-04-08 13:59:23 +0000 > > @@ -154,7 +154,7 @@ > > lava_server_ip = self._client.context.config.lava_server_ip > > self.run( > > "LC_ALL=C ping -W4 -c1 %s" % lava_server_ip, > > - ["1 received", "0 received", "Network is unreachable"], > > + ["1 received|1 packets* received", "0 received|0 packets > received", "Network is unreachable"], > > timeout=5, failok=True) > > if self.match_id == 0: > > return True > > > > Do you really need this? Did ping had a different output on the rootfs > you tested with?
>
The output from ping in the initrd seems to match what I see on my ubuntu machine, which contains the word "packets":
nick@neptune:/data/linaro/calxeda/code/lava-dispatcher/nicks-highbank-support/lava_dispatcher$ ping -W4 -c1 validation.linaro.org PING validation.linaro.org (88.98.47.97) 56(84) bytes of data. 64 bytes from validation.linaro.org (88.98.47.97): icmp_req=1 ttl=52 time=33.8 ms
--- validation.linaro.org ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 33.813/33.813/33.813/0.000 ms
« Back to merge proposal
> > === modified file 'lava_dispatche r/client/ base.py' /client/ base.py 2013-03-27 11:22:07 +0000 /client/ base.py 2013-04-08 13:59:23 +0000 context. config. lava_server_ ip
> > --- lava_dispatcher
> > +++ lava_dispatcher
> > @@ -154,7 +154,7 @@
> > lava_server_ip = self._client.
> > self.run(
> > "LC_ALL=C ping -W4 -c1 %s" % lava_server_ip,
> > - ["1 received", "0 received", "Network is unreachable"],
> > + ["1 received|1 packets* received", "0 received|0 packets
> received", "Network is unreachable"],
> > timeout=5, failok=True)
> > if self.match_id == 0:
> > return True
> >
>
> Do you really need this? Did ping had a different output on the rootfs
> you tested with?
>
The output from ping in the initrd seems to match what I see on my ubuntu machine,
which contains the word "packets":
nick@neptune: /data/linaro/ calxeda/ code/lava- dispatcher/ nicks-highbank- support/ lava_dispatcher $ ping -W4 -c1 validation. linaro. org linaro. org (88.98.47.97) 56(84) bytes of data. linaro. org (88.98.47.97): icmp_req=1 ttl=52 time=33.8 ms
PING validation.
64 bytes from validation.
--- validation. linaro. org ping statistics --- 33.813/ 33.813/ 0.000 ms
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 33.813/