mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-05-07 15:36:41 +00:00
debug logs
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
2c9ae0cbca
commit
a58886aba3
6
.github/workflows/e2e-tests.yml
vendored
6
.github/workflows/e2e-tests.yml
vendored
@ -103,3 +103,9 @@ jobs:
|
|||||||
|
|
||||||
# We run with sudo to be able to access /dev/kvm
|
# We run with sudo to be able to access /dev/kvm
|
||||||
sudo -E ./scripts/e2e-tests.sh
|
sudo -E ./scripts/e2e-tests.sh
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.label }}-test.logs.zip
|
||||||
|
path: tests/**/logs/*
|
||||||
|
if-no-files-found: warn
|
@ -47,6 +47,7 @@ var _ = Describe("kcrypt encryption", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
AfterEach(func() {
|
AfterEach(func() {
|
||||||
|
vm.GatherLog("/run/immucore/immucore.log")
|
||||||
err := vm.Destroy(func(vm VM) {
|
err := vm.Destroy(func(vm VM) {
|
||||||
// Stop TPM emulator
|
// Stop TPM emulator
|
||||||
tpmPID, err := os.ReadFile(path.Join(vm.StateDir, "tpm", "pid"))
|
tpmPID, err := os.ReadFile(path.Join(vm.StateDir, "tpm", "pid"))
|
||||||
|
Loading…
Reference in New Issue
Block a user