Skip to contentSkip to conversation

Upgrade to Stretch

PATCH Superseded Wei Liu 2 participants 47 messages Oct 20, 2017 – Oct 25, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

cover Upgrade to Stretch

Hi all

This series upgrades osstest to Debian Strech, which aims to:

1. Keep osstest up-to-date.
2. Enable us to collect aggregate gcov data (depends on newer gcc in Stretch).
3. Enable us to run (yet to be implemented) hypervisor fuzzer in the (distant) future (depends on newer gcc in Stretch).

There are a few issues:

1. Debian stock kernel has a bug that causes local migration fails.
2. Hosts merlot* don't work well even without xen:
2.1 Sometimes they don't boot after debian-install.
2.2 Sometimes they stall when installing packages, causing tests to time out. These aren't really related to Stretch.
3. The unstability with Arndale boards' nic is more prominent. Or worse -- they have become completely unusable. I don't have enough data yet. We might need to work around this, but I'm not sure how to do that yet.
4. Pvgrub1 won't work due to it is bitrot and can't deal with ext4 fs with 64bit enabled.
5. Osstest currently doesn't have any ARM64 boxes, so I'm not sure if they will require any fixes.
6. Rumprun doesn't build due to its build system can't cope. This should be fixed in rumprun.

I have taken the following measures:

1. Mark merlot* unsuitable for Stretch (!suite-stretch) to avoid false positives during development.
2. Drop pvgrub1 tests.

Example flight:
http://logs.test-lab.xenproject.org/osstest/logs/114769/

Wei.

Cc Ian Jackson <[email protected]>
Cc Julien Grall <[email protected]>

Wei Liu (16):
XXX add a stretch config based on production-config
gitignore: ignore vim swap file
ts-xen-build-prep: don't install w3c-dtd-xhtml for Stretch onward
ts-xen-build-prep: install packages for stretch mg-debian-installer-update-all: put quotes around arguments
ts-xen-install: install some packages on stretch Debian.pm: use sysvinit-core on stretch
ts-leak-check: suppress systemd-shim, which leaks in stretch
ts-host-install: don't use the new nic naming scheme
ts-debian-fixup: remove extra= before appending our own
ts-debian-fixup: use correct resume device
make-flight: don't test pvgrub for Xen XXX
ts-debian-hvm-install: disable new nic naming scheme
ts-xen-build-prep: install e2fslibs-dev
TestSupport: add dpkg option when installing packages
ts-guests-nbd-mirror: make it work with stretch

 .gitignore                     |   1 +
 Osstest/Debian.pm              |   2 +-
 Osstest/TestSupport.pm         |   3 +-
 make-flight                    |  17 +++-
 mg-debian-installer-update     |   2 +-
 mg-debian-installer-update-all |   2 +-
 production-config-stretch      | 173 +++++++++++++++++++++++++++++++++++++++++
 ts-debian-fixup                |  14 ++++
 ts-debian-hvm-install          |  12 +++
 ts-guests-nbd-mirror           |  47 ++++++++++-
 ts-host-install                |   4 +
 ts-leak-check                  |   1 +
 ts-xen-build-prep              |  15 +++-
 ts-xen-install                 |   3 +
 14 files changed, 286 insertions(+), 10 deletions(-)
 create mode 100644 production-config-stretch
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#1 lore raw

PATCH 1/16 XXX add a stretch config based on production-config

diff -ub production-config production-config-stretch

production-config-stretch 2017-10-19 16:12:20.839743993 +0100 renamed from production-config 2017-10-11 15:01:16.891770210 +0100 +5 -0
@@ -21,6 +21,9 @@
 JobDB Executive
 HostDB Executive
 
+DebianSuite stretch
+GuestDebianSuite stretch
+
 HostnameSortSwapWords 0
 
 HostDB_Executive_NoConfigDB 1
@@ -93,10 +96,12 @@
 # Update with ./mg-debian-installer-update(-all)
 TftpDiVersion_wheezy 2016-06-08
 TftpDiVersion_jessie 2017-04-06
+TftpDiVersion_stretch 2017-10-11
 
 # For ISO installs
 DebianImageVersion_wheezy 7.2.0
 DebianImageVersion_jessie 8.2.0
+DebianImageVersion_stretch 9.2.1
 
 # These should normally be the same.
 # Update with ./mg-cpu-microcode-update
---
 production-config-stretch | 173 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 173 insertions(+)
 create mode 100644 production-config-stretch
production-config-stretch new file +173 -0

173 lines not on this page · raw message

Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw

Re: [OSSTEST PATCH 01/16] XXX add a stretch config based on production-config

Wei Liu writes ("[OSSTEST PATCH 01/16] XXX add a stretch config based on production-config"):

Quoted 1 line

diff -ub production-config production-config-stretch

The changes LGTM but obviously this ought to go straight into `production-config'.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#3 lore raw

Re: [OSSTEST PATCH 01/16] XXX add a stretch config based on production-config

Quoted 5 lines · Ian Jackson

Wei Liu writes ("[OSSTEST PATCH 01/16] XXX add a stretch config based on production-config"):

Quoted 1 line

diff -ub production-config production-config-stretch

The changes LGTM but obviously this ought to go straight into `production-config'.

I kept two files so that I can switch easily between them.

The final incarnation of this patch is going to be a bit different -- I want to patch Osstest.pm to switch the default suite.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#4 lore raw

PATCH 2/16 gitignore: ignore vim swap file

In reply to Wei Liu
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 425506b..f7e5b77 100644
@@ -1,5 +1,6 @@
 *~
 *.bak
+*.swp
 tmp
 *.tmp
 bisection.ps
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#6 lore raw

