beaker-pe 1.40.2 → 1.40.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beaker-pe/install/pe_utils.rb +1 -1
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7fe2c33219257dfd7ad0d16dd9aa44779c34519
|
4
|
+
data.tar.gz: 7fb02916d2a3f6f87e2365a199b5c69446b2154f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7110d726b7573e6a30b2a6b34fb7d7e557b1349d6a802c5af5efc5c392a5720fbae7cb0d8299fbbd9778de0fe1a2cef73b2abe57342ff7382e71e925d151cc91
|
7
|
+
data.tar.gz: 6b5c8b6725c47c887a21bd7c03d179b5f61aae5e6d23c783fd738afbd5decae3980d342f3f22c8d03a2ce01487fb201964da369a2cb3855e4389a820297e7cb0
|
@@ -1517,7 +1517,7 @@ module Beaker
|
|
1517
1517
|
allowed_errors = ["The operation could not be completed because RBACs database has not been initialized",
|
1518
1518
|
"Timeout waiting for the database pool to become ready",
|
1519
1519
|
"Systemd restart for pe-console-services failed",
|
1520
|
-
"
|
1520
|
+
"Execution of.*service pe-console-services.*: Reload timed out after 120 seconds"]
|
1521
1521
|
|
1522
1522
|
allowed_errors.each do |error|
|
1523
1523
|
if(on(host, "grep '#{error}' #{installer_log_dir}/#{latest_installer_log_file}", :acceptable_exit_codes => [0,1]).exit_code == 0)
|
data/lib/beaker-pe/version.rb
CHANGED
@@ -1236,7 +1236,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1236
1236
|
allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
|
1237
1237
|
allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1238
1238
|
allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1239
|
-
allow(subject).to receive(:on).with(mono_master, "grep '
|
1239
|
+
allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1240
1240
|
expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
|
1241
1241
|
end
|
1242
1242
|
|
@@ -1251,7 +1251,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1251
1251
|
allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1252
1252
|
allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
|
1253
1253
|
allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1254
|
-
allow(subject).to receive(:on).with(mono_master, "grep '
|
1254
|
+
allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1255
1255
|
expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
|
1256
1256
|
end
|
1257
1257
|
|
@@ -1266,7 +1266,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1266
1266
|
allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1267
1267
|
allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1268
1268
|
allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
|
1269
|
-
allow(subject).to receive(:on).with(mono_master, "grep '
|
1269
|
+
allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1270
1270
|
expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
|
1271
1271
|
end
|
1272
1272
|
|
@@ -1281,7 +1281,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1281
1281
|
allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1282
1282
|
allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1283
1283
|
allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1284
|
-
allow(subject).to receive(:on).with(mono_master, "grep '
|
1284
|
+
allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
|
1285
1285
|
expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
|
1286
1286
|
end
|
1287
1287
|
|
@@ -1294,7 +1294,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1294
1294
|
allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1295
1295
|
allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1296
1296
|
allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1297
|
-
allow(subject).to receive(:on).with(mono_master, "grep '
|
1297
|
+
allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
|
1298
1298
|
expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(false)
|
1299
1299
|
end
|
1300
1300
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-pe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.40.
|
4
|
+
version: 1.40.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|