Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3961

Files promise verbose logs do not emit an END after each pass

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: 3.18.1
    • Fix Version/s: None
    • Component/s: cf-agent, Logging
    • Labels:
      None

      Description

      Files promise verbose logs emit a BEGIN during each pass:

       verbose: P: BEGIN promise 'promise_app_carbon_black_cf_197' of type "files" (pass 1)
      ...
       verbose: P: BEGIN promise 'promise_app_carbon_black_cf_197' of type "files" (pass 2)
      ...
       verbose: P: BEGIN promise 'promise_app_carbon_black_cf_197' of type "files" (pass 3)
      

      At the end of the promise an END should be emitted:

      verbose: P: BEGIN promise 'promise_app_carbon_black_cf_197' of type "files" (pass 1)
      ...
      verbose: P: END files promise (C:\Windows\temp\app_carbon_bla...)
      

      However, this END files promise is only emitted after the first pass (or perhaps until the promise has resulted in some outcome (KEPT/REPAIRED etc ...). The misalignment between BEGIN and END lines not showing the same information is a separate issue (CFE-3962).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              a10042 Nick Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: