[ovs-build] Still Failing: williamtu/ovs-travis#398 (libunwind - c47c8d5)

Travis CI builds at travis-ci.org
Mon Mar 23 16:21:46 UTC 2020

Build Update for williamtu/ovs-travis

Build: #398
Status: Still Failing

Duration: 33 mins and 38 secs
Commit: c47c8d5 (libunwind)
Author: William Tu
Message: fatal-signal: Log backtrace when no monitor daemon.

Currently the backtrace logging is only available when monitor
daemon is running.  This patch enables backtrace logging when
no monitor daemon exists.  At signal handling context, it detects
whether monitor daemon exists.  If not, write directly the backtrace
to the vlog fd.  Note that using VLOG_* macro doesn't work due to
it's buffer I/O, so this patch directly issue write() syscall to
the file descriptor.

For some system we stop using monitor daemon and use systemd to
monitor ovs-vswitchd, thus need this patch. Example of
ovs-vswitchd.log (note that there is no timestamp printed):
  2020-03-23T14:42:12.949Z|00049|memory|INFO|175332 kB peak resident
  2020-03-23T14:42:12.949Z|00050|memory|INFO|handlers:2 ports:3 reva
  SIGSEGV detected, backtrace:
  0x0000000000486969 <fatal_signal_handler+0x49>
  0x00007f7f5e57f4b0 <killpg+0x40>
  0x000000000047daa8 <pmd_thread_main+0x238>
  0x0000000000504edd <ovsthread_wrapper+0x7d>
  0x00007f7f5f0476ba <start_thread+0xca>
  0x00007f7f5e65141d <clone+0x6d>
  0x0000000000000000 <+0x0>

Signed-off-by: William Tu <u9012063 at gmail.com>
v2: check log_fd < 0 and return
    add example to the commit message

View the changeset: https://github.com/williamtu/ovs-travis/compare/7ea1eb340888...c47c8d5d5f66

View the full build log and details: https://travis-ci.org/github/williamtu/ovs-travis/builds/665931098?utm_medium=notification&utm_source=email


You can unsubscribe from build emails from the williamtu/ovs-travis repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=6871381&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20200323/e53beebd/attachment-0001.html>

More information about the build mailing list