deploy-context 2.1.35.3.g2abab85.16.g399fb24.9.g1523b69 → 2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.8.ga24e5ef
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.kitchen/logs/kitchen.log +198 -192
- data/libraries/deploy-context/deploy/cookbook.rb +18 -1
- data/libraries/deploy-context/deploy/deployer.rb +4 -4
- data/libraries/deploy-context/deploy/ruby.rb +2 -2
- data/libraries/deploy-context/deploy.rb +3 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7756c84d02f4c3b4ad962d8acfed52d45aeb8ccfc5486d1e8d048006a9e85119
|
4
|
+
data.tar.gz: db8b24bcbb4681c59db1352dd99cd0f5db74d4bdfc64b5284b3b78f53040441a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f24f883c4079afda87c83feb74b173e55c361a823d53564282e76d1a546764e41abf332f05f786d61ceaec31e142eb9c9461fa963539375bedbd0a74f2eee218
|
7
|
+
data.tar.gz: 668f034f3d3d7b77eb8bff68abf30bd3aeaa5d0b79ced09f2a970dfda22bf7ca838460569cf7cc1ac8fbdc8db03abba8de53c813b51bb8a5e6f10ac66ffb975a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.kitchen/logs/kitchen.log
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
I, [2023-10-04T16:
|
2
|
-
I, [2023-10-04T16:
|
3
|
-
I, [2023-10-04T16:
|
4
|
-
I, [2023-10-04T16:
|
5
|
-
I, [2023-10-04T16:
|
6
|
-
I, [2023-10-04T16:
|
7
|
-
I, [2023-10-04T16:
|
8
|
-
I, [2023-10-04T16:
|
9
|
-
I, [2023-10-04T16:
|
10
|
-
I, [2023-10-04T16:
|
11
|
-
E, [2023-10-04T16:
|
12
|
-
E, [2023-10-04T16:
|
13
|
-
E, [2023-10-04T16:
|
1
|
+
I, [2023-10-04T16:26:35.359906 #657561] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
|
2
|
+
I, [2023-10-04T16:26:36.401054 #657561] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-ubuntu-2004>
|
3
|
+
I, [2023-10-04T16:26:36.401552 #657561] INFO -- Kitchen: -----> Destroying <default-ubuntu-2004>...
|
4
|
+
I, [2023-10-04T16:26:36.402438 #657561] INFO -- Kitchen: -----> Testing <default-ubuntu-2004>
|
5
|
+
I, [2023-10-04T16:26:36.402539 #657561] INFO -- Kitchen: -----> Creating <default-ubuntu-2004>...
|
6
|
+
I, [2023-10-04T16:26:50.764034 #657561] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-centos-8>
|
7
|
+
I, [2023-10-04T16:26:50.764414 #657561] INFO -- Kitchen: -----> Destroying <default-centos-8>...
|
8
|
+
I, [2023-10-04T16:26:56.481131 #657561] INFO -- Kitchen: -----> Testing <default-centos-8>
|
9
|
+
I, [2023-10-04T16:26:56.481259 #657561] INFO -- Kitchen: -----> Creating <default-centos-8>...
|
10
|
+
I, [2023-10-04T16:28:06.638487 #657561] INFO -- Kitchen: -----> Converging <default-centos-8>...
|
11
|
+
E, [2023-10-04T16:28:07.780389 #657561] ERROR -- Kitchen: ------Exception-------
|
12
|
+
E, [2023-10-04T16:28:07.780450 #657561] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
13
|
+
E, [2023-10-04T16:28:07.780489 #657561] ERROR -- Kitchen: Message: 2 actions failed.
|
14
14
|
>>>>>> Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
15
15
|
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
16
16
|
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
17
17
|
==> default: Importing base box 'bento/ubuntu-20.04'...
|
18
|
-
|
18
|
+
|
19
19
|
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
20
20
|
for controlling VirtualBox. The command and stderr is shown below.
|
21
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-
|
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_1696451197780_55174", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696451197780_55174/ubuntu-20.04-amd64-disk001.vmdk"]
|
23
23
|
|
24
24
|
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
25
25
|
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
@@ -33,42 +33,44 @@ VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at l
|
|
33
33
|
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubuntu-2004
|
34
34
|
>>>>>> Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
35
35
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
36
|
-
STDOUT:
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
STDOUT: Building policy deploy-context
|
37
|
+
Expanded run list: recipe[deploy-context::default]
|
38
|
+
Caching Cookbooks...
|
39
|
+
Installing deploy-context >= 0.0.0 from path
|
40
|
+
STDERR: Error: Failed to generate Policyfile.lock
|
41
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.7.g077d9d1.1.dirty.20231004.162807' does not match 'x.y.z' or 'x.y'
|
40
42
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
41
43
|
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:
|
43
|
-
E, [2023-10-04T16:
|
44
|
-
E, [2023-10-04T16:
|
45
|
-
E, [2023-10-04T16:
|
46
|
-
E, [2023-10-04T16:
|
47
|
-
E, [2023-10-04T16:
|
48
|
-
E, [2023-10-04T16:
|
49
|
-
E, [2023-10-04T16:
|
50
|
-
E, [2023-10-04T16:
|
51
|
-
E, [2023-10-04T16:
|
52
|
-
E, [2023-10-04T16:
|
53
|
-
E, [2023-10-04T16:
|
54
|
-
E, [2023-10-04T16:
|
55
|
-
E, [2023-10-04T16:
|
56
|
-
E, [2023-10-04T16:
|
57
|
-
E, [2023-10-04T16:
|
58
|
-
E, [2023-10-04T16:
|
59
|
-
E, [2023-10-04T16:
|
60
|
-
E, [2023-10-04T16:
|
61
|
-
E, [2023-10-04T16:
|
62
|
-
E, [2023-10-04T16:
|
63
|
-
E, [2023-10-04T16:
|
44
|
+
E, [2023-10-04T16:28:07.780528 #657561] ERROR -- Kitchen: ----------------------
|
45
|
+
E, [2023-10-04T16:28:07.780560 #657561] ERROR -- Kitchen: ------Backtrace-------
|
46
|
+
E, [2023-10-04T16:28:07.780603 #657561] 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'
|
47
|
+
E, [2023-10-04T16:28:07.780642 #657561] 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'
|
48
|
+
E, [2023-10-04T16:28:07.780688 #657561] 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'
|
49
|
+
E, [2023-10-04T16:28:07.780725 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
50
|
+
E, [2023-10-04T16:28:07.780757 #657561] 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'
|
51
|
+
E, [2023-10-04T16:28:07.780795 #657561] 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'
|
52
|
+
E, [2023-10-04T16:28:07.780833 #657561] 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'
|
53
|
+
E, [2023-10-04T16:28:07.780873 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
|
54
|
+
E, [2023-10-04T16:28:07.780911 #657561] 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'
|
55
|
+
E, [2023-10-04T16:28:07.780944 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
|
56
|
+
E, [2023-10-04T16:28:07.780980 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
|
57
|
+
E, [2023-10-04T16:28:07.781020 #657561] 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)>'
|
58
|
+
E, [2023-10-04T16:28:07.781056 #657561] 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'
|
59
|
+
E, [2023-10-04T16:28:07.781091 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `<top (required)>'
|
60
|
+
E, [2023-10-04T16:28:07.781129 #657561] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
|
61
|
+
E, [2023-10-04T16:28:07.781166 #657561] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
|
62
|
+
E, [2023-10-04T16:28:07.781200 #657561] ERROR -- Kitchen: ----End Backtrace-----
|
63
|
+
E, [2023-10-04T16:28:07.781234 #657561] ERROR -- Kitchen: -Composite Exception--
|
64
|
+
E, [2023-10-04T16:28:07.781269 #657561] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
65
|
+
E, [2023-10-04T16:28:07.781312 #657561] ERROR -- Kitchen: Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
64
66
|
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
65
67
|
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
66
68
|
==> default: Importing base box 'bento/ubuntu-20.04'...
|
67
|
-
|
69
|
+
|
68
70
|
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
69
71
|
for controlling VirtualBox. The command and stderr is shown below.
|
70
72
|
|
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-
|
73
|
+
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_1696451197780_55174", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696451197780_55174/ubuntu-20.04-amd64-disk001.vmdk"]
|
72
74
|
|
73
75
|
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
74
76
|
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
@@ -80,49 +82,49 @@ VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument val
|
|
80
82
|
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
81
83
|
---- End output of vagrant up --no-provision --provider virtualbox ----
|
82
84
|
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubuntu-2004
|
83
|
-
E, [2023-10-04T16:
|
84
|
-
E, [2023-10-04T16:
|
85
|
-
E, [2023-10-04T16:
|
86
|
-
E, [2023-10-04T16:
|
87
|
-
E, [2023-10-04T16:
|
88
|
-
E, [2023-10-04T16:
|
89
|
-
E, [2023-10-04T16:
|
90
|
-
E, [2023-10-04T16:
|
91
|
-
E, [2023-10-04T16:
|
92
|
-
E, [2023-10-04T16:
|
93
|
-
E, [2023-10-04T16:
|
94
|
-
E, [2023-10-04T16:
|
95
|
-
E, [2023-10-04T16:
|
96
|
-
E, [2023-10-04T16:
|
97
|
-
E, [2023-10-04T16:
|
98
|
-
E, [2023-10-04T16:
|
99
|
-
E, [2023-10-04T16:
|
100
|
-
E, [2023-10-04T16:
|
101
|
-
E, [2023-10-04T16:
|
102
|
-
E, [2023-10-04T16:
|
103
|
-
E, [2023-10-04T16:
|
104
|
-
E, [2023-10-04T16:
|
105
|
-
E, [2023-10-04T16:
|
106
|
-
E, [2023-10-04T16:
|
107
|
-
E, [2023-10-04T16:
|
108
|
-
E, [2023-10-04T16:
|
109
|
-
E, [2023-10-04T16:
|
110
|
-
E, [2023-10-04T16:
|
111
|
-
E, [2023-10-04T16:
|
112
|
-
E, [2023-10-04T16:
|
113
|
-
E, [2023-10-04T16:
|
114
|
-
E, [2023-10-04T16:
|
115
|
-
E, [2023-10-04T16:
|
116
|
-
E, [2023-10-04T16:
|
117
|
-
E, [2023-10-04T16:
|
85
|
+
E, [2023-10-04T16:28:07.781352 #657561] ERROR -- Kitchen: ----------------------
|
86
|
+
E, [2023-10-04T16:28:07.781392 #657561] ERROR -- Kitchen: ------Backtrace-------
|
87
|
+
E, [2023-10-04T16:28:07.781428 #657561] 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'
|
88
|
+
E, [2023-10-04T16:28:07.781469 #657561] 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'
|
89
|
+
E, [2023-10-04T16:28:07.781506 #657561] 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'
|
90
|
+
E, [2023-10-04T16:28:07.781541 #657561] 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'
|
91
|
+
E, [2023-10-04T16:28:07.781575 #657561] 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'
|
92
|
+
E, [2023-10-04T16:28:07.781615 #657561] 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'
|
93
|
+
E, [2023-10-04T16:28:07.781651 #657561] 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'
|
94
|
+
E, [2023-10-04T16:28:07.781687 #657561] 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'
|
95
|
+
E, [2023-10-04T16:28:07.781726 #657561] 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'
|
96
|
+
E, [2023-10-04T16:28:07.781762 #657561] 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'
|
97
|
+
E, [2023-10-04T16:28:07.781797 #657561] 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'
|
98
|
+
E, [2023-10-04T16:28:07.781834 #657561] 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'
|
99
|
+
E, [2023-10-04T16:28:07.781873 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
100
|
+
E, [2023-10-04T16:28:07.781911 #657561] 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'
|
101
|
+
E, [2023-10-04T16:28:07.781944 #657561] 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'
|
102
|
+
E, [2023-10-04T16:28:07.781977 #657561] 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'
|
103
|
+
E, [2023-10-04T16:28:07.782008 #657561] 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'
|
104
|
+
E, [2023-10-04T16:28:07.782041 #657561] 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'
|
105
|
+
E, [2023-10-04T16:28:07.782073 #657561] 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'
|
106
|
+
E, [2023-10-04T16:28:07.782106 #657561] 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'
|
107
|
+
E, [2023-10-04T16:28:07.782139 #657561] 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'
|
108
|
+
E, [2023-10-04T16:28:07.782176 #657561] 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'
|
109
|
+
E, [2023-10-04T16:28:07.782209 #657561] 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'
|
110
|
+
E, [2023-10-04T16:28:07.782249 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
111
|
+
E, [2023-10-04T16:28:07.782284 #657561] 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'
|
112
|
+
E, [2023-10-04T16:28:07.782318 #657561] 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'
|
113
|
+
E, [2023-10-04T16:28:07.782362 #657561] 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'
|
114
|
+
E, [2023-10-04T16:28:07.782403 #657561] 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'
|
115
|
+
E, [2023-10-04T16:28:07.782437 #657561] 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'
|
116
|
+
E, [2023-10-04T16:28:07.782474 #657561] ERROR -- Kitchen: ----End Backtrace-----
|
117
|
+
E, [2023-10-04T16:28:07.782505 #657561] ERROR -- Kitchen: ---Nested Exception---
|
118
|
+
E, [2023-10-04T16:28:07.782536 #657561] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
119
|
+
E, [2023-10-04T16:28:07.782567 #657561] ERROR -- Kitchen: Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
118
120
|
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
119
121
|
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
120
122
|
==> default: Importing base box 'bento/ubuntu-20.04'...
|
121
|
-
|
123
|
+
|
122
124
|
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
123
125
|
for controlling VirtualBox. The command and stderr is shown below.
|
124
126
|
|
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-
|
127
|
+
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_1696451197780_55174", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696451197780_55174/ubuntu-20.04-amd64-disk001.vmdk"]
|
126
128
|
|
127
129
|
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
128
130
|
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
@@ -134,121 +136,125 @@ VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument val
|
|
134
136
|
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
135
137
|
---- End output of vagrant up --no-provision --provider virtualbox ----
|
136
138
|
Ran vagrant up --no-provision --provider virtualbox returned 1]
|
137
|
-
E, [2023-10-04T16:
|
138
|
-
E, [2023-10-04T16:
|
139
|
-
E, [2023-10-04T16:
|
140
|
-
E, [2023-10-04T16:
|
141
|
-
E, [2023-10-04T16:
|
142
|
-
E, [2023-10-04T16:
|
143
|
-
E, [2023-10-04T16:
|
144
|
-
E, [2023-10-04T16:
|
145
|
-
E, [2023-10-04T16:
|
146
|
-
E, [2023-10-04T16:
|
147
|
-
E, [2023-10-04T16:
|
148
|
-
E, [2023-10-04T16:
|
149
|
-
E, [2023-10-04T16:
|
150
|
-
E, [2023-10-04T16:
|
151
|
-
E, [2023-10-04T16:
|
152
|
-
E, [2023-10-04T16:
|
153
|
-
E, [2023-10-04T16:
|
154
|
-
E, [2023-10-04T16:
|
155
|
-
E, [2023-10-04T16:
|
156
|
-
E, [2023-10-04T16:
|
157
|
-
E, [2023-10-04T16:
|
158
|
-
E, [2023-10-04T16:
|
159
|
-
E, [2023-10-04T16:
|
160
|
-
E, [2023-10-04T16:
|
161
|
-
E, [2023-10-04T16:
|
162
|
-
E, [2023-10-04T16:
|
163
|
-
E, [2023-10-04T16:
|
164
|
-
E, [2023-10-04T16:
|
165
|
-
E, [2023-10-04T16:
|
166
|
-
E, [2023-10-04T16:
|
167
|
-
E, [2023-10-04T16:
|
168
|
-
E, [2023-10-04T16:
|
169
|
-
E, [2023-10-04T16:
|
170
|
-
E, [2023-10-04T16:
|
171
|
-
E, [2023-10-04T16:
|
139
|
+
E, [2023-10-04T16:28:07.782599 #657561] ERROR -- Kitchen: ----------------------
|
140
|
+
E, [2023-10-04T16:28:07.782631 #657561] ERROR -- Kitchen: ------Backtrace-------
|
141
|
+
E, [2023-10-04T16:28:07.782662 #657561] 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'
|
142
|
+
E, [2023-10-04T16:28:07.782696 #657561] 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'
|
143
|
+
E, [2023-10-04T16:28:07.782732 #657561] 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'
|
144
|
+
E, [2023-10-04T16:28:07.782765 #657561] 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'
|
145
|
+
E, [2023-10-04T16:28:07.782797 #657561] 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'
|
146
|
+
E, [2023-10-04T16:28:07.782833 #657561] 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'
|
147
|
+
E, [2023-10-04T16:28:07.782874 #657561] 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'
|
148
|
+
E, [2023-10-04T16:28:07.782911 #657561] 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'
|
149
|
+
E, [2023-10-04T16:28:07.782950 #657561] 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'
|
150
|
+
E, [2023-10-04T16:28:07.782986 #657561] 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'
|
151
|
+
E, [2023-10-04T16:28:07.783024 #657561] 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'
|
152
|
+
E, [2023-10-04T16:28:07.783061 #657561] 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'
|
153
|
+
E, [2023-10-04T16:28:07.783097 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
154
|
+
E, [2023-10-04T16:28:07.783132 #657561] 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'
|
155
|
+
E, [2023-10-04T16:28:07.783163 #657561] 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'
|
156
|
+
E, [2023-10-04T16:28:07.783198 #657561] 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'
|
157
|
+
E, [2023-10-04T16:28:07.783230 #657561] 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'
|
158
|
+
E, [2023-10-04T16:28:07.783266 #657561] 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'
|
159
|
+
E, [2023-10-04T16:28:07.783308 #657561] 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'
|
160
|
+
E, [2023-10-04T16:28:07.783341 #657561] 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'
|
161
|
+
E, [2023-10-04T16:28:07.783373 #657561] 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'
|
162
|
+
E, [2023-10-04T16:28:07.783395 #657561] 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'
|
163
|
+
E, [2023-10-04T16:28:07.783424 #657561] 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'
|
164
|
+
E, [2023-10-04T16:28:07.783455 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
165
|
+
E, [2023-10-04T16:28:07.783479 #657561] 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'
|
166
|
+
E, [2023-10-04T16:28:07.783504 #657561] 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'
|
167
|
+
E, [2023-10-04T16:28:07.783530 #657561] 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'
|
168
|
+
E, [2023-10-04T16:28:07.783554 #657561] 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'
|
169
|
+
E, [2023-10-04T16:28:07.783578 #657561] 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'
|
170
|
+
E, [2023-10-04T16:28:07.783608 #657561] ERROR -- Kitchen: ----End Backtrace-----
|
171
|
+
E, [2023-10-04T16:28:07.783633 #657561] ERROR -- Kitchen: -Composite Exception--
|
172
|
+
E, [2023-10-04T16:28:07.783656 #657561] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
173
|
+
E, [2023-10-04T16:28:07.783683 #657561] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
172
174
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
173
|
-
STDOUT:
|
174
|
-
|
175
|
-
|
176
|
-
|
175
|
+
STDOUT: Building policy deploy-context
|
176
|
+
Expanded run list: recipe[deploy-context::default]
|
177
|
+
Caching Cookbooks...
|
178
|
+
Installing deploy-context >= 0.0.0 from path
|
179
|
+
STDERR: Error: Failed to generate Policyfile.lock
|
180
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.7.g077d9d1.1.dirty.20231004.162807' does not match 'x.y.z' or 'x.y'
|
177
181
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
178
182
|
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:
|
180
|
-
E, [2023-10-04T16:
|
181
|
-
E, [2023-10-04T16:
|
182
|
-
E, [2023-10-04T16:
|
183
|
-
E, [2023-10-04T16:
|
184
|
-
E, [2023-10-04T16:
|
185
|
-
E, [2023-10-04T16:
|
186
|
-
E, [2023-10-04T16:
|
187
|
-
E, [2023-10-04T16:
|
188
|
-
E, [2023-10-04T16:
|
189
|
-
E, [2023-10-04T16:
|
190
|
-
E, [2023-10-04T16:
|
191
|
-
E, [2023-10-04T16:
|
192
|
-
E, [2023-10-04T16:
|
193
|
-
E, [2023-10-04T16:
|
194
|
-
E, [2023-10-04T16:
|
195
|
-
E, [2023-10-04T16:
|
196
|
-
E, [2023-10-04T16:
|
197
|
-
E, [2023-10-04T16:
|
198
|
-
E, [2023-10-04T16:
|
199
|
-
E, [2023-10-04T16:
|
200
|
-
E, [2023-10-04T16:
|
201
|
-
E, [2023-10-04T16:
|
202
|
-
E, [2023-10-04T16:
|
203
|
-
E, [2023-10-04T16:
|
204
|
-
E, [2023-10-04T16:
|
205
|
-
E, [2023-10-04T16:
|
206
|
-
E, [2023-10-04T16:
|
207
|
-
E, [2023-10-04T16:
|
208
|
-
E, [2023-10-04T16:
|
209
|
-
E, [2023-10-04T16:
|
210
|
-
E, [2023-10-04T16:
|
211
|
-
E, [2023-10-04T16:
|
212
|
-
E, [2023-10-04T16:
|
213
|
-
E, [2023-10-04T16:
|
214
|
-
E, [2023-10-04T16:
|
183
|
+
E, [2023-10-04T16:28:07.783714 #657561] ERROR -- Kitchen: ----------------------
|
184
|
+
E, [2023-10-04T16:28:07.783740 #657561] ERROR -- Kitchen: ------Backtrace-------
|
185
|
+
E, [2023-10-04T16:28:07.783762 #657561] 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'
|
186
|
+
E, [2023-10-04T16:28:07.783784 #657561] 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'
|
187
|
+
E, [2023-10-04T16:28:07.783807 #657561] 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'
|
188
|
+
E, [2023-10-04T16:28:07.783832 #657561] 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'
|
189
|
+
E, [2023-10-04T16:28:07.783869 #657561] 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'
|
190
|
+
E, [2023-10-04T16:28:07.783906 #657561] 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'
|
191
|
+
E, [2023-10-04T16:28:07.783942 #657561] 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'
|
192
|
+
E, [2023-10-04T16:28:07.783983 #657561] 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'
|
193
|
+
E, [2023-10-04T16:28:07.784022 #657561] 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'
|
194
|
+
E, [2023-10-04T16:28:07.784059 #657561] 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'
|
195
|
+
E, [2023-10-04T16:28:07.784094 #657561] 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'
|
196
|
+
E, [2023-10-04T16:28:07.784132 #657561] 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'
|
197
|
+
E, [2023-10-04T16:28:07.784169 #657561] 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'
|
198
|
+
E, [2023-10-04T16:28:07.784207 #657561] 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'
|
199
|
+
E, [2023-10-04T16:28:07.784250 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
200
|
+
E, [2023-10-04T16:28:07.784697 #657561] 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'
|
201
|
+
E, [2023-10-04T16:28:07.784733 #657561] 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'
|
202
|
+
E, [2023-10-04T16:28:07.784766 #657561] 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'
|
203
|
+
E, [2023-10-04T16:28:07.784799 #657561] 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'
|
204
|
+
E, [2023-10-04T16:28:07.784836 #657561] 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'
|
205
|
+
E, [2023-10-04T16:28:07.784873 #657561] 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'
|
206
|
+
E, [2023-10-04T16:28:07.784910 #657561] 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'
|
207
|
+
E, [2023-10-04T16:28:07.784945 #657561] 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'
|
208
|
+
E, [2023-10-04T16:28:07.784982 #657561] 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'
|
209
|
+
E, [2023-10-04T16:28:07.785019 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
210
|
+
E, [2023-10-04T16:28:07.785054 #657561] 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'
|
211
|
+
E, [2023-10-04T16:28:07.785091 #657561] 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'
|
212
|
+
E, [2023-10-04T16:28:07.785127 #657561] 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'
|
213
|
+
E, [2023-10-04T16:28:07.785163 #657561] 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'
|
214
|
+
E, [2023-10-04T16:28:07.785200 #657561] 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'
|
215
|
+
E, [2023-10-04T16:28:07.785236 #657561] ERROR -- Kitchen: ----End Backtrace-----
|
216
|
+
E, [2023-10-04T16:28:07.785271 #657561] ERROR -- Kitchen: ---Nested Exception---
|
217
|
+
E, [2023-10-04T16:28:07.785305 #657561] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
218
|
+
E, [2023-10-04T16:28:07.785340 #657561] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
215
219
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
216
|
-
STDOUT:
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
+
STDOUT: Building policy deploy-context
|
221
|
+
Expanded run list: recipe[deploy-context::default]
|
222
|
+
Caching Cookbooks...
|
223
|
+
Installing deploy-context >= 0.0.0 from path
|
224
|
+
STDERR: Error: Failed to generate Policyfile.lock
|
225
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.7.g077d9d1.1.dirty.20231004.162807' does not match 'x.y.z' or 'x.y'
|
220
226
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
221
227
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1]
|
222
|
-
E, [2023-10-04T16:
|
223
|
-
E, [2023-10-04T16:
|
224
|
-
E, [2023-10-04T16:
|
225
|
-
E, [2023-10-04T16:
|
226
|
-
E, [2023-10-04T16:
|
227
|
-
E, [2023-10-04T16:
|
228
|
-
E, [2023-10-04T16:
|
229
|
-
E, [2023-10-04T16:
|
230
|
-
E, [2023-10-04T16:
|
231
|
-
E, [2023-10-04T16:
|
232
|
-
E, [2023-10-04T16:
|
233
|
-
E, [2023-10-04T16:
|
234
|
-
E, [2023-10-04T16:
|
235
|
-
E, [2023-10-04T16:
|
236
|
-
E, [2023-10-04T16:
|
237
|
-
E, [2023-10-04T16:
|
238
|
-
E, [2023-10-04T16:
|
239
|
-
E, [2023-10-04T16:
|
240
|
-
E, [2023-10-04T16:
|
241
|
-
E, [2023-10-04T16:
|
242
|
-
E, [2023-10-04T16:
|
243
|
-
E, [2023-10-04T16:
|
244
|
-
E, [2023-10-04T16:
|
245
|
-
E, [2023-10-04T16:
|
246
|
-
E, [2023-10-04T16:
|
247
|
-
E, [2023-10-04T16:
|
248
|
-
E, [2023-10-04T16:
|
249
|
-
E, [2023-10-04T16:
|
250
|
-
E, [2023-10-04T16:
|
251
|
-
E, [2023-10-04T16:
|
252
|
-
E, [2023-10-04T16:
|
253
|
-
E, [2023-10-04T16:
|
254
|
-
E, [2023-10-04T16:
|
228
|
+
E, [2023-10-04T16:28:07.785383 #657561] ERROR -- Kitchen: ----------------------
|
229
|
+
E, [2023-10-04T16:28:07.785412 #657561] ERROR -- Kitchen: ------Backtrace-------
|
230
|
+
E, [2023-10-04T16:28:07.785439 #657561] 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'
|
231
|
+
E, [2023-10-04T16:28:07.785467 #657561] 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'
|
232
|
+
E, [2023-10-04T16:28:07.785501 #657561] 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'
|
233
|
+
E, [2023-10-04T16:28:07.785539 #657561] 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'
|
234
|
+
E, [2023-10-04T16:28:07.785572 #657561] 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'
|
235
|
+
E, [2023-10-04T16:28:07.785607 #657561] 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'
|
236
|
+
E, [2023-10-04T16:28:07.785643 #657561] 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'
|
237
|
+
E, [2023-10-04T16:28:07.785680 #657561] 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'
|
238
|
+
E, [2023-10-04T16:28:07.785714 #657561] 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'
|
239
|
+
E, [2023-10-04T16:28:07.785748 #657561] 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'
|
240
|
+
E, [2023-10-04T16:28:07.785783 #657561] 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'
|
241
|
+
E, [2023-10-04T16:28:07.785824 #657561] 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'
|
242
|
+
E, [2023-10-04T16:28:07.785859 #657561] 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'
|
243
|
+
E, [2023-10-04T16:28:07.785893 #657561] 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'
|
244
|
+
E, [2023-10-04T16:28:07.785927 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
245
|
+
E, [2023-10-04T16:28:07.785961 #657561] 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'
|
246
|
+
E, [2023-10-04T16:28:07.785996 #657561] 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'
|
247
|
+
E, [2023-10-04T16:28:07.786030 #657561] 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'
|
248
|
+
E, [2023-10-04T16:28:07.786064 #657561] 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'
|
249
|
+
E, [2023-10-04T16:28:07.786103 #657561] 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'
|
250
|
+
E, [2023-10-04T16:28:07.786139 #657561] 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'
|
251
|
+
E, [2023-10-04T16:28:07.786180 #657561] 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'
|
252
|
+
E, [2023-10-04T16:28:07.786214 #657561] 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'
|
253
|
+
E, [2023-10-04T16:28:07.786250 #657561] 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'
|
254
|
+
E, [2023-10-04T16:28:07.786286 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
255
|
+
E, [2023-10-04T16:28:07.786320 #657561] 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'
|
256
|
+
E, [2023-10-04T16:28:07.786362 #657561] 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'
|
257
|
+
E, [2023-10-04T16:28:07.786403 #657561] 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'
|
258
|
+
E, [2023-10-04T16:28:07.786429 #657561] 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'
|
259
|
+
E, [2023-10-04T16:28:07.786455 #657561] 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'
|
260
|
+
E, [2023-10-04T16:28:07.786489 #657561] ERROR -- Kitchen: ----End Backtrace-----
|
@@ -33,15 +33,32 @@ module Context
|
|
33
33
|
def cookbook_test(context)
|
34
34
|
cookbook_build(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
|
-
context.chef(context, %w(install))
|
37
36
|
context.kitchen(context)
|
38
37
|
end
|
39
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
|
+
|
40
45
|
def cookbook_push(context)
|
41
46
|
cookbook_build(context)
|
42
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}"
|
43
48
|
context.chef(context, %w(push))
|
44
49
|
end
|
50
|
+
|
51
|
+
def clean_file(context, file)
|
52
|
+
clean_file = context.get_context_file(context, file)
|
53
|
+
puts "Clean file #{clean_file}"
|
54
|
+
FileUtils.rm(clean_file) if File.exist?(clean_file)
|
55
|
+
end
|
56
|
+
|
57
|
+
def cookbook_clean(context)
|
58
|
+
cookbook_build(context)
|
59
|
+
context.log "\n\nCleaningcookbook in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
|
60
|
+
clean_file(context, 'Policyfile.lock.json')
|
61
|
+
end
|
45
62
|
end
|
46
63
|
end
|
47
64
|
end
|
@@ -1,16 +1,16 @@
|
|
1
1
|
module Context
|
2
2
|
module DeployHelpers
|
3
3
|
module DeployerHelper
|
4
|
-
def
|
5
|
-
File.join(context.context_folder,
|
4
|
+
def get_context_file(context, file)
|
5
|
+
File.join(context.context_folder, file)
|
6
6
|
end
|
7
7
|
|
8
8
|
def build_folder(context)
|
9
|
-
context.
|
9
|
+
context.get_context_file(context, 'build')
|
10
10
|
end
|
11
11
|
|
12
12
|
def contexts_container(context)
|
13
|
-
context.
|
13
|
+
context.get_context_file(context, 'contexts')
|
14
14
|
end
|
15
15
|
|
16
16
|
def execute_action(context, action)
|
@@ -14,7 +14,7 @@ module Context
|
|
14
14
|
def ruby_build(context)
|
15
15
|
context.git_build(context)
|
16
16
|
context.log "Working in folder #{Dir.pwd}\nAnd context #{context.context_name} is created"
|
17
|
-
check_folder
|
17
|
+
check_folder get_context_file(context, 'build')
|
18
18
|
end
|
19
19
|
|
20
20
|
def ruby_release(context)
|
@@ -30,7 +30,7 @@ module Context
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def clean_folder(context, folder)
|
33
|
-
clean_folder = context.
|
33
|
+
clean_folder = context.get_context_file(context, folder)
|
34
34
|
puts "Clean folder #{clean_folder}"
|
35
35
|
FileUtils.remove_dir(clean_folder) if Dir.exist?(clean_folder)
|
36
36
|
end
|
@@ -58,11 +58,12 @@ module Context
|
|
58
58
|
def build
|
59
59
|
ruby_build(self)
|
60
60
|
cookbook_build(self)
|
61
|
-
check_folder
|
61
|
+
check_folder get_context_file(self, 'contexts')
|
62
62
|
end
|
63
63
|
|
64
64
|
def commit
|
65
65
|
git_commit(self)
|
66
|
+
cookbook_install(self)
|
66
67
|
end
|
67
68
|
|
68
69
|
def release
|
@@ -79,6 +80,7 @@ module Context
|
|
79
80
|
def clean
|
80
81
|
clean_folder(self, 'contexts')
|
81
82
|
ruby_clean(self)
|
83
|
+
cookbook_clean(self)
|
82
84
|
end
|
83
85
|
|
84
86
|
def show_new_version(level)
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|