[ovs-git] [ovn-org/ovn] 9e58fe: tests: Improve synchronization and debuggability.

Ben Pfaff noreply at github.com
Tue Mar 9 21:53:39 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 9e58fe94d7725d2ed171ce8d9d915168a47f3873
      https://github.com/ovn-org/ovn/commit/9e58fe94d7725d2ed171ce8d9d915168a47f3873
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M tests/ovn.at

  Log Message:
  -----------
  tests: Improve synchronization and debuggability.

While debugging ovn-northd-ddlog, I found a few more tests that either
didn't have enough synchronization points (via "ovn-nbctl sync" or
waiting for ports to come up) or that just were hard to debug because
they didn't dump the flow table in a useful way.  This improves them.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Numan Siddique <numans at ovn.org>


  Commit: 1563843d39e51f662fd6cc86874b5d84b8da7723
      https://github.com/ovn-org/ovn/commit/1563843d39e51f662fd6cc86874b5d84b8da7723
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M tutorial/ovs-sandbox

  Log Message:
  -----------
  ovs-sandbox: Make it possible to disable recording ddlog input.

The recording is useful for debugging and reproducing runs, but it
does cost CPU time, so with this option it can be disabled.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Numan Siddique <numans at ovn.org>


  Commit: 73c2d780ad801cb39b858a3393dc249eae89f242
      https://github.com/ovn-org/ovn/commit/73c2d780ad801cb39b858a3393dc249eae89f242
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M northd/ovn-northd-ddlog.c
    M northd/ovn-northd.8.xml

  Log Message:
  -----------
  ovn-northd-ddlog: Add profiling support.

DDlog has support for memory and CPU profiling.  This commit adds
commands for enabling CPU profiling (memory profiling is always enabled)
and dumping out the profile.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Numan Siddique <numans at ovn.org>


Compare: https://github.com/ovn-org/ovn/compare/2d12e5ddc1ae...73c2d780ad80


More information about the git mailing list