Jira (PUP-6979) Puppet Module List fails in code page 65001 on ja-JP windows

1 view
Skip to first unread message

Erick Banks (JIRA)

unread,
Dec 6, 2016, 8:54:02 PM12/6/16
to puppe...@googlegroups.com
Erick Banks created an issue
 
Puppet / Bug PUP-6979
Puppet Module List fails in code page 65001 on ja-JP windows
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2016/12/06 5:53 PM
Environment:

vmpooler win-2012r2-ja-x86_64
beaker 2.52.0

Labels: i18n windows
Priority: Normal Normal
Reporter: Erick Banks

Started a puppetlabs-dsc acceptance test run and RDP'd into the machine.
Launched cmd and entered "> chcp 65001"
then "puppet module list"

Expect: a list of installed modules on the agent

Actual:

661 puppet/face/module/search.rb
  662 C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/terminal.rb
  663 puppet/face/module/uninstall.rb
  664 puppet/face/module/upgrade.rb
  665 C:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/face/module.rb
 
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
 
 
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Ethan Brown (JIRA)

unread,
Dec 7, 2016, 2:35:03 PM12/7/16
to puppe...@googlegroups.com
Ethan Brown commented on Bug PUP-6979
 
Re: Puppet Module List fails in code page 65001 on ja-JP windows

Could you include a full stack trace?

There are a number of things that you have to do on Windows to get terminals to behave properly (including setting fonts, etc). So I want to make sure we're seeing bad Ruby / Puppet behavior, and not bad Windows behavior.

Also, what happens in the normal codepage chcp 932?

If this is deemed a critical issue, it should be added to PUP-6718. Otherwise, it probably belongs in PUP-6719

Ethan Brown (JIRA)

unread,
Dec 7, 2016, 2:46:02 PM12/7/16
to puppe...@googlegroups.com

Erick Banks (JIRA)

unread,
Dec 7, 2016, 3:03:03 PM12/7/16
to puppe...@googlegroups.com
Erick Banks commented on Bug PUP-6979
 
Re: Puppet Module List fails in code page 65001 on ja-JP windows

Thanks for looking at this Ethan Brown. I'm not familiar with terminal behavior and fonts, is there a confluence page or some other resource I can look at to come up to speed here? After which I can provide more context and the full stack trace if the problem is still reproducible while using the terminal with the correct font/setting.

Using the default code page of 932 I get the expected results, it lists the modules correctly.

Geoff Nichols (JIRA)

unread,
Dec 8, 2016, 1:24:03 PM12/8/16
to puppe...@googlegroups.com

Erick Banks (JIRA)

unread,
Mar 7, 2017, 6:27:02 PM3/7/17
to puppe...@googlegroups.com
Erick Banks updated an issue
Change By: Erick Banks
Attachment: puppet module list japanese

Erick Banks (JIRA)

unread,
Mar 7, 2017, 6:40:03 PM3/7/17
to puppe...@googlegroups.com
Erick Banks commented on Bug PUP-6979
 
Re: Puppet Module List fails in code page 65001 on ja-JP windows

Attached the full output for a "puppet module list --debug" while in code page 65001

Ethan Brown (JIRA)

unread,
Mar 8, 2017, 6:32:03 PM3/8/17
to puppe...@googlegroups.com
Ethan Brown commented on Bug PUP-6979

Erick Banks what you attached is a Ruby segfault.

I didn't look too closely, but it's probably the same thing as

PUP-5717 .

What was the host OS?

Erick Banks (JIRA)

unread,
Mar 8, 2017, 6:36:02 PM3/8/17
to puppe...@googlegroups.com

Ethan Brown (JIRA)

unread,
Mar 8, 2017, 6:54:03 PM3/8/17
to puppe...@googlegroups.com

Ethan Brown (JIRA)

unread,
Mar 8, 2017, 6:54:03 PM3/8/17
to puppe...@googlegroups.com
Ethan Brown commented on Bug PUP-6979
 
Re: Puppet Module List fails in code page 65001 on ja-JP windows

Ah yes, thanks Erick Banks... sorry I missed that in the environment info you had already entered. I wasn't initially sure if you were using vmpooler or a custom box.

John Duarte (JIRA)

unread,
Mar 15, 2017, 11:42:02 AM3/15/17
to puppe...@googlegroups.com
John Duarte updated an issue
 
Change By: John Duarte
QA Risk Assessment: Needs Assessment Automate

John Duarte (JIRA)

unread,
Mar 15, 2017, 11:43:02 AM3/15/17
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
Labels: i18n  pmt  windows

Geoff Nichols (JIRA)

unread,
Mar 21, 2017, 10:50:02 PM3/21/17
to puppe...@googlegroups.com

Kenn Hussey (JIRA)

unread,
Mar 22, 2017, 1:12:13 PM3/22/17
to puppe...@googlegroups.com
Kenn Hussey updated an issue
 
Change By: Kenn Hussey
Sprint: Agent 2017-03-22 , Agent 2017-04-05

Josh Cooper (JIRA)

unread,
Mar 22, 2017, 1:14:03 PM3/22/17
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-6979
 
Re: Puppet Module List fails in code page 65001 on ja-JP windows

Yep, definitely looks like the same issue I reported 4 years ago.

Geoff Nichols (JIRA)

unread,
Mar 22, 2017, 1:31:04 PM3/22/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
 
Change By: Geoff Nichols
Sprint: Agent 2017-03-22, Agent  2017-04-05  Ready for Engineering

John Duarte (JIRA)

unread,
May 16, 2017, 3:01:03 PM5/16/17
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
Labels: i18n pmt  triaged  windows

Josh Cooper (Jira)

unread,
Jun 6, 2020, 7:49:05 PM6/6/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-6979
 
Re: Puppet Module List fails in code page 65001 on ja-JP windows

Given current priorities I'm going to close this as won't fix.

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages