[ovs-dev] Bug open vswitch 2.10.9
Ben Pfaff
blp at ovn.org
Fri Oct 19 18:48:13 UTC 2018
[adding the list back]
I don't see this error on master:
blp at sigabrt:~/nicira/ovs/_build(0)$ make -j10 check-oftest OFTFLAGS='-T actions.ForwardAll'
make all-recursive
make[1]: Entering directory '/home/blp/nicira/ovs/_build'
Making all in datapath
make[2]: Entering directory '/home/blp/nicira/ovs/_build/datapath'
make[3]: Entering directory '/home/blp/nicira/ovs/_build/datapath'
make[3]: Leaving directory '/home/blp/nicira/ovs/_build/datapath'
make[2]: Leaving directory '/home/blp/nicira/ovs/_build/datapath'
make[2]: Entering directory '/home/blp/nicira/ovs/_build'
make[3]: Entering directory '/home/blp/nicira/ovs/_build/datapath'
make[3]: 'distfiles' is up to date.
make[3]: Leaving directory '/home/blp/nicira/ovs/_build/datapath'
make[2]: Leaving directory '/home/blp/nicira/ovs/_build'
make[1]: Leaving directory '/home/blp/nicira/ovs/_build'
ovsdb-tool create conf.db /home/blp/nicira/ovs/_build/../vswitchd/vswitch.ovsschema
ovsdb-server --detach --no-chdir --pidfile -vconsole:off --log-file --remote=punix:/home/blp/nicira/ovs/_build/sandbox/db.sock
ovs-vswitchd --detach --no-chdir --pidfile -vconsole:off --log-file --enable-dummy --disable-system -vvconn -vnetdev_dummy
ovs-vsctl --no-wait -- add-br br0 -- set bridge br0 datapath-type=dummy fail-mode=secure
ovs-vsctl --no-wait -- add-port br0 p1 -- set interface p1 type=dummy options:pstream=punix:/home/blp/nicira/ovs/_build/sandbox/p1
ovs-vsctl --no-wait -- add-port br0 p2 -- set interface p2 type=dummy options:pstream=punix:/home/blp/nicira/ovs/_build/sandbox/p2
ovs-vsctl --no-wait -- add-port br0 p3 -- set interface p3 type=dummy options:pstream=punix:/home/blp/nicira/ovs/_build/sandbox/p3
ovs-vsctl --no-wait -- add-port br0 p4 -- set interface p4 type=dummy options:pstream=punix:/home/blp/nicira/ovs/_build/sandbox/p4
ovs-vsctl -- set-controller br0 tcp:127.0.0.1:6653 -- set controller br0 connection-mode=out-of-band max-backoff=1000
oft -P ovs-dummy -T actions.ForwardAll
WARNING: No route found for IPv6 destination :: (no default route?)
actions.ForwardAll ... ok
----------------------------------------------------------------------
Ran 1 test in 0.897s
OK
----------------------------------------------------------------------
Logs may be found under /home/blp/nicira/ovs/_build/sandbox, e.g.:
/home/blp/nicira/ovs/_build/sandbox/oft.log
/home/blp/nicira/ovs/_build/sandbox/ovs-vswitchd.log
/home/blp/nicira/ovs/_build/sandbox/ovsdb-server.log
----------------------------------------------------------------------
blp at sigabrt:~/nicira/ovs/_build(0)$
On Fri, Oct 19, 2018 at 11:51:44AM +0200, asma berriri wrote:
> Hey,
> This is the error
> FAIL: actions.ForwardAll
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/asmab/oftest/tests/actions.py", line 166, in runTest
> verify_packets(self, pkt, yes_ports)
> File "/home/asmab/oftest/src/python/oftest/testutils.py", line 1770, in
> verify_packets
> verify_packet(test, pkt, ofport)
> File "/home/asmab/oftest/src/python/oftest/testutils.py", line 1728, in
> verify_packet
> test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
> File "/home/asmab/oftest/src/python/oftest/base_tests.py", line 97, in
> assertTrue
> unittest.TestCase.assertTrue(self, cond, msg)
> AssertionError: Did not receive pkt on 2
>
>
> On Thu, Oct 18, 2018 at 11:14 PM Ben Pfaff <blp at ovn.org> wrote:
>
> > On Thu, Oct 18, 2018 at 03:03:08PM +0200, asma berriri wrote:
> > > I tried to run the testing tool "oftest" to ovs (2.10.90) and I got an
> > > error message for the forwardAll actions.
> > > Is it a bug?
> >
> > Can you provide the full oftest output?
> >
More information about the dev
mailing list