Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7599

Acceptance: Fix authorized keys acceptance tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.10.5, PUP 5.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Puppet Agent CI environment with Beaker 3.16+

    • Template:
    • Acceptance Criteria:
      Hide

      These tests pass on all platforms expected, including Cisco Nexus.

      Show
      These tests pass on all platforms expected, including Cisco Nexus.
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      Agent 2017-05-31, Agent 2017-06-14, Agent 2017-06-28, Agent 2017-07-12
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action

      Description

      The current ssh authorized keys tests assume that the login user on the SUT is root. This works fine in most cases but fails on the Cisco Nexus because the user is 'beaker' not root. The best solution to resolving this is to have the test detected who is logged in and assume that is the user. The environment variable LOGNAME should be able to be used.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              stan Stan Duffy
              QA Contact:
              Eric Delaney
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support