[Bug 2147468] Re: Broken test "Unsupported protocol message" hangs indefiniently

mj 2147468 at bugs.launchpad.net
Wed Sep 16 19:05:53 UTC 2026


** Description changed:

  [Impact]
  
  The ovn package contains a broken test named "Unsupported protocol
- message" that hangs indefinitely during execution. This prevents the
- test suite (and consequently autopkgtest or package builds) from
+ message" which hangs indefinitely during execution. This prevents the
+ test suite, and consequently autopkgtest or package builds, from
  completing successfully.
  
  The hang is caused by two underlying issues:
  
- 1. nc --sh-exec forks child processes that are kept alive while
+ 1. `nc --sh-exec` forks child processes which remain alive while
  processing requests and are not properly cleaned up by the test suite
  macros.
  
- 2. The test contains bashisms (++ ip netns exec ls2p1 sh sh: 1: Syntax
- error: redirection unexpected), causing syntax errors when executed in a
- standard sh environment.
+ 2. The test contains bashisms, resulting in syntax errors when executed in a standard `sh` environment, for example:
+    `ip netns exec ls2p1 sh sh: 1: Syntax error: redirection unexpected`
+ 
+ The issue was introduced by upstream commit
+ `985551d482694e39d51ed290a4607f71e5b65be8`.
+ 
+ The issue is resolved in `ovn` version `26.03.0-2` in Ubuntu's
+ development release. The fix skips the broken test until the underlying
+ test issues can be properly resolved.
  
  [Test Plan]
  
- 1. Execute the ovn test suite (or trigger an autopkgtest run) on an
- affected release (e.g., Ubuntu Resolute).
+ 1. On an affected Ubuntu release, such as Ubuntu Resolute, run the `ovn`
+ test suite or trigger the relevant autopkgtest.
  
- 2. Observe that the suite hangs indefinitely when reaching the
+ 2. Observe that the test suite hangs indefinitely when it reaches the
  "Unsupported protocol message" test.
  
- 3. Install the patched package (where the test is skipped or resolved).
+ 3. Install the proposed `ovn` package containing the fix.
  
- 4. Run the test suite again and verify that all tests complete
- successfully without hanging.
+ 4. Run the `ovn` test suite or trigger the relevant autopkgtest again.
+ 
+ 5. Verify that the "Unsupported protocol message" test is skipped and
+ that the remainder of the test suite completes successfully without
+ hanging.
+ 
+ 6. Verify that the package's functional/runtime tests continue to pass.
  
  [Where problems could occur] (Regression Potential)
  
- The fix applied in version 26.03.0-2 bypasses the issue by skipping the
- broken test entirely.
+ The fix applied in `ovn` version `26.03.0-2` bypasses the issue by
+ skipping the broken test entirely. No functional OVN runtime code is
+ modified by this change.
  
- The regression potential for the runtime software is extremely low, as no functional code in OVN is being modified to achieve this. However, by skipping the test, we lose the test coverage for "Unsupported protocol message" handling. If a regression is introduced upstream in that specific OVN feature, the Ubuntu CI tests will not catch it until the test is fully repaired and re-enabled.
+ The regression potential for the runtime software is therefore extremely
+ low. The primary risk is reduced test coverage: by skipping the
+ "Unsupported protocol message" test, a future regression in OVN's
+ handling of unsupported protocol messages would not be detected by this
+ test until the underlying test is repaired and re-enabled.
+ 
+ No changes to OVN's runtime behaviour, configuration, networking
+ functionality, or protocol handling are introduced by this fix.
+ 
  [Other Info]
  
- - The original issue was introduced by upstream commit: 985551d482694e39d51ed290a4607f71e5b65be8
- - The issue is resolved in ovn package version 26.03.0-2 (unstable) by Frode Nordahl.
+ * The original issue was introduced by upstream commit `985551d482694e39d51ed290a4607f71e5b65be8`.
+ * The issue is resolved in `ovn` version `26.03.0-2` in Ubuntu's development release.
+ * The fix was provided by Frode Nordahl.
+ * The fix consists of skipping the affected test rather than changing OVN runtime functionality.

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

Title:
  Broken test "Unsupported protocol message" hangs indefiniently

Status in ovn package in Ubuntu:
  Fix Released
Status in ovn source package in Resolute:
  In Progress

Bug description:
  [Impact]

  The ovn package contains a broken test named "Unsupported protocol
  message" which hangs indefinitely during execution. This prevents the
  test suite, and consequently autopkgtest or package builds, from
  completing successfully.

  The hang is caused by two underlying issues:

  1. `nc --sh-exec` forks child processes which remain alive while
  processing requests and are not properly cleaned up by the test suite
  macros.

  2. The test contains bashisms, resulting in syntax errors when executed in a standard `sh` environment, for example:
     `ip netns exec ls2p1 sh sh: 1: Syntax error: redirection unexpected`

  The issue was introduced by upstream commit
  `985551d482694e39d51ed290a4607f71e5b65be8`.

  The issue is resolved in `ovn` version `26.03.0-2` in Ubuntu's
  development release. The fix skips the broken test until the
  underlying test issues can be properly resolved.

  [Test Plan]

  1. On an affected Ubuntu release, such as Ubuntu Resolute, run the
  `ovn` test suite or trigger the relevant autopkgtest.

  2. Observe that the test suite hangs indefinitely when it reaches the
  "Unsupported protocol message" test.

  3. Install the proposed `ovn` package containing the fix.

  4. Run the `ovn` test suite or trigger the relevant autopkgtest again.

  5. Verify that the "Unsupported protocol message" test is skipped and
  that the remainder of the test suite completes successfully without
  hanging.

  6. Verify that the package's functional/runtime tests continue to
  pass.

  [Where problems could occur] (Regression Potential)

  The fix applied in `ovn` version `26.03.0-2` bypasses the issue by
  skipping the broken test entirely. No functional OVN runtime code is
  modified by this change.

  The regression potential for the runtime software is therefore
  extremely low. The primary risk is reduced test coverage: by skipping
  the "Unsupported protocol message" test, a future regression in OVN's
  handling of unsupported protocol messages would not be detected by
  this test until the underlying test is repaired and re-enabled.

  No changes to OVN's runtime behaviour, configuration, networking
  functionality, or protocol handling are introduced by this fix.

  [Other Info]

  * The original issue was introduced by upstream commit `985551d482694e39d51ed290a4607f71e5b65be8`.
  * The issue is resolved in `ovn` version `26.03.0-2` in Ubuntu's development release.
  * The fix was provided by Frode Nordahl.
  * The fix consists of skipping the affected test rather than changing OVN runtime functionality.

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




More information about the Ubuntu-openstack-bugs mailing list