diff mbox series

[3/4] tests/vm: update FreeBSD to 12.1

Message ID 20200310083218.26355-4-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show
Series tests/vm: minor install tweaks, update netbsd & freebsd | expand

Commit Message

Gerd Hoffmann March 10, 2020, 8:32 a.m. UTC
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 tests/vm/freebsd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Alex Bennée March 10, 2020, 10:38 a.m. UTC | #1
Gerd Hoffmann <kraxel@redhat.com> writes:

> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>  tests/vm/freebsd | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/vm/freebsd b/tests/vm/freebsd
> index 58166766d915..298967fe9cf4 100755
> --- a/tests/vm/freebsd
> +++ b/tests/vm/freebsd
> @@ -24,8 +24,8 @@ class FreeBSDVM(basevm.BaseVM):
>      name = "freebsd"
>      arch = "x86_64"
>  
> -    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-disc1.iso.xz"
> -    csum = "1d40015bea89d05b8bd13e2ed80c40b522a9ec1abd8e7c8b80954fb485fb99db"
> +    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-disc1.iso.xz"
> +    csum = "7394c3f60a1e236e7bd3a05809cf43ae39a3b8e5d42d782004cf2f26b1cfcd88"
>      size = "20G"
>      pkgs = [
>          # build tools

Hmm I'm seeing a failure during running which I had to manually override:

DEBUG:root:ssh_cmd: ssh -t -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -o ConnectTimeout=1 -p 39533 -i
/home/alex.bennee/lsrc/qemu.git/builds/all/vm-test-_dqalech.tmp/id_rsa
-o SendEnv=https_proxy -o SendEnv=http_proxy -o SendEnv=ftp_proxy -o
SendEnv=no_proxy root@127.0.0.1 pkg install -y git pkgconf bzip2
python37 bash gmake gsed flex bison gnutls jpeg-turbo png sdl2 gtk3
libxkbcommon libepoxy mesa-libs zstd

Warning: Permanently added '[127.0.0.1]:39533' (ECDSA) to the list of known hosts.
Bootstrapping pkg from
pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
Verifying signature with trusted certificate
pkg.freebsd.org.2013102301... done
Installing pkg-1.12.0_1...
Newer FreeBSD version for package pkg:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1201000
- running kernel: 1200086
Ignore the mismatch and continue? [Y/n]:
Extracting pkg-1.12.0_1: 100%
Gerd Hoffmann March 10, 2020, 12:02 p.m. UTC | #2
> > -    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-disc1.iso.xz"
> > -    csum = "1d40015bea89d05b8bd13e2ed80c40b522a9ec1abd8e7c8b80954fb485fb99db"
> > +    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-disc1.iso.xz"
> > +    csum = "7394c3f60a1e236e7bd3a05809cf43ae39a3b8e5d42d782004cf2f26b1cfcd88"

> Warning: Permanently added '[127.0.0.1]:39533' (ECDSA) to the list of known hosts.
> Bootstrapping pkg from
> pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
> Verifying signature with trusted certificate
> pkg.freebsd.org.2013102301... done
> Installing pkg-1.12.0_1...
> Newer FreeBSD version for package pkg:
> To ignore this error set IGNORE_OSVERSION=yes
> - package: 1201000
             ^^^^
12.1 package

> - running kernel: 1200086
                    ^^^^
12.0 running

I saw that too, but only *without* the patch.  The upgrade to 12.1 fixes
that.

We might consider setting IGNORE_OSVERSION=yes, so this doesn't happen
again after FreeBSD 12.2 release.  Not sure whenever that can have
unwanted side effects though, like packages not working properly.

Any advise from the bsd guys?

cheers,
  Gerd
Alex Bennée March 10, 2020, 12:18 p.m. UTC | #3
Gerd Hoffmann <kraxel@redhat.com> writes:

>> > -    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-disc1.iso.xz"
>> > -    csum = "1d40015bea89d05b8bd13e2ed80c40b522a9ec1abd8e7c8b80954fb485fb99db"
>> > +    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-disc1.iso.xz"
>> > +    csum = "7394c3f60a1e236e7bd3a05809cf43ae39a3b8e5d42d782004cf2f26b1cfcd88"
>
>> Warning: Permanently added '[127.0.0.1]:39533' (ECDSA) to the list of known hosts.
>> Bootstrapping pkg from
>> pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
>> Verifying signature with trusted certificate
>> pkg.freebsd.org.2013102301... done
>> Installing pkg-1.12.0_1...
>> Newer FreeBSD version for package pkg:
>> To ignore this error set IGNORE_OSVERSION=yes
>> - package: 1201000
>              ^^^^
> 12.1 package
>
>> - running kernel: 1200086
>                     ^^^^
> 12.0 running
>
> I saw that too, but only *without* the patch.  The upgrade to 12.1 fixes
> that.

Hmm I wonder if the cached assets got confused? It certainly re-ran the
install rather than skipping straight to running the test.

> We might consider setting IGNORE_OSVERSION=yes, so this doesn't happen
> again after FreeBSD 12.2 release.  Not sure whenever that can have
> unwanted side effects though, like packages not working properly.
>
> Any advise from the bsd guys?
>
> cheers,
>   Gerd
Alex Bennée March 10, 2020, 1:40 p.m. UTC | #4
Alex Bennée <alex.bennee@linaro.org> writes:

> Gerd Hoffmann <kraxel@redhat.com> writes:
>
>>> > -    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-disc1.iso.xz"
>>> > -    csum = "1d40015bea89d05b8bd13e2ed80c40b522a9ec1abd8e7c8b80954fb485fb99db"
>>> > +    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-disc1.iso.xz"
>>> > +    csum = "7394c3f60a1e236e7bd3a05809cf43ae39a3b8e5d42d782004cf2f26b1cfcd88"
>>
>>> Warning: Permanently added '[127.0.0.1]:39533' (ECDSA) to the list of known hosts.
>>> Bootstrapping pkg from
>>> pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
>>> Verifying signature with trusted certificate
>>> pkg.freebsd.org.2013102301... done
>>> Installing pkg-1.12.0_1...
>>> Newer FreeBSD version for package pkg:
>>> To ignore this error set IGNORE_OSVERSION=yes
>>> - package: 1201000
>>              ^^^^
>> 12.1 package
>>
>>> - running kernel: 1200086
>>                     ^^^^
>> 12.0 running
>>
>> I saw that too, but only *without* the patch.  The upgrade to 12.1 fixes
>> that.
>
> Hmm I wonder if the cached assets got confused? It certainly re-ran the
> install rather than skipping straight to running the test.

OK I'm an idiot... I hadn't correctly updated the branch on my test
machine:

  git fetch origin; and git checkout testing/next; and git reset --hard github/testing/next

vs

  git fetch github; and git checkout testing/next; and git reset --hard github/testing/next

>
>> We might consider setting IGNORE_OSVERSION=yes, so this doesn't happen
>> again after FreeBSD 12.2 release.  Not sure whenever that can have
>> unwanted side effects though, like packages not working properly.
>>
>> Any advise from the bsd guys?
>>
>> cheers,
>>   Gerd
diff mbox series

Patch

diff --git a/tests/vm/freebsd b/tests/vm/freebsd
index 58166766d915..298967fe9cf4 100755
--- a/tests/vm/freebsd
+++ b/tests/vm/freebsd
@@ -24,8 +24,8 @@  class FreeBSDVM(basevm.BaseVM):
     name = "freebsd"
     arch = "x86_64"
 
-    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-disc1.iso.xz"
-    csum = "1d40015bea89d05b8bd13e2ed80c40b522a9ec1abd8e7c8b80954fb485fb99db"
+    link = "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-disc1.iso.xz"
+    csum = "7394c3f60a1e236e7bd3a05809cf43ae39a3b8e5d42d782004cf2f26b1cfcd88"
     size = "20G"
     pkgs = [
         # build tools