[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TEST_ARTIFACTS PATCH v1] scripts: add lzo to the x86_64 alpine rootfs



On Thu, 7 Nov 2024, Andrew Cooper wrote:
> On 07/11/2024 2:19 pm, Javi Merino wrote:
> > In the qemu-alpine-x86_64-gcc test, we want to test libxenguest built
> > with all libraries.  If we add lzo-dev to the alpine:3.18 container,
> > libxenguest is linked against it.  However, as the initrd in the
> > test-artifacts does not contain lzo, the qemu-alpine-x86_64-gcc gitlab
> > CI job fails with:
> >
> >   + bash /etc/init.d/xencommons start
> >   Starting /usr/local/sbin/xenstored...
> >   /etc/xen/scripts/launch-xenstore: line 90: echo: write error: Invalid 
> > argument
> >   Setting domain 0 name, domid and JSON config...
> >   Error loading shared library liblzo2.so.2: No such file or directory 
> > (needed by /usr/local/lib/libxenguest.so.4.20)
> >   Error relocating /usr/local/lib/libxenguest.so.4.20: __lzo_init_v2: 
> > symbol not found
> >   Error relocating /usr/local/lib/libxenguest.so.4.20: 
> > lzo1x_decompress_safe: symbol not found
> >   Starting xenconsoled...
> >   Starting QEMU as disk backend for dom0
> >   + xl list
> >   Error loading shared library liblzo2.so.2: No such file or directory 
> > (needed by /usr/local/lib/libxenguest.so.4.20)
> >   Error relocating /usr/local/lib/libxenguest.so.4.20: __lzo_init_v2: 
> > symbol not found
> >   Error relocating /usr/local/lib/libxenguest.so.4.20: 
> > lzo1x_decompress_safe: symbol not found
> >   + xl create -c /root/test.cfg
> >   Error loading shared library liblzo2.so.2: No such file or directory 
> > (needed by /usr/local/lib/libxenguest.so.4.20)
> >   Error relocating /usr/local/lib/libxenguest.so.4.20: __lzo_init_v2: 
> > symbol not found
> >   Error relocating /usr/local/lib/libxenguest.so.4.20: 
> > lzo1x_decompress_safe: symbol not found
> >    *   Execution of "/etc/local.d/xen.start" failed.
> >
> > Add lzo to the initrd that becomes the rootfs to install liblzo2.so.2 .
> >
> > Signed-off-by: Javi Merino <javi.merino@xxxxxxxxx>
> 
> Ah - this is a good example of the problem I opined about in
> https://lore.kernel.org/xen-devel/86a60aec-f259-41be-92a0-ce66ce24f4ae@xxxxxxxxxx/T/#u
> 
> For now, I'll take this and use it as a test of whether I can drive the
> new test-artefacts repo.
> 
> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

+1

Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.