Skip to content

Instantly share code, notes, and snippets.

@sethro2
Last active February 23, 2018 00:27
Show Gist options
  • Save sethro2/6071eb81735d1f5f32366e7595f14c55 to your computer and use it in GitHub Desktop.
Save sethro2/6071eb81735d1f5f32366e7595f14c55 to your computer and use it in GitHub Desktop.
Test Kitchen Returns [no implicit conversion of nil into String]
D, [2018-02-21T16:21:00.950956 #2536] DEBUG -- default-windows-2012r2: Berksfile found at C:/Users/admin/learn-chef/cookbooks/learn_chef_iis/Berksfile, loading Berkshelf
D, [2018-02-21T16:21:03.060998 #2536] DEBUG -- default-windows-2012r2: Berkshelf 6.3.1 library loaded
D, [2018-02-21T16:21:03.060998 #2536] DEBUG -- default-windows-2012r2: winrm requested, loading winrm gem (["~> 2.0"])
D, [2018-02-21T16:21:03.404602 #2536] DEBUG -- default-windows-2012r2: winrm is loaded.
D, [2018-02-21T16:21:03.404602 #2536] DEBUG -- default-windows-2012r2: winrm-fs requested, loading winrm-fs gem (["~> 1.0"])
D, [2018-02-21T16:21:03.747850 #2536] DEBUG -- default-windows-2012r2: winrm-fs is loaded.
I, [2018-02-21T16:21:08.903854 #2536] INFO -- default-windows-2012r2: -----> Creating <default-windows-2012r2>...
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: Image for default-windows-2012r2: Windows_Server-2012-R2_RTM-English-64Bit-Base-2018.01.12. Architecture: x86_64, Virtualization: hvm, Storage: ebs gp2, Created: 2018-01-13T09:25:36.000Z
I, [2018-02-21T16:21:09.154745 #2536] INFO -- default-windows-2012r2: Detected platform: windows version 2012r2rtm on x86_64. Instance Type: t2.micro. Default username: administrator (default).
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: No SSH username specified: using default username administrator for image ami-02446e67, which we detected as windows 2012r2rtm x86_64.
I, [2018-02-21T16:21:09.154745 #2536] INFO -- default-windows-2012r2: If you are not using an account that qualifies under the AWS
free-tier, you may be charged to run these suites. The charge
should be minimal, but neither Test Kitchen nor its maintainers
are responsible for your incurred costs.
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: Creating EC2 instance in region us-east-2 with properties:
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: - instance_type = "t2.micro"
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: - ebs_optimized = false
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: - image_id = "ami-02446e67"
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: - key_name = "us-east"
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: - subnet_id = "subnet-894796e1"
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: - private_ip_address = nil
D, [2018-02-21T16:21:09.154745 #2536] DEBUG -- default-windows-2012r2: - placement = {:availability_zone=>"us-east-2a", :tenancy=>"default"}
D, [2018-02-21T16:21:09.169517 #2536] DEBUG -- default-windows-2012r2: - security_group_ids = ["sg-faf71691"]
D, [2018-02-21T16:21:09.169517 #2536] DEBUG -- default-windows-2012r2: - user_data = "PHBvd2Vyc2hlbGw+CiRsb2dmaWxlPUM6XFByb2dyYW0gRmlsZXNcQW1hem9u\nXEVjMkNvbmZpZ1NlcnZpY2VcTG9nc1xraXRjaGVuLWVjMi5sb2cKIyBBbGxv\ndyBzY3JpcHQgZXhlY3V0aW9uClNldC1FeGVjdXRpb25Qb2xpY3kgLUV4ZWN1\ndGlvblBvbGljeSBSZW1vdGVTaWduZWQgLUZvcmNlCiNQUyBSZW1vdGluZyBh\nbmQgJiB3aW5ybS5jbWQgYmFzaWMgY29uZmlnCkVuYWJsZS1QU1JlbW90aW5n\nIC1Gb3JjZSAtU2tpcE5ldHdvcmtQcm9maWxlQ2hlY2sKJiB3aW5ybS5jbWQg\nc2V0IHdpbnJtL2NvbmZpZyAnQHtNYXhUaW1lb3V0bXM9IjE4MDAwMDAifScg\nPj4gJGxvZ2ZpbGUKJiB3aW5ybS5jbWQgc2V0IHdpbnJtL2NvbmZpZy93aW5y\ncyAnQHtNYXhNZW1vcnlQZXJTaGVsbE1CPSIxMDI0In0nID4+ICRsb2dmaWxl\nCiYgd2lucm0uY21kIHNldCB3aW5ybS9jb25maWcvd2lucnMgJ0B7TWF4U2hl\nbGxzUGVyVXNlcj0iNTAifScgPj4gJGxvZ2ZpbGUKI1NlcnZlciBzZXR0aW5n\ncyAtIHN1cHBvcnQgdXNlcm5hbWUvcGFzc3dvcmQgbG9naW4KJiB3aW5ybS5j\nbWQgc2V0IHdpbnJtL2NvbmZpZy9zZXJ2aWNlL2F1dGggJ0B7QmFzaWM9InRy\ndWUifScgPj4gJGxvZ2ZpbGUKJiB3aW5ybS5jbWQgc2V0IHdpbnJtL2NvbmZp\nZy9zZXJ2aWNlICdAe0FsbG93VW5lbmNyeXB0ZWQ9InRydWUifScgPj4gJGxv\nZ2ZpbGUKJiB3aW5ybS5jbWQgc2V0IHdpbnJtL2NvbmZpZy93aW5ycyAnQHtN\nYXhNZW1vcnlQZXJTaGVsbE1CPSIxMDI0In0nID4+ICRsb2dmaWxlCiNGaXJl\nd2FsbCBDb25maWcKJiBuZXRzaCBhZHZmaXJld2FsbCBmaXJld2FsbCBzZXQg\ncnVsZSBuYW1lPSJXaW5kb3dzIFJlbW90ZSBNYW5hZ2VtZW50IChIVFRQLUlu\nKSIgcHJvZmlsZT1wdWJsaWMgcHJvdG9jb2w9dGNwIGxvY2FscG9ydD01OTg1\nIHJlbW90ZWlwPWxvY2Fsc3VibmV0IG5ldyByZW1vdGVpcD1hbnkgID4+ICRs\nb2dmaWxlCgo8L3Bvd2Vyc2hlbGw+Cg==\n"
I, [2018-02-21T16:21:09.997713 #2536] INFO -- default-windows-2012r2: Instance <i-036c7c3ecf380b485> requested.
I, [2018-02-21T16:21:09.997713 #2536] INFO -- default-windows-2012r2: Polling AWS for existence, attempt 0...
I, [2018-02-21T16:21:10.154551 #2536] INFO -- default-windows-2012r2: Attempting to tag the instance, 0 retries
I, [2018-02-21T16:21:10.264225 #2536] INFO -- default-windows-2012r2: EC2 instance <i-036c7c3ecf380b485> created.
I, [2018-02-21T16:21:10.264225 #2536] INFO -- default-windows-2012r2: Waited 0/600s for instance <i-036c7c3ecf380b485> volumes to be ready.
I, [2018-02-21T16:21:15.654475 #2536] INFO -- default-windows-2012r2: Waited 5/600s for instance <i-036c7c3ecf380b485> volumes to be ready.
I, [2018-02-21T16:21:21.372618 #2536] INFO -- default-windows-2012r2: Waited 10/600s for instance <i-036c7c3ecf380b485> volumes to be ready.
I, [2018-02-21T16:21:22.185456 #2536] INFO -- default-windows-2012r2: Waited 0/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:21:27.419563 #2536] INFO -- default-windows-2012r2: Waited 5/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:21:32.826016 #2536] INFO -- default-windows-2012r2: Waited 10/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:21:38.216552 #2536] INFO -- default-windows-2012r2: Waited 15/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:21:43.670391 #2536] INFO -- default-windows-2012r2: Waited 20/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:21:49.155133 #2536] INFO -- default-windows-2012r2: Waited 25/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:21:54.607013 #2536] INFO -- default-windows-2012r2: Waited 30/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:00.044466 #2536] INFO -- default-windows-2012r2: Waited 35/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:05.529934 #2536] INFO -- default-windows-2012r2: Waited 40/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:11.045176 #2536] INFO -- default-windows-2012r2: Waited 45/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:16.529523 #2536] INFO -- default-windows-2012r2: Waited 50/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:22.029405 #2536] INFO -- default-windows-2012r2: Waited 55/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:27.481920 #2536] INFO -- default-windows-2012r2: Waited 60/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:32.966555 #2536] INFO -- default-windows-2012r2: Waited 65/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:38.435431 #2536] INFO -- default-windows-2012r2: Waited 70/600s for instance <i-036c7c3ecf380b485> to become ready.
I, [2018-02-21T16:22:43.904485 #2536] INFO -- default-windows-2012r2: Waited 75/600s for instance <i-036c7c3ecf380b485> to become ready.
D, [2018-02-21T16:22:44.372579 #2536] DEBUG -- default-windows-2012r2: Console output: ---
2018/02/22 00:22:33Z: Driver: AWS PV Network Device v7.4.6.0
2018/02/22 00:22:33Z: EC2ConfigMonitorState: 0
2018/02/22 00:22:33Z: Driver: AWS PV Storage Host Adapter v7.4.6.5
2018/02/22 00:22:33Z: Windows sysprep configuration complete.
2018/02/22 00:22:34Z: AMI Origin Version: 2018.01.12
2018/02/22 00:22:34Z: AMI Origin Name: Windows_Server-2012-R2_RTM-English-64Bit-Base
2018/02/22 00:22:34Z: OS: Microsoft Windows NT 6.3.9600
2018/02/22 00:22:34Z: OsVersion: 6.3
2018/02/22 00:22:34Z: OsProductName: Windows Server 2012 R2 Standard
2018/02/22 00:22:34Z: OsBuildLabEx: 9600.18895.amd64fre.winblue_ltsb.180101-1800
2018/02/22 00:22:34Z: Language: en-US
2018/02/22 00:22:34Z: TimeZone: Coordinated Universal Time
2018/02/22 00:22:34Z: Offset: UTC 00:00:00
2018/02/22 00:22:34Z: EC2 Agent: Ec2Config service v4.9.2262
2018/02/22 00:22:35Z: Message: Waiting for meta-data accessibility...
2018/02/22 00:22:35Z: Message: Meta-data is now available.
2018/02/22 00:22:36Z: AMI-ID: ami-02446e67
2018/02/22 00:22:36Z: Instance-ID: i-036c7c3ecf380b485
2018/02/22 00:22:36Z: Ec2SetPassword: Enabled
2018/02/22 00:22:36Z: RDPCERTIFICATE-SUBJECTNAME: WIN-BJJ8B1AHL66
2018/02/22 00:22:36Z: RDPCERTIFICATE-THUMBPRINT: 809779981691FDE58F43744EBBBEBAA77D4C069F
2018/02/22 00:22:39Z: Username: Administrator
2018/02/22 00:22:39Z: Password: <Password>
lxmfOuufuypn15FwGPIcPVw6r/BrqDNNeoA0hw5rS2SJo31DETi+WQS46/D4WNr2qWB0OuBHfkWZ8kowF+Wn3JvbQQUwULX7fmbZ8kKHcV1gKjSuz16MHDA1RgDxo4V1HM2VO2jFaZehodOFKYe3EV+QNw9SsSx/LtPetrQlh5F4WTObq2lISkIsW6LO2D1dzLjSTYSyc3/VxE8VmcxnJy/tACs7R9mSRygOCnthJ61bfFAom27GvNbJkE2AEyFSY+YHj+J7k6wg4FfDdnkYCDEvqLEce4D0+nKqXSnjdkdnVf0JJEe7OUBlrf/v4SEfGX+dAz8qLDVTJMeKVDIB+Q==
</Password>
I, [2018-02-21T16:22:49.482032 #2536] INFO -- default-windows-2012r2: Waited 80/600s for instance <i-036c7c3ecf380b485> to become ready.
D, [2018-02-21T16:22:49.841328 #2536] DEBUG -- default-windows-2012r2: Console output: ---
2018/02/22 00:22:33Z: Driver: AWS PV Network Device v7.4.6.0
2018/02/22 00:22:33Z: EC2ConfigMonitorState: 0
2018/02/22 00:22:33Z: Driver: AWS PV Storage Host Adapter v7.4.6.5
2018/02/22 00:22:33Z: Windows sysprep configuration complete.
2018/02/22 00:22:34Z: AMI Origin Version: 2018.01.12
2018/02/22 00:22:34Z: AMI Origin Name: Windows_Server-2012-R2_RTM-English-64Bit-Base
2018/02/22 00:22:34Z: OS: Microsoft Windows NT 6.3.9600
2018/02/22 00:22:34Z: OsVersion: 6.3
2018/02/22 00:22:34Z: OsProductName: Windows Server 2012 R2 Standard
2018/02/22 00:22:34Z: OsBuildLabEx: 9600.18895.amd64fre.winblue_ltsb.180101-1800
2018/02/22 00:22:34Z: Language: en-US
2018/02/22 00:22:34Z: TimeZone: Coordinated Universal Time
2018/02/22 00:22:34Z: Offset: UTC 00:00:00
2018/02/22 00:22:34Z: EC2 Agent: Ec2Config service v4.9.2262
2018/02/22 00:22:35Z: Message: Waiting for meta-data accessibility...
2018/02/22 00:22:35Z: Message: Meta-data is now available.
2018/02/22 00:22:36Z: AMI-ID: ami-02446e67
2018/02/22 00:22:36Z: Instance-ID: i-036c7c3ecf380b485
2018/02/22 00:22:36Z: Ec2SetPassword: Enabled
2018/02/22 00:22:36Z: RDPCERTIFICATE-SUBJECTNAME: WIN-BJJ8B1AHL66
2018/02/22 00:22:36Z: RDPCERTIFICATE-THUMBPRINT: 809779981691FDE58F43744EBBBEBAA77D4C069F
2018/02/22 00:22:39Z: Username: Administrator
2018/02/22 00:22:39Z: Password: <Password>
lxmfOuufuypn15FwGPIcPVw6r/BrqDNNeoA0hw5rS2SJo31DETi+WQS46/D4WNr2qWB0OuBHfkWZ8kowF+Wn3JvbQQUwULX7fmbZ8kKHcV1gKjSuz16MHDA1RgDxo4V1HM2VO2jFaZehodOFKYe3EV+QNw9SsSx/LtPetrQlh5F4WTObq2lISkIsW6LO2D1dzLjSTYSyc3/VxE8VmcxnJy/tACs7R9mSRygOCnthJ61bfFAom27GvNbJkE2AEyFSY+YHj+J7k6wg4FfDdnkYCDEvqLEce4D0+nKqXSnjdkdnVf0JJEe7OUBlrf/v4SEfGX+dAz8qLDVTJMeKVDIB+Q==
</Password>
I, [2018-02-21T16:22:54.966510 #2536] INFO -- default-windows-2012r2: Waited 85/600s for instance <i-036c7c3ecf380b485> to become ready.
D, [2018-02-21T16:22:55.357253 #2536] DEBUG -- default-windows-2012r2: Console output: ---
2018/02/22 00:22:33Z: Driver: AWS PV Network Device v7.4.6.0
2018/02/22 00:22:33Z: EC2ConfigMonitorState: 0
2018/02/22 00:22:33Z: Driver: AWS PV Storage Host Adapter v7.4.6.5
2018/02/22 00:22:33Z: Windows sysprep configuration complete.
2018/02/22 00:22:34Z: AMI Origin Version: 2018.01.12
2018/02/22 00:22:34Z: AMI Origin Name: Windows_Server-2012-R2_RTM-English-64Bit-Base
2018/02/22 00:22:34Z: OS: Microsoft Windows NT 6.3.9600
2018/02/22 00:22:34Z: OsVersion: 6.3
2018/02/22 00:22:34Z: OsProductName: Windows Server 2012 R2 Standard
2018/02/22 00:22:34Z: OsBuildLabEx: 9600.18895.amd64fre.winblue_ltsb.180101-1800
2018/02/22 00:22:34Z: Language: en-US
2018/02/22 00:22:34Z: TimeZone: Coordinated Universal Time
2018/02/22 00:22:34Z: Offset: UTC 00:00:00
2018/02/22 00:22:34Z: EC2 Agent: Ec2Config service v4.9.2262
2018/02/22 00:22:35Z: Message: Waiting for meta-data accessibility...
2018/02/22 00:22:35Z: Message: Meta-data is now available.
2018/02/22 00:22:36Z: AMI-ID: ami-02446e67
2018/02/22 00:22:36Z: Instance-ID: i-036c7c3ecf380b485
2018/02/22 00:22:36Z: Ec2SetPassword: Enabled
2018/02/22 00:22:36Z: RDPCERTIFICATE-SUBJECTNAME: WIN-BJJ8B1AHL66
2018/02/22 00:22:36Z: RDPCERTIFICATE-THUMBPRINT: 809779981691FDE58F43744EBBBEBAA77D4C069F
2018/02/22 00:22:39Z: Username: Administrator
2018/02/22 00:22:39Z: Password: <Password>
lxmfOuufuypn15FwGPIcPVw6r/BrqDNNeoA0hw5rS2SJo31DETi+WQS46/D4WNr2qWB0OuBHfkWZ8kowF+Wn3JvbQQUwULX7fmbZ8kKHcV1gKjSuz16MHDA1RgDxo4V1HM2VO2jFaZehodOFKYe3EV+QNw9SsSx/LtPetrQlh5F4WTObq2lISkIsW6LO2D1dzLjSTYSyc3/VxE8VmcxnJy/tACs7R9mSRygOCnthJ61bfFAom27GvNbJkE2AEyFSY+YHj+J7k6wg4FfDdnkYCDEvqLEce4D0+nKqXSnjdkdnVf0JJEe7OUBlrf/v4SEfGX+dAz8qLDVTJMeKVDIB+Q==
</Password>
2018/02/22 00:22:53Z: Message: Windows is Ready to use
I, [2018-02-21T16:22:55.357253 #2536] INFO -- default-windows-2012r2: Waited 0/600s for instance <i-036c7c3ecf380b485> to fetch windows admin password.
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: Create failed on instance <default-windows-2012r2>.
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: ------Exception-------
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: Class: TypeError
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: Message: no implicit conversion of nil into String
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: ----------------------
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: ------Backtrace-------
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `expand_path'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `fetch_windows_admin_password'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:221:in `create'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `public_send'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `block in perform_action'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:536:in `synchronize_or_call'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:498:in `block in action'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:497:in `action'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `perform_action'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:379:in `create_action'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:368:in `block in transition_to'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `each'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `transition_to'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:124:in `create'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `public_send'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `run_action_in_thread'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
E, [2018-02-21T16:22:55.466995 #2536] ERROR -- default-windows-2012r2: ----End Backtrace-----
I, [2018-02-21T16:20:55.497295 #2536] INFO -- Kitchen: -----> Starting Kitchen (v1.19.2)
I, [2018-02-21T16:21:08.903854 #2536] INFO -- Kitchen: -----> Creating <default-windows-2012r2>...
D, [2018-02-21T16:22:55.481784 #2536] DEBUG -- Kitchen: ------Exception-------
D, [2018-02-21T16:22:55.481784 #2536] DEBUG -- Kitchen: Class: Kitchen::ActionFailed
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: Message: 1 actions failed.
>>>>>> Failed to complete #create action: [no implicit conversion of nil into String] on default-windows-2012r2
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: ----------------------
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: ------Backtrace-------
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:183:in `report_errors'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:174:in `run_action'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command/action.rb:36:in `block in call'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command/action.rb:34:in `call'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/cli.rb:52:in `perform'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/cli.rb:193:in `block (2 levels) in <class:CLI>'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/bin/kitchen:13:in `block in <top (required)>'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/errors.rb:171:in `with_friendly_errors'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/bin/kitchen:13:in `<top (required)>'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/bin/kitchen:267:in `load'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/bin/kitchen:267:in `<main>'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: ----End Backtrace-----
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: -Composite Exception--
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: Class: Kitchen::ActionFailed
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: Message: Failed to complete #create action: [no implicit conversion of nil into String] on default-windows-2012r2
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: ----------------------
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: ------Backtrace-------
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `expand_path'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `fetch_windows_admin_password'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:221:in `create'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `public_send'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `block in perform_action'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:536:in `synchronize_or_call'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:498:in `block in action'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:497:in `action'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `perform_action'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:379:in `create_action'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:368:in `block in transition_to'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `each'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `transition_to'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:124:in `create'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `public_send'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `run_action_in_thread'
D, [2018-02-21T16:22:55.498202 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: ----End Backtrace-----
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: ---Nested Exception---
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: Class: Kitchen::ActionFailed
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: Message: Failed to complete #create action: [no implicit conversion of nil into String]
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: ----------------------
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: ------Backtrace-------
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `expand_path'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `fetch_windows_admin_password'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:221:in `create'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `public_send'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `block in perform_action'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:536:in `synchronize_or_call'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:498:in `block in action'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:497:in `action'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `perform_action'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:379:in `create_action'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:368:in `block in transition_to'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `each'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `transition_to'
D, [2018-02-21T16:22:55.513133 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:124:in `create'
D, [2018-02-21T16:22:55.528656 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `public_send'
D, [2018-02-21T16:22:55.528656 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `run_action_in_thread'
D, [2018-02-21T16:22:55.528656 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
D, [2018-02-21T16:22:55.528656 #2536] DEBUG -- Kitchen: C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-02-21T16:22:55.528656 #2536] DEBUG -- Kitchen: ----End Backtrace-----
---
driver:
name: ec2
aws_ssh_key_id: us-east
region: us-east-2
availability_zone: a
subnet_id: subnet-894796e1
instance_type: t2.micro
image_id: ami-02446e67
security_group_ids: ["sg-faf71691"]
retryable_tries: 120
provisioner:
name: chef_zero
log_level: debug
verifier:
name: inspec
transport:
ssh_key: c:\users\admin\.aws\us-east.pem
platforms:
- name: windows-2012r2
suites:
- name: default
run_list:
- recipe[learn_chef_iis::default]
verifier:
inspec_tests:
- test/smoke/default
attributes:
PS C:\Users\admin\learn-chef\cookbooks\learn_chef_iis> kitchen create -l debug
-----> Starting Kitchen (v1.19.2)
D Berksfile found at C:/Users/admin/learn-chef/cookbooks/learn_chef_iis/Berksfile, loading Berkshelf
D Berkshelf 6.3.1 library loaded
D winrm requested, loading winrm gem (["~> 2.0"])
D winrm is loaded.
D winrm-fs requested, loading winrm-fs gem (["~> 1.0"])
D winrm-fs is loaded.
-----> Creating <default-windows-2012r2>...
D Image for default-windows-2012r2: Windows_Server-2012-R2_RTM-English-64Bit-Base-2018.01.12. Architecture: x86_64, Virtualization: hvm, Storage: ebs gp2, Created: 2018-01-13T09:25:36.000Z
Detected platform: windows version 2012r2rtm on x86_64. Instance Type: t2.micro. Default username: administrator (default).
D No SSH username specified: using default username administrator for image ami-02446e67, which we detected as windows 2012r2rtm x86_64.
If you are not using an account that qualifies under the AWS
free-tier, you may be charged to run these suites. The charge
should be minimal, but neither Test Kitchen nor its maintainers
are responsible for your incurred costs.
D Creating EC2 instance in region us-east-2 with properties:
D - instance_type = "t2.micro"
D - ebs_optimized = false
D - image_id = "ami-02446e67"
D - key_name = "us-east"
D - subnet_id = "subnet-894796e1"
D - private_ip_address = nil
D - placement = {:availability_zone=>"us-east-2a", :tenancy=>"default"}
D - security_group_ids = ["sg-faf71691"]
D - user_data = "PHBvd2Vyc2hlbGw+CiRsb2dmaWxlPUM6XFByb2dyYW0gRmlsZXNcQW1hem9u\nXEVjMkNvbmZpZ1NlcnZpY2VcTG9nc1xraXRjaGVuLWVjMi5sb2cKIyBBbGxv\ndyBzY3JpcHQgZXhlY3V0aW9uClNldC1FeGVjdXRpb25Qb2xpY3kgLUV4ZWN1\ndGlvblBvbGljeSBSZW1vdGVTaWduZWQgLUZvcmNlCiNQUyBSZW1vdGluZyBh\nbmQgJiB3aW5ybS5jbWQgYmFzaWMgY29uZmlnCkVuYWJsZS1QU1JlbW90aW5n\nIC1Gb3JjZSAtU2tpcE5ldHdvcmtQcm9maWxlQ2hlY2sKJiB3aW5ybS5jbWQg\nc2V0IHdpbnJtL2NvbmZpZyAnQHtNYXhUaW1lb3V0bXM9IjE4MDAwMDAifScg\nPj4gJGxvZ2ZpbGUKJiB3aW5ybS5jbWQgc2V0IHdpbnJtL2NvbmZpZy93aW5y\ncyAnQHtNYXhNZW1vcnlQZXJTaGVsbE1CPSIxMDI0In0nID4+ICRsb2dmaWxl\nCiYgd2lucm0uY21kIHNldCB3aW5ybS9jb25maWcvd2lucnMgJ0B7TWF4U2hl\nbGxzUGVyVXNlcj0iNTAifScgPj4gJGxvZ2ZpbGUKI1NlcnZlciBzZXR0aW5n\ncyAtIHN1cHBvcnQgdXNlcm5hbWUvcGFzc3dvcmQgbG9naW4KJiB3aW5ybS5j\nbWQgc2V0IHdpbnJtL2NvbmZpZy9zZXJ2aWNlL2F1dGggJ0B7QmFzaWM9InRy\ndWUifScgPj4gJGxvZ2ZpbGUKJiB3aW5ybS5jbWQgc2V0IHdpbnJtL2NvbmZp\nZy9zZXJ2aWNlICdAe0FsbG93VW5lbmNyeXB0ZWQ9InRydWUifScgPj4gJGxv\nZ2ZpbGUKJiB3aW5ybS5jbWQgc2V0IHdpbnJtL2NvbmZpZy93aW5ycyAnQHtN\nYXhNZW1vcnlQZXJTaGVsbE1CPSIxMDI0In0nID4+ICRsb2dmaWxlCiNGaXJl\nd2FsbCBDb25maWcKJiBuZXRzaCBhZHZmaXJld2FsbCBmaXJld2FsbCBzZXQg\ncnVsZSBuYW1lPSJXaW5kb3dzIFJlbW90ZSBNYW5hZ2VtZW50IChIVFRQLUlu\nKSIgcHJvZmlsZT1wdWJsaWMgcHJvdG9jb2w9dGNwIGxvY2FscG9ydD01OTg1\nIHJlbW90ZWlwPWxvY2Fsc3VibmV0IG5ldyByZW1vdGVpcD1hbnkgID4+ICRs\nb2dmaWxlCgo8L3Bvd2Vyc2hlbGw+Cg==\n"
Instance <i-036c7c3ecf380b485> requested.
Polling AWS for existence, attempt 0...
Attempting to tag the instance, 0 retries
EC2 instance <i-036c7c3ecf380b485> created.
Waited 0/600s for instance <i-036c7c3ecf380b485> volumes to be ready.
Waited 5/600s for instance <i-036c7c3ecf380b485> volumes to be ready.
Waited 10/600s for instance <i-036c7c3ecf380b485> volumes to be ready.
Waited 0/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 5/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 10/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 15/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 20/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 25/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 30/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 35/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 40/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 45/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 50/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 55/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 60/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 65/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 70/600s for instance <i-036c7c3ecf380b485> to become ready.
Waited 75/600s for instance <i-036c7c3ecf380b485> to become ready.
D Console output: ---
2018/02/22 00:22:33Z: Driver: AWS PV Network Device v7.4.6.0
2018/02/22 00:22:33Z: EC2ConfigMonitorState: 0
2018/02/22 00:22:33Z: Driver: AWS PV Storage Host Adapter v7.4.6.5
2018/02/22 00:22:33Z: Windows sysprep configuration complete.
2018/02/22 00:22:34Z: AMI Origin Version: 2018.01.12
2018/02/22 00:22:34Z: AMI Origin Name: Windows_Server-2012-R2_RTM-English-64Bit-Base
2018/02/22 00:22:34Z: OS: Microsoft Windows NT 6.3.9600
2018/02/22 00:22:34Z: OsVersion: 6.3
2018/02/22 00:22:34Z: OsProductName: Windows Server 2012 R2 Standard
2018/02/22 00:22:34Z: OsBuildLabEx: 9600.18895.amd64fre.winblue_ltsb.180101-1800
2018/02/22 00:22:34Z: Language: en-US
2018/02/22 00:22:34Z: TimeZone: Coordinated Universal Time
2018/02/22 00:22:34Z: Offset: UTC 00:00:00
2018/02/22 00:22:34Z: EC2 Agent: Ec2Config service v4.9.2262
2018/02/22 00:22:35Z: Message: Waiting for meta-data accessibility...
2018/02/22 00:22:35Z: Message: Meta-data is now available.
2018/02/22 00:22:36Z: AMI-ID: ami-02446e67
2018/02/22 00:22:36Z: Instance-ID: i-036c7c3ecf380b485
2018/02/22 00:22:36Z: Ec2SetPassword: Enabled
2018/02/22 00:22:36Z: RDPCERTIFICATE-SUBJECTNAME: WIN-BJJ8B1AHL66
2018/02/22 00:22:36Z: RDPCERTIFICATE-THUMBPRINT: 809779981691FDE58F43744EBBBEBAA77D4C069F
2018/02/22 00:22:39Z: Username: Administrator
2018/02/22 00:22:39Z: Password: <Password>
lxmfOuufuypn15FwGPIcPVw6r/BrqDNNeoA0hw5rS2SJo31DETi+WQS46/D4WNr2qWB0OuBHfkWZ8kowF+Wn3JvbQQUwULX7fmbZ8kKHcV1gKjSuz16MHDA1RgDxo4V1HM2VO2jFaZehodOFKYe3EV+QNw9SsSx/LtPetrQlh5F4WTObq2lISkIsW6LO2D1dzLjSTYSyc3/VxE8VmcxnJy/tACs7R9mSRygOCnthJ61bfFAom27GvNbJkE2AEyFSY+YHj+J7k6wg4FfDdnkYCDEvqLEce4D0+nKqXSnjdkdnVf0JJEe7OUBlrf/v4SEfGX+dAz8qLDVTJMeKVDIB+Q==
</Password>
Waited 80/600s for instance <i-036c7c3ecf380b485> to become ready.
D Console output: ---
2018/02/22 00:22:33Z: Driver: AWS PV Network Device v7.4.6.0
2018/02/22 00:22:33Z: EC2ConfigMonitorState: 0
2018/02/22 00:22:33Z: Driver: AWS PV Storage Host Adapter v7.4.6.5
2018/02/22 00:22:33Z: Windows sysprep configuration complete.
2018/02/22 00:22:34Z: AMI Origin Version: 2018.01.12
2018/02/22 00:22:34Z: AMI Origin Name: Windows_Server-2012-R2_RTM-English-64Bit-Base
2018/02/22 00:22:34Z: OS: Microsoft Windows NT 6.3.9600
2018/02/22 00:22:34Z: OsVersion: 6.3
2018/02/22 00:22:34Z: OsProductName: Windows Server 2012 R2 Standard
2018/02/22 00:22:34Z: OsBuildLabEx: 9600.18895.amd64fre.winblue_ltsb.180101-1800
2018/02/22 00:22:34Z: Language: en-US
2018/02/22 00:22:34Z: TimeZone: Coordinated Universal Time
2018/02/22 00:22:34Z: Offset: UTC 00:00:00
2018/02/22 00:22:34Z: EC2 Agent: Ec2Config service v4.9.2262
2018/02/22 00:22:35Z: Message: Waiting for meta-data accessibility...
2018/02/22 00:22:35Z: Message: Meta-data is now available.
2018/02/22 00:22:36Z: AMI-ID: ami-02446e67
2018/02/22 00:22:36Z: Instance-ID: i-036c7c3ecf380b485
2018/02/22 00:22:36Z: Ec2SetPassword: Enabled
2018/02/22 00:22:36Z: RDPCERTIFICATE-SUBJECTNAME: WIN-BJJ8B1AHL66
2018/02/22 00:22:36Z: RDPCERTIFICATE-THUMBPRINT: 809779981691FDE58F43744EBBBEBAA77D4C069F
2018/02/22 00:22:39Z: Username: Administrator
2018/02/22 00:22:39Z: Password: <Password>
lxmfOuufuypn15FwGPIcPVw6r/BrqDNNeoA0hw5rS2SJo31DETi+WQS46/D4WNr2qWB0OuBHfkWZ8kowF+Wn3JvbQQUwULX7fmbZ8kKHcV1gKjSuz16MHDA1RgDxo4V1HM2VO2jFaZehodOFKYe3EV+QNw9SsSx/LtPetrQlh5F4WTObq2lISkIsW6LO2D1dzLjSTYSyc3/VxE8VmcxnJy/tACs7R9mSRygOCnthJ61bfFAom27GvNbJkE2AEyFSY+YHj+J7k6wg4FfDdnkYCDEvqLEce4D0+nKqXSnjdkdnVf0JJEe7OUBlrf/v4SEfGX+dAz8qLDVTJMeKVDIB+Q==
</Password>
Waited 85/600s for instance <i-036c7c3ecf380b485> to become ready.
D Console output: ---
2018/02/22 00:22:33Z: Driver: AWS PV Network Device v7.4.6.0
2018/02/22 00:22:33Z: EC2ConfigMonitorState: 0
2018/02/22 00:22:33Z: Driver: AWS PV Storage Host Adapter v7.4.6.5
2018/02/22 00:22:33Z: Windows sysprep configuration complete.
2018/02/22 00:22:34Z: AMI Origin Version: 2018.01.12
2018/02/22 00:22:34Z: AMI Origin Name: Windows_Server-2012-R2_RTM-English-64Bit-Base
2018/02/22 00:22:34Z: OS: Microsoft Windows NT 6.3.9600
2018/02/22 00:22:34Z: OsVersion: 6.3
2018/02/22 00:22:34Z: OsProductName: Windows Server 2012 R2 Standard
2018/02/22 00:22:34Z: OsBuildLabEx: 9600.18895.amd64fre.winblue_ltsb.180101-1800
2018/02/22 00:22:34Z: Language: en-US
2018/02/22 00:22:34Z: TimeZone: Coordinated Universal Time
2018/02/22 00:22:34Z: Offset: UTC 00:00:00
2018/02/22 00:22:34Z: EC2 Agent: Ec2Config service v4.9.2262
2018/02/22 00:22:35Z: Message: Waiting for meta-data accessibility...
2018/02/22 00:22:35Z: Message: Meta-data is now available.
2018/02/22 00:22:36Z: AMI-ID: ami-02446e67
2018/02/22 00:22:36Z: Instance-ID: i-036c7c3ecf380b485
2018/02/22 00:22:36Z: Ec2SetPassword: Enabled
2018/02/22 00:22:36Z: RDPCERTIFICATE-SUBJECTNAME: WIN-BJJ8B1AHL66
2018/02/22 00:22:36Z: RDPCERTIFICATE-THUMBPRINT: 809779981691FDE58F43744EBBBEBAA77D4C069F
2018/02/22 00:22:39Z: Username: Administrator
2018/02/22 00:22:39Z: Password: <Password>
lxmfOuufuypn15FwGPIcPVw6r/BrqDNNeoA0hw5rS2SJo31DETi+WQS46/D4WNr2qWB0OuBHfkWZ8kowF+Wn3JvbQQUwULX7fmbZ8kKHcV1gKjSuz16MHDA1RgDxo4V1HM2VO2jFaZehodOFKYe3EV+QNw9SsSx/LtPetrQlh5F4WTObq2lISkIsW6LO2D1dzLjSTYSyc3/VxE8VmcxnJy/tACs7R9mSRygOCnthJ61bfFAom27GvNbJkE2AEyFSY+YHj+J7k6wg4FfDdnkYCDEvqLEce4D0+nKqXSnjdkdnVf0JJEe7OUBlrf/v4SEfGX+dAz8qLDVTJMeKVDIB+Q==
</Password>
2018/02/22 00:22:53Z: Message: Windows is Ready to use
Waited 0/600s for instance <i-036c7c3ecf380b485> to fetch windows admin password.
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>> Failed to complete #create action: [no implicit conversion of nil into String] on default-windows-2012r2
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
D ------Exception-------
D Class: Kitchen::ActionFailed
D Message: 1 actions failed.
>>>>>> Failed to complete #create action: [no implicit conversion of nil into String] on default-windows-2012r2
D ----------------------
D ------Backtrace-------
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:183:in `report_errors'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:174:in `run_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command/action.rb:36:in `block in call'
D C:/opscode/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command/action.rb:34:in `call'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/cli.rb:52:in `perform'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/cli.rb:193:in `block (2 levels) in <class:CLI>'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/bin/kitchen:13:in `block in <top (required)>'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/errors.rb:171:in `with_friendly_errors'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/bin/kitchen:13:in `<top (required)>'
D C:/opscode/chefdk/bin/kitchen:267:in `load'
D C:/opscode/chefdk/bin/kitchen:267:in `<main>'
D ----End Backtrace-----
D -Composite Exception--
D Class: Kitchen::ActionFailed
D Message: Failed to complete #create action: [no implicit conversion of nil into String] on default-windows-2012r2
D ----------------------
D ------Backtrace-------
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `expand_path'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `fetch_windows_admin_password'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:221:in `create'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `public_send'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `block in perform_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:536:in `synchronize_or_call'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:498:in `block in action'
D C:/opscode/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:497:in `action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `perform_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:379:in `create_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:368:in `block in transition_to'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `each'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `transition_to'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:124:in `create'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `public_send'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `run_action_in_thread'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D ----End Backtrace-----
D ---Nested Exception---
D Class: Kitchen::ActionFailed
D Message: Failed to complete #create action: [no implicit conversion of nil into String]
D ----------------------
D ------Backtrace-------
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `expand_path'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:479:in `fetch_windows_admin_password'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/kitchen-ec2-1.3.2/lib/kitchen/driver/ec2.rb:221:in `create'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `public_send'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `block in perform_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:536:in `synchronize_or_call'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:498:in `block in action'
D C:/opscode/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:497:in `action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:469:in `perform_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:379:in `create_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:368:in `block in transition_to'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `each'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:367:in `transition_to'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/instance.rb:124:in `create'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `public_send'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:197:in `run_action_in_thread'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/test-kitchen-1.19.2/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D ----End Backtrace-----
PS C:\Users\admin\learn-chef\cookbooks\learn_chef_iis>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment