Skip to content

Instantly share code, notes, and snippets.

@Sauraus
Last active November 2, 2015 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sauraus/1f666c0042988c9cb106 to your computer and use it in GitHub Desktop.
Save Sauraus/1f666c0042988c9cb106 to your computer and use it in GitHub Desktop.
LWRP silent failure :(
$ kitchen converge editor-macosx-1010
-----> Starting Kitchen (v1.4.2)
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here
-----> Creating <editor-macosx-1010>...
D, [2015-11-02T12:53:59.964757 #10867] DEBUG -- : Celluloid 0.17.0 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Cloning VMware VM: 'macosx-10.10'. This can take some time...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Starting the VMware VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 192.168.209.200:22
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Forwarding ports...
default: -- 22 => 2200
==> default: Setting hostname...
==> default: Configuring network adapters within the VM...
==> default: Machine not provisioning because `--no-provision` is specified.
[SSH] Established
Vagrant instance <editor-macosx-1010> created.
Finished creating <editor-macosx-1010> (1m41.46s).
-----> Converging <editor-macosx-1010>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 4.0.1...
Removing non-cookbook files before transfer
Preparing data
Preparing data_bags
Preparing validation.pem
Preparing client.rb
-----> Installing Chef Omnibus (12.4.3)
Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
Trying curl...
Download complete.
Downloading Chef 12.4.3 for mac_os_x...
downloading https://www.chef.io/chef/metadata?v=12.4.3&prerelease=false&nightlies=false&p=mac_os_x&pv=10.10&m=x86_64
to file /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//install.sh.393/metadata.txt
trying curl...
url https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.10/x86_64/chef-12.4.3-1.dmg
md5 e0caf8a0bd8b4140191fdfe7946da27c
sha256 32d290cb5648ea600d976717fa32fc1e213e4452f10dc7b481f4e9aa7200293c
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.10/x86_64/chef-12.4.3-1.dmg
to file /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//install.sh.393/chef-12.4.3-1.dmg
trying curl...
Comparing checksum with shasum...
Installing Chef 12.4.3
installing dmg file...
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $A63E199D
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $1D64EDE0
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $443CB9AF
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
..............................................................................
disk image (Apple_HFS : 4): verified CRC32 $85A4C8ED
Checksumming (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $443CB9AF
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $82A9B24E
verified CRC32 $38C25161
/dev/disk1 GUID_partition_scheme
/dev/disk1s1 Apple_HFS /Volumes/chef_software
installer: Package name is Chef Client
installer: Installing at base path /
installer: The install was successful.
"disk1" unmounted.
"disk1" ejected.
Transferring files to <editor-macosx-1010>
Starting Chef Client, version 12.4.3
Creating a new client identity for editor-macosx-1010 using the validator key.
[2015-11-02T12:57:28-08:00] WARN: Child with name 'dna.json' found in multiple directories: /tmp/kitchen/dna.json and /tmp/kitchen/dna.json
[2015-11-02T12:57:28-08:00] WARN: Child with name 'dna.json' found in multiple directories: /tmp/kitchen/dna.json and /tmp/kitchen/dna.json
resolving cookbooks for run list: ["unity::editor"]
[2015-11-02T12:57:28-08:00] WARN: Child with name 'dna.json' found in multiple directories: /tmp/kitchen/dna.json and /tmp/kitchen/dna.json
Synchronizing Cookbooks:
- unity
- runit
- dmg
- windows
- chef_handler
- packagecloud
Compiling Cookbooks...
Converging 2 resources
Recipe: unity::editor
* unity_editor[v465f1] action uninstall (up to date)
* unity_editor[v502p3] action install (up to date)
* remote_file[/tmp/kitchen/cache/Unity-5.0.2p3.pkg] action create
- create new file /tmp/kitchen/cache/Unity-5.0.2p3.pkg
- update content in file /tmp/kitchen/cache/Unity-5.0.2p3.pkg from none to bd0c52
(file sizes exceed 10000000 bytes, diff output suppressed)
* execute[installer -pkg '/tmp/kitchen/cache/Unity-5.0.2p3.pkg' -target /] action run
- execute installer -pkg '/tmp/kitchen/cache/Unity-5.0.2p3.pkg' -target /
- execute mv -f /Applications/Unity /Applications/Unity_v502p3
Running handlers:
Running handlers complete
Chef Client finished, 3/5 resources updated in 188.530434 seconds
Finished converging <editor-macosx-1010> (4m52.03s).
-----> Kitchen is finished. (6m36.35s)
zlib(finalizer): the stream was freed prematurely.
$ kitchen converge editor-macosx-1010
-----> Starting Kitchen (v1.4.2)
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here
-----> Creating <editor-macosx-1010>...
D, [2015-11-02T13:18:35.504174 #11348] DEBUG -- : Celluloid 0.17.0 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Cloning VMware VM: 'macosx-10.10'. This can take some time...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Starting the VMware VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 192.168.209.201:22
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Forwarding ports...
default: -- 22 => 2200
==> default: Setting hostname...
==> default: Configuring network adapters within the VM...
==> default: Machine not provisioning because `--no-provision` is specified.
[SSH] Established
Vagrant instance <editor-macosx-1010> created.
Finished creating <editor-macosx-1010> (1m42.61s).
-----> Converging <editor-macosx-1010>...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 4.0.1...
Removing non-cookbook files before transfer
Preparing data
Preparing data_bags
Preparing validation.pem
Preparing client.rb
-----> Installing Chef Omnibus (install only if missing)
Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
Trying curl...
Download complete.
Downloading Chef for mac_os_x...
downloading https://www.chef.io/chef/metadata?v=&prerelease=false&nightlies=false&p=mac_os_x&pv=10.10&m=x86_64
to file /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//install.sh.393/metadata.txt
trying curl...
url https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.10/x86_64/chef-12.5.1-1.dmg
md5 a67fc6a59f463f1d2d7cb38a317c531b
sha256 98e7d314552ee5e55af7e7b07f90ddf95c1a69d94659e71844d435defb38b3aa
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.10/x86_64/chef-12.5.1-1.dmg
to file /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//install.sh.393/chef-12.5.1-1.dmg
trying curl...
Comparing checksum with shasum...
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
You are installing an omnibus package without a version pin. If you are installing
on production servers via an automated process this is DANGEROUS and you will
be upgraded without warning on new releases, even to new major releases.
Letting the version float is only appropriate in desktop, test, development or
CI/CD environments.
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
Installing Chef
installing dmg file...
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $A63E199D
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $CD9352F3
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $CF839124
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
..............................................................................
disk image (Apple_HFS : 4): verified CRC32 $7E45F3E9
Checksumming (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $CF839124
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $525E0D5D
verified CRC32 $2775CD7D
/dev/disk1 GUID_partition_scheme
/dev/disk1s1 Apple_HFS /Volumes/chef_software
installer: Package name is Chef Client
installer: Installing at base path /
installer: The install was successful.
"disk1" unmounted.
"disk1" ejected.
Transferring files to <editor-macosx-1010>
Starting Chef Client, version 12.5.1
Creating a new client identity for editor-macosx-1010 using the validator key.
resolving cookbooks for run list: ["unity::editor"]
Synchronizing Cookbooks:
- unity (0.2.2)
- runit (1.7.4)
- windows (1.38.2)
- dmg (2.3.0)
- packagecloud (0.1.0)
- chef_handler (1.2.0)
Compiling Cookbooks...
Converging 2 resources
Recipe: unity::editor
* unity_editor[v465f1] action uninstall (up to date)
* unity_editor[v502p3] action install (up to date)
Running handlers:
Running handlers complete
Chef Client finished, 0/2 resources updated in 05 seconds
Finished converging <editor-macosx-1010> (1m43.08s).
-----> Kitchen is finished. (3m28.57s)
zlib(finalizer): the stream was freed prematurely.
[2015-11-02T13:34:02-08:00] DEBUG: #<ChefZero::RestRequest:0x007f83ec9e60e8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/data/unity_macosx_versions", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x007f83ec9e6200>}, @rest_base_prefix=["organizations", "chef"]>
[2015-11-02T13:34:02-08:00] DEBUG:
[2015-11-02T13:34:02-08:00] DEBUG:
--- RESPONSE (200) ---
{
"v465f1": "chefzero://localhost:8889/data/unity_macosx_versions/v465f1",
"v502p3": "chefzero://localhost:8889/data/unity_macosx_versions/v502p3"
}
--- END RESPONSE ---
ntentLength#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
ndle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: #<ChefZero::RestRequest:0x007f83ec9bf5d8 @env={"SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/data/unity_macosx_versions/v465f1", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x007f83ec9bf790>}, @rest_base_prefix=["organizations", "chef"]>
[2015-11-02T13:34:02-08:00] DEBUG:
[2015-11-02T13:34:02-08:00] DEBUG:
--- RESPONSE (200) ---
{
"id": "v465f1",
5.dmg",
"checksum": "b200ca4e30f5cf862f939c021a74d52665bf6d9c7109e97e27a095f6fc7389d7",
"app": "Unity",
"action": "uninstall"
}
--- END RESPONSE ---
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
Resources for generic unity_editor resource enabled on node include: [Unity::Resources::UnityEditor::Resource]
[2015-11-02T13:34:02-08:00] DEBUG: Resource for unity_editor is Unity::Resources::UnityEditor::Resource
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/data/unity_macosx_versions/v502p3", "QUERY_STRING"=>nil, "SERVER_PORT"=>8889, "HTTP_HOST"=>"localhost:8889", "rack.url_scheme"=>"chefzero", "rack.input"=>#<StringIO:0x007f83ec99c628>}, @rest_base_prefix=["organizations", "chef"]>
[2015-11-02T13:34:02-08:00] DEBUG:
[2015-11-02T13:34:02-08:00] DEBUG:
--- RESPONSE (200) ---
{
"id": "v502p3",
"url": "http://n7-code-repo-vip.disney.private/artifacts/diw-devops/unity/osx/editor/Unity-5.0.2p3.pkg",
"checksum": "bd0c52b20a1e32926340fbd99c7328cbbc649345ebabe8524eee3298b2bfad15",
"app": "Unity-5.0.2p3",
"force": true,
"action": "install"
}
--- END RESPONSE ---
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2015-11-02T13:34:02-08:00] DEBUG: Resources for generic unity_editor resource enabled on node include: [Unity::Resources::UnityEditor::Resource]
[2015-11-02T13:34:02-08:00] DEBUG: Resource for unity_editor is Unity::Resources::UnityEditor::Resource
Converging 2 resources
[2015-11-02T13:34:02-08:00] DEBUG: Converging node editor-macosx-1010
Recipe: unity::editor
* unity_editor[v465f1] action uninstall[2015-11-02T13:34:02-08:00] INFO: Processing unity_editor[v465f1] action uninstall (unity::editor line 18)
[2015-11-02T13:34:02-08:00] DEBUG: Providers for generic unity_editor resource enabled on node include: [Unity::Resources::UnityEditor::Provider]
[2015-11-02T13:34:02-08:00] DEBUG: Provider for action uninstall on resource unity_editor[v465f1] is Unity::Resources::UnityEditor::Provider
(up to date)
* unity_editor[v502p3] action install[2015-11-02T13:34:02-08:00] INFO: Processing unity_editor[v502p3] action install (unity::editor line 18)
[2015-11-02T13:34:02-08:00] DEBUG: Providers for generic unity_editor resource enabled on node include: [Unity::Resources::UnityEditor::Provider]
[2015-11-02T13:34:02-08:00] DEBUG: Provider for action install on resource unity_editor[v502p3] is Unity::Resources::UnityEditor::Provider
08:00] DEBUG: Resources for generic remote_file resource enabled on node include: [Chef::Resource::RemoteFile]
[2015-11-02T13:34:02-08:00] DEBUG: Resource for remote_file is Chef::Resource::RemoteFile
[2015-11-02T13:34:02-08:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute]
[2015-11-02T13:34:02-08:00] DEBUG: Resource for execute is Chef::Resource::Execute
[2015-11-02T13:34:02-08:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute]
[2015-11-02T13:34:02-08:00] DEBUG: Resource for execute is Chef::Resource::Execute
(up to date)
[2015-11-02T13:34:02-08:00] DEBUG: Saving the current state of node editor-macosx-1010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment