diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2017-07-03 16:25:37 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-07-04 07:30:26 +0000 |
commit | be055bd719559fc79d8a4c06479497c4c0bfae93 (patch) | |
tree | ec73546a39371553110e837055e0fd40418ac820 /dpdk | |
parent | 860af5ad2b023f9c57d622a7a9d3bd0099e480b1 (diff) |
acl-plugin: fix acl plugin test failing sporadically (VPP-898)
The "acl_plugin" tests has one of the tests sporadically fail with the following traceback:
r.reply.decode().rstrip('\x00') UnicodeDecodeError: 'ascii' codec can't decode byte
0xd8 in position 20666: ordinal not in range(128)
This occurs in the newly added "show acl-plugin table" debug CLI.
This CLI has only the numeric outputs, so the conclusion is that it is
the incorrect termination (trailing zero) that might be most probably
causing it. The other acl-plugins show commands also
lack the zero-termination termination, so fix all of them.
The particularity of this command vs. the other acl-plugin debug CLIs
is that the accumulator is freed and allocated multiple times,
this might explain the issue is not seen with them.
Change-Id: I87b5c0d6152fbebcae9c7d0ce97155c1ae6666db
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'dpdk')
0 files changed, 0 insertions, 0 deletions