openssl: CI does not cover configuration option 'enable-trace'

The recent commit f386632 broke include/openssl/cmp_util.h when the trace API is enabled. I’ve just provided a respective fix: #10236.

This incident indicates that the build checks by the Continuous Integration tools do not cover the case that the trace API is enabled in the configuration, since otherwise the above issue would have been caught right away.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (20 by maintainers)

Most upvoted comments

Hmmmm… this issue is mostly about building with enable-trace, isn’t it? I.e. making sure it builds properly? I don’t see any immediate harm with that, apart from that build possibly running a little slower (unless you also want to actually have it print something, which is enabled at run time, but it doesn’t sound like that’s the ask, so…).

From the above responses by @mattcaswell and @levitte I conclude that enable_trace so far is not covered by (standard) Travis CI builds - and if they were, everyone providing a PR that is based upon such a faulty branch would immediately notice.

IMO adding such options to the Travis CI builds is not a viable option. At least not in the general case. There might be a small set of options that could be included (and maybe enable-trace is one of those). The problem is there are a lot of options. Systematically going through all of them takes a long time and would slow down Travis too much.

One possible approach is to continue as we are with run-checker, but additionally have one travis build that enables everything that is disabled by default, and another build that disables everything that is enabled by default.

IMHO the @openssl/otc needs to find a procedure to deal with run-checker failures in a more automatic and timely fashion.

Oh, they are posted, see for example

@DDvO you just need to subscribe to the openssl-commits list and create a filter for ‘OpenSSL run-checker’.