Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1736

Exiting with different exit codes when inhibitor found

XMLWordPrintable

    • False
    • False
    • Hide

      None

      Show
      None
    • 1
    • Testable
    • rhel-conversions

      When inhibitor is found, convert2rhel analyze and convert2rhel convert gives different exit codes when inhibitor is found.

      • analyze gives 0
      • convert gives 2

      The both should return 2 as it correspond with https://github.com/oamg/convert2rhel/blob/main/convert2rhel/main.py#L74
      I think it's caused by raising an AnalyzeExit https://github.com/oamg/convert2rhel/blob/main/convert2rhel/main.py#L74 before _raise_for_skipped_failures() is called.

      Acceptance criteria:

          There are no Sub-Tasks for this issue.

              ahosek@redhat.com Adam Hosek
              ahosek@redhat.com Adam Hosek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: