You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chef exec rake test
chef exec kitchen converge && sleep 130 && chef exec kitchen converge && sleep 600
-----> Starting Kitchen (v1.6.0)
-----> Creating ...
Detected platform: windows version 2012r2rtm on x86_64. Instance Type: c4.4xlarge. Default username: administrator (default).
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.
Instance <i-01d69f0b79e75a293> requested.
Polling AWS for existence, attempt 0...
Attempting to tag the instance, 0 retries
EC2 instance <i-01d69f0b79e75a293> created.
Waited 0/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 5/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 10/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 15/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 20/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 25/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 30/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 35/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 40/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 45/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 50/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 55/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 60/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 65/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 70/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 75/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 80/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 85/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 90/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 95/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 100/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 105/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 110/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 115/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 120/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 125/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 130/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 135/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 140/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 145/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 150/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 155/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 160/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 165/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 170/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 175/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 180/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 185/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 190/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 195/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 200/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 205/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 210/300s for instance <i-01d69f0b79e75a293> to become ready.
Waited 0/300s for instance <i-01d69f0b79e75a293> to fetch windows admin password.
Retrieved Windows password for instance <i-01d69f0b79e75a293>.
EC2 instance <i-01d69f0b79e75a293> ready.
[WinRM] connection failed. retrying in 3 seconds: #<HTTPClient::ConnectTimeoutError: execution expired>
[WinRM] Established
Directory: C:\chef\ohai\hints
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 3/17/2017 5:39 AM 0 ec2.json
Finished creating <default-windows-2012R2> (4m48.75s).
-----> Converging ...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 4.3.0...
Removing non-cookbook files before transfer
Preparing data_bags
Preparing secret
Preparing validation.pem
Preparing client.rb
-----> Installing Chef Omnibus (12.8.1)
Downloading package from https://packages.chef.io/files/stable/chef/12.8.1/windows/2012r2/chef-client-12.8.1-1-x86.msi
Download complete.
Skipping md5 verification
Installing Chef Omnibus package C:\Users\ADMINI~1\AppData\Local\Temp\chef-12.8.1.msi
Installation complete
Transferring files to <default-windows-2012R2>
------Exception-------
Class: Kitchen::ActionFailed
Message: Failed to complete #converge action: [[WinRM::FS::Core::FileTransporter] Upload failed (exitcode: 1)
sc : Access to the path 'C:\Users\Administrator\AppData\Local\Temp\kitchen' is
denied.
At line:2 char:66
function Decode-Base64File($src, $dst) {folder (split-path $dst);sc -force
-Enco ...
+ CategoryInfo : NotSpecified: (:) [Set-Content], UnauthorizedAcc
essException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.SetContentCommand
]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
rake aborted!
Command failed with status (20): [chef exec kitchen converge && sleep 130 &&...]
/home/jenkins/jenkins/workspace/DevopsCookbooks-radian_base_windows/Rakefile:18:in `block (2 levels) in <top (required)>'
/var/lib/jenkins/.chefdk/gem/ruby/2.1.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => test => default => kitchen:conv
(See full trace by running task with --trace)
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[DevopsCookbooks-radian_base_windows] $ /bin/sh -xe /tmp/hudson4028285405193311600.sh
+ chef exec kitchen destroy -c
-----> Starting Kitchen (v1.6.0)
-----> Destroying <default-windows-2012R2>...
EC2 instance <i-01d69f0b79e75a293> destroyed.
Finished destroying <default-windows-2012R2> (0m0.70s).
-----> Kitchen is finished. (0m1.81s)
Finished: FAILURE
The text was updated successfully, but these errors were encountered:
chef exec rake test
chef exec kitchen converge && sleep 130 && chef exec kitchen converge && sleep 600
-----> Starting Kitchen (v1.6.0)
-----> Creating ...
Detected platform: windows version 2012r2rtm on x86_64. Instance Type: c4.4xlarge. Default username: administrator (default).
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.
-----> Converging ...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 4.3.0...
Removing non-cookbook files before transfer
Preparing data_bags
Preparing secret
Preparing validation.pem
Preparing client.rb
-----> Installing Chef Omnibus (12.8.1)
-Enco ...
The text was updated successfully, but these errors were encountered: