{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/kitchen-ec2/issues/418","repository_url":"https://api.github.com/repos/test-kitchen/kitchen-ec2","labels_url":"https://api.github.com/repos/test-kitchen/kitchen-ec2/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/kitchen-ec2/issues/418/comments","events_url":"https://api.github.com/repos/test-kitchen/kitchen-ec2/issues/418/events","html_url":"https://github.com/test-kitchen/kitchen-ec2/issues/418","id":364109065,"node_id":"MDU6SXNzdWUzNjQxMDkwNjU=","number":418,"title":"How to sync local folders","user":{"login":"Shplorf","id":7115665,"node_id":"MDQ6VXNlcjcxMTU2NjU=","avatar_url":"https://avatars2.githubusercontent.com/u/7115665?v=4","gravatar_id":"","url":"https://api.github.com/users/Shplorf","html_url":"https://github.com/Shplorf","followers_url":"https://api.github.com/users/Shplorf/followers","following_url":"https://api.github.com/users/Shplorf/following{/other_user}","gists_url":"https://api.github.com/users/Shplorf/gists{/gist_id}","starred_url":"https://api.github.com/users/Shplorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shplorf/subscriptions","organizations_url":"https://api.github.com/users/Shplorf/orgs","repos_url":"https://api.github.com/users/Shplorf/repos","events_url":"https://api.github.com/users/Shplorf/events{/privacy}","received_events_url":"https://api.github.com/users/Shplorf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-26T16:15:29Z","updated_at":"2018-09-27T13:06:39Z","closed_at":"2018-09-26T20:27:13Z","author_association":"NONE","body":"When using the vagrant driver this is accomplished by using the `synced_folders` property. Is there anything equivalent in this driver?\r\nI need to be able to grab the logs of the app I'm testing and copy them back to the CI runner that is running kitchen so it can publish them as artifacts. Would appreciate suggestions as to how to accomplish this.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/test-kitchen/kitchen-ec2/issues/comments/425083393","html_url":"https://github.com/test-kitchen/kitchen-ec2/issues/418#issuecomment-425083393","issue_url":"https://api.github.com/repos/test-kitchen/kitchen-ec2/issues/418","id":425083393,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTA4MzM5Mw==","user":{"login":"Shplorf","id":7115665,"node_id":"MDQ6VXNlcjcxMTU2NjU=","avatar_url":"https://avatars2.githubusercontent.com/u/7115665?v=4","gravatar_id":"","url":"https://api.github.com/users/Shplorf","html_url":"https://github.com/Shplorf","followers_url":"https://api.github.com/users/Shplorf/followers","following_url":"https://api.github.com/users/Shplorf/following{/other_user}","gists_url":"https://api.github.com/users/Shplorf/gists{/gist_id}","starred_url":"https://api.github.com/users/Shplorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shplorf/subscriptions","organizations_url":"https://api.github.com/users/Shplorf/orgs","repos_url":"https://api.github.com/users/Shplorf/repos","events_url":"https://api.github.com/users/Shplorf/events{/privacy}","received_events_url":"https://api.github.com/users/Shplorf/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T13:06:39Z","updated_at":"2018-09-27T13:06:39Z","author_association":"NONE","body":"Hmm ok @cheeseplus , that seems to be the behavior I'm seeing, but when I try to instead do:\r\n```\r\nlifecycle:\r\n  pre_destroy:\r\n    - local: cmd\r\n      skippable: true\r\n```\r\nI get the following error:\r\n```\r\nE, [2018-09-27T08:59:03.159113 #53982] ERROR -- Kitchen: ------Exception-------\r\nE, [2018-09-27T08:59:03.159145 #53982] ERROR -- Kitchen: Class: Mixlib::ShellOut::InvalidCommandOption\r\nE, [2018-09-27T08:59:03.159166 #53982] ERROR -- Kitchen: Message: option ':skippable' is not a valid option for Mixlib::ShellOut\r\nE, [2018-09-27T08:59:03.159184 #53982] ERROR -- Kitchen: ----------------------\r\nE, [2018-09-27T08:59:03.159200 #53982] ERROR -- Kitchen: ------Backtrace-------\r\nE, [2018-09-27T08:59:03.159216 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/mixlib-shellout-2.4.0/lib/mixlib/shellout.rb:355:in `block in parse_options'\r\nE, [2018-09-27T08:59:03.159233 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/mixlib-shellout-2.4.0/lib/mixlib/shellout.rb:309:in `each'\r\nE, [2018-09-27T08:59:03.159250 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/mixlib-shellout-2.4.0/lib/mixlib/shellout.rb:309:in `parse_options'\r\nE, [2018-09-27T08:59:03.159266 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/mixlib-shellout-2.4.0/lib/mixlib/shellout.rb:184:in `initialize'\r\nE, [2018-09-27T08:59:03.159281 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/shell_out.rb:65:in `new'\r\nE, [2018-09-27T08:59:03.159298 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/shell_out.rb:65:in `run_command'\r\nE, [2018-09-27T08:59:03.159314 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/lifecycle_hooks.rb:111:in `run_local_hook'\r\nE, [2018-09-27T08:59:03.159331 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/lifecycle_hooks.rb:70:in `block in run'\r\nE, [2018-09-27T08:59:03.159347 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/lifecycle_hooks.rb:64:in `each'\r\nE, [2018-09-27T08:59:03.159625 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/lifecycle_hooks.rb:64:in `run'\r\nE, [2018-09-27T08:59:03.159642 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/lifecycle_hooks.rb:44:in `run_with_hooks'\r\nE, [2018-09-27T08:59:03.159659 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:381:in `block in transition_to'\r\nE, [2018-09-27T08:59:03.159674 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:380:in `each'\r\nE, [2018-09-27T08:59:03.159691 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:380:in `transition_to'\r\nE, [2018-09-27T08:59:03.159707 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:173:in `destroy'\r\nE, [2018-09-27T08:59:03.159723 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:189:in `block in test'\r\nE, [2018-09-27T08:59:03.159738 #53982] ERROR -- Kitchen: /Users/gregmalkov/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/benchmark.rb:293:in `measure'\r\nE, [2018-09-27T08:59:03.159754 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:187:in `test'\r\nE, [2018-09-27T08:59:03.159786 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/command.rb:197:in `public_send'\r\nE, [2018-09-27T08:59:03.159803 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/command.rb:197:in `run_action_in_thread'\r\nE, [2018-09-27T08:59:03.159819 #53982] ERROR -- Kitchen: /Users/gregmalkov/threatstack/agent-test/vendor/cache/ruby/2.4.0/gems/test-kitchen-1.23.2/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'\r\nE, [2018-09-27T08:59:03.159836 #53982] ERROR -- Kitchen: ----End Backtrace-----\r\n```\r\n"}}
{"actor":{"display_login":"Shplorf"}}