Skip to content

Conversation

@cmickeyb
Copy link
Contributor

@cmickeyb cmickeyb commented Dec 5, 2023

Several fixes/improvements:

  • debug logging is now available in the docker/docker compose tests
  • when logging is enabled, unit tests will now generate output, respects environment variables
  • github commits can add '[debug]' to turn on debug build/logging during runs
  • fix sgx ssl abort when running actions on non-intel processors (skip the CPU check in SIM mode)

Signed-off-by: Mic Bowman <mic.bowman@intel.com>
To simplify collection of logging during testing, add
support for PDO_LOG_LEVEL and PDO_DEBUG_BUILD throughout
the docker and docker compose configuration files. By
default, these will be copied from the environment during
the build.

Signed-off-by: Mic Bowman <mic.bowman@intel.com>
When PDO_LOG_LEVEL is set to debug, turn on verbose logging
in cmake tests and push the logs to the screen.

Signed-off-by: Mic Bowman <mic.bowman@intel.com>
Adding the string '[debug]' to a commit message
will cause github runner to build docker images
using debug build and will turn on all logging.
This should simplify debugging of issues that show
up on github and not in local test environments.

Signed-off-by: Mic Bowman <mic.bowman@intel.com>
By default SGX SSL checks for Intel CPU even in SIM
mode. This sets a flag to avoid that check when running
in SIM mode.

Fixes the problem of github runners failing in the
common library unit tests.

Signed-off-by: Mic Bowman <mic.bowman@intel.com>
Copy link
Member

@marcelamelara marcelamelara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!!

Copy link
Member

@bvavala bvavala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bvavala bvavala merged commit 995474c into hyperledger-labs:main Dec 5, 2023
@cmickeyb cmickeyb deleted the mic.dec05.fix_sgx_ssl_abort branch January 16, 2024 00:21
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