[Bug 2019069] [NEW] Log messages from dpdk library overflow and is written as multiple lines causing issues for testsuite

Frode Nordahl 2019069 at bugs.launchpad.net
Wed May 10 05:43:42 UTC 2023


Public bug reported:

The Open vSwitch system testsuites make assertions based on contents of
the ovs-vswitchd.log file.

While attempting to enable the DPDK system tests as part of the
autopkgtests, we found that currently the log messages from DPDK
overflow and are written out across multiple lines.

I find nothing obvious in OVS that causes this, so I wonder if this is
an issue in DPDK, how we build/relate it in Ubuntu or if OVS needs to
initialize it differently.

Example log excerpts:
Log line:
2023-05-09T14:48:05.958Z|00063|dpdk|INFO|VHOST_CONFIG: (/tmp/autopkgtest.FzfwzO/autopkgtest_tmp/o/src/_debian/tests/system-dpdk-testsuite.dir/07/dpdkvhostclient0) vhost-
2023-05-09T14:48:05.958Z|00064|dpdk|INFO|user client: socket created, fd: 116

Assertion:
../../tests/system-dpdk.at:335: grep "VHOST_CONFIG: ($OVS_RUNDIR/dpdkvhostclient0) vhost-user client: socket created" ovs-vswitchd.log
stdout:
../../tests/system-dpdk.at:335: exit code was 1, expected 0

Log line:
2023-05-09T16:51:15.505Z|00066|dpdk|WARN|VHOST_CONFIG: (/tmp/nqQypV/_debian/tests/system-dpdk-testsuite.dir/03/dpdkvhostclient0) failed to connect: No such file or direc
2023-05-09T16:51:15.505Z|00067|dpdk|WARN|tory

** Affects: dpdk (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: openvswitch (Ubuntu)
     Importance: Medium
         Status: Triaged

** Changed in: openvswitch (Ubuntu)
       Status: New => Triaged

** Changed in: openvswitch (Ubuntu)
   Importance: Undecided => Medium

** Also affects: dpdk (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/2019069

Title:
  Log messages from dpdk library overflow and is written as multiple
  lines causing issues for testsuite

Status in dpdk package in Ubuntu:
  New
Status in openvswitch package in Ubuntu:
  Triaged

Bug description:
  The Open vSwitch system testsuites make assertions based on contents
  of the ovs-vswitchd.log file.

  While attempting to enable the DPDK system tests as part of the
  autopkgtests, we found that currently the log messages from DPDK
  overflow and are written out across multiple lines.

  I find nothing obvious in OVS that causes this, so I wonder if this is
  an issue in DPDK, how we build/relate it in Ubuntu or if OVS needs to
  initialize it differently.

  Example log excerpts:
  Log line:
  2023-05-09T14:48:05.958Z|00063|dpdk|INFO|VHOST_CONFIG: (/tmp/autopkgtest.FzfwzO/autopkgtest_tmp/o/src/_debian/tests/system-dpdk-testsuite.dir/07/dpdkvhostclient0) vhost-
  2023-05-09T14:48:05.958Z|00064|dpdk|INFO|user client: socket created, fd: 116

  Assertion:
  ../../tests/system-dpdk.at:335: grep "VHOST_CONFIG: ($OVS_RUNDIR/dpdkvhostclient0) vhost-user client: socket created" ovs-vswitchd.log
  stdout:
  ../../tests/system-dpdk.at:335: exit code was 1, expected 0

  Log line:
  2023-05-09T16:51:15.505Z|00066|dpdk|WARN|VHOST_CONFIG: (/tmp/nqQypV/_debian/tests/system-dpdk-testsuite.dir/03/dpdkvhostclient0) failed to connect: No such file or direc
  2023-05-09T16:51:15.505Z|00067|dpdk|WARN|tory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/2019069/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list