Though passes if judgement, the
overall_limit_pe(\$vg_more_free_pe);
may final judge no more free_pe to extend.
So, check if $vg_more_free_pe is 0, if so, we don't lvextend,
otherwise lvextend will report error on nonsense operation.
Signed-off-by: Robert Ho
---
ts-xen-build-pre
In previous adding of 'submenu' parsing code, a mistake was made.
Now restore the match pattern to original.
Signed-off-by: Robert Ho
---
Osstest/Debian.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index c6b472
From: Ian Jackson
Signed-off-by: Ian Jackson
Tested-by: Robert Ho
---
tcl/osstestlib.tcl | 7 +++
1 file changed, 7 insertions(+)
diff --git a/tcl/osstestlib.tcl b/tcl/osstestlib.tcl
index 61a6a09..b5a52d3 100644
--- a/tcl/osstestlib.tcl
+++ b/tcl/osstestlib.tcl
@@ -75,6 +75,13 @@ proc
Signed-off-by: Robert Ho
---
ts-debian-hvm-install | 5 +
1 file changed, 5 insertions(+)
diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install
index 2ec4717..e271af8 100755
--- a/ts-debian-hvm-install
+++ b/ts-debian-hvm-install
@@ -202,6 +202,10 @@ sub prep
Comment out CDROM entry in sources.list to make HTTP URL entry
available for L1 HVM guest VM.
Signed-off-by: Robert Ho
---
ts-debian-hvm-install | 7 +++
1 file changed, 7 insertions(+)
diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install
index f9bc5a5..2ec4717 100755
--- a
dress in dhcp cases.
Signed-off-by: Robert Ho
---
Osstest/TestSupport.pm | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 1d1d6b1..298fca9 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
of nested test).
Signed-off-by: Robert Ho
---
Osstest/DhcpWatch/leases.pm | 2 +-
Osstest/TestSupport.pm | 23 +--
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/Osstest/DhcpWatch/leases.pm b/Osstest/DhcpWatch/leases.pm
index 9a74c40..16e67d3 100644
--
-
Ian Jackson (4):
Tcl: Provide lunappend
sg-run-job: Declare Tcl (for the benefit of Emacs)
sg-run-job: Break out per-host-prep and per-host-finish
sg-run-job: Provide infrastructure for layers of nesting
Robert Ho (17):
Optimize and re-format previ
in per-host-finish, avoids powering off physical servers. The
use of `.' rather than `!.' for iffail means we do not power off
after failures (as we might want to preserve the state for debugging
etc).
Signed-off-by: Ian Jackson
Tested-by: Robert Ho
---
sg-run-job | 21 ++
guest.
Changes since last version:
1. don't store l1 IP in runvar
2. create vg in the lv disk in l0; not bother to do this inside l1.
Signed-off-by: longtao.pang
Acked-by: Ian Campbell
Signed-off-by: Robert Ho
---
ts-nested-setup | 77 +++
size to be defined by runvar. It takes precedence
over the calculation formula.
3. Add comment at the interface code.
Signed-off-by: Robert Ho
---
Osstest/TestSupport.pm | 3 ++-
ts-debian-hvm-install | 14 ++
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git
* space between ')' and '{'; and after '='
* omit unnecessary 'define' and '!defined' usage
* break long '{}' into several lines
Signed-off-by: Robert Ho
---
Osstest/Debian.pm | 10 ++
1 file changed, 6 insertions(+), 4 dele
Schedul start osstest-confirm-booted script via call
`host_install_postboot_complete' fucntion; in order
to avoid open code.
Signed-off-by: Robert Ho
---
ts-host-install | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ts-host-install b/ts-host-install
.
Signed-off-by: Robert Ho
---
ts-xen-install | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/ts-xen-install b/ts-xen-install
index e039173..6d04982 100755
--- a/ts-xen-install
+++ b/ts-xen-install
@@ -303,10 +303,7 @@ END
if (m/^\s* iface \s+ (?: $physif | xenbr0
s-nested-setup) will need this, so wrapper it
to avoid open code.
Signed-off-by: Robert Ho
---
Osstest/TestSupport.pm | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index b7963af..f2ec9be 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest
Signed-off-by: Robert Ho
---
sg-run-job | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sg-run-job b/sg-run-job
index 7cb6cac..4ae651d 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -69,14 +69,14 @@ proc run-job {job} {
per-host-ts broken host-install/@(*) ts-host
From: Ian Jackson
Signed-off-by: Ian Jackson
Tested-by: Robert Ho
Resolve conflicts:
sg-run-job
---
sg-run-job | 1 +
1 file changed, 1 insertion(+)
diff --git a/sg-run-job b/sg-run-job
index e4ebc22..ec03cce 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -1,4 +1,5 @@
#!/usr/bin/tclsh
For nested host/guest, its power on/off method shall be
its host invoke $(toolstack)->create/destroy method.
---
Osstest/PDU/guest.pm | 63 ++
Osstest/TestSupport.pm | 3 +++
2 files changed, 66 insertions(+)
create mode 100755 Osstest/PDU/guest.
After integrated Ian J.'s code of nested infrasture changes, re-
write the nested job's recipe.
Signed-off-by: Robert Ho
---
sg-run-job | 10 ++
1 file changed, 10 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index 4ae651d..3f24fd6 100755
--- a/sg-run-job
+++ b/
s function for l1 host.
Signed-off-by: longtao.pang
Signed-off-by: Robert Ho
---
Osstest/TestSupport.pm | 19 +++
ts-debian-hvm-install | 1 +
ts-host-install| 15 +--
ts-nested-setup| 2 ++
4 files changed, 23 insertions(+), 14 deletions(-)
di
essary ''
3. no need to set l2 disk size
Signed-off-by: longtao.pang
Acked-by: Ian Campbell
Signed-off-by: Robert Ho
---
make-flight | 29 +
1 file changed, 29 insertions(+)
diff --git a/make-flight b/make-flight
index 00f797e..aa6c9b5 100755
--- a/make
From: Ian Jackson
No functional change.
We now call the per-host-ts finish steps unconditionally, rather than
only if !$need_build_host, per-host-ts is (complicated) no-op if
$need_build_host, since in that case $need_xen_hosts is {}.
Signed-off-by: Ian Jackson
Tested by: Robert Ho
---
sg
From a hvm kernel build from Linux stable Kernel tree,
the auto generated grub2 menu will have 'submenu' primitive, upon the
'menuentry' items. Xen boot entries will be grouped into a submenu. This
patch adds capability to support such grub formats. Also, this patch adjust
some indent alignmen
This patch accomodates ts-xen-install to nested L1 xen
installation usage. Its change is relatively simpler than
ts-debain-hvm-install. We simply alter '$ho' usage to 'w_ho', which is
assigned to '$ho' in original L0 installation context, while assigned to
'$gho' in L1 Xen installation context
Add build-debain-hvm build job. The $TREE_LINUX and
$REVISION_LINU can be designaged in standalone.config.
---
mfi-common | 8
1 file changed, 8 insertions(+)
diff --git a/mfi-common b/mfi-common
index 27d6b31..0d43959 100644
--- a/mfi-common
+++ b/mfi-common
@@ -166,6 +166,14 @@ crea
Compose the main body of test-nested test job.
1. invoke ts-debian-hvm-install with host of 'host', gn of 'nested',
nested of 'nested_L1'
2. then install xen (ts-xen-install) with host of 'host', gn of
'nested', nested_build defined
3. then again invoke ts-debian-hvm-install to
install L2,
In nested test case, guest boot will take more time.
Increase the timer to 200 seconds.
---
Osstest/TestSupport.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index c4da8ce..f3c515e 100644
--- a/Osstest/TestSupport.pm
+++
Designate vif model to 'e1000', otherwise, with default
device model, the L1 eth0 interface disappear, hence xenbridge cannot work.
Maybe this limitation can be removed later after some fix it. For now, we
have to accomodate to it.
---
Osstest/TestSupport.pm | 2 +-
1 file changed, 1 insertio
---
Osstest/TestSupport.pm | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index c23bbc7..864805e 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -1753,7 +1753,11 @@ sub target_kernkind_check ($) {
if
When install L2 guest, we will need to invoke
'select_ether' to get guest MAC address. So here expose select_ether(). And
also, we added another function 'guest_editconfig_cd' and expose it. This
function bascically changes guest boot device sequence and alter its
on_reboot behavior to restart.
This patch adds creation of the nested test job; when
job creation procedure is invoked.
---
make-flight | 20
1 file changed, 20 insertions(+)
diff --git a/make-flight b/make-flight
index a91f256..4f6ce91 100755
--- a/make-flight
+++ b/make-flight
@@ -197,6 +197,25 @@ do
---
Osstest/TestSupport.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 8f8638b..1053409 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -53,7 +53,7 @@ BEGIN {
target_getfile
In L2 installation context, its host (L1) IP address is
not queried from DNS, but from previous step of L1 installation, in which, L1
IP is stored in run var.
---
Osstest/TestSupport.pm | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/
This patch is to make ts-debian-hvm-install accomodate
to nested L1 and L2 guest installation context. 1. Add an input param
'nested' to indicate which installationcontext is. and manipulating 'gn'
accordingly. 2. increase disk size to accomodate to nested test requirment.
3. increase root
es 'ts-xen-install' with 'nested' input param to differentiate L1
Xen installation from L0 Xen installation.
This patch series has been tested on test machines of amd64 arch, with hvm
domain0 of Linux kernel 3.18.5, in standalone mode.
Robert Ho (12):
Add support of par
35 matches
Mail list logo