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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • provisioner
    • 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

              evans_ye Evans Ye
              evans_ye Evans Ye
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              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