{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/699","labels_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/699/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/699/comments","events_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/699/events","html_url":"https://github.com/test-kitchen/test-kitchen/issues/699","id":69287264,"number":699,"title":"Intermittent \"No such file or directory\" on Windows converge","user":{"login":"stonith","id":1230015,"avatar_url":"https://avatars.githubusercontent.com/u/1230015?v=3","gravatar_id":"","url":"https://api.github.com/users/stonith","html_url":"https://github.com/stonith","followers_url":"https://api.github.com/users/stonith/followers","following_url":"https://api.github.com/users/stonith/following{/other_user}","gists_url":"https://api.github.com/users/stonith/gists{/gist_id}","starred_url":"https://api.github.com/users/stonith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonith/subscriptions","organizations_url":"https://api.github.com/users/stonith/orgs","repos_url":"https://api.github.com/users/stonith/repos","events_url":"https://api.github.com/users/stonith/events{/privacy}","received_events_url":"https://api.github.com/users/stonith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/labels/Windows","name":"Windows","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-18T08:40:44Z","updated_at":"2015-05-11T21:38:13Z","closed_at":null,"body":"Using Windows host/guest with ChefDK 0.50rc5. Sometimes `kitchen converge` works without issue however, sometimes it fails with:\r\n\r\n```\r\nrole_windows_2012_packer [ development ] > kitchen converge\r\n-----> Starting Kitchen (v1.4.0.rc.1)\r\n-----> Converging <default-windows-2012R2>...\r\n       Preparing files for transfer\r\n       Preparing dna.json\r\n       Resolving cookbook dependencies with Berkshelf 3.2.3...\r\n>>>>>> ------Exception-------\r\n>>>>>> Class: Kitchen::ActionFailed\r\n>>>>>> Message: Failed to complete #converge action: [No such file or directory @ rb_sysopen - C:/Users/me/AppData/Local/Temp/default-windows-2012R2-sandbox-20150417-5436-1o2yzac/cookbooks/role_windows_2012_packer/.kitchen/kitchen-vagrant/kitchen-role_windows_2012_packer-default-windows-2012R2/.vagrant/machines/default/virtualbox/action_set_name]\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\nThe kitchen.log is here: https://gist.github.com/stonith/688ed3384c80b0e7b89a\r\n\r\nThis seems to happen intermittently. Sometimes trying `kitchen converge` again works but often it doesn't."},"comment":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/comments/101055771","html_url":"https://github.com/test-kitchen/test-kitchen/issues/699#issuecomment-101055771","issue_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/699","id":101055771,"user":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T21:38:13Z","updated_at":"2015-05-11T21:38:13Z","body":"Hey @stonith - it looks like its failing when Berkshelf is resolving the dependencies.  Can you try updating (or adding if it doesn't exist) your [.chefignore](https://docs.chef.io/chef_repo.html#chefignore-files) file to ignore `./.kitchen`?  I think an entry like `*/.kitchen/*` should work.\r\n\r\nBerkshelf will respect the `.chefignore` file and won't try to look into that directory, meaning it won't run into the long path limits (hopefully)."}}