On 5/9/23 14:34, Виктор Андреевич Тураев via discuss wrote:
> Hello, I am writing a thesis on ovs , but I had problems, after I completed 
> all the steps necessary to install ovs in unit tests errors got out, some I 
> could fix myself, some not, I have ubuntu 22.04.2 latest which I deployed in 
> virtualbox, while I rebuilt the kernel with version 6.2.8 from kernel.org, 
> maybe I forgot to include something in the config when building?

Yes.  You're missing at least a few NF_CONNTRACK config options:

> 2023-05-09T12:09:43.851Z|00023|ofproto_dpif|INFO|system@ovs-system: Datapath 
> does not support ct_zone
> 2023-05-09T12:09:43.851Z|00024|ofproto_dpif|INFO|system@ovs-system: Datapath 
> does not support ct_mark
> 2023-05-09T12:09:43.851Z|00025|ofproto_dpif|INFO|system@ovs-system: Datapath 
> does not support ct_label

So, CONFIG_NF_CONNTRACK_ZONES, CONFIG_NF_CONNTRACK_MARK, etc.

This is causing failures of most of the CT tests.  You also don't
have NAT for FTP and TFTP built.  That might cause problems for
some of the tests as well, but most of these may be skipped if you
don't have userspace ftp programs installed.

And if you'll build things as modules, instead of being builtin, it
will be easier to make changes and test them.  Also, some tests might
not be happy if you can't reload the openvswitch module between them.
It should not be a problem in theory, but it's hard to tell for sure.

In general, if you copy the default config from your Ubuntu system
and use defaults for any new options, you shouldn't miss any important
config options.  The build might take longer, but you may save on
kernel re-builds by using modules.

> I'm sending the logs of the kernel tests, as they are the ones I need to fix 
> for work, but I also attach the logs of the unit tests. Please, tell me what 
> I could do wrong, or what could be wrong?

The unit test failures are strange.  Try running with RECHECK=yes.

Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to