deploy-context 2.1.35.3.g2abab85.16.g399fb24 → 2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.3.g0fb07cc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.kitchen/logs/kitchen.log +254 -18
- data/Rakefile +1 -1
- data/features/step_definitions/deploy-context.rb +1 -1
- data/features/support/env.rb +1 -1
- data/{lib → libraries}/deploy-context/deploy/cookbook.rb +24 -0
- data/{lib → libraries}/deploy-context/deploy/deployer.rb +2 -2
- data/{lib → libraries}/deploy-context/deploy.rb +3 -1
- data/{lib → libraries}/deploy-context/helpers/command.rb +1 -1
- data/metadata.rb +6 -3
- data/recipes/default.rb +3 -0
- data.tar.gz.sig +0 -0
- metadata +13 -13
- metadata.gz.sig +0 -0
- /data/{lib → libraries}/context-manager.rb +0 -0
- /data/{lib → libraries}/deploy-context/deploy/cucumber.rb +0 -0
- /data/{lib → libraries}/deploy-context/deploy/git.rb +0 -0
- /data/{lib → libraries}/deploy-context/deploy/ruby.rb +0 -0
- /data/{lib → libraries}/deploy-context/helpers/binary.rb +0 -0
- /data/{lib → libraries}/deploy-context/helpers/rake_tasks.rb +0 -0
- /data/{lib → libraries}/deploy-context/step_definitions/deploy-context.rb +0 -0
- /data/{lib → libraries}/deploy-context.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb83a42b8aac25aa88bf41db49cb84cfb558deab59b5144f6922b69fe6d1b839
|
4
|
+
data.tar.gz: 0deb8891d4ba4a5bb6b6d9be0e9c287ef4ec65e8eb75ccf4bbb666b34328e6c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b79300716a442591027edb889fe6a03f2cead16bf541484b54f3827948d0e32b115056e6873de647406204bb68ed58bd6322d8bca4dfff398c5c6b7ac2b2f3a6
|
7
|
+
data.tar.gz: e3603b66f16591516c763bac05b54452e2bf0fa9fd8b4d8c7f8b9531f23b47d75fcbdde7d831eb5efb9bff6f454119eed320a43fbb8f44e9f8d5e26fc812bb10
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.kitchen/logs/kitchen.log
CHANGED
@@ -1,18 +1,254 @@
|
|
1
|
-
I, [2023-10-
|
2
|
-
I, [2023-10-
|
3
|
-
I, [2023-10-
|
4
|
-
I, [2023-10-
|
5
|
-
I, [2023-10-
|
6
|
-
I, [2023-10-
|
7
|
-
I, [2023-10-
|
8
|
-
I, [2023-10-
|
9
|
-
I, [2023-10-
|
10
|
-
I, [2023-10-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
I, [2023-10-04T16:10:34.958167 #637727] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
|
2
|
+
I, [2023-10-04T16:10:35.953185 #637727] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-ubuntu-2004>
|
3
|
+
I, [2023-10-04T16:10:35.953802 #637727] INFO -- Kitchen: -----> Destroying <default-ubuntu-2004>...
|
4
|
+
I, [2023-10-04T16:10:35.954634 #637727] INFO -- Kitchen: -----> Testing <default-ubuntu-2004>
|
5
|
+
I, [2023-10-04T16:10:35.954729 #637727] INFO -- Kitchen: -----> Creating <default-ubuntu-2004>...
|
6
|
+
I, [2023-10-04T16:10:50.165165 #637727] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-centos-8>
|
7
|
+
I, [2023-10-04T16:10:50.165688 #637727] INFO -- Kitchen: -----> Destroying <default-centos-8>...
|
8
|
+
I, [2023-10-04T16:10:55.176649 #637727] INFO -- Kitchen: -----> Testing <default-centos-8>
|
9
|
+
I, [2023-10-04T16:10:55.176770 #637727] INFO -- Kitchen: -----> Creating <default-centos-8>...
|
10
|
+
I, [2023-10-04T16:11:59.702713 #637727] INFO -- Kitchen: -----> Converging <default-centos-8>...
|
11
|
+
E, [2023-10-04T16:12:00.963822 #637727] ERROR -- Kitchen: ------Exception-------
|
12
|
+
E, [2023-10-04T16:12:00.963866 #637727] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
13
|
+
E, [2023-10-04T16:12:00.963895 #637727] ERROR -- Kitchen: Message: 2 actions failed.
|
14
|
+
>>>>>> Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
15
|
+
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
16
|
+
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
17
|
+
==> default: Importing base box 'bento/ubuntu-20.04'...
|
18
|
+
|
19
|
+
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
20
|
+
for controlling VirtualBox. The command and stderr is shown below.
|
21
|
+
|
22
|
+
Command: ["import", "/home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-20.04-amd64_1696450237308_89608", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696450237308_89608/ubuntu-20.04-amd64-disk001.vmdk"]
|
23
|
+
|
24
|
+
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
25
|
+
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
26
|
+
OK.
|
27
|
+
0%...
|
28
|
+
Progress state: NS_ERROR_INVALID_ARG
|
29
|
+
VBoxManage: error: Appliance import failed
|
30
|
+
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
|
31
|
+
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
32
|
+
---- End output of vagrant up --no-provision --provider virtualbox ----
|
33
|
+
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubuntu-2004
|
34
|
+
>>>>>> Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
35
|
+
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
36
|
+
STDOUT: Installing cookbooks from lock
|
37
|
+
Installing deploy-context 0.1.0
|
38
|
+
STDERR: Error: Failed to install cookbooks from lockfile
|
39
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.1.g62d0477.1.dirty.20231004.161200' does not match 'x.y.z' or 'x.y'
|
40
|
+
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
41
|
+
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-centos-8
|
42
|
+
E, [2023-10-04T16:12:00.963927 #637727] ERROR -- Kitchen: ----------------------
|
43
|
+
E, [2023-10-04T16:12:00.963954 #637727] ERROR -- Kitchen: ------Backtrace-------
|
44
|
+
E, [2023-10-04T16:12:00.963985 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:181:in `report_errors'
|
45
|
+
E, [2023-10-04T16:12:00.964018 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:172:in `run_action'
|
46
|
+
E, [2023-10-04T16:12:00.964046 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/test.rb:41:in `block in call'
|
47
|
+
E, [2023-10-04T16:12:00.964089 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
48
|
+
E, [2023-10-04T16:12:00.964119 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/test.rb:37:in `call'
|
49
|
+
E, [2023-10-04T16:12:00.964147 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:52:in `perform'
|
50
|
+
E, [2023-10-04T16:12:00.964175 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:250:in `test'
|
51
|
+
E, [2023-10-04T16:12:00.964203 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
|
52
|
+
E, [2023-10-04T16:12:00.964229 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
|
53
|
+
E, [2023-10-04T16:12:00.964261 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
|
54
|
+
E, [2023-10-04T16:12:00.964288 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
|
55
|
+
E, [2023-10-04T16:12:00.964319 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `block in <top (required)>'
|
56
|
+
E, [2023-10-04T16:12:00.964347 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/errors.rb:183:in `with_friendly_errors'
|
57
|
+
E, [2023-10-04T16:12:00.964374 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `<top (required)>'
|
58
|
+
E, [2023-10-04T16:12:00.964402 #637727] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
|
59
|
+
E, [2023-10-04T16:12:00.964428 #637727] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
|
60
|
+
E, [2023-10-04T16:12:00.964454 #637727] ERROR -- Kitchen: ----End Backtrace-----
|
61
|
+
E, [2023-10-04T16:12:00.964480 #637727] ERROR -- Kitchen: -Composite Exception--
|
62
|
+
E, [2023-10-04T16:12:00.964505 #637727] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
63
|
+
E, [2023-10-04T16:12:00.964535 #637727] ERROR -- Kitchen: Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
64
|
+
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
65
|
+
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
66
|
+
==> default: Importing base box 'bento/ubuntu-20.04'...
|
67
|
+
|
68
|
+
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
69
|
+
for controlling VirtualBox. The command and stderr is shown below.
|
70
|
+
|
71
|
+
Command: ["import", "/home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-20.04-amd64_1696450237308_89608", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696450237308_89608/ubuntu-20.04-amd64-disk001.vmdk"]
|
72
|
+
|
73
|
+
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
74
|
+
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
75
|
+
OK.
|
76
|
+
0%...
|
77
|
+
Progress state: NS_ERROR_INVALID_ARG
|
78
|
+
VBoxManage: error: Appliance import failed
|
79
|
+
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
|
80
|
+
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
81
|
+
---- End output of vagrant up --no-provision --provider virtualbox ----
|
82
|
+
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubuntu-2004
|
83
|
+
E, [2023-10-04T16:12:00.964565 #637727] ERROR -- Kitchen: ----------------------
|
84
|
+
E, [2023-10-04T16:12:00.964592 #637727] ERROR -- Kitchen: ------Backtrace-------
|
85
|
+
E, [2023-10-04T16:12:00.964623 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
86
|
+
E, [2023-10-04T16:12:00.964657 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
87
|
+
E, [2023-10-04T16:12:00.964685 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:484:in `run_command'
|
88
|
+
E, [2023-10-04T16:12:00.964713 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:431:in `run'
|
89
|
+
E, [2023-10-04T16:12:00.964739 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:535:in `run_vagrant_up'
|
90
|
+
E, [2023-10-04T16:12:00.964769 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:119:in `create'
|
91
|
+
E, [2023-10-04T16:12:00.964797 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:495:in `public_send'
|
92
|
+
E, [2023-10-04T16:12:00.964824 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:495:in `block in perform_action'
|
93
|
+
E, [2023-10-04T16:12:00.964855 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:560:in `block in synchronize_or_call'
|
94
|
+
E, [2023-10-04T16:12:00.964884 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:558:in `synchronize'
|
95
|
+
E, [2023-10-04T16:12:00.964911 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:558:in `synchronize_or_call'
|
96
|
+
E, [2023-10-04T16:12:00.964939 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
97
|
+
E, [2023-10-04T16:12:00.964967 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
98
|
+
E, [2023-10-04T16:12:00.964997 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
99
|
+
E, [2023-10-04T16:12:00.965025 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:495:in `perform_action'
|
100
|
+
E, [2023-10-04T16:12:00.965053 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:404:in `create_action'
|
101
|
+
E, [2023-10-04T16:12:00.965079 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
102
|
+
E, [2023-10-04T16:12:00.965107 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
103
|
+
E, [2023-10-04T16:12:00.965135 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
104
|
+
E, [2023-10-04T16:12:00.965162 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
105
|
+
E, [2023-10-04T16:12:00.965190 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
106
|
+
E, [2023-10-04T16:12:00.965223 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
107
|
+
E, [2023-10-04T16:12:00.965250 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
108
|
+
E, [2023-10-04T16:12:00.965283 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
109
|
+
E, [2023-10-04T16:12:00.965310 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
110
|
+
E, [2023-10-04T16:12:00.965336 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
111
|
+
E, [2023-10-04T16:12:00.965363 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
112
|
+
E, [2023-10-04T16:12:00.965395 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
113
|
+
E, [2023-10-04T16:12:00.965436 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
114
|
+
E, [2023-10-04T16:12:00.965486 #637727] ERROR -- Kitchen: ----End Backtrace-----
|
115
|
+
E, [2023-10-04T16:12:00.965527 #637727] ERROR -- Kitchen: ---Nested Exception---
|
116
|
+
E, [2023-10-04T16:12:00.965559 #637727] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
117
|
+
E, [2023-10-04T16:12:00.965586 #637727] ERROR -- Kitchen: Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
118
|
+
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
119
|
+
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
120
|
+
==> default: Importing base box 'bento/ubuntu-20.04'...
|
121
|
+
|
122
|
+
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
123
|
+
for controlling VirtualBox. The command and stderr is shown below.
|
124
|
+
|
125
|
+
Command: ["import", "/home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-20.04-amd64_1696450237308_89608", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696450237308_89608/ubuntu-20.04-amd64-disk001.vmdk"]
|
126
|
+
|
127
|
+
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
128
|
+
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
129
|
+
OK.
|
130
|
+
0%...
|
131
|
+
Progress state: NS_ERROR_INVALID_ARG
|
132
|
+
VBoxManage: error: Appliance import failed
|
133
|
+
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
|
134
|
+
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
135
|
+
---- End output of vagrant up --no-provision --provider virtualbox ----
|
136
|
+
Ran vagrant up --no-provision --provider virtualbox returned 1]
|
137
|
+
E, [2023-10-04T16:12:00.965614 #637727] ERROR -- Kitchen: ----------------------
|
138
|
+
E, [2023-10-04T16:12:00.965641 #637727] ERROR -- Kitchen: ------Backtrace-------
|
139
|
+
E, [2023-10-04T16:12:00.965667 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
140
|
+
E, [2023-10-04T16:12:00.965694 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
141
|
+
E, [2023-10-04T16:12:00.965722 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:484:in `run_command'
|
142
|
+
E, [2023-10-04T16:12:00.965750 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:431:in `run'
|
143
|
+
E, [2023-10-04T16:12:00.965777 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:535:in `run_vagrant_up'
|
144
|
+
E, [2023-10-04T16:12:00.965806 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/kitchen-vagrant-1.12.1/lib/kitchen/driver/vagrant.rb:119:in `create'
|
145
|
+
E, [2023-10-04T16:12:00.965841 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:495:in `public_send'
|
146
|
+
E, [2023-10-04T16:12:00.965877 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:495:in `block in perform_action'
|
147
|
+
E, [2023-10-04T16:12:00.965915 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:560:in `block in synchronize_or_call'
|
148
|
+
E, [2023-10-04T16:12:00.965947 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:558:in `synchronize'
|
149
|
+
E, [2023-10-04T16:12:00.965983 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:558:in `synchronize_or_call'
|
150
|
+
E, [2023-10-04T16:12:00.966011 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
151
|
+
E, [2023-10-04T16:12:00.966041 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
152
|
+
E, [2023-10-04T16:12:00.966072 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
153
|
+
E, [2023-10-04T16:12:00.966103 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:495:in `perform_action'
|
154
|
+
E, [2023-10-04T16:12:00.966133 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:404:in `create_action'
|
155
|
+
E, [2023-10-04T16:12:00.966164 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
156
|
+
E, [2023-10-04T16:12:00.966200 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
157
|
+
E, [2023-10-04T16:12:00.966237 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
158
|
+
E, [2023-10-04T16:12:00.966268 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
159
|
+
E, [2023-10-04T16:12:00.966300 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
160
|
+
E, [2023-10-04T16:12:00.966329 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
161
|
+
E, [2023-10-04T16:12:00.966372 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
162
|
+
E, [2023-10-04T16:12:00.966406 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
163
|
+
E, [2023-10-04T16:12:00.966438 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
164
|
+
E, [2023-10-04T16:12:00.966468 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
165
|
+
E, [2023-10-04T16:12:00.966501 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
166
|
+
E, [2023-10-04T16:12:00.966532 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
167
|
+
E, [2023-10-04T16:12:00.966566 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
168
|
+
E, [2023-10-04T16:12:00.966610 #637727] ERROR -- Kitchen: ----End Backtrace-----
|
169
|
+
E, [2023-10-04T16:12:00.966644 #637727] ERROR -- Kitchen: -Composite Exception--
|
170
|
+
E, [2023-10-04T16:12:00.966675 #637727] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
171
|
+
E, [2023-10-04T16:12:00.966710 #637727] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
172
|
+
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
173
|
+
STDOUT: Installing cookbooks from lock
|
174
|
+
Installing deploy-context 0.1.0
|
175
|
+
STDERR: Error: Failed to install cookbooks from lockfile
|
176
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.1.g62d0477.1.dirty.20231004.161200' does not match 'x.y.z' or 'x.y'
|
177
|
+
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
178
|
+
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-centos-8
|
179
|
+
E, [2023-10-04T16:12:00.966742 #637727] ERROR -- Kitchen: ----------------------
|
180
|
+
E, [2023-10-04T16:12:00.966778 #637727] ERROR -- Kitchen: ------Backtrace-------
|
181
|
+
E, [2023-10-04T16:12:00.966812 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
182
|
+
E, [2023-10-04T16:12:00.966849 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
183
|
+
E, [2023-10-04T16:12:00.966891 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/policyfile.rb:81:in `compile'
|
184
|
+
E, [2023-10-04T16:12:00.966930 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:296:in `block in update_dna_for_policyfile'
|
185
|
+
E, [2023-10-04T16:12:00.966968 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `synchronize'
|
186
|
+
E, [2023-10-04T16:12:00.967011 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `update_dna_for_policyfile'
|
187
|
+
E, [2023-10-04T16:12:00.967047 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:274:in `prepare_json'
|
188
|
+
E, [2023-10-04T16:12:00.967084 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:45:in `populate'
|
189
|
+
E, [2023-10-04T16:12:00.967119 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_base.rb:308:in `create_sandbox'
|
190
|
+
E, [2023-10-04T16:12:00.967154 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_infra.rb:49:in `create_sandbox'
|
191
|
+
E, [2023-10-04T16:12:00.967192 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:72:in `call'
|
192
|
+
E, [2023-10-04T16:12:00.967231 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:419:in `block in converge_action'
|
193
|
+
E, [2023-10-04T16:12:00.967267 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:563:in `synchronize_or_call'
|
194
|
+
E, [2023-10-04T16:12:00.967650 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
195
|
+
E, [2023-10-04T16:12:00.967702 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
196
|
+
E, [2023-10-04T16:12:00.967738 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
197
|
+
E, [2023-10-04T16:12:00.967778 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:414:in `converge_action'
|
198
|
+
E, [2023-10-04T16:12:00.967814 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
199
|
+
E, [2023-10-04T16:12:00.967847 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
200
|
+
E, [2023-10-04T16:12:00.967884 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
201
|
+
E, [2023-10-04T16:12:00.967919 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
202
|
+
E, [2023-10-04T16:12:00.967954 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
203
|
+
E, [2023-10-04T16:12:00.967989 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
204
|
+
E, [2023-10-04T16:12:00.968028 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
205
|
+
E, [2023-10-04T16:12:00.968066 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
206
|
+
E, [2023-10-04T16:12:00.968103 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
207
|
+
E, [2023-10-04T16:12:00.968143 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
208
|
+
E, [2023-10-04T16:12:00.968181 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
209
|
+
E, [2023-10-04T16:12:00.968225 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
210
|
+
E, [2023-10-04T16:12:00.968270 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
211
|
+
E, [2023-10-04T16:12:00.968307 #637727] ERROR -- Kitchen: ----End Backtrace-----
|
212
|
+
E, [2023-10-04T16:12:00.968343 #637727] ERROR -- Kitchen: ---Nested Exception---
|
213
|
+
E, [2023-10-04T16:12:00.968377 #637727] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
214
|
+
E, [2023-10-04T16:12:00.968410 #637727] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
215
|
+
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
216
|
+
STDOUT: Installing cookbooks from lock
|
217
|
+
Installing deploy-context 0.1.0
|
218
|
+
STDERR: Error: Failed to install cookbooks from lockfile
|
219
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.1.g62d0477.1.dirty.20231004.161200' does not match 'x.y.z' or 'x.y'
|
220
|
+
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
221
|
+
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1]
|
222
|
+
E, [2023-10-04T16:12:00.968454 #637727] ERROR -- Kitchen: ----------------------
|
223
|
+
E, [2023-10-04T16:12:00.968490 #637727] ERROR -- Kitchen: ------Backtrace-------
|
224
|
+
E, [2023-10-04T16:12:00.968530 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
225
|
+
E, [2023-10-04T16:12:00.968572 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
226
|
+
E, [2023-10-04T16:12:00.968615 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/policyfile.rb:81:in `compile'
|
227
|
+
E, [2023-10-04T16:12:00.968656 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:296:in `block in update_dna_for_policyfile'
|
228
|
+
E, [2023-10-04T16:12:00.968696 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `synchronize'
|
229
|
+
E, [2023-10-04T16:12:00.968733 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `update_dna_for_policyfile'
|
230
|
+
E, [2023-10-04T16:12:00.968764 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:274:in `prepare_json'
|
231
|
+
E, [2023-10-04T16:12:00.968797 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:45:in `populate'
|
232
|
+
E, [2023-10-04T16:12:00.968829 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_base.rb:308:in `create_sandbox'
|
233
|
+
E, [2023-10-04T16:12:00.968864 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_infra.rb:49:in `create_sandbox'
|
234
|
+
E, [2023-10-04T16:12:00.968896 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:72:in `call'
|
235
|
+
E, [2023-10-04T16:12:00.968929 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:419:in `block in converge_action'
|
236
|
+
E, [2023-10-04T16:12:00.968962 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:563:in `synchronize_or_call'
|
237
|
+
E, [2023-10-04T16:12:00.968995 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
238
|
+
E, [2023-10-04T16:12:00.969028 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
239
|
+
E, [2023-10-04T16:12:00.969060 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
240
|
+
E, [2023-10-04T16:12:00.969094 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:414:in `converge_action'
|
241
|
+
E, [2023-10-04T16:12:00.969130 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
242
|
+
E, [2023-10-04T16:12:00.969164 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
243
|
+
E, [2023-10-04T16:12:00.969197 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
244
|
+
E, [2023-10-04T16:12:00.969229 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
245
|
+
E, [2023-10-04T16:12:00.969262 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
246
|
+
E, [2023-10-04T16:12:00.969308 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
247
|
+
E, [2023-10-04T16:12:00.969342 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
248
|
+
E, [2023-10-04T16:12:00.969374 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
249
|
+
E, [2023-10-04T16:12:00.969409 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
250
|
+
E, [2023-10-04T16:12:00.969442 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
251
|
+
E, [2023-10-04T16:12:00.969473 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
252
|
+
E, [2023-10-04T16:12:00.969504 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
253
|
+
E, [2023-10-04T16:12:00.969535 #637727] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
254
|
+
E, [2023-10-04T16:12:00.969566 #637727] ERROR -- Kitchen: ----End Backtrace-----
|
data/Rakefile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
require_relative '../../
|
2
|
+
require_relative '../../libraries/deploy-context/step_definitions/deploy-context'
|
data/features/support/env.rb
CHANGED
@@ -35,6 +35,30 @@ module Context
|
|
35
35
|
context.log "\n\nExecuting kitchen in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
|
36
36
|
context.kitchen(context)
|
37
37
|
end
|
38
|
+
|
39
|
+
def cookbook_install(context)
|
40
|
+
cookbook_build(context)
|
41
|
+
context.log "\n\nInstalling cookbook in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
|
42
|
+
context.chef(context, %w(install))
|
43
|
+
end
|
44
|
+
|
45
|
+
def cookbook_push(context)
|
46
|
+
cookbook_build(context)
|
47
|
+
context.log "\n\nPushing cookbook in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
|
48
|
+
context.chef(context, %w(push))
|
49
|
+
end
|
50
|
+
|
51
|
+
def clean_file(context, file)
|
52
|
+
clean_folder = context.get_context_folder(context, folder)
|
53
|
+
puts "Clean folder #{clean_folder}"
|
54
|
+
FileUtils.remove_dir(clean_folder) if Dir.exist?(clean_folder)
|
55
|
+
end
|
56
|
+
|
57
|
+
def cookbook_clean(context)
|
58
|
+
cookbook_build(context)
|
59
|
+
context.log "\n\nPushing cookbook in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
|
60
|
+
context.chef(context, %w(push))
|
61
|
+
end
|
38
62
|
end
|
39
63
|
end
|
40
64
|
end
|
@@ -50,7 +50,7 @@ module Context
|
|
50
50
|
# context.cucumber_test(deployer)
|
51
51
|
true
|
52
52
|
else
|
53
|
-
context.error_log "Unknown setting #{action}"
|
53
|
+
context.error_log context.context_name, "Unknown setting #{action}"
|
54
54
|
false
|
55
55
|
end
|
56
56
|
end
|
@@ -58,7 +58,7 @@ module Context
|
|
58
58
|
if state_action
|
59
59
|
context.log "Action #{action} executed correctly in context #{context}"
|
60
60
|
else
|
61
|
-
context.error_log("Failed to execute action #{action} in context #{context}")
|
61
|
+
context.error_log(context.context_name, "Failed to execute action #{action} in context #{context}")
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
@@ -63,10 +63,12 @@ module Context
|
|
63
63
|
|
64
64
|
def commit
|
65
65
|
git_commit(self)
|
66
|
+
cookbook_install(self)
|
66
67
|
end
|
67
68
|
|
68
69
|
def release
|
69
|
-
|
70
|
+
log "\n\nRelease #{context_name} at version #{version}"
|
71
|
+
cookbook_push(self)
|
70
72
|
ruby_release(self)
|
71
73
|
git_release(self)
|
72
74
|
end
|
data/metadata.rb
CHANGED
@@ -1,9 +1,12 @@
|
|
1
|
+
|
2
|
+
require 'git-version-bump'
|
3
|
+
|
1
4
|
name 'deploy-context'
|
2
|
-
maintainer '
|
3
|
-
maintainer_email '
|
5
|
+
maintainer 'Jimmy Provencher'
|
6
|
+
maintainer_email 'jimmy.provencher@hotmail.ca'
|
4
7
|
license 'All Rights Reserved'
|
5
8
|
description 'Installs/Configures deploy-context'
|
6
|
-
version
|
9
|
+
version GVB.version
|
7
10
|
chef_version '>= 16.0'
|
8
11
|
|
9
12
|
# The `issues_url` points to the location where issues for this cookbook are
|
data/recipes/default.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deploy-context
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.35.3.g2abab85.16.g399fb24
|
4
|
+
version: 2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.3.g0fb07cc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -110,18 +110,18 @@ files:
|
|
110
110
|
- features/update_deployer.feature
|
111
111
|
- features/updated_git.feature
|
112
112
|
- kitchen.yml
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
113
|
+
- libraries/context-manager.rb
|
114
|
+
- libraries/deploy-context.rb
|
115
|
+
- libraries/deploy-context/deploy.rb
|
116
|
+
- libraries/deploy-context/deploy/cookbook.rb
|
117
|
+
- libraries/deploy-context/deploy/cucumber.rb
|
118
|
+
- libraries/deploy-context/deploy/deployer.rb
|
119
|
+
- libraries/deploy-context/deploy/git.rb
|
120
|
+
- libraries/deploy-context/deploy/ruby.rb
|
121
|
+
- libraries/deploy-context/helpers/binary.rb
|
122
|
+
- libraries/deploy-context/helpers/command.rb
|
123
|
+
- libraries/deploy-context/helpers/rake_tasks.rb
|
124
|
+
- libraries/deploy-context/step_definitions/deploy-context.rb
|
125
125
|
- metadata.rb
|
126
126
|
- recipes/default.rb
|
127
127
|
- test/integration/default/default_test.rb
|
metadata.gz.sig
CHANGED
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|