[Qa-jenkins-scm] [jenkins.debian.net] 12/18: lvc: add a long pause on failure, to give time for manual debugging

Holger Levsen holger at layer-acht.org
Sat Nov 26 22:57:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 6417b267a8b08476dd201ec6e596ab0c36f6005c
Author: Philip Hands <phil at hands.com>
Date:   Sat Nov 26 16:01:50 2016 +0100

    lvc: add a long pause on failure, to give time for manual debugging
---
 cucumber/features/step_definitions/common_steps.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index a31d3fd..b7f29d4 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -566,9 +566,10 @@ Given /^I wait while the bulk of the packages are installed$/ do
       end
       debug_log("debug: typed F4, pausing...", :color => :blue)
       sleep(5)
-      debug_log("debug: slept 10", :color => :blue)
+      debug_log("debug: slept 5", :color => :blue)
       if diui_png("InstallationStepFailed") == hit
         failed = true
+        sleep(30*60) # pause for 30-mins, for debugging
       else
         if "gui" == @ui_mode
           @screen.type(Sikuli::Key.F5, Sikuli::KeyModifier.ALT)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list