[Qa-jenkins-scm] [jenkins.debian.net] 09/11: lvc: start towards running jobs in parallel
Holger Levsen
holger at layer-acht.org
Fri May 27 18:15:07 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 0776a601268176364a575bb16fe42d9dacb5418b
Author: Philip Hands <phil at hands.com>
Date: Thu May 26 21:33:33 2016 +0200
lvc: start towards running jobs in parallel
---
cucumber/features/domains/default.xml | 2 ++
cucumber/features/support/config.rb | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/cucumber/features/domains/default.xml b/cucumber/features/domains/default.xml
index f1004dc..6a6eb14 100644
--- a/cucumber/features/domains/default.xml
+++ b/cucumber/features/domains/default.xml
@@ -37,10 +37,12 @@
<model type='virtio'/>
<link state='up'/>
</interface>
+<!-- FIXME need to uniquify the port, based on EXECUTOR_NUMBER
<serial type='tcp'>
<source mode="bind" host='127.0.0.1' service='1337'/>
<target port='0'/>
</serial>
+-->
<input type='tablet' bus='usb'/>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
diff --git a/cucumber/features/support/config.rb b/cucumber/features/support/config.rb
index 0e5ed31..fd9fbfe 100644
--- a/cucumber/features/support/config.rb
+++ b/cucumber/features/support/config.rb
@@ -23,6 +23,7 @@ $pause_on_fail = !ENV['PAUSE_ON_FAIL'].nil?
$time_at_start = Time.now
$live_user = "user"
$sikuli_retry_findfailed = !ENV['SIKULI_RETRY_FINDFAILED'].nil?
+$executor_number = ENV['EXECUTOR_NUMBER']
assert File.exists?(DEFAULTS_CONFIG_FILE)
$config = YAML.load(File.read(DEFAULTS_CONFIG_FILE))
@@ -60,10 +61,13 @@ OLD_TAILS_ISO = ENV['OLD_ISO'] || TAILS_ISO
TIME_AT_START = Time.now
ARTIFACTS_DIR = $config['TMPDIR'] + "/results"
JOB_NAME = ENV['JOB_NAME']
+BUILD_ID = ENV['BUILD_ID']
PATIENCE = ENV['PATIENCE'] || 3
# Constants that are statically initialized.
CONFIGURED_KEYSERVER_HOSTNAME = 'hkps.pool.sks-keyservers.net'
+#LIBVIRT_DOMAIN_NAME = "lvcVM-" + $executor_number
+#LIBVIRT_DOMAIN_UUID = "203552d5-819c-41f3-800e-2c8ef2546" + "%03d" % $executor_number
LIBVIRT_DOMAIN_NAME = "DebianToaster"
LIBVIRT_DOMAIN_UUID = "203552d5-819c-41f3-800e-2c8ef2545404"
LIBVIRT_NETWORK_NAME = "DebianToasterNet"
--
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