[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] OPW intern checking in!
Hi Anil,
Just to confirm what I was showing you yesterday. Â This, along with possibly a few other defects, crept in as part of the changes that were made on Jan 23, "Simplify the listener mechanism to push it into the TCP input handler". ÂThe changes were all good improvements, and necessary, but this bug sneaked in. Â
Mainly, as you say, this points to a lack of good regression tests and test infrastructure. ÂI have tried to make some unit tests but for TCP there are many balls that have to be kept in the air and I could not quite do it in an automated way. ÂThe most successful of this kind of test was one in which a single VM would bring up 2 virtual interfaces and send specific patterns of data in both directions. ÂIt knew what to expect and it could, if necessary, even examine the state machines of the two TCPs. ÂThis was quite fragile - it would often stumble on something simple like bringing up two VIFs. Â
The need of the hour for TCP really is to build a nice reliable networking regression test infrastructure. ÂThe test rig would need to be able to make different kinds of connections, be able to capture a packet trace, pull out the state of the test TCP and then make sense of it all together. ÂBig project but could be fun. ÂProbably also done many times before so if there is a ready made rig that we can adapt then that may be the best place to start.
Balraj On Sun, Jun 8, 2014 at 7:13 PM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
_______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |