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

Test utf8_user_comments.rb fails to create user with UTF-8 comment on AIX

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.8.2, PUP 4.9.4
    • Fix Version/s: PUP 4.9.0
    • Component/s: Types and Providers
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      • AIX test creates user with UTF-8 comment
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      AP 2017-01-11
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Manual

      Description

      The user provider on AIX (5.3 at least) fails to create user with a UTF-8 GECOS string. The complaint is that the user name is too long. From tests/resource/user/utf8_user_comments.rb:

                  pe-aix-53-acceptance.delivery.puppetlabs.net (pe-aix-53-acceptance) 02:48:42$ env LANG="POSIX" puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.7956
                    Notice: Compiled catalog for pe-aix-53-acceptance.delivery.puppetlabs.net in environment production in 0.11 seconds
                    Info: Applying configuration version '1483094925'
                    Error: Could not create user quux94122: Execution of '/usr/bin/mkuser gecos=Aۿ quux94122' returned 86: Error adding "quux94122" : Name is too long.
                    Error: /Stage[main]/Main/User[quux94122]/ensure: change from absent to present failed: Could not create user quux94122: Execution of '/usr/bin/mkuser gecos=Aۿ quux94122' returned 86: Error adding "quux94122" : Name is too long.
                    Notice: Applied catalog in 0.48 seconds
                  
                  pe-aix-53-acceptance.delivery.puppetlabs.net (pe-aix-53-acceptance) executed in 4.13 seconds
                  Exited: 4
                  Beaker::Host::CommandFailure: Host 'pe-aix-53-acceptance.delivery.puppetlabs.net' exited with 4 running:
                   env LANG="POSIX" puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.7956
      

      See

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                kurt.wall Kurt Wall
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: