Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2947 Project Frontier: Bigtop Integration Test Framework 2.0
  3. BIGTOP-3160

[Provisioner] Treat both exit code 0 and 2 as success for Puppet execution

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: provisioner
    • Labels:
      None

      Description

      With BIGTOP-3150, when exit code != 0, we'll raise a failure. However both exit code 0 and 2 are success executions. See the doc:

      0: The run succeeded with no changes or failures; the system was already in the desired state.
      
      1: The run failed, or wasn't attempted due to another run already in progress.
      
      2: The run succeeded, and some resources were changed.
      
      4: The run succeeded, and some resources failed.
      
      6: The run succeeded, and included both changes and failures.
      

      Ref: https://puppet.com/docs/puppet/5.4/man/agent.html

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              evans_ye Evans Ye
              Reporter:
              evans_ye Evans Ye

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 0.5h
              0.5h

                Issue deployment