On Fri, Feb 16, 2024 at 9:52 AM Dumitru Ceara <[email protected]> wrote: > > On 2/16/24 14:40, Ales Musil wrote: > > There are some issues with older crun and newer kernel > > combination [0]. Unfortunately Ubuntu 23.10 falls into this > > category and the jobs will often time fail. Temoprarily use > > newer crun from git that has the fix [1]. > > > > [0] https://github.com/containers/crun/pull/1309 > > [1] > > https://noobient.com/2023/11/15/fixing-ubuntu-containers-failing-to-start-with-systemd/ > > > > Signed-off-by: Ales Musil <[email protected]> > > --- > > Hi Ales, > > > .cirrus.yml | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/.cirrus.yml b/.cirrus.yml > > index 1832e51f2..0a16d7b5f 100644 > > --- a/.cirrus.yml > > +++ b/.cirrus.yml > > @@ -57,6 +57,12 @@ arm_unit_tests_task: > > - sudo apt update > > - sudo apt install -y podman > > > > + # XXX This should be removed when native crun >=1.9.1 > > + update_crun_script: > > + - crun --version > > + - curl -L > > "https://github.com/containers/crun/releases/download/1.14.1/crun-1.14.1-linux-arm64" > > -o /usr/bin/crun > > + - chmod +x /usr/bin/crun > > + > > A bit unfortunate that we have to do this but it seems to work. It > passes in my fork: > > https://cirrus-ci.com/build/6433082459291648 > > > download_cache_script: > > - curl http://$CIRRUS_HTTP_CACHE_HOST/${CIRRUS_CHANGE_IN_REPO} -o > > /tmp/image.tar > > > > Acked-by: Dumitru Ceara <[email protected]>
Thanks. I applied this patch to main and branch-24.03. Does it need a backport to older branches ? I suppose so. I've one follow up comment if it makes sense. Is it possible to check the version of installed cron and only download if installed cron < 1.14.1 ? This way we don't have to monitor the cron version manually to remove this script. Thanks Numan > > Thanks, > Dumitru > > _______________________________________________ > dev mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
