Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1782

Fault injection tests should exit with a special exit code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • test
    • None

    Description

      Currently, for the various fault injection crash points, we exit using LOG(FATAL). This has two issues:
      1) we end up with a fair bit of log spew that isn't particularly useful, and which also confuses the "Diagnose" button on the flaky dashboard
      2) our tests which are typically waiting for the server to crash can't distinguish the "expected" crash (injected fault) from any other crash (eg a bug that causes a SEGV or CHECK failure)

      To improve this, we can make the fault injection exit with some special error code, and have the tests that wait for the crash fail the test if they see a crash with another exit code (indicating SEGV or ABRT)

      Attachments

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: