bake-toolkit 2.31.4 → 2.31.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30bd829e8164e48c2b18c8016312e51e2eab55d9
4
- data.tar.gz: 66c59279a8f751d4a04940198eb5379825fb1780
3
+ metadata.gz: 495c878ab0e2bc9b87d8e923f4b6cba27876bda7
4
+ data.tar.gz: 08dda7539f3b6ac841fc53fe5a2827f6fd691ed6
5
5
  SHA512:
6
- metadata.gz: ea5aaf8963d1e12f6407376cbbca3be7ec881db0e2c96bcb97387e42bc2b14701775dafda2a855e93723b45a4cb8e1ef24e421f4ae90e6c5bd63d158febb1256
7
- data.tar.gz: 9d3a2daff9a4cfac2ad8a85f58172769cbc8b4ecf5a5efff1e10e905e9e7fc274ffe883e0c1537a665fd78a918ddabdfe67bb130ef114be43e6838066e92501a
6
+ metadata.gz: 10f06d92c51970a96cb237aa5388251eea5079f24ec7be0a25b87287f7cbb1cac753c1f28e40d1fd07708491884a636330d0ceabbbeecfebda9eb82f792eb936
7
+ data.tar.gz: bd43b9b372a28168e9beace0872d1ba2a53a9867fc9ef6185cc8a28354abbe387e6b7d209cee9761a1e6319322dba1894908b22794627ae3197bca83c3691ef9
@@ -44,6 +44,7 @@ def self.executeQacli(cmd, adminStepAndImmediateOutput = false)
44
44
  FileUtils.rm_rf @options.qacdata if adminStepAndImmediateOutput
45
45
  success, consoleOutput = ProcessHelper.run(cmd, adminStepAndImmediateOutput)
46
46
  licenseError = false
47
+ qacDaemonError = false
47
48
 
48
49
  consoleOutput.each_line do |line|
49
50
  if (line.include?("License Refused") && !line.include?("License Refused: C:"))
@@ -51,14 +52,19 @@ def self.executeQacli(cmd, adminStepAndImmediateOutput = false)
51
52
  puts "License refused!"
52
53
  break
53
54
  end
55
+ if (line.include?("unable to connect to QAX Daemon") && !line.include?("License Refused: C:"))
56
+ qacDaemonError = true
57
+ puts "Unable to connect to QAX Daemon!"
58
+ break
59
+ end
54
60
  end
55
61
 
56
62
  cSizeCheck = checkCipSize()
57
63
 
58
- break unless ((@options.qacretry >= (Time.now - timeStart)) && (!cSizeCheck || licenseError))
64
+ break unless ((@options.qacretry >= (Time.now - timeStart)) && (!cSizeCheck || licenseError || qacDaemonError))
59
65
  puts "Retry seconds left: %d" % (@options.qacretry - (Time.now - timeStart))
60
66
  end
61
- checkError = !cSizeCheck || licenseError
67
+ checkError = !cSizeCheck || licenseError || qacDaemonError
62
68
  puts "Retry timeout over -> failure." if @options.qacretry > 0 && checkError
63
69
 
64
70
  success = false if checkError
@@ -27,7 +27,7 @@ module Bake
27
27
 
28
28
  def self.install
29
29
 
30
- docuSource = "https://raw.githubusercontent.com/esrlabs/bake/#{Bake::Version.number}/docs/"
30
+ docuSource = "https://raw.githubusercontent.com/esrlabs/bake/#{Bake::Version.number}/install-docs/"
31
31
  docuTarget = File.dirname(__FILE__)+"/../../../doc/"
32
32
  begin
33
33
  f = open(docuSource+"files.txt", {ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE})
@@ -1,7 +1,7 @@
1
1
  module Bake
2
2
  class Version
3
3
  def self.number
4
- "2.31.4"
4
+ "2.31.5"
5
5
  end
6
6
 
7
7
  def self.printBakeVersion(ry = "")
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.31.4
4
+ version: 2.31.5
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-02-22 00:00:00.000000000 Z
11
+ date: 2017-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rtext