deploy-context 2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.8.ga24e5ef → 2.1.37.6.gec1e116
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 +189 -195
- data/libraries/deploy-context/deploy/cookbook.rb +1 -1
- data/libraries/deploy-context/deploy/deployer.rb +22 -4
- 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...
|
@@ -33,36 +33,34 @@ 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
|
-
|
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'
|
36
|
+
STDOUT: Installing cookbooks from lock
|
37
|
+
Installing deploy-context 2.1.37
|
38
|
+
STDERR: Error: Failed to install cookbooks from lockfile
|
39
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.4.ga5abd0e.1.dirty.20231004.170502' does not match 'x.y.z' or 'x.y'
|
42
40
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
43
41
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-centos-8
|
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-
|
64
|
-
E, [2023-10-
|
65
|
-
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'
|
66
64
|
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
67
65
|
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
68
66
|
==> default: Importing base box 'bento/ubuntu-20.04'...
|
@@ -70,7 +68,7 @@ STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
|
70
68
|
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
71
69
|
for controlling VirtualBox. The command and stderr is shown below.
|
72
70
|
|
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-
|
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"]
|
74
72
|
|
75
73
|
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
76
74
|
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
@@ -82,41 +80,41 @@ VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument val
|
|
82
80
|
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
83
81
|
---- End output of vagrant up --no-provision --provider virtualbox ----
|
84
82
|
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubuntu-2004
|
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-
|
118
|
-
E, [2023-10-
|
119
|
-
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'
|
120
118
|
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
121
119
|
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
122
120
|
==> default: Importing base box 'bento/ubuntu-20.04'...
|
@@ -124,7 +122,7 @@ STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
|
124
122
|
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
125
123
|
for controlling VirtualBox. The command and stderr is shown below.
|
126
124
|
|
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-
|
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"]
|
128
126
|
|
129
127
|
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
130
128
|
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
@@ -136,125 +134,121 @@ VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument val
|
|
136
134
|
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
137
135
|
---- End output of vagrant up --no-provision --provider virtualbox ----
|
138
136
|
Ran vagrant up --no-provision --provider virtualbox returned 1]
|
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-
|
172
|
-
E, [2023-10-
|
173
|
-
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'
|
174
172
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
175
|
-
STDOUT:
|
176
|
-
|
177
|
-
|
178
|
-
|
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'
|
173
|
+
STDOUT: Installing cookbooks from lock
|
174
|
+
Installing deploy-context 2.1.37
|
175
|
+
STDERR: Error: Failed to install cookbooks from lockfile
|
176
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.4.ga5abd0e.1.dirty.20231004.170502' does not match 'x.y.z' or 'x.y'
|
181
177
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
182
178
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-centos-8
|
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-
|
215
|
-
E, [2023-10-
|
216
|
-
E, [2023-10-
|
217
|
-
E, [2023-10-
|
218
|
-
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'
|
219
215
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
220
|
-
STDOUT:
|
221
|
-
|
222
|
-
|
223
|
-
|
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'
|
216
|
+
STDOUT: Installing cookbooks from lock
|
217
|
+
Installing deploy-context 2.1.37
|
218
|
+
STDERR: Error: Failed to install cookbooks from lockfile
|
219
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.4.ga5abd0e.1.dirty.20231004.170502' does not match 'x.y.z' or 'x.y'
|
226
220
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
227
221
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1]
|
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-
|
255
|
-
E, [2023-10-
|
256
|
-
E, [2023-10-
|
257
|
-
E, [2023-10-
|
258
|
-
E, [2023-10-
|
259
|
-
E, [2023-10-
|
260
|
-
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,7 +45,7 @@ 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)
|
@@ -13,17 +13,31 @@ module Context
|
|
13
13
|
context.get_context_file(context, 'contexts')
|
14
14
|
end
|
15
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)
|
28
|
+
end
|
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
|
@@ -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
|