[ovs-dev] ppc build fixed/testsuite results
Flavio Leitner
fbl at redhat.com
Fri Jan 10 00:40:15 UTC 2014
Hi Ben,
A month ago I've tried to build 2.0.0 on ppc but it was failing because
of the lack of atomic(8) operation.
In order to get the testsuite log, I have tried again and it works now
commit fd2e50cd333324ca18d8186a5c9211aa03c439cf
Author: James Page <james.page at ubuntu.com>
Date: Thu Dec 5 17:29:05 2013 +0000
Add check for -latomic
Later versions of gcc on some architectures push atomic functions
out into a separate atomic library; add a check to see when this
is required and add it to LIBS if need be.
Specifically the problem was observed on GCC 4.8.2 on powerpc
architecture for Ubuntu 14.04:
https://launchpadlibrarian.net/155235096/buildlog_ubuntu-trusty-powerpc.openvswitch_2.0.0-0ubunt
Signed-off-by: James Page <james.page at ubuntu.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
It is applied on master and on branch-2.1. I wonder if the next stable
version will be 2.1 or if there will be more releases on branch-2.0.
If so, can you apply that commit on branch-2.0 as well?
Regarding to testsuite, there is only one test failing now (branch
master), but I suspect that it's because I have a 32 bit _chroot_
on a ppc64 kernel because of the difference in the size of the
in_port's mask:
-skb_priority(0),skb_mark(0),in_port(1/0xffff),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2/255.255.255.255,dst=10.0.0.1/255.255.255.255,proto=1/0xff,tos=0/0xff,ttl=64/0xff,frag=no/0xfc),icmp(type=8,code=0),
packets:3, bytes:180, used:0.0s, actions:2
+skb_priority(0),skb_mark(0),in_port(1/0xffff0000),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2/255.255.255.255,dst=10.0.0.1/255.255.255.255,proto=1/0xff,tos=0/0xff,ttl=64/0xff,frag=no/0xfc),icmp(type=8,code=0),
packets:3, bytes:180, used:0.0s, actions:2
I did not investigate this further yet, but I appreciate if
you have any pointers.
Thanks again,
fbl
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##
# -*- compilation -*-
731. ofproto-dpif.at:2914: testing ofproto-dpif megaflow - disabled ...
./ofproto-dpif.at:2915: ovsdb-tool create conf.db $abs_top_srcdir/vswitchd/vswitch.ovsschema
./ofproto-dpif.at:2915: ovsdb-server --detach --no-chdir --pidfile --log-file --remote=punix:$OVS_RUNDIR/db.sock
stderr:
2014-01-09T21:32:03Z|00001|vlog|INFO|opened log file /builddir/openvswitch/tests/testsuite.dir/0731/ovsdb-server.log
./ofproto-dpif.at:2915: sed < stderr '
/vlog|INFO|opened log file/d
/ovsdb_server|INFO|ovsdb-server (Open vSwitch)/d'
./ofproto-dpif.at:2915: ovs-vsctl --no-wait init
./ofproto-dpif.at:2915: ovs-vswitchd --detach --no-chdir --pidfile --enable-dummy --disable-system --log-file -vvconn -vofproto_dpif
stderr:
2014-01-09T21:32:03Z|00001|vlog|INFO|opened log file /builddir/openvswitch/tests/testsuite.dir/0731/ovs-vswitchd.log
2014-01-09T21:32:03Z|00002|reconnect|INFO|unix:/builddir/openvswitch/tests/testsuite.dir/0731/db.sock: connecting...
2014-01-09T21:32:03Z|00003|reconnect|INFO|unix:/builddir/openvswitch/tests/testsuite.dir/0731/db.sock: connected
./ofproto-dpif.at:2915: sed < stderr '
/vlog|INFO|opened log file/d
/vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d
/reconnect|INFO|/d
/ofproto|INFO|using datapath ID/d
/ofproto|INFO|datapath ID changed to fedcba9876543210/d'
./ofproto-dpif.at:2915: ovs-vsctl -- add-br br0 -- set bridge br0 datapath-type=dummy other-config:datapath-id=fedcba9876543210 other-config:hwaddr=aa:55:aa:55:00:00 protocols=[OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13] fail-mode=secure --
./ofproto-dpif.at:2921: ovs-appctl upcall/disable-megaflows
./ofproto-dpif.at:2923: ovs-appctl vlog/set dpif_netdev:dbg
./ofproto-dpif.at:2924: ovs-ofctl add-flows br0 flows.txt
./ofproto-dpif.at:2926: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2,dst=10.0.0.1,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2927: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:0b,dst=50:54:00:00:00:0c),eth_type(0x0800),ipv4(src=10.0.0.4,dst=10.0.0.3,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2926: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2,dst=10.0.0.1,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2927: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:0b,dst=50:54:00:00:00:0c),eth_type(0x0800),ipv4(src=10.0.0.4,dst=10.0.0.3,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2926: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2,dst=10.0.0.1,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2927: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:0b,dst=50:54:00:00:00:0c),eth_type(0x0800),ipv4(src=10.0.0.4,dst=10.0.0.3,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2926: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2,dst=10.0.0.1,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2927: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:0b,dst=50:54:00:00:00:0c),eth_type(0x0800),ipv4(src=10.0.0.4,dst=10.0.0.3,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)'
./ofproto-dpif.at:2929: ovs-appctl dpif/dump-flows br0 | sed '
s/used:[0-9]*\.[0-9]*/used:0.0/
' | sort
--- - 2014-01-09 16:32:03.553483665 -0500
+++ /builddir/openvswitch/tests/testsuite.dir/at-groups/731/stdout 2014-01-09 16:32:03.542621965 -0500
@@ -1,3 +1,3 @@
-skb_priority(0),skb_mark(0),in_port(1/0xffff),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2/255.255.255.255,dst=10.0.0.1/255.255.255.255,proto=1/0xff,tos=0/0xff,ttl=64/0xff,frag=no/0xfc),icmp(type=8,code=0), packets:3, bytes:180, used:0.0s, actions:2
-skb_priority(0),skb_mark(0),in_port(1/0xffff),eth(src=50:54:00:00:00:0b,dst=50:54:00:00:00:0c),eth_type(0x0800),ipv4(src=10.0.0.4/255.255.255.255,dst=10.0.0.3/255.255.255.255,proto=1/0xff,tos=0/0xff,ttl=64/0xff,frag=no/0xfc),icmp(type=8,code=0), packets:3, bytes:180, used:0.0s, actions:drop
+skb_priority(0),skb_mark(0),in_port(1/0xffff0000),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800),ipv4(src=10.0.0.2/255.255.255.255,dst=10.0.0.1/255.255.255.255,proto=1/0xff,tos=0/0xff,ttl=64/0xff,frag=no/0xfc),icmp(type=8,code=0), packets:3, bytes:180, used:0.0s, actions:2
+skb_priority(0),skb_mark(0),in_port(1/0xffff0000),eth(src=50:54:00:00:00:0b,Dst=50:54:00:00:00:0c),eth_type(0x0800),ipv4(src=10.0.0.4/255.255.255.255,dst=10.0.0.3/255.255.255.255,proto=1/0xff,tos=0/0xff,ttl=64/0xff,frag=no/0xfc),icmp(type=8,code=0), packets:3, bytes:180, used:0.0s, actions:drop
ovsdb-server.log:
> 2014-01-09T21:32:03.279Z|00001|vlog|INFO|opened log file /builddir/openvswitch/tests/testsuite.dir/0731/ovsdb-server.log
> 2014-01-09T21:32:03.286Z|00002|ovsdb_server|INFO|ovsdb-server (Open vSwitch) 2.1.90
ovs-vswitchd.log:
> 2014-01-09T21:32:03.327Z|00001|vlog|INFO|opened log file /builddir/openvswitch/tests/testsuite.dir/0731/ovs-vswitchd.log
> 2014-01-09T21:32:03.328Z|00002|reconnect|INFO|unix:/builddir/openvswitch/tests/testsuite.dir/0731/db.sock: connecting...
> 2014-01-09T21:32:03.328Z|00003|reconnect|INFO|unix:/builddir/openvswitch/tests/testsuite.dir/0731/db.sock: connected
> 2014-01-09T21:32:03.330Z|00004|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.1.90
> 2014-01-09T21:32:03.367Z|00005|bridge|INFO|bridge br0: added interface br0 on port 65534
> 2014-01-09T21:32:03.367Z|00006|bridge|INFO|bridge br0: using datapath ID fedcba9876543210
> 2014-01-09T21:32:03.367Z|00007|connmgr|INFO|br0: added service controller "punix:/builddir/openvswitch/tests/testsuite.dir/0731/br0.mgmt"
> 2014-01-09T21:32:03.381Z|00008|bridge|INFO|bridge br0: added interface p2 on port 2
> 2014-01-09T21:32:03.381Z|00009|bridge|INFO|bridge br0: added interface p1 on port 1
> 2014-01-09T21:32:03.382Z|00010|ofproto_dpif|DBG|need revalidate in ofproto_wait_cb()
> 2014-01-09T21:32:03.412Z|00011|vconn|DBG|unix: sent (Success): OFPT_HELLO (OF1.3) (xid=0x1):
> version bitmap: 0x01, 0x02, 0x03, 0x04
> 2014-01-09T21:32:03.413Z|00012|vconn|DBG|unix: received: OFPT_HELLO (xid=0x1):
> version bitmap: 0x01
> 2014-01-09T21:32:03.413Z|00013|vconn|DBG|unix: negotiated OpenFlow version 0x01 (we support version 0x04 and earlier, peer supports version 0x01)
> 2014-01-09T21:32:03.413Z|00014|vconn|DBG|unix: received: NXT_FLOW_MOD_TABLE_ID (xid=0x2): enable
> 2014-01-09T21:32:03.413Z|00015|vconn|DBG|unix: received: OFPT_BARRIER_REQUEST (xid=0x3):
> 2014-01-09T21:32:03.413Z|00016|vconn|DBG|unix: sent (Success): OFPT_BARRIER_REPLY (xid=0x3):
> 2014-01-09T21:32:03.413Z|00017|vconn|DBG|unix: received: OFPT_FLOW_MOD (xid=0x4): ADD ip,in_port=1,nw_dst=10.0.0.1 actions=output:2
> 2014-01-09T21:32:03.413Z|00018|vconn|DBG|unix: received: OFPT_BARRIER_REQUEST (xid=0x5):
> 2014-01-09T21:32:03.413Z|00019|vconn|DBG|unix: sent (Success): OFPT_BARRIER_REPLY (xid=0x5):
> 2014-01-09T21:32:03.414Z|00020|vconn|DBG|unix: received: OFPT_FLOW_MOD (xid=0x6): ADD ip,in_port=1,nw_dst=10.0.0.3 actions=drop
> 2014-01-09T21:32:03.414Z|00021|vconn|DBG|unix: received: OFPT_BARRIER_REQUEST (xid=0x7):
> 2014-01-09T21:32:03.414Z|00022|vconn|DBG|unix: sent (Success): OFPT_BARRIER_REPLY (xid=0x7):
> 2014-01-09T21:32:03.414Z|00023|ofproto_dpif|DBG|need revalidate in ofproto_wait_cb()
731. ofproto-dpif.at:2914: 731. ofproto-dpif megaflow - disabled (ofproto-dpif.at:2914): FAILED (ofproto-dpif.at:2929)
More information about the dev
mailing list