Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-2109

Ensure hosts have the agent role when running jenkins please test this

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      PR - 2019-05-02, PR - 2019-05-15
    • QA Risk Assessment:
      Needs Assessment

      Description

      If you specify "jenkins please test this" then acceptance tests will run on redhat and debian and both hosts will have the agent role. If you following the PR testing confluence page and say "jenkins please test this on windows2012r2-64" the resulting windows host will not have the agent role. We commonly run acceptance tests on only agents, e.g.

      agents.each do |agent|
        ...
      end
      

      which means the tests are effectively skipped on windows.

      I'm thinking we either always append an "a" to the BHG string, or we make the "a" required. For example, notice the difference between the "implicit" hosts and the explicit windows test targets in https://jenkins-platform.delivery.puppetlabs.net/job/platform_puppet-agent-extra_puppet-agent-integration-suite_pr/428/

        Attachments

          Activity

            People

            • Assignee:
              alexandru.popa Alexandru Popa
              Reporter:
              josh Josh Cooper
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support