Jira (PUP-6913) Spec tests fail when run on a windows host whose name exceeds 15 characters
Title: Message Title Maggie Dreyer updated an issue Puppet / PUP-6913 Spec tests fail when run on a windows host whose name exceeds 15 characters Change By: Maggie Dreyer Fix Version/s: PUP 4.8.1 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6913) Spec tests fail when run on a windows host whose name exceeds 15 characters
Title: Message Title Josh Cooper updated an issue Puppet / PUP-6913 Spec tests fail when run on a windows host whose name exceeds 15 characters Change By: Josh Cooper Release Notes: Not Needed Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6913) Spec tests fail when run on a windows host whose name exceeds 15 characters
Title: Message Title Josh Cooper commented on PUP-6913 Re: Spec tests fail when run on a windows host whose name exceeds 15 characters Passed in https://jenkins.puppetlabs.com/view/agent-platform-triage/job/platform_puppet_unit-ruby-win_LTS-1.7/7/, resolving Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6913) Spec tests fail when run on a windows host whose name exceeds 15 characters
Title: Message Title Josh Cooper updated an issue Puppet / PUP-6913 Spec tests fail when run on a windows host whose name exceeds 15 characters Change By: Josh Cooper Fix Version/s: 4.7.2 Fix Version/s: 4.7.1 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6913) Spec tests fail when run on a windows host whose name exceeds 15 characters
Title: Message Title Josh Cooper updated an issue Puppet / PUP-6913 Spec tests fail when run on a windows host whose name exceeds 15 characters Change By: Josh Cooper Fix Version/s: 4.7.2 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6913) Spec tests fail when run on a windows host whose name exceeds 15 characters
Title: Message Title Josh Cooper created an issue Puppet / PUP-6913 Spec tests fail when run on a windows host whose name exceeds 15 characters Issue Type: Bug Assignee: Unassigned Created: 2016/11/10 1:57 PM Priority: Normal Reporter: Josh Cooper Our windows jenkins agents in CI.Next have hostnames (not fqdn) longer than 15 characters. As a result Socket.gethostname and Win32 GetComputerName return different results (the former is a truncated version of the latter), e.g. jenkins-slave-w vs jenkins-slave-win2012r2-... Two tests in spec/integration/util/windows/principal_spec.rb fail because they are using Socket.gethostname when they instead need to use GetComputerName in subsequent calls to LookupAccountNameW. 07:11:29 1) Puppet::Util::Windows::SID::Principal.lookup_account_name should create an instance from a local account prefixed with hostname 07:11:29 Failure/Error: Puppet::Util::Windows::SID.sid_to_name(computer_sid.sid + '-500').split('\\').last : 07:11:29