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

review and fix direct_puppet/supports_utf8.rb test fails on solaris and cisco where LANG=C

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 5.3.4
    • Fix Version/s: PUP 4.10.11, PUP 5.3.5, PUP 5.4.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Sub-team:
    • Team:
      Platform Core
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action

      Description

      We need to address a couple problems with the test:

      • The test fails to work on amazon linux where the 'facter fqdn' which we use in the puppet code does not match up with the 'agent.hostname', so we need to really get the fqdn and use that when referencing the node
      • The test direct_puppet/supports_utf8.rb fails on solaris11-64 boxes because LANG=C when you ssh over to run commands. Since puppet is showing the diff of a file with UTF-8 characters in it, it blows up because the Ruby has set default_external to a non-UTF-8 character set.
        • Continue to skip platforms on 4.10.x
        • This isn't a problem on 5.3.x and we should enable all the platforms to run on more if not all platforms

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.delaney Eric Delaney
              Reporter:
              eric.delaney Eric Delaney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support