Re: [PATCH v2 7/7] tests/avocado: add boot_xen tests

2021-02-18 Thread Cleber Rosa
On Thu, Feb 18, 2021 at 10:43:54AM +0100, Philippe Mathieu-Daudé wrote: > On 2/17/21 9:46 PM, Cleber Rosa wrote: > > On Thu, Feb 11, 2021 at 05:19:45PM +, Alex Bennée wrote: > >> These tests make sure we can boot the Xen hypervisor with a Dom0 > >> kernel using the

Re: [PATCH v2 7/7] tests/avocado: add boot_xen tests

2021-02-18 Thread Cleber Rosa
On Wed, Feb 17, 2021 at 10:22:50PM +, Alex Bennée wrote: > > I think the solution is to use archive links here. There is a snapshot > archive of sid (we've used it in the past) but I suspect there isn't an > archive of old stable packages for a reason. > If the packages you need are available

Re: [PATCH v2 7/7] tests/avocado: add boot_xen tests

2021-02-17 Thread Cleber Rosa
ypervisor-4.14-arm64_4.14.0+88-g1d1d1f5391-2_arm64.deb') xen_sha1 = 'f316049beaadd50482644e4955c4cdd63e3a07d5' > +xen_deb = self.fetch_asset(xen_url, asset_hash=xen_sha1) > + xen_path = self.extract_from_deb(xen_deb, "/boot/xen-4.14-arm64") > + > +self.launch_xen(xen_path) > + > +@skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') > +def test_arm64_xen_415_and_dom0(self): > +""" > +:avocado: tags=arch:aarch64 > +:avocado: tags=accel:tcg > +:avocado: tags=cpu:cortex-a57 > +:avocado: tags=machine:virt > +""" > + > +xen_url = ('https://fileserver.linaro.org/' > + 's/JSsewXGZ6mqxPr5/download' > + '?path=%2F&files=xen-upstream-4.15-unstable.deb') > +xen_sha1 = 'fc191172b85cf355abb95d275a24cc0f6d6579d8' > +xen_deb = self.fetch_asset(xen_url, asset_hash=xen_sha1) > +xen_path = self.extract_from_deb(xen_deb, "/boot/xen-4.15-unstable") > + > +self.launch_xen(xen_path) > -- > 2.20.1 > > With those changes, Reviewed-by: Cleber Rosa Tested-by: Cleber Rosa signature.asc Description: PGP signature