[Qa-jenkins-scm] [jenkins.debian.net] 01/01: lvc: add another pause, and some debugging

Holger Levsen holger at layer-acht.org
Sat May 21 22:31:40 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 01fb7b5e10908c5ffca043f6d83d39083ba7f8d1
Author: Philip Hands <phil at hands.com>
Date:   Sun May 22 00:29:43 2016 +0200

    lvc: add another pause, and some debugging
---
 cucumber/features/step_definitions/common_steps.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index d0b1227..96adbe2 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -273,7 +273,8 @@ end
 Given /^I select ([a-z]*) mode and wait for the remote shell$/ do |ui_mode|
   if "gui" == ui_mode
     @screen.type(Sikuli::Key.DOWN) 
-    @screen.wait("d-i_bootmenu_graphical.png", 10)
+    #@screen.wait("d-i_bootmenu_graphical.png", 10)
+    sleep(20) # FIXME -- this should not be needed, but we'll try it for j.d.n's sake
   end
 
   #@screen.type(Sikuli::Key.TAB)
@@ -281,8 +282,11 @@ Given /^I select ([a-z]*) mode and wait for the remote shell$/ do |ui_mode|
   #             Sikuli::Key.ENTER)
   #$vm.wait_until_remote_shell_is_up
   
+  debug_log("debug: About to type ENTER at the bootsplash", :color => :blue)
   @screen.type(Sikuli::Key.ENTER) # we're disabling the above editing of the command line, since it's breaking on jenkins.debian.net for reasons unknown
+  debug_log("debug: waiting for it to get to the 'English' prompt...", :color => :blue)
   @screen.wait(diui_png("English",ui_mode), 3*60)  # FIXME -- this is just to pause until the remote shell would have been up, so is a kludge
+  debug_log("debug: found the 'English' prompt", :color => :blue)
 end
 
 Given /^in ([a-z]*) mode I select British English$/ do |ui_mode|

-- 
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