[Bug 2032623] Re: [armhf] learning switch - OpenFlow15 test fails due to unexpected debug logging
Launchpad Bug Tracker
2032623 at bugs.launchpad.net
Tue Aug 29 07:55:49 UTC 2023
This bug was fixed in the package openvswitch - 3.2.0-1
---------------
openvswitch (3.2.0-1) unstable; urgency=medium
* Team upload.
* Update upstream source from tag 'upstream/3.2.0'
* d/p/docs-*: Update patch for #1042358.
* d/p/lib-fatal-signal-Drop-logging-of-failed-dummy-backtr.patch: Drop
unnecessary debug logging to fix armhf build (LP: #2032623).
-- Frode Nordahl <frode.nordahl at canonical.com> Tue, 22 Aug 2023
10:43:20 +0200
** Changed in: openvswitch (Ubuntu)
Status: Fix Committed => Fix Released
--
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/2032623
Title:
[armhf] learning switch - OpenFlow15 test fails due to unexpected
debug logging
Status in openvswitch package in Ubuntu:
Fix Released
Bug description:
Open vSwitch 3.2.0 added the ability to print backtraces in the event
of a fatal crash. The commit [0] adding this functionality also added
debug logging on startup if a call to libc backtrace() does not
provide any frames.
On the systems where armhf packages are built and tested this is the
case and as a consequence the build fails.
Test log excerpt:
# -*- compilation -*-
2560. learning-switch.at:7: testing learning switch - OpenFlow15 ...
../../tests/learning-switch.at:9: ovs-testcontroller --no-chdir --detach punix:controller --pidfile -v ptcp:
--- /dev/null 2023-08-22 06:47:35.672268660 +0000
+++ /tmp/openvswitch-3.2.0/_debian/tests/testsuite.dir/at-groups/2560/stderr 2023-08-22 07:45:45.858016173 +0000
@@ -0,0 +1 @@
+2023-08-22T07:45:45Z|00001|fatal_signal|DBG|Capturing of dummy backtrace has failed.
stdout:
2560. learning-switch.at:7: 2560. learning switch - OpenFlow15 (learning-switch.at:7): FAILED (learning-switch.at:9)
Compiling and running this super simple program confirms the behavior in isolation:
#include <stdio.h>
#include <execinfo.h>
#define BACKTRACE_MAX_FRAMES 31
int
main(int argc, char **argv)
{
int n_frames;
void *frames[BACKTRACE_MAX_FRAMES];
n_frames = backtrace(frames, BACKTRACE_MAX_FRAMES);
printf("%d/%d", n_frames, BACKTRACE_MAX_FRAMES);
}
0:
https://github.com/openvswitch/ovs/commit/759a29dc2d97bfba9e3c5270a621beca673962ca
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/2032623/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list