PATCH 3/16 ts-xen-build-prep: don't install w3c-dtd-xhtml for Stretch onward

In reply to Wei Liu

It is not included in Stretch.

That package was installed because libvirt build needed it. However libvirt builds fine without it in Stretch. It should be fine to just not install it on Stretch.

---
 ts-xen-build-prep | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
ts-xen-build-prep +4 -1
index 3e98364..6152d0a 100755
@@ -206,9 +206,12 @@ sub prep () {
                       libglib2.0-dev liblzma-dev pkg-config
                       autoconf automake libtool xsltproc
                       libxml2-utils libxml2-dev
-                      libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
+                      libdevmapper-dev libxml-xpath-perl
                       ccache nasm checkpolicy ebtables);
 
+    if ($ho->{Suite} !~ m/stretch/) {
+	push(@packages, "w3c-dtd-xhtml");
+    }
     if ($ho->{Suite} !~ m/squeeze|wheezy/) {
 	push(@packages, qw(ocaml-nox ocaml-findlib));
     }
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#7 lore raw

Re: [OSSTEST PATCH 03/16] ts-xen-build-prep: don't install w3c-dtd-xhtml for Stretch onward

Wei Liu writes ("[OSSTEST PATCH 03/16] ts-xen-build-prep: don't install w3c-dtd-xhtml for Stretch onward"):

Quoted 5 lines

It is not included in Stretch.

That package was installed because libvirt build needed it. However libvirt builds fine without it in Stretch. It should be fine to just not install it on Stretch.

...

