deploy-context 2.2.0.3.gec16643.4.g20d2d42.4.g17e8559.12.g831d0a8.4.gbb2ab14 → 2.2.0.3.gec16643.4.g20d2d42.4.g17e8559.12.g831d0a8.4.gbb2ab14.12.g0bc028d
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 +141 -141
- data/config/cucumber.yml +5 -0
- data/features/support/env.rb +1 -1
- data/libraries/deploy-context/deploy/context.rb +6 -1
- data/libraries/deploy-context/deploy/cookbook.rb +1 -5
- data/libraries/deploy-context/deploy/cucumber.rb +17 -1
- data/libraries/deploy-context/deploy/ruby.rb +0 -2
- data/libraries/deploy-context/deploy.rb +14 -0
- data/libraries/deploy-context/helpers/rake_tasks.rb +16 -0
- data/libraries/deploy-context.rb +0 -4
- data.tar.gz.sig +0 -0
- metadata +3 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a018785a1f930ce498c5136c670cac36ce3fb429da5b4bbfabd3f072ceb4258b
|
4
|
+
data.tar.gz: fa7d9c9180dfc46a76ee6a2148c85ba1ef9a81aac90d8dbfa9a80888585027f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1727d365a1482b7085e90c51727d4154d787678f152f2b407867309dd9a6b266de4772c1d8069f18eee84107de7516c6159918051f1b1f51fd19fd6043666897
|
7
|
+
data.tar.gz: f71199ef9d1be1948283418a88fb820c39e8feb59e657538b14457cce10f9e7e1cae23ea4312a03450a2653f740bf56b75c96e7f0c6a206eaf1b6a92409aaaa5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.kitchen/logs/kitchen.log
CHANGED
@@ -1,149 +1,149 @@
|
|
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
|
-
I, [2023-10-
|
12
|
-
E, [2023-10-
|
13
|
-
E, [2023-10-
|
14
|
-
E, [2023-10-
|
1
|
+
I, [2023-10-05T00:43:44.285158 #1021799] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
|
2
|
+
I, [2023-10-05T00:43:45.266083 #1021799] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-ubuntu-2004>
|
3
|
+
I, [2023-10-05T00:43:45.266566 #1021799] INFO -- Kitchen: -----> Destroying <default-ubuntu-2004>...
|
4
|
+
I, [2023-10-05T00:43:50.730866 #1021799] INFO -- Kitchen: -----> Testing <default-ubuntu-2004>
|
5
|
+
I, [2023-10-05T00:43:50.730999 #1021799] INFO -- Kitchen: -----> Creating <default-ubuntu-2004>...
|
6
|
+
I, [2023-10-05T00:45:03.390186 #1021799] INFO -- Kitchen: -----> Converging <default-ubuntu-2004>...
|
7
|
+
I, [2023-10-05T00:45:23.468810 #1021799] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-centos-8>
|
8
|
+
I, [2023-10-05T00:45:23.469708 #1021799] INFO -- Kitchen: -----> Destroying <default-centos-8>...
|
9
|
+
I, [2023-10-05T00:45:28.882688 #1021799] INFO -- Kitchen: -----> Testing <default-centos-8>
|
10
|
+
I, [2023-10-05T00:45:28.882814 #1021799] INFO -- Kitchen: -----> Creating <default-centos-8>...
|
11
|
+
I, [2023-10-05T00:46:29.053970 #1021799] INFO -- Kitchen: -----> Converging <default-centos-8>...
|
12
|
+
E, [2023-10-05T00:46:52.203206 #1021799] ERROR -- Kitchen: ------Exception-------
|
13
|
+
E, [2023-10-05T00:46:52.203283 #1021799] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
14
|
+
E, [2023-10-05T00:46:52.203320 #1021799] ERROR -- Kitchen: Message: 2 actions failed.
|
15
15
|
>>>>>> Converge failed on instance <default-ubuntu-2004>. Please see .kitchen/logs/default-ubuntu-2004.log for more details
|
16
16
|
>>>>>> Converge failed on instance <default-centos-8>. Please see .kitchen/logs/default-centos-8.log for more details
|
17
|
-
E, [2023-10-
|
18
|
-
E, [2023-10-
|
19
|
-
E, [2023-10-
|
20
|
-
E, [2023-10-
|
21
|
-
E, [2023-10-
|
22
|
-
E, [2023-10-
|
23
|
-
E, [2023-10-
|
24
|
-
E, [2023-10-
|
25
|
-
E, [2023-10-
|
26
|
-
E, [2023-10-
|
27
|
-
E, [2023-10-
|
28
|
-
E, [2023-10-
|
29
|
-
E, [2023-10-
|
30
|
-
E, [2023-10-
|
31
|
-
E, [2023-10-
|
32
|
-
E, [2023-10-
|
33
|
-
E, [2023-10-
|
34
|
-
E, [2023-10-
|
35
|
-
E, [2023-10-
|
36
|
-
E, [2023-10-
|
37
|
-
E, [2023-10-
|
38
|
-
E, [2023-10-
|
39
|
-
E, [2023-10-
|
40
|
-
E, [2023-10-
|
41
|
-
E, [2023-10-
|
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-
|
64
|
-
E, [2023-10-
|
65
|
-
E, [2023-10-
|
17
|
+
E, [2023-10-05T00:46:52.203416 #1021799] ERROR -- Kitchen: ----------------------
|
18
|
+
E, [2023-10-05T00:46:52.203459 #1021799] ERROR -- Kitchen: ------Backtrace-------
|
19
|
+
E, [2023-10-05T00:46:52.203497 #1021799] 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'
|
20
|
+
E, [2023-10-05T00:46:52.203543 #1021799] 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'
|
21
|
+
E, [2023-10-05T00:46:52.203581 #1021799] 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'
|
22
|
+
E, [2023-10-05T00:46:52.203639 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
23
|
+
E, [2023-10-05T00:46:52.203714 #1021799] 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'
|
24
|
+
E, [2023-10-05T00:46:52.203783 #1021799] 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'
|
25
|
+
E, [2023-10-05T00:46:52.203830 #1021799] 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'
|
26
|
+
E, [2023-10-05T00:46:52.203894 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
|
27
|
+
E, [2023-10-05T00:46:52.203941 #1021799] 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'
|
28
|
+
E, [2023-10-05T00:46:52.203997 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
|
29
|
+
E, [2023-10-05T00:46:52.204046 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
|
30
|
+
E, [2023-10-05T00:46:52.204099 #1021799] 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)>'
|
31
|
+
E, [2023-10-05T00:46:52.204174 #1021799] 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'
|
32
|
+
E, [2023-10-05T00:46:52.204236 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `<top (required)>'
|
33
|
+
E, [2023-10-05T00:46:52.204316 #1021799] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
|
34
|
+
E, [2023-10-05T00:46:52.204380 #1021799] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
|
35
|
+
E, [2023-10-05T00:46:52.204471 #1021799] ERROR -- Kitchen: ----End Backtrace-----
|
36
|
+
E, [2023-10-05T00:46:52.204533 #1021799] ERROR -- Kitchen: -Composite Exception--
|
37
|
+
E, [2023-10-05T00:46:52.204592 #1021799] ERROR -- Kitchen: Class: Kitchen::InstanceFailure
|
38
|
+
E, [2023-10-05T00:46:52.204678 #1021799] ERROR -- Kitchen: Message: Converge failed on instance <default-ubuntu-2004>. Please see .kitchen/logs/default-ubuntu-2004.log for more details
|
39
|
+
E, [2023-10-05T00:46:52.204734 #1021799] ERROR -- Kitchen: ----------------------
|
40
|
+
E, [2023-10-05T00:46:52.204794 #1021799] ERROR -- Kitchen: ------Backtrace-------
|
41
|
+
E, [2023-10-05T00:46:52.204837 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:99:in `rescue in call'
|
42
|
+
E, [2023-10-05T00:46:52.204903 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:98:in `call'
|
43
|
+
E, [2023-10-05T00:46:52.204974 #1021799] 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'
|
44
|
+
E, [2023-10-05T00:46:52.205021 #1021799] 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'
|
45
|
+
E, [2023-10-05T00:46:52.205075 #1021799] 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'
|
46
|
+
E, [2023-10-05T00:46:52.205152 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
47
|
+
E, [2023-10-05T00:46:52.205787 #1021799] 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'
|
48
|
+
E, [2023-10-05T00:46:52.205843 #1021799] 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'
|
49
|
+
E, [2023-10-05T00:46:52.205893 #1021799] 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'
|
50
|
+
E, [2023-10-05T00:46:52.205938 #1021799] 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'
|
51
|
+
E, [2023-10-05T00:46:52.205980 #1021799] 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'
|
52
|
+
E, [2023-10-05T00:46:52.206033 #1021799] 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'
|
53
|
+
E, [2023-10-05T00:46:52.206079 #1021799] 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'
|
54
|
+
E, [2023-10-05T00:46:52.206149 #1021799] 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'
|
55
|
+
E, [2023-10-05T00:46:52.206203 #1021799] 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'
|
56
|
+
E, [2023-10-05T00:46:52.206245 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
57
|
+
E, [2023-10-05T00:46:52.206286 #1021799] 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'
|
58
|
+
E, [2023-10-05T00:46:52.206372 #1021799] 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'
|
59
|
+
E, [2023-10-05T00:46:52.206421 #1021799] 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'
|
60
|
+
E, [2023-10-05T00:46:52.206498 #1021799] 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'
|
61
|
+
E, [2023-10-05T00:46:52.206555 #1021799] 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'
|
62
|
+
E, [2023-10-05T00:46:52.206611 #1021799] ERROR -- Kitchen: ----End Backtrace-----
|
63
|
+
E, [2023-10-05T00:46:52.206663 #1021799] ERROR -- Kitchen: ---Nested Exception---
|
64
|
+
E, [2023-10-05T00:46:52.206724 #1021799] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
65
|
+
E, [2023-10-05T00:46:52.206767 #1021799] ERROR -- Kitchen: Message: SSH exited (1) for command: [sh -c '
|
66
66
|
TEST_KITCHEN="1"; export TEST_KITCHEN
|
67
67
|
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
|
68
68
|
']
|
69
|
-
E, [2023-10-
|
70
|
-
E, [2023-10-
|
71
|
-
E, [2023-10-
|
72
|
-
E, [2023-10-
|
73
|
-
E, [2023-10-
|
74
|
-
E, [2023-10-
|
75
|
-
E, [2023-10-
|
76
|
-
E, [2023-10-
|
77
|
-
E, [2023-10-
|
78
|
-
E, [2023-10-
|
79
|
-
E, [2023-10-
|
80
|
-
E, [2023-10-
|
81
|
-
E, [2023-10-
|
82
|
-
E, [2023-10-
|
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-
|
118
|
-
E, [2023-10-
|
119
|
-
E, [2023-10-
|
120
|
-
E, [2023-10-
|
121
|
-
E, [2023-10-
|
122
|
-
E, [2023-10-
|
69
|
+
E, [2023-10-05T00:46:52.206846 #1021799] ERROR -- Kitchen: ----------------------
|
70
|
+
E, [2023-10-05T00:46:52.206899 #1021799] ERROR -- Kitchen: ------Backtrace-------
|
71
|
+
E, [2023-10-05T00:46:52.206959 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:99:in `rescue in call'
|
72
|
+
E, [2023-10-05T00:46:52.207015 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:98:in `call'
|
73
|
+
E, [2023-10-05T00:46:52.207068 #1021799] 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'
|
74
|
+
E, [2023-10-05T00:46:52.207170 #1021799] 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'
|
75
|
+
E, [2023-10-05T00:46:52.207273 #1021799] 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'
|
76
|
+
E, [2023-10-05T00:46:52.207361 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
77
|
+
E, [2023-10-05T00:46:52.207464 #1021799] 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'
|
78
|
+
E, [2023-10-05T00:46:52.207553 #1021799] 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'
|
79
|
+
E, [2023-10-05T00:46:52.207626 #1021799] 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'
|
80
|
+
E, [2023-10-05T00:46:52.207696 #1021799] 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'
|
81
|
+
E, [2023-10-05T00:46:52.207762 #1021799] 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'
|
82
|
+
E, [2023-10-05T00:46:52.207823 #1021799] 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'
|
83
|
+
E, [2023-10-05T00:46:52.207891 #1021799] 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'
|
84
|
+
E, [2023-10-05T00:46:52.207962 #1021799] 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'
|
85
|
+
E, [2023-10-05T00:46:52.208079 #1021799] 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'
|
86
|
+
E, [2023-10-05T00:46:52.208152 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
87
|
+
E, [2023-10-05T00:46:52.208225 #1021799] 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'
|
88
|
+
E, [2023-10-05T00:46:52.208271 #1021799] 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'
|
89
|
+
E, [2023-10-05T00:46:52.208328 #1021799] 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'
|
90
|
+
E, [2023-10-05T00:46:52.208383 #1021799] 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'
|
91
|
+
E, [2023-10-05T00:46:52.208439 #1021799] 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'
|
92
|
+
E, [2023-10-05T00:46:52.208503 #1021799] ERROR -- Kitchen: ----End Backtrace-----
|
93
|
+
E, [2023-10-05T00:46:52.208602 #1021799] ERROR -- Kitchen: -Composite Exception--
|
94
|
+
E, [2023-10-05T00:46:52.208688 #1021799] ERROR -- Kitchen: Class: Kitchen::InstanceFailure
|
95
|
+
E, [2023-10-05T00:46:52.208798 #1021799] ERROR -- Kitchen: Message: Converge failed on instance <default-centos-8>. Please see .kitchen/logs/default-centos-8.log for more details
|
96
|
+
E, [2023-10-05T00:46:52.208900 #1021799] ERROR -- Kitchen: ----------------------
|
97
|
+
E, [2023-10-05T00:46:52.208981 #1021799] ERROR -- Kitchen: ------Backtrace-------
|
98
|
+
E, [2023-10-05T00:46:52.209051 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:99:in `rescue in call'
|
99
|
+
E, [2023-10-05T00:46:52.209112 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:98:in `call'
|
100
|
+
E, [2023-10-05T00:46:52.209177 #1021799] 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'
|
101
|
+
E, [2023-10-05T00:46:52.209256 #1021799] 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'
|
102
|
+
E, [2023-10-05T00:46:52.209303 #1021799] 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'
|
103
|
+
E, [2023-10-05T00:46:52.209359 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
104
|
+
E, [2023-10-05T00:46:52.209412 #1021799] 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'
|
105
|
+
E, [2023-10-05T00:46:52.209457 #1021799] 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'
|
106
|
+
E, [2023-10-05T00:46:52.209504 #1021799] 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'
|
107
|
+
E, [2023-10-05T00:46:52.209554 #1021799] 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'
|
108
|
+
E, [2023-10-05T00:46:52.209604 #1021799] 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'
|
109
|
+
E, [2023-10-05T00:46:52.209659 #1021799] 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'
|
110
|
+
E, [2023-10-05T00:46:52.209728 #1021799] 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'
|
111
|
+
E, [2023-10-05T00:46:52.209778 #1021799] 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'
|
112
|
+
E, [2023-10-05T00:46:52.209839 #1021799] 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'
|
113
|
+
E, [2023-10-05T00:46:52.209890 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
114
|
+
E, [2023-10-05T00:46:52.209941 #1021799] 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'
|
115
|
+
E, [2023-10-05T00:46:52.210001 #1021799] 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'
|
116
|
+
E, [2023-10-05T00:46:52.210053 #1021799] 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'
|
117
|
+
E, [2023-10-05T00:46:52.210099 #1021799] 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'
|
118
|
+
E, [2023-10-05T00:46:52.210158 #1021799] 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'
|
119
|
+
E, [2023-10-05T00:46:52.210213 #1021799] ERROR -- Kitchen: ----End Backtrace-----
|
120
|
+
E, [2023-10-05T00:46:52.210275 #1021799] ERROR -- Kitchen: ---Nested Exception---
|
121
|
+
E, [2023-10-05T00:46:52.210330 #1021799] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
122
|
+
E, [2023-10-05T00:46:52.210387 #1021799] ERROR -- Kitchen: Message: SSH exited (1) for command: [sh -c '
|
123
123
|
TEST_KITCHEN="1"; export TEST_KITCHEN
|
124
124
|
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
|
125
125
|
']
|
126
|
-
E, [2023-10-
|
127
|
-
E, [2023-10-
|
128
|
-
E, [2023-10-
|
129
|
-
E, [2023-10-
|
130
|
-
E, [2023-10-
|
131
|
-
E, [2023-10-
|
132
|
-
E, [2023-10-
|
133
|
-
E, [2023-10-
|
134
|
-
E, [2023-10-
|
135
|
-
E, [2023-10-
|
136
|
-
E, [2023-10-
|
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-
|
126
|
+
E, [2023-10-05T00:46:52.210461 #1021799] ERROR -- Kitchen: ----------------------
|
127
|
+
E, [2023-10-05T00:46:52.210509 #1021799] ERROR -- Kitchen: ------Backtrace-------
|
128
|
+
E, [2023-10-05T00:46:52.210574 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:99:in `rescue in call'
|
129
|
+
E, [2023-10-05T00:46:52.210630 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:98:in `call'
|
130
|
+
E, [2023-10-05T00:46:52.210679 #1021799] 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'
|
131
|
+
E, [2023-10-05T00:46:52.210718 #1021799] 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'
|
132
|
+
E, [2023-10-05T00:46:52.210762 #1021799] 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'
|
133
|
+
E, [2023-10-05T00:46:52.210814 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
134
|
+
E, [2023-10-05T00:46:52.210850 #1021799] 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'
|
135
|
+
E, [2023-10-05T00:46:52.210886 #1021799] 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'
|
136
|
+
E, [2023-10-05T00:46:52.210944 #1021799] 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'
|
137
|
+
E, [2023-10-05T00:46:52.210988 #1021799] 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'
|
138
|
+
E, [2023-10-05T00:46:52.211036 #1021799] 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'
|
139
|
+
E, [2023-10-05T00:46:52.211080 #1021799] 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'
|
140
|
+
E, [2023-10-05T00:46:52.211135 #1021799] 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'
|
141
|
+
E, [2023-10-05T00:46:52.211187 #1021799] 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'
|
142
|
+
E, [2023-10-05T00:46:52.211248 #1021799] 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'
|
143
|
+
E, [2023-10-05T00:46:52.211293 #1021799] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
144
|
+
E, [2023-10-05T00:46:52.211359 #1021799] 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'
|
145
|
+
E, [2023-10-05T00:46:52.211404 #1021799] 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'
|
146
|
+
E, [2023-10-05T00:46:52.211440 #1021799] 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'
|
147
|
+
E, [2023-10-05T00:46:52.211498 #1021799] 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'
|
148
|
+
E, [2023-10-05T00:46:52.211542 #1021799] 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'
|
149
|
+
E, [2023-10-05T00:46:52.211597 #1021799] ERROR -- Kitchen: ----End Backtrace-----
|
data/config/cucumber.yml
ADDED
data/features/support/env.rb
CHANGED
@@ -4,7 +4,11 @@ module Context
|
|
4
4
|
def present_localy?
|
5
5
|
Dir.exist?(context_folder)
|
6
6
|
end
|
7
|
-
|
7
|
+
|
8
|
+
def shorten_version(context)
|
9
|
+
context.version.canonical_segments[0..2].join('.')
|
10
|
+
end
|
11
|
+
|
8
12
|
def actual_working_directory?
|
9
13
|
Dir.pwd == context_folder
|
10
14
|
end
|
@@ -37,6 +41,7 @@ module Context
|
|
37
41
|
false
|
38
42
|
end
|
39
43
|
cookbook_test(self)
|
44
|
+
cucumber_test(self)
|
40
45
|
end
|
41
46
|
|
42
47
|
def build
|
@@ -1,10 +1,6 @@
|
|
1
1
|
module Context
|
2
2
|
module DeployHelpers
|
3
3
|
module CookbookHelper
|
4
|
-
def cookbook_version(context)
|
5
|
-
context.version.canonical_segments[0..2].join('.')
|
6
|
-
end
|
7
|
-
|
8
4
|
def chef(context, commands)
|
9
5
|
context.execute_command(%w(chef) + commands)
|
10
6
|
end
|
@@ -82,7 +78,7 @@ module Context
|
|
82
78
|
|
83
79
|
def set_cookbook_version(context)
|
84
80
|
context.git_build(context)
|
85
|
-
File.write(context.get_context_file(context, 'VERSION'), context.
|
81
|
+
File.write(context.get_context_file(context, 'VERSION'), context.shorten_version(context).strip)
|
86
82
|
end
|
87
83
|
end
|
88
84
|
end
|
@@ -1,8 +1,24 @@
|
|
1
1
|
module Context
|
2
2
|
module DeployHelpers
|
3
3
|
module CucumberHelper
|
4
|
+
def cucumber_configuration(context, commands)
|
5
|
+
context.existing_cucumber_configuration = Cucumber::Cli::Main.new(commands.dup).configuration unless context.existing_cucumber_configuration
|
6
|
+
context.existing_cucumber_configuration
|
7
|
+
end
|
8
|
+
|
9
|
+
def cucumber_runtime(context, commands)
|
10
|
+
return Cucumber::Runtime.new(context.cucumber_configuration(context, commands)) unless context.existing_cucumber_runtime
|
11
|
+
|
12
|
+
context.existing_cucumber_runtime.configure(context.cucumber_configuration(context, commands))
|
13
|
+
context.existing_cucumber_runtime
|
14
|
+
end
|
15
|
+
|
4
16
|
def cucumber(context, commands = [])
|
5
|
-
context.chef_exec(context,['cucumber'] + commands)
|
17
|
+
# context.chef_exec(context,['cucumber'] + commands)
|
18
|
+
|
19
|
+
context.existing_cucumber_runtime = cucumber_runtime(context, commands)
|
20
|
+
# The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
|
21
|
+
cucumber_runtime(context, commands).run!
|
6
22
|
end
|
7
23
|
|
8
24
|
def cucumber_test(context)
|
@@ -1,3 +1,13 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
require 'simplecov_setup'
|
4
|
+
require 'cucumber/rspec/disable_option_parser'
|
5
|
+
require 'cucumber/cli/main'
|
6
|
+
|
7
|
+
require 'rubygems'
|
8
|
+
require 'fileutils'
|
9
|
+
require 'git-version-bump'
|
10
|
+
|
1
11
|
require_relative 'helpers/command'
|
2
12
|
require_relative 'deploy/deployer'
|
3
13
|
require_relative 'deploy/git'
|
@@ -14,6 +24,10 @@ module Context
|
|
14
24
|
attr_reader :context_name
|
15
25
|
attr_reader :context_folder
|
16
26
|
|
27
|
+
attr_accessor :existing_cucumber_runtime
|
28
|
+
attr_accessor :existing_cucumber_configuration
|
29
|
+
|
30
|
+
|
17
31
|
def initialize(context_name, deploycontext_folder)
|
18
32
|
@context_name = context_name
|
19
33
|
@context_folder = move_folder(deploycontext_folder)
|
@@ -13,6 +13,10 @@ end
|
|
13
13
|
|
14
14
|
require 'git-version-bump/rake-tasks'
|
15
15
|
|
16
|
+
require 'rubygems'
|
17
|
+
require 'cucumber'
|
18
|
+
require 'cucumber/rake/task'
|
19
|
+
|
16
20
|
require_relative '../../deploy-context'
|
17
21
|
|
18
22
|
namespace :deploycontext do
|
@@ -35,4 +39,16 @@ namespace :deploycontext do
|
|
35
39
|
task :help do
|
36
40
|
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'help')
|
37
41
|
end
|
42
|
+
|
43
|
+
namespace :features do
|
44
|
+
Cucumber::Rake::Task.new(:strict) do |t|
|
45
|
+
t.cucumber_opts = "--format pretty" # Any valid command line option can go here.
|
46
|
+
t.profile = "strict"
|
47
|
+
end
|
48
|
+
|
49
|
+
Cucumber::Rake::Task.new(:html_report) do |t|
|
50
|
+
t.cucumber_opts = "--format pretty" # Any valid command line option can go here.
|
51
|
+
t.profile = "html_report"
|
52
|
+
end
|
53
|
+
end
|
38
54
|
end
|
data/libraries/deploy-context.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.2.0.3.gec16643.4.g20d2d42.4.g17e8559.12.g831d0a8.4.gbb2ab14
|
4
|
+
version: 2.2.0.3.gec16643.4.g20d2d42.4.g17e8559.12.g831d0a8.4.gbb2ab14.12.g0bc028d
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
+V3ectLBpuoKM8f/ZFMnUPA0mAv5e7J6u9IBwyNj/cy+wLOAbpPdmhoKZXCpQcno
|
36
36
|
ysBBJbi//0tgFWwC4vOaDMch
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-10-
|
38
|
+
date: 2023-10-05 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: chef
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- bin/deploy-context
|
103
103
|
- chefignore
|
104
104
|
- compliance/README.md
|
105
|
+
- config/cucumber.yml
|
105
106
|
- deploy-context.gemspec
|
106
107
|
- features/code_update.feature
|
107
108
|
- features/step_definitions/deploy-context.rb
|
metadata.gz.sig
CHANGED
Binary file
|