Skip to content

Add optional OCKC native test, perf, and trace - #1704

Open
jasonkatonica wants to merge 1 commit into
IBM:mainfrom
jasonkatonica:katonica/feature/captureockctraces
Open

Add optional OCKC native test, perf, and trace#1704
jasonkatonica wants to merge 1 commit into
IBM:mainfrom
jasonkatonica:katonica/feature/captureockctraces

Conversation

@jasonkatonica

@jasonkatonica jasonkatonica commented Aug 18, 2026

Copy link
Copy Markdown
Member

Introduce three new opt-in Jenkins parameters and the Groovy helpers that back them:

  • RUN_OCKC_TESTS: runs jcctest (OCKC self-test) before the Maven suite and archives ockctest-{iteration}-{platform}.log as a build artifact.

  • RUN_OCKC_PERF: runs jicc_perf (digest/cipher benchmark + thread-safety sweep) with a configurable thread count (OCKC_PERF_THREADS, default 4) and archives ockctest_perf-{iteration}-{platform}.log.

  • CAPTURE_OCKC_TRACE: creates GSKIT_CRYPTO.log in the build directory before Maven runs so the OCKC native library writes its startup/module- loading diagnostics to it; renames and archives the result as GSKIT_CRYPTO-{iteration}-{platform}.log after the run.

All three features are disabled by default. runOpenJCEPlus() gains platform and iteration parameters so archive filenames are unique across parallel build iterations.

Signed-off-by: Jason Katonica katonica@us.ibm.com

Introduce three new opt-in Jenkins parameters and the Groovy helpers
that back them:

- RUN_OCKC_TESTS: runs jcctest (OCKC self-test) before the Maven suite
  and archives ockctest-{iteration}-{platform}.log as a build artifact.

- RUN_OCKC_PERF: runs jicc_perf (digest/cipher benchmark + thread-safety
  sweep) with a configurable thread count (OCKC_PERF_THREADS, default 4)
  and archives ockctest_perf-{iteration}-{platform}.log.

- CAPTURE_OCKC_TRACE: creates GSKIT_CRYPTO.log in the build directory
  before Maven runs so the OCKC native library writes its startup/module-
  loading diagnostics to it; renames and archives the result as
  GSKIT_CRYPTO-{iteration}-{platform}.log after the run.

All three features are disabled by default. runOpenJCEPlus() gains
platform and iteration parameters so archive filenames are unique
across parallel build iterations.

Signed-off-by: Jason Katonica <katonica@us.ibm.com>
@jasonkatonica
jasonkatonica force-pushed the katonica/feature/captureockctraces branch from 29576c7 to 6f6a33f Compare August 18, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants