Closed brantb closed 8 years ago
The ]
character might be a red herring. The actual contents of output.stderr
in the parse_response
method is the following string:
=> "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><Obj S=\"progress\" RefId=\"0\"><TN RefId=\"0\"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N=\"SourceId\">1</I64><PR N=\"Record\"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\"progress\" RefId=\"1\"><TNRef RefId=\"0\" /><MS><I64 N=\"SourceId\">1</I64><PR N=\"Record\"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>"
Passing this through clixml_to_s
returns an empty string, so I'm not sure where the "]" in the console output is actually coming from.
On a target host running WMF4, output.stderr
is an empty string.
I'm also having this issue.
I believe this is related to not silencing the progress stream in checkfiles.ps1 - which https://github.com/test-kitchen/winrm-transport/pull/15 addresses.
Also failing on WMF 5 RTM for 2012r2.
@jasonmorgan what version of winrm-transport? Have you updated to the latest?
I was at 1.0.2, just updated to 1.0.3, I'll let you know if it still occurs.
On Wed, Dec 23, 2015 at 3:32 PM, Steven Murawski notifications@github.com wrote:
@jasonmorgan https://github.com/jasonmorgan what version of winrm-transport? Have you updated to the latest?
— Reply to this email directly or view it on GitHub https://github.com/test-kitchen/winrm-transport/issues/14#issuecomment-167002723 .
Respectfully, Jason Morgan jmorgan@f9vs.com (720) 877-1864 Twitter @rjasonmorgan
Well Merry Christmas to me, upgrading winrm-transport to 1.0.3 from 1.0.2 fixed my issue. Thanks a ton @smurawski!
@jasonmorgan you are very welcome! Merry Christmas!
Thank you @JasonMorgan this just solved our Woes :+1:
This was fixed with 1.0.3.
During a
kitchen converge
, whenFileTransporter
attempts to transport files to a Windows 2012 R2 host running the WMF5 Production Preview, thecheck_files.ps1
script writes a]
to stderr, causing the command to fail.(From a discussion in #kitchenci)
cc: @smurawski