Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-1690

Collect namespace resources in e2e tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • None
    • None
    • WINC - Sprint 285

      Developer story
      As a developer, I want to collect namespace resources and debug data within the CI E2E test script before the environment cleanup runs so that we have sufficient evidence for debugging, preventing the issue where the standard must-gather runs after resources are already deleted.

       

      Description
      Currently, the standard must-gather collection step executes after the hack/run-ci-e2e-test.sh script has finished.

      However, if the tests succeed, the script proceeds to delete the Windows nodes (via TestWMCO/destroy) and clean up the WMCO operator/namespace resources before exiting.

      Need to enable the collection of WMCO namespace resources  inside the test runner script, ensuring it executes immediately after the main test suite but strictly before the cleanup/teardown phase begins.

       

      Engineering Details
      Modify or verify hack/run-ci-e2e-test.sh.
      Ensure the following resource collection logic is present before the if $SKIP_NODE_DELETION; then block where TestWMCO/destroy is called:

       

       

      Acceptance Criteria

      The inspection data is saved to ${ARTIFACT_DIR}/inspect.
      Data collection occurs before Windows nodes are destroyed and before the WMCO deployment is cleaned up.
      Inspect logs are available in the CI artifacts even when the test suite succeeds and cleans up after itself.

              jvaldes@redhat.com Jose Valdes
              jvaldes@redhat.com Jose Valdes
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: