chef-provisioning-vspherewait_for_ipv4_enhancement_v2
[2017-05-08T18:04:44-03:00] WARN: No cookbooks directory found at or above current directory. Assuming /Users/jcalonsoh/development/community/chef-provisioning-vsphere.
[2017-05-08T18:04:44-03:00] WARN: Port 8889 not available
creating machine cmvd-test-1584336ce24906f2ee2b1cb0ba17852e on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true
use_linked_clone: false
datacenter: "Cluster_Poc"
template_name: "TPL-WIN2012R2-SYSPREPV2"
template_folder: "VMWARE"
vm_folder: "Servidores Chef"
network_name: ["n1kPoC-Vmware60/poc_productiva2"]
resource_pool: "POC01/PoC-Pool"
bootstrap_ipv4: true
ipv4_timeout: 300
num_cpus: 4
memory_mb: 4096
ssh: {:user=>"Administrator", :password=>"*********", :paranoid=>false, :port=>5985}
customization_spec: {:hostname=>"dhcp", :domain=>"WORKGROUP", :org_name=>"poc", :domainAdmin=>"Administrator@WORKGROUP", :domainAdminPassword=>"Config2006", :win_time_zone=>56, :product_id=>"HIDDEN"}
establishing connection to nvsplservctvp01.infra.novis.cl
[2017-05-08T18:04:45-03:00] DEBUG: Finding pool: POC01/PoC-Pool
[2017-05-08T18:04:45-03:00] DEBUG: Identifying entity part: POC01 in folder type: Folder
[2017-05-08T18:04:45-03:00] DEBUG: Parent folder is a folder
[2017-05-08T18:04:45-03:00] DEBUG: Identifying entity part: PoC-Pool in folder type: ClusterComputeResource
[2017-05-08T18:04:45-03:00] DEBUG: finding PoC-Pool in a ClusterComputeResource: POC01
[2017-05-08T18:04:45-03:00] DEBUG: Parent root pool has 1 pools
[2017-05-08T18:04:45-03:00] DEBUG: PoC-Pool
finding networks...
network: n1kPoC-Vmware60/poc_productiva2 is a DistributedVirtualPortgroup
changing template nic for n1kPoC-Vmware60/poc_productiva2
joining domain WORKGROUP /
with user: Administrator@WORKGROUP
[2017-05-08T18:04:45-03:00] DEBUG: Clone spec: VirtualMachineCloneSpec(
config: VirtualMachineConfigSpec(
annotation: nil,
cpuHotAddEnabled: true,
cpuHotRemoveEnabled: true,
deviceChange: [VirtualDeviceConfigSpec(
device: VirtualVmxnet3(
backing: VirtualEthernetCardDistributedVirtualPortBackingInfo(
port: DistributedVirtualSwitchPortConnection(
portgroupKey: "dvportgroup-103",
switchUuid: "ba 75 2b 50 26 31 75 a1-4c 8c e9 76 9f 1f 24 dd"
)
),
connectable: VirtualDeviceConnectInfo(
allowGuestControl: true,
connected: true,
startConnected: true
),
deviceInfo: Description(
label: "Ethernet 1",
summary: "poc_productiva2"
),
key: 4000
),
operation: #<RbVmomi::VIM::VirtualDeviceConfigSpecOperation:0x007fd5ff21f9f8
@value="edit">
)],
memoryHotAddEnabled: true,
memoryMB: 4096,
numCPUs: 4
),
customization: CustomizationSpec(
globalIPSettings: CustomizationGlobalIPSettings(
dnsServerList: nil,
dnsSuffixList: ["WORKGROUP"]
),
identity: CustomizationSysprep(
guiRunOnce: nil,
guiUnattended: CustomizationGuiUnattended(
autoLogon: true,
autoLogonCount: 1,
password: CustomizationPassword( plainText: true, value: "Config2006"
),
timeZone: 56
),
identification: CustomizationIdentification(
domainAdmin: "Administrator@WORKGROUP",
domainAdminPassword: CustomizationPassword(
plainText: true,
value: "Config2006"
),
joinDomain: "WORKGROUP"
),
userData: CustomizationUserData(
computerName: CustomizationFixedName( name: "dhcp" ),
fullName: "poc",
orgName: "poc",
productId: "HIDDEN"
)
),
nicSettingMap: [CustomizationAdapterMapping(
adapter: CustomizationIPSettings(
dnsDomain: "WORKGROUP",
ip: CustomizationDhcpIpGenerator( )
)
)]
),
location: VirtualMachineRelocateSpec( pool: ResourcePool("resgroup-187") ),
powerOn: false,
template: false
)
Machine - created - cmvd-test-1584336ce24906f2ee2b1cb0ba17852e (502b37d1-d8f4-ae7d-eea9-9fdf96f07515 on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true)
Power on VM [Servidores Chef/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e]
waiting for cmvd-test-1584336ce24906f2ee2b1cb0ba17852e (502b37d1-d8f4-ae7d-eea9-9fdf96f07515 on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true) to be ready ...
.....................................cmvd-test-1584336ce24906f2ee2b1cb0ba17852e is now ready
Waiting for ipv4 address......Found ipv4 address!
waiting up to 300 seconds for customization and find 10.159.11.104
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: []
Waiting for ipv4 address......Found ipv4 address!
rebooting...
Shutdown guest OS and power off VM [Servidores Chef/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e]
Power on VM [Servidores Chef/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e]
restart machine cmvd-test-1584336ce24906f2ee2b1cb0ba17852e (vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true)
Waiting for ipv4 address...Found ipv4 address!
waiting up to 300 seconds for customization and find 10.159.11.104
IP addresses found: []
IP addresses found: []
IP addresses found: []
IP addresses found: []
IP addresses found: []
IP addresses found: []
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP addresses found: ["10.159.11.104"]
IP address obtained: 10.159.11.104
waiting to domain join and be named cmvd-test-15843.WORKGROUP
......establishing connection to nvsplservctvp01.infra.novis.cl
/usr/local/var/rbenv/versions/2.3.3/bin/ruby -I/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib:/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-support-3.5.0/lib /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/exe/rspec --pattern spec/integration_tests/\*_spec.rb --color -f documentation --out rspec.txt failed
......
NoMethodError: undefined method `[]' for nil:NilClass
./spec/integration_tests/vsphere_driver_spec.rb:143:in `block (3 levels) in <top (required)>'
[2017-05-08T18:38:28-03:00] WARN: Port 8889 not available
[2017-05-08T18:38:28-03:00] INFO: Started chef-zero at chefzero://localhost:8890 with repository at /Users/jcalonsoh/development/community/chef-provisioning-vsphere
One version per cookbook
establishing connection to nvsplservctvp01.infra.novis.cl
Delete VM [Servidores Chef/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e]
[2017-05-08T18:38:29-03:00] DEBUG: Resources for generic chef_node resource enabled on node include: [Chef::Resource::ChefNode]
[2017-05-08T18:38:29-03:00] DEBUG: Resource for chef_node is Chef::Resource::ChefNode
[2017-05-08T18:38:29-03:00] DEBUG: Resources for generic chef_client resource enabled on node include: [Chef::Resource::ChefClient]
[2017-05-08T18:38:29-03:00] DEBUG: Resource for chef_client is Chef::Resource::ChefClient
[2017-05-08T18:38:29-03:00] INFO: Processing chef_node[cmvd-test-1584336ce24906f2ee2b1cb0ba17852e] action delete (basic_chef_client::block line 22)
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: GET /organizations/chef/nodes/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e
[2017-05-08T18:38:29-03:00] DEBUG: #<ChefZero::RestRequest:0x007fd6014f8e20
@env=
{"SCRIPT_NAME"=>"",
"SERVER_NAME"=>"localhost",
"REQUEST_METHOD"=>"GET",
"PATH_INFO"=>"/nodes/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e",
"QUERY_STRING"=>nil,
"SERVER_PORT"=>8890,
"HTTP_HOST"=>"localhost:8890",
"rack.url_scheme"=>"chefzero",
"rack.input"=>#<StringIO:0x007fd6014f8ec0>},
@rest_base_prefix=["organizations", "chef"],
@rest_path=
["organizations",
"chef",
"nodes",
"cmvd-test-1584336ce24906f2ee2b1cb0ba17852e"]>
[2017-05-08T18:38:29-03:00] DEBUG: #<ChefZero::RestErrorResponse: 404: Object not found: chefzero://localhost:8890/nodes/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e>
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:92:in `rescue in get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:84:in `get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/endpoints/rest_object_endpoint.rb:18:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:62:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_router.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:663:in `block in app'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:335:in `handle_socketless_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:87:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:33:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http/socketless_chef_zero_client.rb:154:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:340:in `block in send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:372:in `block in retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `loop'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:333:in `send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:148:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:115:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/chef/resource/chef_node.rb:42:in `load_current_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/provider.rb:128:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource.rb:622:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:69:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block (2 levels) in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `each'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/2.3.0/forwardable.rb:189:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:96:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:68:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:132:in `with_chef_config'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:67:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:108:in `converge_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning.rb:12:in `inline_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning/convergence_strategy/no_converge.rb:21:in `cleanup_convergence'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/lib/chef/provisioning/vsphere_driver/driver.rb:444:in `destroy_machine'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:162:in `block (4 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish.rb:69:in `honor_local_mode'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:151:in `block (3 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `instance_exec'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `block in with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `block in with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:251:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:627:in `block in run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:589:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (3 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (2 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:112:in `block in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:77:in `report'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:111:in `run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:87:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
[2017-05-08T18:38:29-03:00] DEBUG:
--- RESPONSE (404) ---
{
"error": [
"Object not found: chefzero://localhost:8890/nodes/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e"
]
}
--- END RESPONSE ---
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2017-05-08T18:38:29-03:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8890/nodes/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e
[2017-05-08T18:38:29-03:00] INFO: Processing chef_client[cmvd-test-1584336ce24906f2ee2b1cb0ba17852e] action delete (basic_chef_client::block line 26)
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2017-05-08T18:38:29-03:00] DEBUG: GET /organizations/chef/clients/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e
[2017-05-08T18:38:29-03:00] DEBUG: #<ChefZero::RestRequest:0x007fd6014674c0
@env=
{"SCRIPT_NAME"=>"",
"SERVER_NAME"=>"localhost",
"REQUEST_METHOD"=>"GET",
"PATH_INFO"=>"/clients/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e",
"QUERY_STRING"=>nil,
"SERVER_PORT"=>8890,
"HTTP_HOST"=>"localhost:8890",
"rack.url_scheme"=>"chefzero",
"rack.input"=>#<StringIO:0x007fd601467510>},
@rest_base_prefix=["organizations", "chef"],
@rest_path=
["organizations",
"chef",
"clients",
"cmvd-test-1584336ce24906f2ee2b1cb0ba17852e"]>
[2017-05-08T18:38:29-03:00] DEBUG: #<ChefZero::RestErrorResponse: 404: Object not found: chefzero://localhost:8890/clients/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e>
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:92:in `rescue in get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:84:in `get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/endpoints/rest_object_endpoint.rb:18:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/endpoints/actor_endpoint.rb:13:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:62:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_router.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:663:in `block in app'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:335:in `handle_socketless_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:87:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:33:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http/socketless_chef_zero_client.rb:154:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:340:in `block in send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:372:in `block in retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `loop'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:333:in `send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:148:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:115:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/chef_actor_base.rb:119:in `load_current_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/provider.rb:128:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource.rb:622:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:69:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block (2 levels) in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `each'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/2.3.0/forwardable.rb:189:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:96:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:68:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:132:in `with_chef_config'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:67:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:108:in `converge_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning.rb:12:in `inline_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning/convergence_strategy/no_converge.rb:21:in `cleanup_convergence'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/lib/chef/provisioning/vsphere_driver/driver.rb:444:in `destroy_machine'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:162:in `block (4 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish.rb:69:in `honor_local_mode'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:151:in `block (3 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `instance_exec'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `block in with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `block in with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:251:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:627:in `block in run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:589:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (3 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (2 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:112:in `block in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:77:in `report'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:111:in `run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:87:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
[2017-05-08T18:38:29-03:00] DEBUG:
--- RESPONSE (404) ---
{
"error": [
"Object not found: chefzero://localhost:8890/clients/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e"
]
}
--- END RESPONSE ---
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
[2017-05-08T18:38:29-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2017-05-08T18:38:29-03:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8890/clients/cmvd-test-1584336ce24906f2ee2b1cb0ba17852e
18 examples, 1 failure, 17 passed
Finished in 2024.300745 seconds
Process finished with exit code 1
# frozen_string_literal: true
{
driver_options: {
host: 'nvsplservctvp01.infra.novis.cl',
user: 'INFRA\\juan.alonso',
password: 'Cosis2017',
insecure: true
},
machine_options: {
start_timeout: 1200,
create_timeout: 1200,
ready_timeout: 600,
bootstrap_options: {
use_linked_clone: false,
datacenter: 'Cluster_Poc',
template_name: 'TPL-WIN2012R2-SYSPREP',
template_folder: 'VMWARE',
vm_folder: 'Servidores Chef',
network_name: ['n1kPoC-Vmware60/poc_productiva2'],
resource_pool: 'POC01/PoC-Pool',
bootstrap_ipv4: true,
ipv4_timeout: 300,
num_cpus: 2,
memory_mb: 4096,
ssh: {
user: 'Administrator',
password: 'Config2006',
paranoid: false,
port: 5985
},
customization_spec: {
hostname: 'simple',
domain: 'WORKGROUP',
org_name: 'poc',
domainAdmin: 'Administrator@WORKGROUP',
domainAdminPassword: 'Config2006',
win_time_zone: 56,
product_id: '',
ipsettings: {
ip: '10.159.11.132',
subnetMask: '255.255.255.0',
gateway: ['10.159.11.1'],
dnsServerList: ['10.159.11.21']
}
}
}
}
}
/usr/local/var/rbenv/versions/2.3.3/bin/bundle exec ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/ruby-debug-ide-0.6.1.beta4/bin/rdebug-ide --disable-int-handler --evaluation-timeout 10 --rubymine-protocol-extensions --port 60461 --host 0.0.0.0 --dispatcher-port 60462 -- /usr/local/var/rbenv/versions/2.3.3/bin/rake integration
Testing started at 2:36 PM ...
Fast Debugger (ruby-debug-ide 0.6.1.beta4, debase 0.2.2.beta9, file filtering is supported) listens on 0.0.0.0:60461
/usr/local/var/rbenv/versions/2.3.3/bin/ruby -I/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib:/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-support-3.5.0/lib /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/exe/rspec --pattern spec/integration_tests/\*_spec.rb --color -f documentation
Fast Debugger (ruby-debug-ide 0.6.1.beta4, debase 0.2.2.beta9, file filtering is supported) listens on 0.0.0.0:60470
[2017-05-05T14:36:35-03:00] WARN: No cookbooks directory found at or above current directory. Assuming /Users/jcalonsoh/development/community/chef-provisioning-vsphere.
creating machine cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true
use_linked_clone: false
datacenter: "Cluster_Poc"
template_name: "TPL-WIN2012R2-SYSPREP"
template_folder: "VMWARE"
vm_folder: "Servidores Chef"
network_name: ["n1kPoC-Vmware60/poc_productiva2"]
resource_pool: "POC01/PoC-Pool"
bootstrap_ipv4: true
ipv4_timeout: 300
num_cpus: 2
memory_mb: 4096
ssh: {:user=>"Administrator", :password=>"*********", :paranoid=>false, :port=>5985}
customization_spec: {:hostname=>"simple", :domain=>"WORKGROUP", :org_name=>"poc", :domainAdmin=>"Administrator@WORKGROUP", :domainAdminPassword=>"Config2006", :win_time_zone=>56, :product_id=>"JBVPB-NC33F-QXQWH-GDF7D-MDVJ8", :ipsettings=>{:ip=>"10.159.11.132", :subnetMask=>"255.255.255.0", :gateway=>["10.159.11.1"], :dnsServerList=>["10.159.11.21"]}}
establishing connection to nvsplservctvp01.infra.novis.cl
[2017-05-05T14:36:36-03:00] DEBUG: Finding pool: POC01/PoC-Pool
[2017-05-05T14:36:36-03:00] DEBUG: Identifying entity part: POC01 in folder type: Folder
[2017-05-05T14:36:36-03:00] DEBUG: Parent folder is a folder
[2017-05-05T14:36:36-03:00] DEBUG: Identifying entity part: PoC-Pool in folder type: ClusterComputeResource
[2017-05-05T14:36:36-03:00] DEBUG: finding PoC-Pool in a ClusterComputeResource: POC01
[2017-05-05T14:36:36-03:00] DEBUG: Parent root pool has 1 pools
[2017-05-05T14:36:36-03:00] DEBUG: PoC-Pool
finding networks...
network: n1kPoC-Vmware60/poc_productiva2 is a DistributedVirtualPortgroup
changing template nic for n1kPoC-Vmware60/poc_productiva2
customizing cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f with static IP 10.159.11.132
customizing cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f with /
dynamic IP and DNS: ["10.159.11.21"]
joining domain WORKGROUP /
with user: Administrator@WORKGROUP
[2017-05-05T14:36:36-03:00] DEBUG: Clone spec: VirtualMachineCloneSpec(
config: VirtualMachineConfigSpec(
annotation: nil,
cpuHotAddEnabled: true,
cpuHotRemoveEnabled: true,
deviceChange: [VirtualDeviceConfigSpec(
device: VirtualVmxnet3(
backing: VirtualEthernetCardDistributedVirtualPortBackingInfo(
port: DistributedVirtualSwitchPortConnection(
portgroupKey: "dvportgroup-103",
switchUuid: "ba 75 2b 50 26 31 75 a1-4c 8c e9 76 9f 1f 24 dd"
)
),
connectable: VirtualDeviceConnectInfo(
allowGuestControl: true,
connected: true,
startConnected: true
),
deviceInfo: Description(
label: "Ethernet 1",
summary: "poc_productiva2"
),
key: 4000
),
operation: #<RbVmomi::VIM::VirtualDeviceConfigSpecOperation:0x007fecdeb98c50
@value="edit">
)],
memoryHotAddEnabled: true,
memoryMB: 4096,
numCPUs: 2
),
customization: CustomizationSpec(
globalIPSettings: CustomizationGlobalIPSettings(
dnsServerList: ["10.159.11.21"],
dnsSuffixList: ["WORKGROUP"]
),
identity: CustomizationSysprep(
guiRunOnce: nil,
guiUnattended: CustomizationGuiUnattended(
autoLogon: true,
autoLogonCount: 1,
password: CustomizationPassword( plainText: true, value: "Config2006"
),
timeZone: 56
),
identification: CustomizationIdentification(
domainAdmin: "Administrator@WORKGROUP",
domainAdminPassword: CustomizationPassword(
plainText: true,
value: "Config2006"
),
joinDomain: "WORKGROUP"
),
userData: CustomizationUserData(
computerName: CustomizationFixedName( name: "simple" ),
fullName: "poc",
orgName: "poc",
productId: "HIDDEN"
)
),
nicSettingMap: [CustomizationAdapterMapping(
adapter: CustomizationIPSettings(
dnsDomain: "WORKGROUP",
dnsServerList: ["10.159.11.21"],
gateway: ["10.159.11.1"],
ip: CustomizationFixedIp( ipAddress: "10.159.11.132" ),
subnetMask: "255.255.255.0"
)
)]
),
location: VirtualMachineRelocateSpec( pool: ResourcePool("resgroup-187") ),
powerOn: false,
template: false
)
Machine - created - cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f (502b8bc0-d346-40dc-1b46-1c46f8aa4cd2 on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true)
Power on VM [Servidores Chef/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f]
waiting for cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f (502b8bc0-d346-40dc-1b46-1c46f8aa4cd2 on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true) to be ready ...
.................................cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f is now ready
.......................................................................................................................[2017-05-05T14:44:19-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
waiting up to 600 seconds for customization and find 10.159.11.132
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:45:01-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:45:26-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:45:52-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:46:17-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:46:42-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:47:08-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:47:33-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:47:58-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:48:23-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:48:49-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:49:14-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:49:39-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:50:05-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:50:30-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:50:55-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:51:20-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:51:46-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:52:11-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:52:36-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:53:01-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:53:27-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:53:52-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:54:17-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP addresses found: ["fe80::18c7:a0d5:bde6:f0b0", "10.159.11.132"]
[2017-05-05T14:54:42-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
IP address obtained: 10.159.11.132
waiting to domain join and be named cmvd-test-cd3c9.WORKGROUP
......[2017-05-05T14:55:38-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
waiting for cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f (502b8bc0-d346-40dc-1b46-1c46f8aa4cd2 on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true) to be connectable (transport up and running) ...
[2017-05-05T14:55:58-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:56:23-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:56:49-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:57:14-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:57:39-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:58:04-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:58:29-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:58:55-03:00] DEBUG: unavailable: winrm authentication error: #<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>
.[2017-05-05T14:59:31-03:00] DEBUG: unavailable: network connection failed or broke: #<Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) for "10.159.11.132" port 5985 (10.159.11.132:5985)>
.cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f is now connectable
establishing connection to nvsplservctvp01.infra.novis.cl
......[2017-05-05T15:02:42-03:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /Users/jcalonsoh/development/community/chef-provisioning-vsphere
One version per cookbook
establishing connection to nvsplservctvp01.infra.novis.cl
Delete VM [Servidores Chef/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f]
[2017-05-05T15:02:44-03:00] DEBUG: Resources for generic chef_node resource enabled on node include: [Chef::Resource::ChefNode]
[2017-05-05T15:02:44-03:00] DEBUG: Resource for chef_node is Chef::Resource::ChefNode
[2017-05-05T15:02:44-03:00] DEBUG: Resources for generic chef_client resource enabled on node include: [Chef::Resource::ChefClient]
[2017-05-05T15:02:44-03:00] DEBUG: Resource for chef_client is Chef::Resource::ChefClient
[2017-05-05T15:02:44-03:00] INFO: Processing chef_node[cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f] action delete (basic_chef_client::block line 22)
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: GET /organizations/chef/nodes/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f
[2017-05-05T15:02:44-03:00] DEBUG: #<ChefZero::RestRequest:0x007fecde9b4858
@env=
{"SCRIPT_NAME"=>"",
"SERVER_NAME"=>"localhost",
"REQUEST_METHOD"=>"GET",
"PATH_INFO"=>"/nodes/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f",
"QUERY_STRING"=>nil,
"SERVER_PORT"=>8889,
"HTTP_HOST"=>"localhost:8889",
"rack.url_scheme"=>"chefzero",
"rack.input"=>#<StringIO:0x007fecde9b48f8>},
@rest_base_prefix=["organizations", "chef"],
@rest_path=
["organizations",
"chef",
"nodes",
"cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f"]>
[2017-05-05T15:02:44-03:00] DEBUG: #<ChefZero::RestErrorResponse: 404: Object not found: chefzero://localhost:8889/nodes/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f>
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:92:in `rescue in get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:84:in `get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/endpoints/rest_object_endpoint.rb:18:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:62:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_router.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:663:in `block in app'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:335:in `handle_socketless_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:87:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:33:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http/socketless_chef_zero_client.rb:154:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:340:in `block in send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:372:in `block in retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `loop'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:333:in `send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:148:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:115:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/chef/resource/chef_node.rb:42:in `load_current_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/provider.rb:128:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource.rb:622:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:69:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block (2 levels) in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `each'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/2.3.0/forwardable.rb:189:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:96:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:68:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:132:in `with_chef_config'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:67:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:108:in `converge_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning.rb:12:in `inline_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning/convergence_strategy/no_converge.rb:21:in `cleanup_convergence'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/lib/chef/provisioning/vsphere_driver/driver.rb:444:in `destroy_machine'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:160:in `block (4 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish.rb:69:in `honor_local_mode'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:149:in `block (3 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `instance_exec'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `block in with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `block in with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:251:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:627:in `block in run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:589:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (3 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (2 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:112:in `block in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:77:in `report'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:111:in `run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:87:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
[2017-05-05T15:02:44-03:00] DEBUG:
--- RESPONSE (404) ---
{
"error": [
"Object not found: chefzero://localhost:8889/nodes/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f"
]
}
--- END RESPONSE ---
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2017-05-05T15:02:44-03:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f
[2017-05-05T15:02:44-03:00] INFO: Processing chef_client[cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f] action delete (basic_chef_client::block line 26)
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
[2017-05-05T15:02:44-03:00] DEBUG: GET /organizations/chef/clients/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f
[2017-05-05T15:02:44-03:00] DEBUG: #<ChefZero::RestRequest:0x007fecdbfe4640
@env=
{"SCRIPT_NAME"=>"",
"SERVER_NAME"=>"localhost",
"REQUEST_METHOD"=>"GET",
"PATH_INFO"=>"/clients/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f",
"QUERY_STRING"=>nil,
"SERVER_PORT"=>8889,
"HTTP_HOST"=>"localhost:8889",
"rack.url_scheme"=>"chefzero",
"rack.input"=>#<StringIO:0x007fecdbfe4690>},
@rest_base_prefix=["organizations", "chef"],
@rest_path=
["organizations",
"chef",
"clients",
"cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f"]>
[2017-05-05T15:02:44-03:00] DEBUG: #<ChefZero::RestErrorResponse: 404: Object not found: chefzero://localhost:8889/clients/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f>
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:92:in `rescue in get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:84:in `get_data'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/endpoints/rest_object_endpoint.rb:18:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/endpoints/actor_endpoint.rb:13:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_base.rb:62:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/rest_router.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:663:in `block in app'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/server.rb:335:in `handle_socketless_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:87:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-zero-5.3.2/lib/chef_zero/socketless_server_map.rb:33:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http/socketless_chef_zero_client.rb:154:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:340:in `block in send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:372:in `block in retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `loop'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:370:in `retrying_http_errors'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:333:in `send_http_request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:148:in `request'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/http.rb:115:in `get'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/chef_actor_base.rb:119:in `load_current_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/provider.rb:128:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource.rb:622:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:69:in `run_action'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block (2 levels) in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `each'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:97:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/2.3.0/forwardable.rb:189:in `execute_each_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/runner.rb:96:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:68:in `block in converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:132:in `with_chef_config'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:67:in `converge'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish/basic_chef_client.rb:108:in `converge_block'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning.rb:12:in `inline_resource'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-provisioning-2.3.1/lib/chef/provisioning/convergence_strategy/no_converge.rb:21:in `cleanup_convergence'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/lib/chef/provisioning/vsphere_driver/driver.rb:444:in `destroy_machine'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:160:in `block (4 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/chef-12.19.36/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cheffish-4.1.1/lib/cheffish.rb:69:in `honor_local_mode'
/Users/jcalonsoh/development/community/chef-provisioning-vsphere/spec/integration_tests/vsphere_driver_spec.rb:149:in `block (3 levels) in <top (required)>'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `instance_exec'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `block in with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `block in with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `with_around_example_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `with_around_and_singleton_context_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:251:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:627:in `block in run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `run_examples'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:589:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `block in run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (3 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `map'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (2 levels) in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:112:in `block in run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:77:in `report'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:111:in `run_specs'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:87:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
/usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
[2017-05-05T15:02:44-03:00] DEBUG:
--- RESPONSE (404) ---
{
"error": [
"Object not found: chefzero://localhost:8889/clients/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f"
]
}
--- END RESPONSE ---
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
[2017-05-05T15:02:44-03:00] DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
[2017-05-05T15:02:44-03:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/clients/cmvd-test-cd3c92c04449f8c5ab32720a9f55c49f
18 examples, 0 failures, 18 passed
Finished in 1568.436014 seconds
Process finished with exit code 0