diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 9fea0611..c3e78cac 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -112,7 +112,8 @@ jobs: if: ${{ matrix.sgx_mode == 'SIM' }} run: | SANDBOX_ID=$(sudo crictl runp --runtime enclavecc sandbox.json) - CONTAINER_ID=$(sudo crictl create --with-pull $SANDBOX_ID hello-world-unencrypted-$SGX_MODE.json sandbox.json) + CONTAINER_ID=$(sudo crictl create --with-pull $SANDBOX_ID hello-world-unencrypted-$SGX_MODE.json sandbox.json || true) + sudo find /run/containerd/agent-enclave -name stderr -exec cat '{}' \; sudo crictl start $CONTAINER_ID sleep 5 sudo crictl logs $CONTAINER_ID diff --git a/tools/packaging/build/unified-bundle/config.json.template b/tools/packaging/build/unified-bundle/config.json.template index 2a813915..9c20b489 100644 --- a/tools/packaging/build/unified-bundle/config.json.template +++ b/tools/packaging/build/unified-bundle/config.json.template @@ -19,6 +19,7 @@ "env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "ENCLAVE_AGENT=true", + "OCCLUM_LOG_LEVEL=trace", "TERM=xterm" ], "cwd": "/run/rune/occlum_instance",