bake-toolkit 2.37.5 → 2.37.6
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
- data/bin/bakeqac +5 -3
- data/lib/common/version.rb +1 -1
- 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: 44a4376dcaeacdba3b5a9fbb5ff2c0d9f9a2ae81
|
4
|
+
data.tar.gz: d71e27eae209295de653c1f3b1fbf708301edb4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58f8ca280be6830ff4b466b8c4c60d23cee430b7ca22d4aa7e2b37f071e601d6647f6e167eb61405632bf43a5877b814c47ec93294c49aec3c041ade925ccfcd
|
7
|
+
data.tar.gz: 16e12e4a3263484082c9432c64bed7cb74f684052cc6abd77ad35a33042d8598b4b27f4a9207ab49ddf63d594dc8f3e541382a6ec62792473fae83b854db7965
|
data/bin/bakeqac
CHANGED
@@ -46,6 +46,7 @@ def self.executeQacli(cmd, adminStepAndImmediateOutput = false)
|
|
46
46
|
|
47
47
|
loop do
|
48
48
|
FileUtils.rm_rf @options.qacdata if adminStepAndImmediateOutput
|
49
|
+
|
49
50
|
# admin step should not take longer than 60 seconds, rest not longer than 80% of qacretry time if specified
|
50
51
|
success, consoleOutput = ProcessHelper.run(cmd, adminStepAndImmediateOutput, true, nil, [0], Dir.pwd, adminStepAndImmediateOutput ? 60 : (@options.qacretry * 0.8).to_i)
|
51
52
|
licenseError = false
|
@@ -63,17 +64,18 @@ def self.executeQacli(cmd, adminStepAndImmediateOutput = false)
|
|
63
64
|
puts "bakeqac: Unable to connect to QAX Daemon!"
|
64
65
|
break
|
65
66
|
end
|
66
|
-
if (line.include?("Process timeout"))
|
67
|
-
puts
|
67
|
+
if (line.include?("Process timeout") || line.include?("A mutually exclusive operation is in progress"))
|
68
|
+
puts line
|
69
|
+
puts "Seconds left after killing process: %d" % (@options.qacretry - (Time.now - timeStart))
|
68
70
|
processTimeout = true
|
69
71
|
puts "bakeqac: Removing locks from #{@options.qacdata}..."
|
70
72
|
sleep(1)
|
71
73
|
successRemove, consoleOutput = ProcessHelper.run($cmdRemoveLocks, false)
|
74
|
+
puts "Seconds left after removing locks: %d" % (@options.qacretry - (Time.now - timeStart))
|
72
75
|
puts consoleOutput unless consoleOutput.empty?
|
73
76
|
break
|
74
77
|
end
|
75
78
|
end
|
76
|
-
|
77
79
|
cSizeCheck = checkCipSize()
|
78
80
|
|
79
81
|
break unless ((@options.qacretry >= (Time.now - timeStart)) && (!cSizeCheck || licenseError || qacDaemonError || processTimeout))
|
data/lib/common/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.37.
|
4
|
+
version: 2.37.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Schaal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|