ts-xen-build-prep sub prep () { · line 214

Quoted 3 lines
ts-xen-build-prep +3 -0
+    if ($ho->{Suite} !~ m/stretch/) {
+	push(@packages, "w3c-dtd-xhtml");
+    }

This is not correct because it will break when buster is released. Instead you should list all still-supported old suites for which (you think) it is required.

I suggest for still-supported' we arbitrarily go back to squeeze',
so you want if ... m/squeeze|jessie/

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#8 lore raw

Re: [OSSTEST PATCH 03/16] ts-xen-build-prep: don't install w3c-dtd-xhtml for Stretch onward

Quoted 15 lines · Ian Jackson

Wei Liu writes ("[OSSTEST PATCH 03/16] ts-xen-build-prep: don't install w3c-dtd-xhtml for Stretch onward"):

Quoted 5 lines

It is not included in Stretch.

That package was installed because libvirt build needed it. However libvirt builds fine without it in Stretch. It should be fine to just not install it on Stretch.

...

ts-xen-build-prep sub prep () { · line 214

Quoted 3 lines
ts-xen-build-prep +3 -0
+    if ($ho->{Suite} !~ m/stretch/) {
+	push(@packages, "w3c-dtd-xhtml");
+    }

This is not correct because it will break when buster is released. Instead you should list all still-supported old suites for which (you think) it is required.

Quoted 3 lines

I suggest for still-supported' we arbitrarily go back to squeeze',
so you want if ... m/squeeze|jessie/

No problem.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#9 lore raw

PATCH 4/16 ts-xen-build-prep: install packages for stretch

In reply to Wei Liu

Stubdom build needs texinfo.

Libvirt build needs autopoint.

---
 ts-xen-build-prep | 4 ++++
 1 file changed, 4 insertions(+)
ts-xen-build-prep +4 -0
index 6152d0a..70a53ca 100755
@@ -221,6 +221,10 @@ sub prep () {
 	# jessie (>jessie?)
 	push(@packages, "libnl-route-3-dev");
     }
+    if ($ho->{Suite} =~ m/stretch/) {
+        push(@packages, qw(texinfo autopoint libpciaccess-dev));
+    }
+
     target_install_packages($ho, @packages);
     target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates");
     # workaround for Debian #595728
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#10 lore raw

Re: [OSSTEST PATCH 04/16] ts-xen-build-prep: install packages for stretch

Wei Liu writes ("[OSSTEST PATCH 04/16] ts-xen-build-prep: install packages for stretch"):

Quoted 1 line

Stubdom build needs texinfo.

Same comment as my previous patch. You should only mention old release names in these kind of tests, unless you know that the requirement is specific to only stretch and not future releases.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#11 lore raw

PATCH 5/16 mg-debian-installer-update-all: put quotes around arguments

In reply to Wei Liu
---
 mg-debian-installer-update     | 2 +-
 mg-debian-installer-update-all | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
mg-debian-installer-update +1 -1
index 37cec58..dc807a2 100755
@@ -26,7 +26,7 @@ set -e -o posix
 
 suite=$1
 arch=$2
-packages="$3"
+packages=$3
 
 site=http://ftp.debian.org/debian/
 sbase=$site/dists/$suite
mg-debian-installer-update-all +1 -1
index d88ebf5..d590b2b 100755
@@ -31,5 +31,5 @@ fws=`getconfig DebianNonfreeFirmware`
 arches="arm64 armhf amd64 i386"
 
 for arch in $arches ; do
-    ./mg-debian-installer-update $suite $arch $fws
+    ./mg-debian-installer-update "$suite" "$arch" "$fws"
 done
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#12 lore raw

Re: [OSSTEST PATCH 05/16] mg-debian-installer-update-all: put quotes around arguments

Wei Liu writes ("[OSSTEST PATCH 05/16] mg-debian-installer-update-all: put quotes around arguments"):

Quoted 1 line

...

mg-debian-installer-update set -e -o posix · line 29

Quoted 4 lines

suite=$1
arch=$2

mg-debian-installer-update +1 -1
-packages="$3"
+packages=$3

Not sure why this needless style change, but if you did it deliberately I don't really mind...

mg-debian-installer-update-all fws=`getconfig DebianNonfreeFirmware` · line 35

Quoted 13 lines

site=http://ftp.debian.org/debian/
sbase=$site/dists/$suite

mg-debian-installer-update-all +1 -1
index d88ebf5..d590b2b 100755
@@ -31,5 +31,5 @@ fws=`getconfig DebianNonfreeFirmware`
 arches="arm64 armhf amd64 i386"
 
 for arch in $arches ; do
-    ./mg-debian-installer-update $suite $arch $fws
+    ./mg-debian-installer-update "$suite" "$arch" "$fws"
 done

This hunk LGTM. Although the "" around $suite and $arch are unnecessary I don't really mind them.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#13 lore raw

PATCH 6/16 ts-xen-install: install some packages on stretch

In reply to Wei Liu

The "route" command is now in that package.

libnl is needed when running xl.

---
 ts-xen-install | 3 +++
 1 file changed, 3 insertions(+)
ts-xen-install +3 -0
index ec907c5..d4c25c7 100755
@@ -57,6 +57,9 @@ sub packages () {
                                libsdl1.2debian libglib2.0-0 liblzma5
 			       qemu-utils
                                netcat-openbsd));
+    if ($ho->{Suite} =~ m/stretch/) {
+        target_install_packages($ho, 'net-tools libnl-route-3-200');
+    }
     if ($ho->{Suite} =~ m/jessie/) {
         target_install_packages($ho, 'libnl-route-3-200');
     }
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#14 lore raw

PATCH 7/16 Debian.pm: use sysvinit-core on stretch

In reply to Wei Liu
---
 Osstest/Debian.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/Debian.pm +1 -1
index 845027a..24bc260 100644
@@ -827,7 +827,7 @@ sub preseed_base ($$$;@) {
 
     # Systemd doesn't honor osstest-confirm-booted service, which
     # breaks ts-leak-check.  Fall back to SysV init for now.
-    if ( $suite =~ /jessie/ ) {
+    if ( $suite =~ /jessie|stretch/ ) {
        preseed_hook_command($ho, 'late_command', $sfx, <<END)
 in-target apt-get install -y sysvinit-core
 END
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#15 lore raw

Re: [OSSTEST PATCH 07/16] Debian.pm: use sysvinit-core on stretch

Wei Liu writes ("[OSSTEST PATCH 07/16] Debian.pm: use sysvinit-core on stretch"):
...

Osstest/Debian.pm sub preseed_base ($$$;@) { · line 832

Quoted 12 lines
Osstest/Debian.pm +1 -1
index 845027a..24bc260 100644
@@ -827,7 +827,7 @@ sub preseed_base ($$$;@) {
 
     # Systemd doesn't honor osstest-confirm-booted service, which
     # breaks ts-leak-check.  Fall back to SysV init for now.
-    if ( $suite =~ /jessie/ ) {
+    if ( $suite =~ /jessie|stretch/ ) {
        preseed_hook_command($ho, 'late_command', $sfx, <<END)
 in-target apt-get install -y sysvinit-core

I think we should probably recognise that this is not going to change, and switch this from a workaround to a policy decision. Ie,

if ... !~ m/squeeze/

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#16 lore raw

PATCH 8/16 ts-leak-check: suppress systemd-shim, which leaks in stretch

In reply to Wei Liu
---
 ts-leak-check | 1 +
 1 file changed, 1 insertion(+)
ts-leak-check +1 -0
index 678d069..41e6245 100755
@@ -202,6 +202,7 @@ xenstore /vm
 xenstore /libxl
 
 process .* udevd
+process .* /.+/systemd-shim
 
 file /var/run/xenstored/db
 file /var/run/xenstored/db.debug
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#18 lore raw

PATCH 9/16 ts-host-install: don't use the new nic naming scheme

In reply to Wei Liu
---
 ts-host-install | 4 ++++
 1 file changed, 4 insertions(+)
ts-host-install +4 -0
index 20b8a60..530bc5c 100755
@@ -271,6 +271,10 @@ END
     # why this is repeated.
     push @hocmdline, "console=$console" unless $console eq "NONE";
 
+    # Don't use "Predictable Network Interface Names"
+    # https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
+    push @hocmdline, "net.ifnames=0" if $ho->{Suite} =~ m/stretch/;
+
     push @hocmdline,
         get_host_property($ho, "linux-boot-append $ho->{Suite}", ''),
         get_host_property($ho, "linux-boot-append $ho->{Suite} $r{arch}", '');
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#20 lore raw

PATCH 10/16 ts-debian-fixup: remove extra= before appending our own

In reply to Wei Liu

The original extra= was not removed, so there were two extra= in the resulting config file.

It wasn't a problem for xl because the second extra= took precedence. However libvirt tests would only pick up the first extra= -- they worked by chance.

Fix this issue by removing the first extra=.

---
 ts-debian-fixup | 2 ++
 1 file changed, 2 insertions(+)
ts-debian-fixup +2 -0
index f29971d..d476467 100755
@@ -175,6 +175,8 @@ sub otherfixupcfg () {
         $extra .= " iommu=soft";
     }
 
+
+    $cfg =~ s/^extra.*//mg;
     $cfg .= "\nextra='$extra'\n";
 };
 
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#21 lore raw

Re: [OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own

Wei Liu writes ("[OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own"):

Quoted 2 lines

The original extra= was not removed, so there were two extra= in the resulting config file.

What is the original extra= ? Why should we not combine them ?

Quoted 3 lines

It wasn't a problem for xl because the second extra= took precedence. However libvirt tests would only pick up the first extra= -- they worked by chance.

That's odd. Is this to do with the xl -> libxl config converter ? It seems to me that that converter should interpret xl config files the same way xl does. (Also xm did the same: last setting wins.)

ts-debian-fixup sub otherfixupcfg () { · line 180

Quoted 4 lines
ts-debian-fixup +2 -0
+
+    $cfg =~ s/^extra.*//mg;
     $cfg .= "\nextra='$extra'\n";

Also, accidental whitespace change.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#22 lore raw

Re: [OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own

Quoted 5 lines · Ian Jackson

Wei Liu writes ("[OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own"):

Quoted 2 lines

The original extra= was not removed, so there were two extra= in the resulting config file.

What is the original extra= ? Why should we not combine them ?

The original extra= is generated by xen-create-image. It has the content "elevator=noop". It doesn't seem too useful to me. But I'm fine with combination them.

Quoted 9 lines
Quoted 4 lines

It wasn't a problem for xl because the second extra= took precedence. However libvirt tests would only pick up the first extra= -- they worked by chance.

That's odd. Is this to do with the xl -> libxl config converter ? It seems to me that that converter should interpret xl config files the same way xl does. (Also xm did the same: last setting wins.)

Yes, the converter only picks up the first.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#23 lore raw

Re: [OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own

Wei Liu writes ("Re: [OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own"):

Quoted 10 lines · Ian Jackson
Quoted 5 lines

Wei Liu writes ("[OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own"):

Quoted 2 lines

The original extra= was not removed, so there were two extra= in the resulting config file.

What is the original extra= ? Why should we not combine them ?

The original extra= is generated by xen-create-image. It has the content "elevator=noop". It doesn't seem too useful to me. But I'm fine with combination them.

I think they should be combined. And that "elevator=noop" doesn't sound unreasonable.

Quoted 9 lines
Quoted 7 lines
Quoted 3 lines

It wasn't a problem for xl because the second extra= took precedence. However libvirt tests would only pick up the first extra= -- they worked by chance.

That's odd. Is this to do with the xl -> libxl config converter ? It seems to me that that converter should interpret xl config files the same way xl does. (Also xm did the same: last setting wins.)

Yes, the converter only picks up the first.

This is a bug, then. Where should we file it ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#24 lore raw

Re: [OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own

Quoted 19 lines · Ian Jackson

Wei Liu writes ("Re: [OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own"):

Quoted 10 lines · Ian Jackson
Quoted 5 lines

Wei Liu writes ("[OSSTEST PATCH 10/16] ts-debian-fixup: remove extra= before appending our own"):

Quoted 2 lines

The original extra= was not removed, so there were two extra= in the resulting config file.

What is the original extra= ? Why should we not combine them ?

The original extra= is generated by xen-create-image. It has the content "elevator=noop". It doesn't seem too useful to me. But I'm fine with combination them.

I think they should be combined. And that "elevator=noop" doesn't sound unreasonable.

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

It wasn't a problem for xl because the second extra= took precedence. However libvirt tests would only pick up the first extra= -- they worked by chance.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

That's odd. Is this to do with the xl -> libxl config converter ? It seems to me that that converter should interpret xl config files the same way xl does. (Also xm did the same: last setting wins.)

Yes, the converter only picks up the first.

This is a bug, then. Where should we file it ?

Not sure -- maybe email Jim and CC libvirt list?

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#25 lore raw

PATCH 11/16 ts-debian-fixup: use correct resume device

In reply to Wei Liu

See code comment for explanation.

---
 ts-debian-fixup | 12 ++++++++++++
 1 file changed, 12 insertions(+)
ts-debian-fixup +12 -0
index d476467..fe37c30 100755
@@ -176,6 +176,18 @@ sub otherfixupcfg () {
     }
 
 
+    # There might be stale entries in /etc/initramfs-tools/conf.d/resume
+    # which get stored in the initramfs. That introduces delay in guest booting
+    # which might cause tests to fail.
+    #
+    # This is particularly prominent in systemd enabled releases when it tries
+    # to scan for the inexistent device(s) for a long time.
+    #
+    # Override that in kernel command line with the correct swap partition.
+    $cfg =~ m/'phy:.+-swap,(xvda\d+),.*'/;
+    $extra .= " resume=/dev/$1";
+    logm("change resume device to $1");
+
     $cfg =~ s/^extra.*//mg;
     $cfg .= "\nextra='$extra'\n";
 };
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#26 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Wei Liu writes ("[OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 1 line

See code comment for explanation.

...

ts-debian-fixup sub otherfixupcfg () { · line 181

Quoted 3 lines
ts-debian-fixup +3 -0
+    # There might be stale entries in /etc/initramfs-tools/conf.d/resume
+    # which get stored in the initramfs. That introduces delay in guest booting
+    # which might cause tests to fail.

Why might there be such stale entries ?

ts-debian-fixup sub otherfixupcfg () { · line 184

Quoted 2 lines
ts-debian-fixup +2 -0
+    # This is particularly prominent in systemd enabled releases when it tries
+    # to scan for the inexistent device(s) for a long time.

Why is this not a bug in systemd ? If there are workarounds in osstest for Debian, I usually want a bug in the BTS, and a suite limit on the workaround so that we poke Debian again in 2 years time...

ts-debian-fixup sub otherfixupcfg () { · line 189

Quoted 4 lines
ts-debian-fixup +4 -0
+    # Override that in kernel command line with the correct swap partition.
+    $cfg =~ m/'phy:.+-swap,(xvda\d+),.*'/;
+    $extra .= " resume=/dev/$1";
+    logm("change resume device to $1");

Alternatively, if indeed this is necessary and not due to bugs, perhaps it should be done by xen-tools ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#27 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Quoted 8 lines · Ian Jackson

Wei Liu writes ("[OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 1 line

See code comment for explanation.

...

ts-debian-fixup sub otherfixupcfg () { · line 181

Quoted 3 lines
ts-debian-fixup +3 -0
+    # There might be stale entries in /etc/initramfs-tools/conf.d/resume
+    # which get stored in the initramfs. That introduces delay in guest booting
+    # which might cause tests to fail.

Why might there be such stale entries ?

The ramdisk is taken from the host, which contains that file. The resume device is going to point to the swap partition in the host.

Quoted 8 lines

ts-debian-fixup sub otherfixupcfg () { · line 184

Quoted 3 lines
ts-debian-fixup +2 -0
+    # This is particularly prominent in systemd enabled releases when it tries
+    # to scan for the inexistent device(s) for a long time.

Why is this not a bug in systemd ? If there are workarounds in osstest for Debian, I usually want a bug in the BTS, and a suite limit on the workaround so that we poke Debian again in 2 years time...

It has always been like that since forever. It appears that stretch will try a lot harder than jessie (which only tries once). Now thinking about it I can't say for sure whether that's due to the new kernel, or systemd or both.

Quoted 8 lines

ts-debian-fixup sub otherfixupcfg () { · line 189

Quoted 4 lines
ts-debian-fixup +4 -0
+    # Override that in kernel command line with the correct swap partition.
+    $cfg =~ m/'phy:.+-swap,(xvda\d+),.*'/;
+    $extra .= " resume=/dev/$1";
+    logm("change resume device to $1");

Alternatively, if indeed this is necessary and not due to bugs, perhaps it should be done by xen-tools ?

No, see the first paragraph. xen-tools can't be expected to modify the ramdisk.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#28 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 12 lines · Ian Jackson
Quoted 8 lines

Wei Liu writes ("[OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 1 line

See code comment for explanation.

...

ts-debian-fixup sub otherfixupcfg () { · line 181

Quoted 3 lines
ts-debian-fixup +3 -0
+    # There might be stale entries in /etc/initramfs-tools/conf.d/resume
+    # which get stored in the initramfs. That introduces delay in guest booting
+    # which might cause tests to fail.

Why might there be such stale entries ?

The ramdisk is taken from the host, which contains that file. The resume device is going to point to the swap partition in the host.

Ah. Hrm. I guess this was always a bit of a bodge.

Quoted 10 lines
Quoted 7 lines

ts-debian-fixup sub otherfixupcfg () { · line 189

Quoted 4 lines
ts-debian-fixup +4 -0
+    # Override that in kernel command line with the correct swap partition.
+    $cfg =~ m/'phy:.+-swap,(xvda\d+),.*'/;
+    $extra .= " resume=/dev/$1";
+    logm("change resume device to $1");

Alternatively, if indeed this is necessary and not due to bugs, perhaps it should be done by xen-tools ?

No, see the first paragraph. xen-tools can't be expected to modify the ramdisk.

Maybe it should set the appropriate "extra" though. IIRC xen-tools does implement this sort-of-trick of reusing the hosts initrd. So why does this bug not happen with other users of xen-tools ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#29 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Quoted 24 lines · Ian Jackson

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 12 lines · Ian Jackson
Quoted 8 lines

Wei Liu writes ("[OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 1 line

See code comment for explanation.

...

ts-debian-fixup sub otherfixupcfg () { · line 181

Quoted 3 lines
ts-debian-fixup +3 -0
+    # There might be stale entries in /etc/initramfs-tools/conf.d/resume
+    # which get stored in the initramfs. That introduces delay in guest booting
+    # which might cause tests to fail.

Why might there be such stale entries ?

The ramdisk is taken from the host, which contains that file. The resume device is going to point to the swap partition in the host.

Ah. Hrm. I guess this was always a bit of a bodge.

Quoted 8 lines
Quoted 7 lines

ts-debian-fixup sub otherfixupcfg () { · line 189

Quoted 4 lines
ts-debian-fixup +4 -0
+    # Override that in kernel command line with the correct swap partition.
+    $cfg =~ m/'phy:.+-swap,(xvda\d+),.*'/;
+    $extra .= " resume=/dev/$1";
+    logm("change resume device to $1");

Alternatively, if indeed this is necessary and not due to bugs, perhaps it should be done by xen-tools ?

Quoted 7 lines
Quoted 2 lines

No, see the first paragraph. xen-tools can't be expected to modify the ramdisk.

Maybe it should set the appropriate "extra" though. IIRC xen-tools does implement this sort-of-trick of reusing the hosts initrd. So why does this bug not happen with other users of xen-tools ?

I wouldn't call this behaviour a bug. Most people won't notice it because the guest will boot eventually. It is not like this will cause the guest to crash.

Osstest sets a timeout. We can bump the timeout but that's worse than the solution here.

There is no option in xen-create-image to manipulate extra=. The only viable solution is to provide a new template. That seems overkill and would require more code.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#30 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 3 lines

I wouldn't call this behaviour a bug. Most people won't notice it because the guest will boot eventually. It is not like this will cause the guest to crash.

I don't think the guest booting "eventually" after some timeout is correct.

Quoted 3 lines

There is no option in xen-create-image to manipulate extra=. The only viable solution is to provide a new template. That seems overkill and would require more code.

What you're saying is that this infelicity in xen-tools is not particularly easy to fix. That doesn't mean it shouldn't be reported as a bug.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#31 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Quoted 8 lines · Ian Jackson

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 3 lines

I wouldn't call this behaviour a bug. Most people won't notice it because the guest will boot eventually. It is not like this will cause the guest to crash.

I don't think the guest booting "eventually" after some timeout is correct.

The OS is honoring whatever is written in the resume file. That's the correct behaviour to me.

Booting after trying is better than not booting at all. That parameter isn't vital to a functional system. This has always been the case since forever. It is only the "timeout" in the past is shorter so osstest never noticed it.

What is not correct is the content of the file. We can't blame the guest OS for that.

Quoted 7 lines
Quoted 3 lines

There is no option in xen-create-image to manipulate extra=. The only viable solution is to provide a new template. That seems overkill and would require more code.

What you're saying is that this infelicity in xen-tools is not particularly easy to fix. That doesn't mean it shouldn't be reported as a bug.

There is nothing to fix. System administrator should provide a proper template -- that's what xen-tools developers most likely to say.

It would require a lot more code in osstest to fix the template, and the essence of such patch would still be the same.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#32 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 7 lines · Ian Jackson
Quoted 2 lines

I don't think the guest booting "eventually" after some timeout is correct.

The OS is honoring whatever is written in the resume file. That's the correct behaviour to me.

Quoted 7 lines

Booting after trying is better than not booting at all. That parameter isn't vital to a functional system. This has always been the case since forever. It is only the "timeout" in the past is shorter so osstest never noticed it.

What is not correct is the content of the file. We can't blame the guest OS for that.

I agree with all of this. But, the overall behaviour is not correct. Even though all of the things that osstest specified to xen-create-image were correct. Therefore there is a bug.

Quoted 10 lines
Quoted 7 lines
Quoted 3 lines

There is no option in xen-create-image to manipulate extra=. The only viable solution is to provide a new template. That seems overkill and would require more code.

What you're saying is that this infelicity in xen-tools is not particularly easy to fix. That doesn't mean it shouldn't be reported as a bug.

There is nothing to fix. System administrator should provide a proper template -- that's what xen-tools developers most likely to say.

I'm not sure what you mean here. We are using the config template provided by xen-tools. The reuse of the host's initrd is suggested by the xen-create-image documentation.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#33 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Quoted 28 lines · Ian Jackson

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 7 lines · Ian Jackson
Quoted 2 lines

I don't think the guest booting "eventually" after some timeout is correct.

The OS is honoring whatever is written in the resume file. That's the correct behaviour to me.

Quoted 7 lines

Booting after trying is better than not booting at all. That parameter isn't vital to a functional system. This has always been the case since forever. It is only the "timeout" in the past is shorter so osstest never noticed it.

What is not correct is the content of the file. We can't blame the guest OS for that.

I agree with all of this. But, the overall behaviour is not correct. Even though all of the things that osstest specified to xen-create-image were correct. Therefore there is a bug.

Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

There is no option in xen-create-image to manipulate extra=. The only viable solution is to provide a new template. That seems overkill and would require more code.

What you're saying is that this infelicity in xen-tools is not particularly easy to fix. That doesn't mean it shouldn't be reported as a bug.

Quoted 7 lines
Quoted 2 lines

There is nothing to fix. System administrator should provide a proper template -- that's what xen-tools developers most likely to say.

I'm not sure what you mean here. We are using the config template provided by xen-tools. The reuse of the host's initrd is suggested by the xen-create-image documentation.

TBH I don't know what to write in a report. What is the expected behaviour?

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#34 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 8 lines · Ian Jackson
Quoted 4 lines

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):
I'm not sure what you mean here. We are using the config template provided by xen-tools. The reuse of the host's initrd is suggested by
the xen-create-image documentation.

TBH I don't know what to write in a report. What is the expected behaviour?

How about this ? Adjust to taste, correcting any lies/misunderstandings, maybe adding references, etc.

Steps to reproduce:

Follow instructions in xen-create-image, including suggestion to re-use host's initrd, to make a guest running stretch. Try to boot it.

Expected behaviour:

Guest boots promptly.

Observed behaviour:

Guest pauses for a long time during boot waiting for the "resume device" to become available.

Analysis:

This is because the initrd has the host's swap device configured.

With stretch, and systemd, the delay is longer; earler Debian releases had a similar issue but the shorter timeout meant it was a less serious problem.

Suggested remedy:

It is unfortunate that the initrd has the resume device baked into it. Normally this kind of thing (eg root=) comes via the command line. So maybe the bug is in the initrd generation.

Alternatively, maybe xen-create-image should write a setting "extra" into the domain config file "resume=<swap device>".

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#35 lore raw

Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device

Quoted 7 lines · Ian Jackson

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):

Quoted 6 lines · Ian Jackson
Quoted 4 lines

Wei Liu writes ("Re: [OSSTEST PATCH 11/16] ts-debian-fixup: use correct resume device"):
I'm not sure what you mean here. We are using the config template provided by xen-tools. The reuse of the host's initrd is suggested by
the xen-create-image documentation.

Quoted 5 lines
Quoted 2 lines

TBH I don't know what to write in a report. What is the expected behaviour?

How about this ? Adjust to taste, correcting any lies/misunderstandings, maybe adding references, etc.

Actually, there is already a Debian bug. See #784810.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#36 lore raw

PATCH 12/16 make-flight: don't test pvgrub for Xen XXX

In reply to Wei Liu

XXX Need to pin down the version of Xen when the upgrade to stretch is complete because osstest configuration is branched for each version.

---
 make-flight | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
make-flight +16 -1
index ecce3c0..b95f7e3 100755
@@ -823,7 +823,22 @@ test_matrix_do_one () {
   #do_passthrough_tests
 
   do_pygrub_tests
-  do_pvgrub_tests
+
+  # pvgrub1 tests for version < XXX only
+  case "$xenbranch" in
+  xen-4.3-testing) test_pvgrub=y ;;
+  xen-4.4-testing) test_pvgrub=y ;;
+  xen-4.5-testing) test_pvgrub=y ;;
+  xen-4.6-testing) test_pvgrub=y ;;
+  xen-4.7-testing) test_pvgrub=y ;;
+  xen-4.8-testing) test_pvgrub=y ;;
+  xen-4.9-testing) test_pvgrub=y ;;
+  *)               test_pvgrub=n ;;
+  esac
+
+  if [ x$test_pvgrub = xy ]; then
+      do_pvgrub_tests
+  fi
 
   do_xtf_tests
   do_livepatch_tests
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#37 lore raw

PATCH 13/16 ts-debian-hvm-install: disable new nic naming scheme

In reply to Wei Liu

This is required to fix nested hvm test. The L1 host is installed by this script. We want the L1 host to not use the new nic naming scheme.

---
 ts-debian-hvm-install | 12 ++++++++++++
 1 file changed, 12 insertions(+)
ts-debian-hvm-install +12 -0
index 54d5d1c..7f8251d 100755
@@ -114,6 +114,18 @@ set -ex
 in-target sed -i 's/^deb *cdrom/#&/g' /etc/apt/sources.list
 END
 
+    # Do not use "Predictable Network Interface Names" -- this can break
+    # nested HVM tests.
+    # https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
+    #
+    # See also
+    # https://www.debian.org/releases/stretch/example-preseed.txt
+    my $netifnames = "";
+    $netifnames = "\nd-i debian-installer/add-kernel-opts string net.ifnames=0\n"
+        if $ho->{Suite} =~ m/stretch/;
+
+    $preseed_file .= "$netifnames";
+
     $preseed_file .= preseed_hook_cmds();
 
     return $preseed_file;
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#38 lore raw

Re: [OSSTEST PATCH 13/16] ts-debian-hvm-install: disable new nic naming scheme

Wei Liu writes ("[OSSTEST PATCH 13/16] ts-debian-hvm-install: disable new nic naming scheme"):

Quoted 2 lines

This is required to fix nested hvm test. The L1 host is installed by this script. We want the L1 host to not use the new nic naming scheme.

The principle is fine.

ts-debian-hvm-install set -ex · line 125

Quoted 9 lines
ts-debian-hvm-install +9 -0
+    # Do not use "Predictable Network Interface Names" -- this can break
+    # nested HVM tests.
+    # https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
+    #
+    # See also
+    # https://www.debian.org/releases/stretch/example-preseed.txt
+    my $netifnames = "";
+    $netifnames = "\nd-i debian-installer/add-kernel-opts string net.ifnames=0\n"
+        if $ho->{Suite} =~ m/stretch/;

Please use a <<END here document. In fact, I think you should copy the style seen elsewhere nearby, so something like

       $preseed_file .= <<END if $ho->{Suite}....

d-i debian... etc. etc.
END

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#39 lore raw

PATCH 14/16 ts-xen-build-prep: install e2fslibs-dev

In reply to Wei Liu

The in-tree libfsimage ext2fs implementation can't handle 64bit enabled ext4, which is the default in stretch.

---
 ts-xen-build-prep | 6 ++++++
 1 file changed, 6 insertions(+)
ts-xen-build-prep +6 -0
index 70a53ca..4224601 100755
@@ -225,6 +225,12 @@ sub prep () {
         push(@packages, qw(texinfo autopoint libpciaccess-dev));
     }
 
+    # The in-tree ext4 support in libfsimage can't cope with 64bit ext4 on
+    # 32bit build. Use the packaged library.
+    if ($ho->{Suite} =~ m/stretch/) {
+        push(@packages, qw(e2fslibs-dev));
+    }
+
     target_install_packages($ho, @packages);
     target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates");
     # workaround for Debian #595728
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#40 lore raw

PATCH 15/16 TestSupport: add dpkg option when installing packages

In reply to Wei Liu

Upgrading configuration file of nbd-client is controlled by dpkg in stretch. Add dpkg option to keep old configuration file(s).

---
 Osstest/TestSupport.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Osstest/TestSupport.pm +2 -1
index 76730f1..363e888 100644
@@ -524,7 +524,8 @@ sub target_run_apt {
     my ($ho, @aptopts) = @_;
     target_cmd_root($ho,
         "DEBIAN_PRIORITY=critical UCF_FORCE_CONFFOLD=y \\
-            with-lock-ex -w /var/lock/osstest-apt apt-get @aptopts", 3000);
+            with-lock-ex -w /var/lock/osstest-apt \\
+            apt-get -o Dpkg::Options::=\"--force-confold\" @aptopts", 3000);
 }
 sub target_install_packages {
     my ($ho, @packages) = @_;
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#41 lore raw

PATCH 16/16 ts-guests-nbd-mirror: make it work with stretch

In reply to Wei Liu

On the server side, only add oldstyle= and port= on jessie. Stretch doesn't support or need those anymore. Prune check for older versions of Debian.

On the client side, generate new style configuration file.

---
 ts-guests-nbd-mirror | 47 +++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 43 insertions(+), 4 deletions(-)
ts-guests-nbd-mirror +43 -4
index ca8300d..d7b07e2 100755
@@ -60,15 +60,19 @@ sub configserver () {
 [generic]
     user = root
 END
-    $scfg .= <<END unless $sho->{Suite} =~ m/sarge|lenny|squeeze/;
+
+    $scfg .= <<END if $sho->{Suite} =~ m/jessie/;
     oldstyle = true
 END
+
     foreach my $v (@vols) {
 	$v->{Port}= unique_incrementing_runvar("${srvhost}_nextport",4000);
 	$v->{Path}= "/dev/$v->{Gho}{Vg}/$v->{Lv}";
 	$scfg.=<<END;
 [export$v->{Ix}]
     exportname = $v->{Path}
+END
+	$scfg.=<<END if $sho->{Suite} =~ m/jessie/;
     port = $v->{Port}
 END
     }
@@ -79,9 +83,7 @@ END
     target_install_packages($sho, qw(nbd-server));
 }
 
-sub configclient () {
-    target_cmd_root($cho, "dpkg --purge nbd-client ||:");
-
+sub configclient_pre_stretch () {
     my $mydaemon= '/root/nbd-client-async';
     target_putfilecontents_root_stash($cho,10,<<'END',$mydaemon);
 #!/bin/sh
@@ -107,7 +109,44 @@ NBD_PORT[$v->{Ix}]=$v->{Port}
 END
     }
     target_putfilecontents_root_stash($cho,10,$ccfg,"/etc/nbd-client");
+}
+
+sub configclient_stretch () {
+    my $ccfg = <<END;
+# generated by $0
+END
+
+    foreach my $v (@vols) {
+	my $nbddev = "nbd$v->{Ix}";
+	$ccfg .= <<END;
+$nbddev $sho->{Name} export$v->{Ix}
+END
+    }
+
+    target_putfilecontents_root_stash($cho,10,$ccfg,"/etc/nbdtab");
+}
+
+sub configclient () {
+    target_cmd_root($cho, "dpkg --purge nbd-client ||:");
+
+    if ($cho->{Suite} !~ m/stretch/) {
+        configclient_pre_stretch();
+    } else {
+        configclient_stretch();
+    }
+
     target_install_packages($cho, qw(nbd-client));
+
+    if ($cho->{Suite} =~ m/stretch/) {
+	foreach my $v (@vols) {
+	    my $nbddev = "nbd$v->{Ix}";
+	    target_cmd_root($cho, <<END);
+mkdir -p /dev/$v->{Gho}{Vg}
+if ! test -L $v->{Path}; then ln -s /dev/$nbddev $v->{Path}; fi
+END
+	}
+	target_cmd_root($cho, "/etc/init.d/nbd-client start");
+    }
 }
 
 sub shuffleconfigs () {
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#42 lore raw

Re: [OSSTEST PATCH 16/16] ts-guests-nbd-mirror: make it work with stretch

Wei Liu writes ("[OSSTEST PATCH 16/16] ts-guests-nbd-mirror: make it work with stretch"):

Quoted 2 lines

On the server side, only add oldstyle= and port= on jessie. Stretch doesn't support or need those anymore.

See my earlier comments about old vs new Debian suite names.

Quoted 1 line

Prune check for older versions of Debian.

Why ? Certainly I can see no justification for cutting off squeeze. Perhaps someone is still trying to test with squeeze. Also, doing this in the same patch is quite confusing.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#43 lore raw

Re: [OSSTEST PATCH 16/16] ts-guests-nbd-mirror: make it work with stretch

Quoted 6 lines · Ian Jackson

Wei Liu writes ("[OSSTEST PATCH 16/16] ts-guests-nbd-mirror: make it work with stretch"):

Quoted 2 lines

On the server side, only add oldstyle= and port= on jessie. Stretch doesn't support or need those anymore.

See my earlier comments about old vs new Debian suite names.

This is the correct way to handle this. Only Jessie will need it because older suite doesn't under new style (from their PoV) and newer suite doesn't understand old style (from their PoV).

Quoted 6 lines
Quoted 1 line

Prune check for older versions of Debian.

Why ? Certainly I can see no justification for cutting off squeeze. Perhaps someone is still trying to test with squeeze. Also, doing this in the same patch is quite confusing.

It won't have any effect because the end result is the same. Squeeze will still work.

Note the flip from "unless" to "if".

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#44 lore raw

Re: [OSSTEST PATCH 16/16] ts-guests-nbd-mirror: make it work with stretch

Quoted 5 lines · Wei Liu
Quoted 4 lines · Ian Jackson

Wei Liu writes ("[OSSTEST PATCH 16/16] ts-guests-nbd-mirror: make it work with stretch"):

Quoted 2 lines

On the server side, only add oldstyle= and port= on jessie. Stretch doesn't support or need those anymore.

Quoted 7 lines
Quoted 2 lines

See my earlier comments about old vs new Debian suite names.

This is the correct way to handle this. Only Jessie will need it because older suite doesn't under new style (from their PoV) and newer suite doesn't understand old style (from their PoV).

Correction: I forgot to count wheezy. Wheezy should be grouped together with Jessie. The condition should be updated accordingly.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#45 lore raw
In reply to Wei Liu
Quoted 3 lines · Wei Liu

3. The unstability with Arndale boards' nic is more prominent. Or worse -- they have become completely unusable. I don't have enough data yet. We might need to work around this, but I'm not sure how to do that yet.

It appears arndale board network dongles are completely unusable with stretch. Luckily it is not the first time we have this sort of problem. There is already facility in osstest to force assigning a mac address. I'm testing a patch now.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#46 lore raw
In reply to Wei Liu
Quoted 2 lines · Wei Liu

6. Rumprun doesn't build due to its build system can't cope. This should be fixed in rumprun.

There are two bugs:

https://github.com/rumpkernel/rumprun/issues/99 (also numerous duplicates)
https://github.com/rumpkernel/rumprun/issues/101

I have taken a stab at the first one; the second one really needs Antti to fix -- the fix needs to be in netbsd first then gets pulled in to src-netbsd used by rumprun.

No reply from Antti has been made in the past 4 months. If we don't hear back from Antti, there is no way we can fix that. I don't have commit access to src-netbsd. I will try to ask on #rumpkernel. But if nothing is going to happen I propose we drop the rumprun tests.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel