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

Manual tests using Address Satitizer

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      We should do manual testing with Address Sanitizer (ASan) enabled to check for memory errors.

      How to compile with ASAN:

      https://github.com/cfengine/core/blob/master/travis-scripts/script.sh#L56-L59

      Then install using make install.

      Would be nice to test:

      • cf-key
      • cf-agent bootstrap
      • cf-agent update
      • cf-agent promises
      • cf-net GET

      Then repeat the same, but install enterprise and nova, and run:

      • cf-hub --query rebase -H ...
      • cf-hub --query delta -H ...

      Note that when enterprise is installed, more policy is run than normally.

      Also, to get cf-hub working, without mission portal, use:

      https://github.com/cfengine/nova#installing-and-running-nova--cf-hub-without-mission-portal

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              karlhto Karl Hole Totland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel