[ovs-discuss] build OpenvSwitch.deb package failed

俊 赵 zhaojun12 at outlook.com
Fri Nov 13 09:10:23 UTC 2015


Thanks for your reply.I also think it is memory causing this issue.When I use a raspberry pi with 1G RAM, it can build and test successfully. But it also failed with several tests occasionally. I tried to build and test several times, and it finally succeed.Thanks.

Zhao Jun

> From: joestringer at nicira.com
> Date: Thu, 12 Nov 2015 23:19:33 -0800
> Subject: Re: [ovs-discuss] build OpenvSwitch.deb package failed
> To: zhaojun12 at outlook.com
> CC: discuss at openvswitch.org
> 
> On 8 November 2015 at 05:04, 俊 赵 <zhaojun12 at outlook.com> wrote:
> > Hi all, I have some questions to ask.
> >
> > First, I am trying to build OpenvSwitch 2.3.2 .deb package in raspberry with
> > 500MB ram and Debian based Raspberry OS.
> >
> > But it failed when testing.
> > 820: ofproto-dpif - exponential resubmit chain   FAILED
> > (ofproto-dpif.at:4726)
> > 821: ofproto-dpif - too many output actions
> > FAILED(ofproto-dpif.at:4741)
> >
> > I wonder what is the reason causing these errors?
> 
> I strongly suspect that it could be something like OVS running out of
> memory while running the test, particularly if you're attempting to
> run several tests in parallel with such little memory.
> 
> > Second, due to testing errors, I am trying to use
> > "DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary" to
> > skip tests, and I finished success.
> >
> > I wonder if I install these .deb files, which functions may be influenced
> > due to tests failures?
> 
> If these are the only test failures, and you're using a fairly basic
> OVS featureset, then you'll probably be fine.
> 
> > Third, in openvswitch's parent folder, there are many .deb files
> >
> > drwxrwxr-x 20 sasm sasm    4096 Nov  8 20:52 openvswitch-2.3.2
> > -rw-r--r--  1 root root 3277164 Jun 19 03:50 openvswitch-2.3.2.tar.gz
> > -rw-r--r--  1 root root  725388 Nov  8 20:49
> > openvswitch-common_2.3.2-1_armhf.deb
> > -rw-r--r--  1 root root 3246776 Nov  8 20:55
> > openvswitch-datapath-dkms_2.3.2-1_all.deb
> > -rw-r--r--  1 root root 3323462 Nov  8 20:55
> > openvswitch-datapath-source_2.3.2-1_all.deb
> > -rw-r--r--  1 root root 7642302 Nov  8 20:51
> > openvswitch-dbg_2.3.2-1_armhf.deb
> > -rw-r--r--  1 root root   38136 Nov  8 20:49
> > openvswitch-ipsec_2.3.2-1_armhf.deb
> > -rw-r--r--  1 root root   31962 Nov  8 20:55 openvswitch-pki_2.3.2-1_all.deb
> > -rw-r--r--  1 root root 1907866 Nov  8 20:49
> > openvswitch-switch_2.3.2-1_armhf.deb
> > -rw-r--r--  1 root root   50040 Nov  8 20:55
> > openvswitch-test_2.3.2-1_all.deb
> > -rw-r--r--  1 root root  187756 Nov  8 20:49
> > openvswitch-vtep_2.3.2-1_armhf.deb
> > -rw-r--r--  1 root root   91236 Nov  8 20:55
> > python-openvswitch_2.3.2-1_all.deb
> >
> > Should I install all these .deb files?
> 
> I suggest you read INSTALL.Debian.md. In particular:
> 
> Install the "openvswitch-switch" and "openvswitch-common" packages.
> These packages include the core userspace components of the switch.
> 
> (You may also want openvswitch-datapath-dkms if you're running OVS
> with the kernel module)
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151113/4e30b54d/attachment-0002.html>


More information about the discuss mailing list