Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

CCv0: improve debugability of SEV/SNP tests #5710

Open
wants to merge 5 commits into
base: CCv0
Choose a base branch
from

Commits on Jul 12, 2023

  1. kubernetes: system logs on SEV tests's teardown()

    The SEV and SNP tests sometimes fail on CI and it is hard to determine
    what went wrong because they don't print debug messages. This changed
    the tests so that they behave like many others: print the system's logs
    since the test's begin time.
    
    Fixes kata-containers#5708
    Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
    wainersm committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    b2c69b2 View commit details
    Browse the repository at this point in the history
  2. kubernetes: move clean up routines to teardown()

    The setup() function of SEV and SNP tests execute some clean up routines
    to get rid of resources left by the previous test. In reality the good
    practice is to have the test remove its used resources on teardown.
    
    Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
    wainersm committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    565a630 View commit details
    Browse the repository at this point in the history
  3. kubernetes: describe pods on SEV/SNP teardown()

    Print the running pods description as well.
    
    Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
    wainersm committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    ac03f1a View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. kubernetes: containerd logs on SEV tests's teardown()

    Print the containerd journal since the start of the test.
    
    Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
    wainersm committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    574fcf5 View commit details
    Browse the repository at this point in the history
  2. debug

    Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
    wainersm committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    d055700 View commit details
    Browse the repository at this point in the history