deploy-context 2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.3.g0fb07cc → 2.1.37.6.gec1e116
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 +183 -183
- data/libraries/deploy-context/deploy/cookbook.rb +6 -6
- data/libraries/deploy-context/deploy/deployer.rb +26 -8
- data/libraries/deploy-context/deploy/ruby.rb +2 -2
- data/libraries/deploy-context/deploy.rb +2 -1
- data/libraries/deploy-context/helpers/rake_tasks.rb +6 -2
- data/libraries/deploy-context/step_definitions/deploy-context.rb +2 -2
- data/recipes/default.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -3
- metadata.gz.sig +0 -0
- data/deploy-context.feature.disable +0 -22
- data/deploy-context.old +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 797a6af782dbef06778e563796a4a79261475b6734459e8ec48dd7d0537a402e
|
4
|
+
data.tar.gz: bb6bd49fc009a4ae63e78ea16a58c22cd20c6c22e7733a066513332aad98f79b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1c815dc416a9edccab0b7d63753e939ea00c85d0da9951f8e044be8e90e626b04cde9245dddcab15b646ca73d2296285a0beb3c7e4068dc371bd5db39522737
|
7
|
+
data.tar.gz: d081073bb64fe9fc25ba0381a274248292202b540f38b011c0fee4f727357acdd4c0a4e58b48bdbbbe88cfb17e5c0d2ce72b12ea7570d478b599c2e5701b28b3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.kitchen/logs/kitchen.log
CHANGED
@@ -1,16 +1,16 @@
|
|
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
|
-
E, [2023-10-
|
12
|
-
E, [2023-10-
|
13
|
-
E, [2023-10-
|
1
|
+
I, [2023-10-04T17:03:32.212049 #696377] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
|
2
|
+
I, [2023-10-04T17:03:33.242857 #696377] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-ubuntu-2004>
|
3
|
+
I, [2023-10-04T17:03:33.243313 #696377] INFO -- Kitchen: -----> Destroying <default-ubuntu-2004>...
|
4
|
+
I, [2023-10-04T17:03:33.244282 #696377] INFO -- Kitchen: -----> Testing <default-ubuntu-2004>
|
5
|
+
I, [2023-10-04T17:03:33.244443 #696377] INFO -- Kitchen: -----> Creating <default-ubuntu-2004>...
|
6
|
+
I, [2023-10-04T17:03:49.184436 #696377] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-centos-8>
|
7
|
+
I, [2023-10-04T17:03:49.184935 #696377] INFO -- Kitchen: -----> Destroying <default-centos-8>...
|
8
|
+
I, [2023-10-04T17:03:54.255188 #696377] INFO -- Kitchen: -----> Testing <default-centos-8>
|
9
|
+
I, [2023-10-04T17:03:54.255304 #696377] INFO -- Kitchen: -----> Creating <default-centos-8>...
|
10
|
+
I, [2023-10-04T17:05:00.953282 #696377] INFO -- Kitchen: -----> Converging <default-centos-8>...
|
11
|
+
E, [2023-10-04T17:05:02.135508 #696377] ERROR -- Kitchen: ------Exception-------
|
12
|
+
E, [2023-10-04T17:05:02.135597 #696377] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
13
|
+
E, [2023-10-04T17:05:02.135640 #696377] 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...
|
@@ -19,7 +19,7 @@ STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
|
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_1696453414560_13850", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696453414560_13850/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...
|
@@ -34,33 +34,33 @@ Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubunt
|
|
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
36
|
STDOUT: Installing cookbooks from lock
|
37
|
-
Installing deploy-context
|
37
|
+
Installing deploy-context 2.1.37
|
38
38
|
STDERR: Error: Failed to install cookbooks from lockfile
|
39
|
-
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.
|
39
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.4.ga5abd0e.1.dirty.20231004.170502' does not match 'x.y.z' or 'x.y'
|
40
40
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
41
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-
|
43
|
-
E, [2023-10-
|
44
|
-
E, [2023-10-
|
45
|
-
E, [2023-10-
|
46
|
-
E, [2023-10-
|
47
|
-
E, [2023-10-
|
48
|
-
E, [2023-10-
|
49
|
-
E, [2023-10-
|
50
|
-
E, [2023-10-
|
51
|
-
E, [2023-10-
|
52
|
-
E, [2023-10-
|
53
|
-
E, [2023-10-
|
54
|
-
E, [2023-10-
|
55
|
-
E, [2023-10-
|
56
|
-
E, [2023-10-
|
57
|
-
E, [2023-10-
|
58
|
-
E, [2023-10-
|
59
|
-
E, [2023-10-
|
60
|
-
E, [2023-10-
|
61
|
-
E, [2023-10-
|
62
|
-
E, [2023-10-
|
63
|
-
E, [2023-10-
|
42
|
+
E, [2023-10-04T17:05:02.135687 #696377] ERROR -- Kitchen: ----------------------
|
43
|
+
E, [2023-10-04T17:05:02.135727 #696377] ERROR -- Kitchen: ------Backtrace-------
|
44
|
+
E, [2023-10-04T17:05:02.135770 #696377] 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-04T17:05:02.135812 #696377] 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-04T17:05:02.135856 #696377] 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-04T17:05:02.135919 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
48
|
+
E, [2023-10-04T17:05:02.135964 #696377] 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-04T17:05:02.136005 #696377] 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-04T17:05:02.136048 #696377] 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-04T17:05:02.136090 #696377] 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-04T17:05:02.136130 #696377] 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-04T17:05:02.136171 #696377] 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-04T17:05:02.136213 #696377] 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-04T17:05:02.136255 #696377] 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-04T17:05:02.136294 #696377] 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-04T17:05:02.136331 #696377] 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-04T17:05:02.136370 #696377] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
|
59
|
+
E, [2023-10-04T17:05:02.136409 #696377] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
|
60
|
+
E, [2023-10-04T17:05:02.136448 #696377] ERROR -- Kitchen: ----End Backtrace-----
|
61
|
+
E, [2023-10-04T17:05:02.136487 #696377] ERROR -- Kitchen: -Composite Exception--
|
62
|
+
E, [2023-10-04T17:05:02.136525 #696377] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
63
|
+
E, [2023-10-04T17:05:02.136569 #696377] ERROR -- Kitchen: Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
64
64
|
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
65
65
|
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
66
66
|
==> default: Importing base box 'bento/ubuntu-20.04'...
|
@@ -68,7 +68,7 @@ STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
|
68
68
|
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
69
69
|
for controlling VirtualBox. The command and stderr is shown below.
|
70
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-
|
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_1696453414560_13850", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696453414560_13850/ubuntu-20.04-amd64-disk001.vmdk"]
|
72
72
|
|
73
73
|
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
74
74
|
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
@@ -80,41 +80,41 @@ VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument val
|
|
80
80
|
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
81
81
|
---- End output of vagrant up --no-provision --provider virtualbox ----
|
82
82
|
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubuntu-2004
|
83
|
-
E, [2023-10-
|
84
|
-
E, [2023-10-
|
85
|
-
E, [2023-10-
|
86
|
-
E, [2023-10-
|
87
|
-
E, [2023-10-
|
88
|
-
E, [2023-10-
|
89
|
-
E, [2023-10-
|
90
|
-
E, [2023-10-
|
91
|
-
E, [2023-10-
|
92
|
-
E, [2023-10-
|
93
|
-
E, [2023-10-
|
94
|
-
E, [2023-10-
|
95
|
-
E, [2023-10-
|
96
|
-
E, [2023-10-
|
97
|
-
E, [2023-10-
|
98
|
-
E, [2023-10-
|
99
|
-
E, [2023-10-
|
100
|
-
E, [2023-10-
|
101
|
-
E, [2023-10-
|
102
|
-
E, [2023-10-
|
103
|
-
E, [2023-10-
|
104
|
-
E, [2023-10-
|
105
|
-
E, [2023-10-
|
106
|
-
E, [2023-10-
|
107
|
-
E, [2023-10-
|
108
|
-
E, [2023-10-
|
109
|
-
E, [2023-10-
|
110
|
-
E, [2023-10-
|
111
|
-
E, [2023-10-
|
112
|
-
E, [2023-10-
|
113
|
-
E, [2023-10-
|
114
|
-
E, [2023-10-
|
115
|
-
E, [2023-10-
|
116
|
-
E, [2023-10-
|
117
|
-
E, [2023-10-
|
83
|
+
E, [2023-10-04T17:05:02.136611 #696377] ERROR -- Kitchen: ----------------------
|
84
|
+
E, [2023-10-04T17:05:02.136650 #696377] ERROR -- Kitchen: ------Backtrace-------
|
85
|
+
E, [2023-10-04T17:05:02.136687 #696377] 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-04T17:05:02.136739 #696377] 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-04T17:05:02.136782 #696377] 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-04T17:05:02.136824 #696377] 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-04T17:05:02.136863 #696377] 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-04T17:05:02.136907 #696377] 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-04T17:05:02.136948 #696377] 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-04T17:05:02.136998 #696377] 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-04T17:05:02.137040 #696377] 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-04T17:05:02.137085 #696377] 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-04T17:05:02.137129 #696377] 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-04T17:05:02.137171 #696377] 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-04T17:05:02.137212 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
98
|
+
E, [2023-10-04T17:05:02.137256 #696377] 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-04T17:05:02.137297 #696377] 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-04T17:05:02.137337 #696377] 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-04T17:05:02.137378 #696377] 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-04T17:05:02.137418 #696377] 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-04T17:05:02.137459 #696377] 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-04T17:05:02.137498 #696377] 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-04T17:05:02.137543 #696377] 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-04T17:05:02.137596 #696377] 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-04T17:05:02.137642 #696377] 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-04T17:05:02.137698 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
109
|
+
E, [2023-10-04T17:05:02.137746 #696377] 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-04T17:05:02.137789 #696377] 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-04T17:05:02.137830 #696377] 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-04T17:05:02.137873 #696377] 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-04T17:05:02.137915 #696377] 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-04T17:05:02.137958 #696377] ERROR -- Kitchen: ----End Backtrace-----
|
115
|
+
E, [2023-10-04T17:05:02.137998 #696377] ERROR -- Kitchen: ---Nested Exception---
|
116
|
+
E, [2023-10-04T17:05:02.138039 #696377] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
117
|
+
E, [2023-10-04T17:05:02.138082 #696377] ERROR -- Kitchen: Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
|
118
118
|
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
119
119
|
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
120
120
|
==> default: Importing base box 'bento/ubuntu-20.04'...
|
@@ -122,7 +122,7 @@ STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
|
122
122
|
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
123
123
|
for controlling VirtualBox. The command and stderr is shown below.
|
124
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-
|
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_1696453414560_13850", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696453414560_13850/ubuntu-20.04-amd64-disk001.vmdk"]
|
126
126
|
|
127
127
|
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
128
128
|
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
@@ -134,121 +134,121 @@ VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument val
|
|
134
134
|
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
135
135
|
---- End output of vagrant up --no-provision --provider virtualbox ----
|
136
136
|
Ran vagrant up --no-provision --provider virtualbox returned 1]
|
137
|
-
E, [2023-10-
|
138
|
-
E, [2023-10-
|
139
|
-
E, [2023-10-
|
140
|
-
E, [2023-10-
|
141
|
-
E, [2023-10-
|
142
|
-
E, [2023-10-
|
143
|
-
E, [2023-10-
|
144
|
-
E, [2023-10-
|
145
|
-
E, [2023-10-
|
146
|
-
E, [2023-10-
|
147
|
-
E, [2023-10-
|
148
|
-
E, [2023-10-
|
149
|
-
E, [2023-10-
|
150
|
-
E, [2023-10-
|
151
|
-
E, [2023-10-
|
152
|
-
E, [2023-10-
|
153
|
-
E, [2023-10-
|
154
|
-
E, [2023-10-
|
155
|
-
E, [2023-10-
|
156
|
-
E, [2023-10-
|
157
|
-
E, [2023-10-
|
158
|
-
E, [2023-10-
|
159
|
-
E, [2023-10-
|
160
|
-
E, [2023-10-
|
161
|
-
E, [2023-10-
|
162
|
-
E, [2023-10-
|
163
|
-
E, [2023-10-
|
164
|
-
E, [2023-10-
|
165
|
-
E, [2023-10-
|
166
|
-
E, [2023-10-
|
167
|
-
E, [2023-10-
|
168
|
-
E, [2023-10-
|
169
|
-
E, [2023-10-
|
170
|
-
E, [2023-10-
|
171
|
-
E, [2023-10-
|
137
|
+
E, [2023-10-04T17:05:02.138122 #696377] ERROR -- Kitchen: ----------------------
|
138
|
+
E, [2023-10-04T17:05:02.138161 #696377] ERROR -- Kitchen: ------Backtrace-------
|
139
|
+
E, [2023-10-04T17:05:02.138200 #696377] 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-04T17:05:02.138241 #696377] 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-04T17:05:02.138286 #696377] 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-04T17:05:02.138326 #696377] 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-04T17:05:02.138382 #696377] 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-04T17:05:02.138426 #696377] 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-04T17:05:02.138478 #696377] 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-04T17:05:02.138522 #696377] 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-04T17:05:02.138563 #696377] 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-04T17:05:02.138603 #696377] 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-04T17:05:02.138651 #696377] 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-04T17:05:02.138692 #696377] 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-04T17:05:02.138733 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
152
|
+
E, [2023-10-04T17:05:02.138777 #696377] 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-04T17:05:02.138820 #696377] 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-04T17:05:02.138863 #696377] 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-04T17:05:02.138911 #696377] 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-04T17:05:02.138953 #696377] 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-04T17:05:02.139004 #696377] 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-04T17:05:02.139047 #696377] 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-04T17:05:02.139092 #696377] 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-04T17:05:02.139133 #696377] 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-04T17:05:02.139174 #696377] 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-04T17:05:02.139216 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
163
|
+
E, [2023-10-04T17:05:02.139260 #696377] 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-04T17:05:02.139745 #696377] 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-04T17:05:02.139790 #696377] 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-04T17:05:02.139830 #696377] 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-04T17:05:02.139869 #696377] 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-04T17:05:02.139919 #696377] ERROR -- Kitchen: ----End Backtrace-----
|
169
|
+
E, [2023-10-04T17:05:02.139960 #696377] ERROR -- Kitchen: -Composite Exception--
|
170
|
+
E, [2023-10-04T17:05:02.139996 #696377] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
171
|
+
E, [2023-10-04T17:05:02.140034 #696377] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
172
172
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
173
173
|
STDOUT: Installing cookbooks from lock
|
174
|
-
Installing deploy-context
|
174
|
+
Installing deploy-context 2.1.37
|
175
175
|
STDERR: Error: Failed to install cookbooks from lockfile
|
176
|
-
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.
|
176
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.4.ga5abd0e.1.dirty.20231004.170502' does not match 'x.y.z' or 'x.y'
|
177
177
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
178
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-
|
180
|
-
E, [2023-10-
|
181
|
-
E, [2023-10-
|
182
|
-
E, [2023-10-
|
183
|
-
E, [2023-10-
|
184
|
-
E, [2023-10-
|
185
|
-
E, [2023-10-
|
186
|
-
E, [2023-10-
|
187
|
-
E, [2023-10-
|
188
|
-
E, [2023-10-
|
189
|
-
E, [2023-10-
|
190
|
-
E, [2023-10-
|
191
|
-
E, [2023-10-
|
192
|
-
E, [2023-10-
|
193
|
-
E, [2023-10-
|
194
|
-
E, [2023-10-
|
195
|
-
E, [2023-10-
|
196
|
-
E, [2023-10-
|
197
|
-
E, [2023-10-
|
198
|
-
E, [2023-10-
|
199
|
-
E, [2023-10-
|
200
|
-
E, [2023-10-
|
201
|
-
E, [2023-10-
|
202
|
-
E, [2023-10-
|
203
|
-
E, [2023-10-
|
204
|
-
E, [2023-10-
|
205
|
-
E, [2023-10-
|
206
|
-
E, [2023-10-
|
207
|
-
E, [2023-10-
|
208
|
-
E, [2023-10-
|
209
|
-
E, [2023-10-
|
210
|
-
E, [2023-10-
|
211
|
-
E, [2023-10-
|
212
|
-
E, [2023-10-
|
213
|
-
E, [2023-10-
|
214
|
-
E, [2023-10-
|
179
|
+
E, [2023-10-04T17:05:02.140080 #696377] ERROR -- Kitchen: ----------------------
|
180
|
+
E, [2023-10-04T17:05:02.140119 #696377] ERROR -- Kitchen: ------Backtrace-------
|
181
|
+
E, [2023-10-04T17:05:02.140155 #696377] 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-04T17:05:02.140198 #696377] 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-04T17:05:02.140284 #696377] 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-04T17:05:02.140333 #696377] 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-04T17:05:02.140376 #696377] 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-04T17:05:02.140426 #696377] 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-04T17:05:02.140483 #696377] 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-04T17:05:02.140534 #696377] 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-04T17:05:02.140584 #696377] 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-04T17:05:02.140634 #696377] 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-04T17:05:02.140688 #696377] 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-04T17:05:02.140743 #696377] 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-04T17:05:02.140793 #696377] 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-04T17:05:02.140837 #696377] 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-04T17:05:02.140882 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
196
|
+
E, [2023-10-04T17:05:02.140938 #696377] 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-04T17:05:02.140987 #696377] 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-04T17:05:02.141036 #696377] 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-04T17:05:02.141085 #696377] 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-04T17:05:02.141134 #696377] 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-04T17:05:02.141183 #696377] 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-04T17:05:02.141233 #696377] 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-04T17:05:02.141277 #696377] 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-04T17:05:02.141309 #696377] 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-04T17:05:02.141335 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
206
|
+
E, [2023-10-04T17:05:02.141365 #696377] 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-04T17:05:02.141393 #696377] 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-04T17:05:02.141421 #696377] 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-04T17:05:02.141447 #696377] 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-04T17:05:02.141477 #696377] 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-04T17:05:02.141509 #696377] ERROR -- Kitchen: ----End Backtrace-----
|
212
|
+
E, [2023-10-04T17:05:02.141537 #696377] ERROR -- Kitchen: ---Nested Exception---
|
213
|
+
E, [2023-10-04T17:05:02.141565 #696377] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
214
|
+
E, [2023-10-04T17:05:02.141597 #696377] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
215
215
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
216
216
|
STDOUT: Installing cookbooks from lock
|
217
|
-
Installing deploy-context
|
217
|
+
Installing deploy-context 2.1.37
|
218
218
|
STDERR: Error: Failed to install cookbooks from lockfile
|
219
|
-
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.
|
219
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.4.ga5abd0e.1.dirty.20231004.170502' does not match 'x.y.z' or 'x.y'
|
220
220
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
221
221
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1]
|
222
|
-
E, [2023-10-
|
223
|
-
E, [2023-10-
|
224
|
-
E, [2023-10-
|
225
|
-
E, [2023-10-
|
226
|
-
E, [2023-10-
|
227
|
-
E, [2023-10-
|
228
|
-
E, [2023-10-
|
229
|
-
E, [2023-10-
|
230
|
-
E, [2023-10-
|
231
|
-
E, [2023-10-
|
232
|
-
E, [2023-10-
|
233
|
-
E, [2023-10-
|
234
|
-
E, [2023-10-
|
235
|
-
E, [2023-10-
|
236
|
-
E, [2023-10-
|
237
|
-
E, [2023-10-
|
238
|
-
E, [2023-10-
|
239
|
-
E, [2023-10-
|
240
|
-
E, [2023-10-
|
241
|
-
E, [2023-10-
|
242
|
-
E, [2023-10-
|
243
|
-
E, [2023-10-
|
244
|
-
E, [2023-10-
|
245
|
-
E, [2023-10-
|
246
|
-
E, [2023-10-
|
247
|
-
E, [2023-10-
|
248
|
-
E, [2023-10-
|
249
|
-
E, [2023-10-
|
250
|
-
E, [2023-10-
|
251
|
-
E, [2023-10-
|
252
|
-
E, [2023-10-
|
253
|
-
E, [2023-10-
|
254
|
-
E, [2023-10-
|
222
|
+
E, [2023-10-04T17:05:02.141628 #696377] ERROR -- Kitchen: ----------------------
|
223
|
+
E, [2023-10-04T17:05:02.141661 #696377] ERROR -- Kitchen: ------Backtrace-------
|
224
|
+
E, [2023-10-04T17:05:02.141689 #696377] 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-04T17:05:02.141727 #696377] 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-04T17:05:02.141762 #696377] 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-04T17:05:02.141793 #696377] 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-04T17:05:02.141824 #696377] 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-04T17:05:02.141869 #696377] 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-04T17:05:02.141977 #696377] 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-04T17:05:02.142042 #696377] 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-04T17:05:02.142106 #696377] 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-04T17:05:02.142169 #696377] 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-04T17:05:02.142240 #696377] 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-04T17:05:02.142306 #696377] 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-04T17:05:02.142395 #696377] 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-04T17:05:02.142467 #696377] 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-04T17:05:02.142540 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
239
|
+
E, [2023-10-04T17:05:02.142613 #696377] 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-04T17:05:02.142686 #696377] 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-04T17:05:02.142757 #696377] 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-04T17:05:02.142838 #696377] 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-04T17:05:02.142908 #696377] 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-04T17:05:02.142983 #696377] 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-04T17:05:02.143053 #696377] 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-04T17:05:02.143122 #696377] 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-04T17:05:02.143202 #696377] 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-04T17:05:02.143271 #696377] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
249
|
+
E, [2023-10-04T17:05:02.143340 #696377] 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-04T17:05:02.143416 #696377] 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-04T17:05:02.143484 #696377] 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-04T17:05:02.143550 #696377] 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-04T17:05:02.143620 #696377] 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-04T17:05:02.143691 #696377] ERROR -- Kitchen: ----End Backtrace-----
|
@@ -45,19 +45,19 @@ module Context
|
|
45
45
|
def cookbook_push(context)
|
46
46
|
cookbook_build(context)
|
47
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))
|
48
|
+
context.chef(context, %w(push Policyfile.rb))
|
49
49
|
end
|
50
50
|
|
51
51
|
def clean_file(context, file)
|
52
|
-
|
53
|
-
puts "Clean
|
54
|
-
FileUtils.
|
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
55
|
end
|
56
56
|
|
57
57
|
def cookbook_clean(context)
|
58
58
|
cookbook_build(context)
|
59
|
-
context.log "\n\
|
60
|
-
|
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
61
|
end
|
62
62
|
end
|
63
63
|
end
|
@@ -1,29 +1,43 @@
|
|
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
|
+
end
|
15
|
+
|
16
|
+
def show_help(context)
|
17
|
+
help_message = <<MESSAGE_END
|
18
|
+
Use not option or the option 'cycle' to cycle through the deployer once
|
19
|
+
Use the option 'agent' to made a continual loop of the cycle
|
20
|
+
Use the option 'bump' to bump the patch version
|
21
|
+
Use the option 'release' to bump the minor version
|
22
|
+
Use the option 'upgrade' to bump the major version
|
23
|
+
Use the option 'test' to test the context
|
24
|
+
Use the option 'reset' to execute the local cycle once
|
25
|
+
Use the option 'help' to show this message
|
26
|
+
MESSAGE_END
|
27
|
+
context.error_log(context, help_message)
|
14
28
|
end
|
15
29
|
|
16
30
|
def execute_action(context, action)
|
17
31
|
state_action = if action.nil?
|
18
|
-
context
|
32
|
+
show_help(context)
|
19
33
|
false
|
20
34
|
else
|
21
35
|
case action
|
22
|
-
when '
|
23
|
-
context.log "\nExecute only once\n"
|
36
|
+
when 'cycle'
|
37
|
+
context.log "\nExecute only the cycle once\n"
|
24
38
|
context.cycle
|
25
39
|
true
|
26
|
-
when '
|
40
|
+
when 'agent'
|
27
41
|
context.log "\nAlways in execution\n"
|
28
42
|
while true do
|
29
43
|
context.cycle
|
@@ -49,8 +63,12 @@ module Context
|
|
49
63
|
system('rake')
|
50
64
|
# context.cucumber_test(deployer)
|
51
65
|
true
|
66
|
+
when 'help'
|
67
|
+
context.show_help(context)
|
68
|
+
true
|
52
69
|
else
|
53
70
|
context.error_log context.context_name, "Unknown setting #{action}"
|
71
|
+
show_help(context)
|
54
72
|
false
|
55
73
|
end
|
56
74
|
end
|
@@ -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,7 +58,7 @@ 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
|
@@ -80,6 +80,7 @@ module Context
|
|
80
80
|
def clean
|
81
81
|
clean_folder(self, 'contexts')
|
82
82
|
ruby_clean(self)
|
83
|
+
cookbook_clean(self)
|
83
84
|
end
|
84
85
|
|
85
86
|
def show_new_version(level)
|
@@ -17,14 +17,18 @@ require_relative '../../deploy-context'
|
|
17
17
|
|
18
18
|
namespace :deploycontext do
|
19
19
|
task :default => "deploycontext:test" do
|
20
|
-
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, '
|
20
|
+
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'cycle')
|
21
21
|
end
|
22
22
|
|
23
23
|
task :bump do
|
24
24
|
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'bump')
|
25
25
|
end
|
26
26
|
|
27
|
-
task :test do
|
27
|
+
task :test => "deploycontext:help" do
|
28
28
|
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'test')
|
29
29
|
end
|
30
|
+
|
31
|
+
task :help do
|
32
|
+
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'help')
|
33
|
+
end
|
30
34
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
|
3
3
|
# Étantdonnéque('le projet {word} à une dernière version de disponible dans git') do |project_name|
|
4
|
-
# context_exec [project_name, '
|
4
|
+
# context_exec [project_name, 'cycle']
|
5
5
|
|
6
6
|
# if project_name == deployer.context_name
|
7
7
|
# Dir.chdir deployer.context_folder
|
@@ -11,7 +11,7 @@
|
|
11
11
|
# end
|
12
12
|
|
13
13
|
Alors('démarrer un simple cycle de {word}') do |project_name|
|
14
|
-
context_exec [project_name, '
|
14
|
+
context_exec [project_name, 'cycle'] || abort("#{project_name} ERROR: Issue with life cycle")
|
15
15
|
end
|
16
16
|
|
17
17
|
Alors('déployer le projet {word}') do |project_name|
|
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.
|
4
|
+
version: 2.1.37.6.gec1e116
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -101,9 +101,7 @@ files:
|
|
101
101
|
- bin/deploy-context
|
102
102
|
- chefignore
|
103
103
|
- compliance/README.md
|
104
|
-
- deploy-context.feature.disable
|
105
104
|
- deploy-context.gemspec
|
106
|
-
- deploy-context.old
|
107
105
|
- features/code_update.feature
|
108
106
|
- features/step_definitions/deploy-context.rb
|
109
107
|
- features/support/env.rb
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# language: fr
|
2
|
-
@fr @deploycontext
|
3
|
-
Fonctionnalité: Je suis le testeur du déployeur de deploy-context
|
4
|
-
|
5
|
-
Scénario: Initialisé deploy-context
|
6
|
-
Étant donné que deploy-context est absent localement
|
7
|
-
Alors cloner le projet git@github.com:JimboDragonGit/deploy-context.git
|
8
|
-
|
9
|
-
Scénario: Relâcher deploy-context
|
10
|
-
Étant donné que deploy-context est présent localement
|
11
|
-
Alors compiler deploy-context
|
12
|
-
Et publié deploy-context
|
13
|
-
|
14
|
-
Scénario: Tester deploy-context
|
15
|
-
Étant donné que deploy-context est présent au public
|
16
|
-
Alors installer deploy-context
|
17
|
-
Et tester deploy-context
|
18
|
-
|
19
|
-
Scénario: Bump deploy-context
|
20
|
-
Étant donné que deploy-context est tester avec succès
|
21
|
-
Alors installer deploy-context
|
22
|
-
Et tester deploy-context
|
data/deploy-context.old
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
|
2
|
-
# Étantdonnéque('deploy-context est présent localement') do
|
3
|
-
# Dir.chdir deployer.context_folder
|
4
|
-
# end
|
5
|
-
|
6
|
-
# Étantdonnéque('deploy-context est présent au public') do
|
7
|
-
# deployer.wait_until_release_available
|
8
|
-
# end
|
9
|
-
|
10
|
-
# Étantdonnéque('deploy-context est tester avec succès') do
|
11
|
-
# deployer.test_context_successful?
|
12
|
-
# end
|
13
|
-
|
14
|
-
# Alors('compiler deploy-context une seul fois') do
|
15
|
-
# system('deploy-context once')
|
16
|
-
# end
|
17
|
-
|
18
|
-
# Alors('publié deploy-context') do
|
19
|
-
# system('deploy-context once')
|
20
|
-
# end
|
21
|
-
|
22
|
-
# Alors('attendre que deploy-context soit disponible au public') do
|
23
|
-
# deployer.wait_until_release_available
|
24
|
-
# end
|
25
|
-
|
26
|
-
# Alors('installer deploy-context') do
|
27
|
-
# deployer.install
|
28
|
-
# end
|
29
|
-
|
30
|
-
# Alors('tester deploy-context') do
|
31
|
-
# if deployer.test_context_successful?
|
32
|
-
# puts "newer version installed successfully for #{deployer.context_name} and version #{GVB.version}"
|
33
|
-
# deployer.patch_bump
|
34
|
-
# # patch_reset(context)
|
35
|
-
# else
|
36
|
-
# puts "newer version not installed for #{deployer.context_name} and version #{GVB.version}"
|
37
|
-
# end
|
38
|
-
# end
|
39
|
-
|
40
|
-
# Étantdonnéque('deploy-context est absent localement') do
|
41
|
-
# deployer.clean if deployer.present_localy?
|
42
|
-
# end
|
43
|
-
|
44
|
-
# Alors('cloner le projet git@github.com:JimboDragonGit\/deploy-context.git') do
|
45
|
-
# deployer.clean if deployer.present_localy?
|
46
|
-
# end
|