[Qa-jenkins-scm] [jenkins.debian.net] 06/18: lvc: Debian-Edu: wait for disk partitioning

Holger Levsen holger at layer-acht.org
Sat Nov 26 22:57: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 89eb3160eed72cec74edeb835531c526d7f5e442
Author: Philip Hands <phil at hands.com>
Date:   Sat Nov 26 13:58:43 2016 +0100

    lvc: Debian-Edu: wait for disk partitioning
---
 cucumber/features/images/d-i_gui_PartitionDisks.png | Bin 0 -> 3069 bytes
 cucumber/features/install.feature                   |   3 +++
 cucumber/features/step_definitions/common_steps.rb  |  10 ++++++++++
 3 files changed, 13 insertions(+)

diff --git a/cucumber/features/images/d-i_gui_PartitionDisks.png b/cucumber/features/images/d-i_gui_PartitionDisks.png
new file mode 100644
index 0000000..809c4f4
Binary files /dev/null and b/cucumber/features/images/d-i_gui_PartitionDisks.png differ
diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature
index 0a62850..d561232 100644
--- a/cucumber/features/install.feature
+++ b/cucumber/features/install.feature
@@ -95,6 +95,9 @@ Feature: Doing variations on d-i installs
     And I ignore Popcon
     And I set the root password to "rootme"
     And I set the password for "Philip Hands" to be "verysecret"
+    And I wait while the partitions are made
+    And I note that the Base system is being installed
+    And I wait patiently for the package installation to start
     And I wait while the bulk of the packages are installed
     And I install GRUB
     And I allow reboot after the install is complete
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 6dac688..ce4a38f 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -532,6 +532,16 @@ Given /^I select the ([A-Z][[:alpha:]]*) task$/ do |desktop|
   @screen.waitVanish(diui_png(expected_result), 10 * PATIENCE)
 end
 
+Given /^I wait while the partitions are made$/ do
+  @screen.wait(diui_png("PartitionDisks"), 60)
+  debug_log("debug: we see PartitionDisks", :color => :blue)
+  @screen.waitVanish(diui_png("PartitionDisks"), 2 * 60)
+end
+
+Given /^I wait patiently for the package installation to start$/ do
+  @screen.wait(diui_png("InstallSoftware"), 10 * 60)
+end
+
 Given /^I wait while the bulk of the packages are installed$/ do
   @screen.wait(diui_png("InstallSoftware"), 10)
   debug_log("debug: we see InstallSoftware", :color => :blue)

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