* QEMU's Haiku CI image
@ 2022-02-16 12:31 Thomas Huth
2022-02-16 15:52 ` Alexander von Gluck IV
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Huth @ 2022-02-16 12:31 UTC (permalink / raw)
To: Richard Zak, Alexander von Gluck IV, QEMU Developers
Cc: Peter Maydell, Philippe Mathieu-Daudé
Hi,
while researching the different "sed" options on our supported build
platform today, I started "make vm-build-haiku.x86_64" in my QEMU build
directory for the first time since many months again. And I had to discover
that this is completely out of date. The image does not contain any version
of Python 3 yet which we require for compilation since more than a year now
already, and the Haiku version in there seems to be too old to do a "pkgman
install -y python3" ... so this has been completely been bitrotting since
more than a year now. Is anybody still interested in keeping the Haiku
support in QEMU? If so, please help to get the VM image updated. Thanks!
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: QEMU's Haiku CI image
2022-02-16 12:31 QEMU's Haiku CI image Thomas Huth
@ 2022-02-16 15:52 ` Alexander von Gluck IV
2022-02-16 16:32 ` Thomas Huth
0 siblings, 1 reply; 7+ messages in thread
From: Alexander von Gluck IV @ 2022-02-16 15:52 UTC (permalink / raw)
To: Thomas Huth, Richard Zak, QEMU Developers
Cc: Peter Maydell, Philippe Mathieu-Daudé
February 16, 2022 6:31 AM, "Thomas Huth" <thuth@redhat.com> wrote:
>
> while researching the different "sed" options on our supported build platform today, I started
> "make vm-build-haiku.x86_64" in my QEMU build directory for the first time since many months again.
> And I had to discover that this is completely out of date. The image does not contain any version
> of Python 3 yet which we require for compilation since more than a year now already, and the Haiku
> version in there seems to be too old to do a "pkgman install -y python3" ... so this has been
> completely been bitrotting since more than a year now. Is anybody still interested in keeping the
> Haiku support in QEMU? If so, please help to get the VM image updated. Thanks!
I submitted
https://patchwork.kernel.org/project/qemu-devel/patch/20220216154208.2985103-1-kallisti5@unixzen.com/
to fix this issue. The build runs as expected after that patchset.
Likely cause is us no longer packing a "python" binary, deferring to "python2" vs "python3"
I'm still the most likely maintainer. Are there still plans to automate the tests for Haiku to
prevent this from happening again in the future?
Manually running qemu vm tests is a drop in huge bucket of tasks, so it's pretty likely to get
forgotten until someone runs into an issue. :-)
-- Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: QEMU's Haiku CI image
2022-02-16 15:52 ` Alexander von Gluck IV
@ 2022-02-16 16:32 ` Thomas Huth
2022-02-16 17:16 ` Philippe Mathieu-Daudé via
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Huth @ 2022-02-16 16:32 UTC (permalink / raw)
To: Alexander von Gluck IV, Richard Zak, QEMU Developers
Cc: Peter Maydell, Richard Henderson, Alex Bennée,
Philippe Mathieu-Daudé, Cleber Rosa
On 16/02/2022 16.52, Alexander von Gluck IV wrote:
> February 16, 2022 6:31 AM, "Thomas Huth" <thuth@redhat.com> wrote:
>>
>> while researching the different "sed" options on our supported build platform today, I started
>> "make vm-build-haiku.x86_64" in my QEMU build directory for the first time since many months again.
>> And I had to discover that this is completely out of date. The image does not contain any version
>> of Python 3 yet which we require for compilation since more than a year now already, and the Haiku
>> version in there seems to be too old to do a "pkgman install -y python3" ... so this has been
>> completely been bitrotting since more than a year now. Is anybody still interested in keeping the
>> Haiku support in QEMU? If so, please help to get the VM image updated. Thanks!
>
> I submitted
> https://patchwork.kernel.org/project/qemu-devel/patch/20220216154208.2985103-1-kallisti5@unixzen.com/
> to fix this issue. The build runs as expected after that patchset.
>
> Likely cause is us no longer packing a "python" binary, deferring to "python2" vs "python3"
>
> I'm still the most likely maintainer. Are there still plans to automate the tests for Haiku to
> prevent this from happening again in the future?
AFAIK we still don't have a machine where we could properly run VM-based
tests in the CI, do we? Peter? Cleber?
I recently added NetBSD and OpenBSD via KVM on Cirrus to the gitlab-CI :
https://gitlab.com/qemu-project/qemu/-/commit/f11b0a4892ae22b872
But the jobs are marked as "manual" since the setup is rather fragile. We
could still at least try to add a job like this for Haiku, too, so that it's
at least semi-integrated into our CI setup?
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: QEMU's Haiku CI image
2022-02-16 16:32 ` Thomas Huth
@ 2022-02-16 17:16 ` Philippe Mathieu-Daudé via
2022-02-16 17:39 ` Thomas Huth
2022-02-16 19:21 ` Daniel P. Berrangé
0 siblings, 2 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé via @ 2022-02-16 17:16 UTC (permalink / raw)
To: Thomas Huth, Alexander von Gluck IV, Richard Zak, QEMU Developers
Cc: Peter Maydell, Alex Bennée, Richard Henderson, Cleber Rosa
On 16/2/22 17:32, Thomas Huth wrote:
> On 16/02/2022 16.52, Alexander von Gluck IV wrote:
>> February 16, 2022 6:31 AM, "Thomas Huth" <thuth@redhat.com> wrote:
>>>
>>> while researching the different "sed" options on our supported build
>>> platform today, I started
>>> "make vm-build-haiku.x86_64" in my QEMU build directory for the first
>>> time since many months again.
>>> And I had to discover that this is completely out of date. The image
>>> does not contain any version
>>> of Python 3 yet which we require for compilation since more than a
>>> year now already, and the Haiku
>>> version in there seems to be too old to do a "pkgman install -y
>>> python3" ... so this has been
>>> completely been bitrotting since more than a year now. Is anybody
>>> still interested in keeping the
>>> Haiku support in QEMU? If so, please help to get the VM image
>>> updated. Thanks!
>>
>> I submitted
>> https://patchwork.kernel.org/project/qemu-devel/patch/20220216154208.2985103-1-kallisti5@unixzen.com/
>>
>> to fix this issue. The build runs as expected after that patchset.
>>
>> Likely cause is us no longer packing a "python" binary, deferring to
>> "python2" vs "python3"
>>
>> I'm still the most likely maintainer. Are there still plans to
>> automate the tests for Haiku to
>> prevent this from happening again in the future?
>
> AFAIK we still don't have a machine where we could properly run VM-based
> tests in the CI, do we? Peter? Cleber?
We still have unused fosshost.org resources. What we don't have is a
sysadmin willing to install the VM and maintain it over time.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: QEMU's Haiku CI image
2022-02-16 17:16 ` Philippe Mathieu-Daudé via
@ 2022-02-16 17:39 ` Thomas Huth
2022-02-16 19:21 ` Daniel P. Berrangé
1 sibling, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2022-02-16 17:39 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, Alexander von Gluck IV, Richard Zak,
QEMU Developers
Cc: Peter Maydell, Richard Henderson, Alex Bennée, Cleber Rosa
On 16/02/2022 18.16, Philippe Mathieu-Daudé wrote:
> On 16/2/22 17:32, Thomas Huth wrote:
>> On 16/02/2022 16.52, Alexander von Gluck IV wrote:
>>> February 16, 2022 6:31 AM, "Thomas Huth" <thuth@redhat.com> wrote:
>>>>
>>>> while researching the different "sed" options on our supported build
>>>> platform today, I started
>>>> "make vm-build-haiku.x86_64" in my QEMU build directory for the first
>>>> time since many months again.
>>>> And I had to discover that this is completely out of date. The image
>>>> does not contain any version
>>>> of Python 3 yet which we require for compilation since more than a year
>>>> now already, and the Haiku
>>>> version in there seems to be too old to do a "pkgman install -y python3"
>>>> ... so this has been
>>>> completely been bitrotting since more than a year now. Is anybody still
>>>> interested in keeping the
>>>> Haiku support in QEMU? If so, please help to get the VM image updated.
>>>> Thanks!
>>>
>>> I submitted
>>> https://patchwork.kernel.org/project/qemu-devel/patch/20220216154208.2985103-1-kallisti5@unixzen.com/
>>>
>>> to fix this issue. The build runs as expected after that patchset.
>>>
>>> Likely cause is us no longer packing a "python" binary, deferring to
>>> "python2" vs "python3"
>>>
>>> I'm still the most likely maintainer. Are there still plans to automate
>>> the tests for Haiku to
>>> prevent this from happening again in the future?
>>
>> AFAIK we still don't have a machine where we could properly run VM-based
>> tests in the CI, do we? Peter? Cleber?
>
> We still have unused fosshost.org resources. What we don't have is a
> sysadmin willing to install the VM and maintain it over time.
I thought that one does not have KVM enabled?
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: QEMU's Haiku CI image
2022-02-16 17:16 ` Philippe Mathieu-Daudé via
2022-02-16 17:39 ` Thomas Huth
@ 2022-02-16 19:21 ` Daniel P. Berrangé
2022-02-17 7:31 ` Thomas Huth
1 sibling, 1 reply; 7+ messages in thread
From: Daniel P. Berrangé @ 2022-02-16 19:21 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: Peter Maydell, Thomas Huth, Alexander von Gluck IV,
Richard Henderson, QEMU Developers, Richard Zak, Cleber Rosa,
Alex Bennée
On Wed, Feb 16, 2022 at 06:16:10PM +0100, Philippe Mathieu-Daudé via wrote:
> On 16/2/22 17:32, Thomas Huth wrote:
> > On 16/02/2022 16.52, Alexander von Gluck IV wrote:
> > > February 16, 2022 6:31 AM, "Thomas Huth" <thuth@redhat.com> wrote:
> > > >
> > > > while researching the different "sed" options on our supported
> > > > build platform today, I started
> > > > "make vm-build-haiku.x86_64" in my QEMU build directory for the
> > > > first time since many months again.
> > > > And I had to discover that this is completely out of date. The
> > > > image does not contain any version
> > > > of Python 3 yet which we require for compilation since more than
> > > > a year now already, and the Haiku
> > > > version in there seems to be too old to do a "pkgman install -y
> > > > python3" ... so this has been
> > > > completely been bitrotting since more than a year now. Is
> > > > anybody still interested in keeping the
> > > > Haiku support in QEMU? If so, please help to get the VM image
> > > > updated. Thanks!
> > >
> > > I submitted
> > > https://patchwork.kernel.org/project/qemu-devel/patch/20220216154208.2985103-1-kallisti5@unixzen.com/
> > >
> > > to fix this issue. The build runs as expected after that patchset.
> > >
> > > Likely cause is us no longer packing a "python" binary, deferring to
> > > "python2" vs "python3"
> > >
> > > I'm still the most likely maintainer. Are there still plans to
> > > automate the tests for Haiku to
> > > prevent this from happening again in the future?
> >
> > AFAIK we still don't have a machine where we could properly run VM-based
> > tests in the CI, do we? Peter? Cleber?
>
> We still have unused fosshost.org resources. What we don't have is a
> sysadmin willing to install the VM and maintain it over time.
I feel like there must be scope for sharing some of this burden with
libvirt since we've got essentially the same problem & requirements.
For libvirt we're using lcitool for building our VMs, and have worked
on a GitLab custom executor for launching throw-away VMs per CI job
from a read-only base template.
https://gitlab.com/eskultety/libvirt-gitlab-executor
With this there's an admin burden setting up the gitlab executor on
the host and preparing the VM templates, but after that the admin
burden should be lightweight, as most of the risk of breakage is in
the VMs getting messed up, but they get thrown away after 1 job.
With QEMU's recent use of lcitool we're better ready to share some
of this work than in the past. The main issue is that for non-Linux,
we don't have full automation for building the VM templates. We need
someone to prepare the image by getting it able to run and expose
SSH, whereupon we can provision the build-deps. We also only have
package mappings for FreeBSD, not Haiku, NetBSD or OpenBSD, but that's
fairly straightforward to address.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: QEMU's Haiku CI image
2022-02-16 19:21 ` Daniel P. Berrangé
@ 2022-02-17 7:31 ` Thomas Huth
0 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2022-02-17 7:31 UTC (permalink / raw)
To: Daniel P. Berrangé, Philippe Mathieu-Daudé
Cc: Peter Maydell, Alexander von Gluck IV, Richard Henderson,
QEMU Developers, Richard Zak, Cleber Rosa, Alex Bennée
On 16/02/2022 20.21, Daniel P. Berrangé wrote:
> [...] The main issue is that for non-Linux,
> we don't have full automation for building the VM templates. We need
> someone to prepare the image by getting it able to run and expose
> SSH, whereupon we can provision the build-deps.
That's easy: In QEMU build folder, type:
make vm-build-netbsd
make vm-build-openbsd
make vm-build-haiku.x86_64
... and then you can find the images in the ~/.cache/qemu-vm/images/ folder.
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-02-17 7:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-16 12:31 QEMU's Haiku CI image Thomas Huth
2022-02-16 15:52 ` Alexander von Gluck IV
2022-02-16 16:32 ` Thomas Huth
2022-02-16 17:16 ` Philippe Mathieu-Daudé via
2022-02-16 17:39 ` Thomas Huth
2022-02-16 19:21 ` Daniel P. Berrangé
2022-02-17 7:31 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).