tests/vm: Update haiku test vm to R1/Beta3
PATCH 1/1 tests/vm: Update haiku test vm to R1/Beta3
--- tests/vm/haiku.x86_64 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
tests/vm/haiku.x86_64 +4 -4
@@ -2,7 +2,7 @@ # # Haiku VM image # -# Copyright 2020 Haiku, Inc. +# Copyright 2020-2022 Haiku, Inc. # # Authors: # Alexander von Gluck IV <[email protected]>
@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM): name = "haiku" arch = "x86_64" - link = "https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box" - csum = "41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5" + link = "https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box" + csum = "e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041" poweroff = "shutdown"
@@ -99,7 +99,7 @@ class HaikuVM(basevm.BaseVM): self.print_step("Extracting disk image") - subprocess.check_call(["tar", "xzf", tarball, "./box.img", "-O"], + subprocess.check_call(["tar", "xzf", tarball, "box.img", "-O"], stdout=open(img, 'wb')) self.print_step("Preparing disk image")
Signature · 1 line
2.35.1
Quoted 29 lines · Alexander von Gluck IV
--- tests/vm/haiku.x86_64 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)tests/vm/haiku.x86_64 +3
-3@@ -2,7 +2,7 @@ # # Haiku VM image # -# Copyright 2020 Haiku, Inc. +# Copyright 2020-2022 Haiku, Inc. # # Authors: # Alexander von Gluck IV <[email protected]>@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM): name = "haiku" arch = "x86_64" - link = "https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box" - csum = "41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5" + link = "https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box" + csum = "e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041" poweroff = "shutdown"
tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM): · line 105
Quoted 8 lines
tests/vm/haiku.x86_64 +1
-1@@ -99,7 +99,7 @@ class HaikuVM(basevm.BaseVM): self.print_step("Extracting disk image") - subprocess.check_call(["tar", "xzf", tarball, "./box.img", "-O"], + subprocess.check_call(["tar", "xzf", tarball, "box.img", "-O"], stdout=open(img, 'wb')) self.print_step("Preparing disk image")
Thank you very much for the quick fix, that indeed helps to compile-test Haiku again! (the unit tests are failing, though, but IIRC that was already the case before)
Quoted 33 lines · Thomas Huth
Quoted 31 lines · Alexander von Gluck IV
---
tests/vm/haiku.x86_64 | 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)tests/vm/haiku.x86_64 +1
-1@@ -2,7 +2,7 @@ # # Haiku VM image # -# Copyright 2020 Haiku, Inc. +# Copyright 2020-2022 Haiku, Inc. # # Authors: # Alexander von Gluck IV <[email protected]>@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM):name = "haiku"
arch = "x86_64"Quoted 1 line
- link =
"https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box"
- csum = "41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5"
+ link = "https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box"
+ csum = "e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041"tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM): · line 100
Quoted 4 lines
poweroff = "shutdown"
tests/vm/haiku.x86_64 +0
-1@@ -99,7 +99,7 @@ class HaikuVM(basevm.BaseVM): self.print_step("Extracting disk image") - subprocess.check_call(["tar", "xzf", tarball, "./box.img", "-O"],+
subprocess.check_call(["tar", "xzf", tarball, "box.img", "-O"], stdout=open(img, 'wb'))
Quoted 6 lines
Quoted 1 line
tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM): · line 105
Quoted 1 line
tests/vm/haiku.x86_64 +0
-0self.print_step("Preparing disk image")Thank you very much for the quick fix, that indeed helps to compile-test Haiku again! (the unit tests are failing, though, but IIRC that was already the case before)
Tested-by Thomas Huth <[email protected]>
Thanks!
Sorry for forgetting about it. I hand release Vagrant images for Haiku after major releases
and generally forget to update them until ~6 months after a major release as there aren't many users.
I don't have commit access to qemu so will need someone else to push when the time comes.
-- Alex
Quoted 39 lines · Alexander von Gluck IV
Quoted 38 lines · Thomas Huth
Quoted 25 lines · Alexander von Gluck IV
---
tests/vm/haiku.x86_64 | 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)tests/vm/haiku.x86_64 +1
-1@@ -2,7 +2,7 @@ # # Haiku VM image # -# Copyright 2020 Haiku, Inc. +# Copyright 2020-2022 Haiku, Inc. # # Authors: # Alexander von Gluck IV <[email protected]>@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM):name = "haiku"
arch = "x86_64"Quoted 1 line
- link =
"https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box"
- csum = "41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5"
+ link = "https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box"
+ csum = "e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041"Quoted 7 lines
tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM): · line 100
Quoted 4 lines
poweroff = "shutdown"
tests/vm/haiku.x86_64 +0
-1@@ -99,7 +99,7 @@ class HaikuVM(basevm.BaseVM): self.print_step("Extracting disk image") - subprocess.check_call(["tar", "xzf", tarball, "./box.img", "-O"],+
subprocess.check_call(["tar", "xzf", tarball, "box.img", "-O"], stdout=open(img, 'wb'))Quoted 1 line
tests/vm/haiku.x86_64 +0
-0self.print_step("Preparing disk image")Thank you very much for the quick fix, that indeed helps to compile-test Haiku again! (the unit tests are failing, though, but IIRC that was already the case before)
Quoted 8 lines
Quoted 1 line
Tested-by Thomas Huth <[email protected]>Thanks!
Sorry for forgetting about it. I hand release Vagrant images for Haiku after major releases
and generally forget to update them until ~6 months after a major release as there aren't many users.I don't have commit access to qemu so will need someone else to push when the time comes.
Hi,
I think this could either go through the qemu-trivial tree, or I can pick it up and take it through my "testing" tree.
But I just noticed that your patch lacks the "Signed-off-by" line ... so for the records (it's required for the rules, see
https://www.qemu.org/docs/master/devel/submitting-a-patch.html#patch-emails-must-include-a-signed-off-by-line )
could you either please reply with a "Signed-off-by" line to your original patch, or repost the whole patch as a v2 with the S-o-b included? Thanks!
Thomas
Quoted 3 lines · Alexander von Gluck IV
--- tests/vm/haiku.x86_64 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
[...]
tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM): · line 52
Quoted 8 lines
tests/vm/haiku.x86_64 +2
-2@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM): name = "haiku" arch = "x86_64" - link = "https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box" - csum = "41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5" + link = "https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box" + csum = "e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041"
Hi Alexander!
The Haiku VM started again to fail, I'm getting these error messages now:
Encountered problems:
problem 1: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by glib2_devel-2.75.0-1
solution 1:
- do not install "providing devel:libglib_2.0"
problem 2: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by gettext-0.21.1-2
solution 1:
- do not install "providing devel:libintl"
problem 3: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by curl-7.85.0-2
solution 1:
- do not install "providing devel:libcurl"
problem 4: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by gnutls-3.7.8-1
solution 1:
- do not install "providing devel:libgnutls"
problem 5: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by glib2-2.75.0-1
solution 1:
- do not install "providing devel:libslirp"
Does it need an update to a newer version of Haiku?
Thomas
Quoted 38 lines · Thomas Huth
Quoted 3 lines · Alexander von Gluck IV
---
tests/vm/haiku.x86_64 | 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)[...]
Quoted 11 lines
(quoted diff) +0
-0@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM):name = "haiku"
arch = "x86_64"
- link = "https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box" - csum =
"41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5"
+ link = "https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box" + csum =
"e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041"Hi Alexander!
The Haiku VM started again to fail, I'm getting these error messages now:
Encountered problems:
problem 1: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by glib2_devel-2.75.0-1
solution 1:
- do not install "providing devel:libglib_2.0"
problem 2: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by gettext-0.21.1-2
solution 1:
- do not install "providing devel:libintl"
problem 3: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by curl-7.85.0-2
solution 1:
- do not install "providing devel:libcurl"
problem 4: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by gnutls-3.7.8-1
solution 1:
- do not install "providing devel:libgnutls"
problem 5: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by glib2-2.75.0-1
solution 1:
- do not install "providing devel:libslirp"
Quoted 1 line
Does it need an update to a newer version of Haiku?
Per https://www.haiku-os.org/guides/daily-tasks/updating-system/ we can keep the box image in sync with its repo by using:
# pkgman add https://eu.hpkg.haiku-os.org/haiku/r1beta3/$(getarch)/current
I will try this:
-- >8 --
tests/vm/haiku.x86_64 +2 -0
@@ -112,2 +112,4 @@ class HaikuVM(basevm.BaseVM): # Install packages + self.ssh_root("pkgman add https://eu.hpkg.haiku-os.org/haiku/r1beta3/x86_64/current") + self.ssh_root("pkgman full-sync") self.ssh_root("pkgman install -y %s" % "
".join(self.requirements))
---
Quoted 58 lines · Philippe Mathieu-Daudé
Quoted 38 lines · Thomas Huth
Quoted 3 lines · Alexander von Gluck IV
---
tests/vm/haiku.x86_64 | 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)[...]
Quoted 11 lines
(quoted diff) +0
-0@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM):name = "haiku"
arch = "x86_64"
- link = "https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box" - csum =
"41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5"
+ link = "https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box" + csum =
"e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041"Hi Alexander!
The Haiku VM started again to fail, I'm getting these error messages now:
Encountered problems:
problem 1: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by glib2_devel-2.75.0-1 solution 1:
- do not install "providing devel:libglib_2.0"
problem 2: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by gettext-0.21.1-2 solution 1:
- do not install "providing devel:libintl"
problem 3: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by curl-7.85.0-2 solution 1:
- do not install "providing devel:libcurl"
problem 4: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by gnutls-3.7.8-1 solution 1:
- do not install "providing devel:libgnutls"
problem 5: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by glib2-2.75.0-1 solution 1:
- do not install "providing devel:libslirp"Quoted 1 line
Does it need an update to a newer version of Haiku?
Per https://www.haiku-os.org/guides/daily-tasks/updating-system/ we can keep the box image in sync with its repo by using:
# pkgman add https://eu.hpkg.haiku-os.org/haiku/r1beta3/$(getarch)/currentI will try this:
-- >8 --
tests/vm/haiku.x86_64 +2
-0@@ -112,2 +112,4 @@ class HaikuVM(basevm.BaseVM): # Install packages + self.ssh_root("pkgman add https://eu.hpkg.haiku-os.org/haiku/r1beta3/x86_64/current") + self.ssh_root("pkgman full-sync")
Quoted 3 lines
self.ssh_root("pkgman install -y %s" % "
".join(self.requirements))
---
OS installed but is not usable...:
runtime_loader: /boot/system/lib/libncurses.so.6.3.0: Could not resolve symbol '__ctype_b_loc' resolve symbol "__ctype_b_loc" returned: -2147478780runtime_loader: /boot/system/lib/libncurses.so.6.3.0: Troubles relocating: Symbol not found Connection to 127.0.0.1 closed.
Quoted 60 lines · Philippe Mathieu-Daudé
Quoted 50 lines · Philippe Mathieu-Daudé
Quoted 1 line · Thomas Huth
On 16/02/2022 16.42, Alexander von Gluck IV wrote:
---
tests/vm/haiku.x86_64 | 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)Quoted 1 line
[...]
(quoted diff) +0
-0@@ -48,8 +48,8 @@ class HaikuVM(basevm.BaseVM):name = "haiku"
arch = "x86_64"
- link = >>>
"https://app.vagrantup.com/haiku-os/boxes/r1beta2-x86_64/versions/20200702/providers/libvirt.box"(quoted diff) +1
-1- csum = >>> "41c38b316e0cbdbc66b5dbaf3612b866700a4f35807cb1eb266a5bf83e9e68d5" + link = >>>"https://app.vagrantup.com/haiku-os/boxes/r1beta3-x86_64/versions/20220216/providers/libvirt.box"
+ csum = >>> "e67d4aacbcc687013d5cc91990ddd86cc5d70a5d28432ae2691944f8ce5d5041"Quoted 21 lines
Hi Alexander!
The Haiku VM started again to fail, I'm getting these error messages now:
Encountered problems:
problem 1: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by >> glib2_devel-2.75.0-1 solution 1:
- do not install "providing devel:libglib_2.0"
problem 2: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by >> gettext-0.21.1-2 solution 1:
- do not install "providing devel:libintl"
problem 3: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by >> curl-7.85.0-2 solution 1:
- do not install "providing devel:libcurl"
problem 4: nothing provides haiku>=r1~beta4_hrev56578_31-1 needed by >> gnutls-3.7.8-1 solution 1:
- do not install "providing devel:libgnutls"
problem 5: nothing provides haiku>=r1~beta4_hrev56578_4-1 needed by >> glib2-2.75.0-1 solution 1:
- do not install "providing devel:libslirp"Quoted 1 line
Does it need an update to a newer version of Haiku?
Per https://www.haiku-os.org/guides/daily-tasks/updating-system we can keep the box image in sync with its repo by using:
# pkgman add https://eu.hpkg.haiku-os.org/haiku/r1beta3/$(getarch)/current I will try this: -- >8 --tests/vm/haiku.x86_64 +0
-0tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM):
Quoted 5 lines
tests/vm/haiku.x86_64 +2
-1@@ -112,2 +112,4 @@ class HaikuVM(basevm.BaseVM): # Install packages + self.ssh_root("pkgman add > https://eu.hpkg.haiku-os.org/haiku/r1beta3/x86_64/current") + self.ssh_root("pkgman full-sync") self.ssh_root("pkgman install -y %s" % " > ".join(self.requirements)) ---OS installed but is not usable...:
Quoted 4 lines
runtime_loader:/boot/system/lib/libncurses.so.6.3.0: Could not resolve symbol '__ctype_b_loc' resolve symbol "__ctype_b_loc" returned: -2147478780runtime_loader:/boot/system/lib/libncurses.so.6.3.0: Troubles relocating: Symbol not found Connection to 127.0.0.1 closed.
Good morning!
I'll work on this one.
r1/beta4 came out a few weeks ago and I need to update the Vagrant image these are based on.
-- Alex
Quoted 20 lines · Philippe Mathieu-Daudé
Quoted 10 lines · Philippe Mathieu-Daudé
Per https://www.haiku-os.org/guides/daily-tasks/updating-system we can keep the box image in sync with its repo by using:
# pkgman add https://eu.hpkg.haiku-os.org/haiku/r1beta3/$(getarch)/current I will try this: -- >8 --tests/vm/haiku.x86_64 +0
-0tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM):
Quoted 5 lines
tests/vm/haiku.x86_64 +2
-1@@ -112,2 +112,4 @@ class HaikuVM(basevm.BaseVM): # Install packages + self.ssh_root("pkgman add > https://eu.hpkg.haiku-os.org/haiku/r1beta3/x86_64/current") + self.ssh_root("pkgman full-sync") self.ssh_root("pkgman install -y %s" % " > ".join(self.requirements)) ---OS installed but is not usable...:
Quoted 4 lines
runtime_loader:/boot/system/lib/libncurses.so.6.3.0: Could not resolve symbol '__ctype_b_loc' resolve symbol "__ctype_b_loc" returned: -2147478780runtime_loader:/boot/system/lib/libncurses.so.6.3.0: Troubles relocating: Symbol not found Connection to 127.0.0.1 closed.
Ok. I updated the vagrant image to the latest release. r1beta2 is getting a bit too old, and r1beta3 instances should really be upgraded to r1beta4.
https://app.vagrantup.com/haiku-os/boxes/r1beta4-x86_64
Let me know if this works for you. Don't add the full-sync stuff. Isn't needed from the r1beta4 base.
-- Alex
Quoted 27 lines · Alexander von Gluck IV
Quoted 20 lines · Philippe Mathieu-Daudé
Quoted 10 lines · Philippe Mathieu-Daudé
Per https://www.haiku-os.org/guides/daily-tasks/updating-system we can keep the box image in sync with its repo by using:
# pkgman add https://eu.hpkg.haiku-os.org/haiku/r1beta3/$(getarch)/current I will try this: -- >8 --tests/vm/haiku.x86_64 +0
-0tests/vm/haiku.x86_64 class HaikuVM(basevm.BaseVM):
Quoted 5 lines
tests/vm/haiku.x86_64 +2
-1@@ -112,2 +112,4 @@ class HaikuVM(basevm.BaseVM): # Install packages + self.ssh_root("pkgman add > https://eu.hpkg.haiku-os.org/haiku/r1beta3/x86_64/current") + self.ssh_root("pkgman full-sync") self.ssh_root("pkgman install -y %s" % " > ".join(self.requirements)) ---OS installed but is not usable...:
Quoted 4 lines
runtime_loader:/boot/system/lib/libncurses.so.6.3.0: Could not resolve symbol '__ctype_b_loc' resolve symbol "__ctype_b_loc" returned: -2147478780runtime_loader:/boot/system/lib/libncurses.so.6.3.0: Troubles relocating: Symbol not found Connection to 127.0.0.1 closed.
Quoted 6 lines
Ok. I updated the vagrant image to the latest release. r1beta2 is getting a bit too old, and r1beta3 instances should really be upgraded to r1beta4.
https://app.vagrantup.com/haiku-os/boxes/r1beta4-x86_64
Let me know if this works for you.
Thank you very much, I gave it a try and it seems to work! I'll send a patch for QEMU's VM file to switch to the new image.
Thomas