{"action":"created","issue":{"url":"https://api.github.com/repos/WinRb/winrm-fs/issues/41","repository_url":"https://api.github.com/repos/WinRb/winrm-fs","labels_url":"https://api.github.com/repos/WinRb/winrm-fs/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/WinRb/winrm-fs/issues/41/comments","events_url":"https://api.github.com/repos/WinRb/winrm-fs/issues/41/events","html_url":"https://github.com/WinRb/winrm-fs/issues/41","id":146174551,"number":41,"title":"Illegal characters in path.","user":{"login":"dpetzel","id":943268,"avatar_url":"https://avatars.githubusercontent.com/u/943268?v=3","gravatar_id":"","url":"https://api.github.com/users/dpetzel","html_url":"https://github.com/dpetzel","followers_url":"https://api.github.com/users/dpetzel/followers","following_url":"https://api.github.com/users/dpetzel/following{/other_user}","gists_url":"https://api.github.com/users/dpetzel/gists{/gist_id}","starred_url":"https://api.github.com/users/dpetzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpetzel/subscriptions","organizations_url":"https://api.github.com/users/dpetzel/orgs","repos_url":"https://api.github.com/users/dpetzel/repos","events_url":"https://api.github.com/users/dpetzel/events{/privacy}","received_events_url":"https://api.github.com/users/dpetzel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-06T03:17:18Z","updated_at":"2016-04-06T04:50:27Z","closed_at":null,"body":"So after running into https://discourse.chef.io/t/test-kitchen-md5-checksum-failures-during-chef-client-install-on-windows/8116, I was forced to update test-kitchen version, which then required I switch from winrm-transport to winrm-fs, which fails with the errors below (same configuration worked with winrm-transport)\r\n\r\n```\r\n>>>>>> ------Exception-------\r\n>>>>>> Class: Kitchen::ActionFailed\r\n>>>>>> Message: Failed to complete #converge action: [[WinRM::FS::Core::FileTransporter] Upload failed (exitcode: 0), but stderr present\r\nTest-Path : Illegal characters in path.\r\nAt line:8 char:51\r\n+ function folder($path){ $path | ? {-not (test-path <<<<  $_)} | % {$null = mk\r\ndir $_}}\r\n    + CategoryInfo          : InvalidArgument: (C:\\Users\\USER-~1\\A\r\nppData\\Local\\Temp:String) [Test-Path], ArgumentException\r\n    + FullyQualifiedErrorId : ItemExistsArgumentError,Microsoft.PowerShell.Com \r\n   mands.TestPathCommand\r\n \r\nNew-Item : Illegal characters in path.\r\nAt line:38 char:24\r\n+         $scriptCmd = {& <<<<  $wrappedCmd -Type Directory @PSBoundParameters \r\n}\r\n    + CategoryInfo          : InvalidArgument: (C:\\Users\\USER-~1\\A\r\nppData\\Local\\Temp:String) [New-Item], ArgumentException\r\n    + FullyQualifiedErrorId : ItemExistsArgumentError,Microsoft.PowerShell.Com \r\n   mands.NewItemCommand\r\n \r\nSet-Content : Illegal characters in path.\r\nAt line:2 char:68\r\n+ function Decode-Base64File($src, $dst) {folder (split-path $dst);sc <<<<  -fo\r\nrce -Encoding Byte -Path $dst -Value ([Convert]::FromBase64String([IO.File]::Re\r\nadAllLines($src)))}\r\n    + CategoryInfo          : InvalidArgument: (C:\\Users\\USER-...long_script. \r\n   ps1:String) [Set-Content], ArgumentException\r\n    + FullyQualifiedErrorId : ItemExistsArgumentError,Microsoft.PowerShell.Com \r\n   mands.SetContentCommand\r\n \r\nSet-Content : Illegal characters in path.\r\nAt line:2 char:68\r\n+ function Decode-Base64File($src, $dst) {folder (split-path $dst);sc <<<<  -fo\r\nrce -Encoding Byte -Path $dst -Value ([Convert]::FromBase64String([IO.File]::Re\r\nadAllLines($src)))}\r\n    + CategoryInfo          : InvalidArgument: (C:\\Users\\USER-...long_script. \r\n   ps1:String) [Set-Content], ArgumentException\r\n    + FullyQualifiedErrorId : ItemExistsArgumentError,Microsoft.PowerShell.Com \r\n   mands.SetContentCommand\r\n \r\nSet-Content : Illegal characters in path.\r\nAt line:2 char:68\r\n+ function Decode-Base64File($src, $dst) {folder (split-path $dst);sc <<<<  -fo\r\nrce -Encoding Byte -Path $dst -Value ([Convert]::FromBase64String([IO.File]::Re\r\nadAllLines($src)))}\r\n    + CategoryInfo          : InvalidArgument: (C:\\Users\\USER-...long_script. \r\n   ps1:String) [Set-Content], ArgumentException\r\n    + FullyQualifiedErrorId : GetContentWriterArgumentError,Microsoft.PowerShe \r\n   ll.Commands.SetContentCommand\r\n \r\nTest-Path : Illegal characters in path.\r\nAt line:31 char:27\r\n+   if ($src -and (test-path <<<<  $src)) {\r\n    + CategoryInfo          : InvalidArgument: (C:\\Users\\USER-...long_script. \r\n   ps1:String) [Test-Path], ArgumentException\r\n    + FullyQualifiedErrorId : ItemExistsArgumentError,Microsoft.PowerShell.Com \r\n   mands.TestPathCommand\r\n \r\n]\r\n>>>>>> ----------------------\r\n>>>>>> Please see .kitchen/logs/kitchen.log for more details\r\n>>>>>> Also try running `kitchen diagnose --all` for configuration\r\n\r\n```\r\n\r\nI've tried 0.3.0, but that threw a different error. At this point I'm feeling pretty stuck as a configuration I've been running for months with success no longer works, and the suggested upgrade path isn't working for me either.\r\n"},"comment":{"url":"https://api.github.com/repos/WinRb/winrm-fs/issues/comments/206117376","html_url":"https://github.com/WinRb/winrm-fs/issues/41#issuecomment-206117376","issue_url":"https://api.github.com/repos/WinRb/winrm-fs/issues/41","id":206117376,"user":{"login":"dpetzel","id":943268,"avatar_url":"https://avatars.githubusercontent.com/u/943268?v=3","gravatar_id":"","url":"https://api.github.com/users/dpetzel","html_url":"https://github.com/dpetzel","followers_url":"https://api.github.com/users/dpetzel/followers","following_url":"https://api.github.com/users/dpetzel/following{/other_user}","gists_url":"https://api.github.com/users/dpetzel/gists{/gist_id}","starred_url":"https://api.github.com/users/dpetzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpetzel/subscriptions","organizations_url":"https://api.github.com/users/dpetzel/orgs","repos_url":"https://api.github.com/users/dpetzel/repos","events_url":"https://api.github.com/users/dpetzel/events{/privacy}","received_events_url":"https://api.github.com/users/dpetzel/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T04:50:27Z","updated_at":"2016-04-06T04:50:27Z","body":"Confirmed, I'm on Windows 2008R2"}}