#59: TestPacketAssert: pipe buffering bug ----------------------+------------------ Reporter: olichtne | Owner: Type: defect | Status: new Priority: major | Milestone: Component: lnst-ctl | Version: git Keywords: | Blocked By: Blocking: | ----------------------+------------------ There seems to be a bug caused by using pipes for reading output of the tcpdump command. Parts of the output are not read often resulting in fail state of the command.
I think it is connected to buffering of these pipes as sometimes it does appear and other times it works correctly. The problem could also be connected to the fact that the program is being run in the background and is therefore interrupted by a signal, the handler of the signal doesn't read the rest of the output which it probably should.
#59: TestPacketAssert: pipe buffering bug -----------------------+---------------------- Reporter: olichtne | Owner: olichtne Type: defect | Status: assigned Priority: major | Milestone: Component: lnst-ctl | Version: git Resolution: | Keywords: Blocked By: | Blocking: -----------------------+---------------------- Changes (by olichtne):
* owner: => olichtne * status: new => assigned
Comment:
A part of this was fixed a long time ago in this patch:
https://lists.fedorahosted.org/pipermail/lnst- developers/2013-February/000974.html
I fixed the last small bug today, it is available here:
https://lists.fedorahosted.org/pipermail/lnst- developers/2013-April/001152.html
Once it's applied I'll close this ticket.
#59: TestPacketAssert: pipe buffering bug -----------------------+---------------------- Reporter: olichtne | Owner: olichtne Type: defect | Status: closed Priority: major | Milestone: Component: lnst-ctl | Version: git Resolution: fixed | Keywords: Blocked By: | Blocking: -----------------------+---------------------- Changes (by olichtne):
* resolution: => fixed * status: assigned => closed
lnst-developers@lists.fedorahosted.org