Uploaded image for project: 'Multiple Architecture Enablement'
  1. Multiple Architecture Enablement
  2. MULTIARCH-3749

CI won't detect crashes if no other tests fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • Multi-Arch CI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • ppc64le, s390x
    • None
    • None
    • None
    • None
    • None
    • None

      Because of the way the kdump-gather logs steps is implement, it isn't run when a CI job runs to completion successfully. Because kdump prevents the node from crashing, this means that there is a case where our job passes despite a node crashing, and we never detect the crash.

      To resolve this we either need to:
      1. Add a test that ensures a job will fail if kdump is executed (We can probably do this by grepping through the logs or something).
      2. Set the configuration for the crash dump step to auto-run even on completion. I believe this is as simple as updating a flag in the ref or the chain that calls it
      (allow_skip_on_success: -> false)
      https://docs.ci.openshift.org/docs/architecture/step-registry/#skipping-post-steps-on-success

              tvardema Trevor Vardeman
              jpoulin Jeremy Poulin
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: