From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 05A3845B6A; Fri, 18 Oct 2024 18:07:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E8417402DF; Fri, 18 Oct 2024 18:07:25 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C5103402A8 for ; Fri, 18 Oct 2024 18:07:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729267644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CpTbeN5p5XzMdZ2RklinUa+HJGkN2CaEdcnKIA+zWek=; b=VXUkSqzdDyvpWEktrwk4Os54IBYIyu1YBpLEWFjrBx8V6XExt+0WpnkBUUOIVr+Sd5t0ax fAys4NH+z6i41jvmI/1/hjO2up0j4ChGk2irxffJMA4yeLDmH9OxAYr8cGndjh6r02KhnB DW3lnUdSivuTyt1Oq/JNQXiYp8KKwVU= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-154-ZFvP6peXPIiN92PJj1492w-1; Fri, 18 Oct 2024 12:07:23 -0400 X-MC-Unique: ZFvP6peXPIiN92PJj1492w-1 Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-539ec1a590fso2334202e87.0 for ; Fri, 18 Oct 2024 09:07:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729267641; x=1729872441; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CpTbeN5p5XzMdZ2RklinUa+HJGkN2CaEdcnKIA+zWek=; b=svaSpDJ4OST4GHQN7x49LEerH/j/7Ta1eywj96hnwZjtd0ZpIanVuvjCC+njxzUdcu goS1Oo6+fnfFk8kYBwj5fInUTcnMCALfanG8kFvnyomKUeQtU2+0Ops+WzDv6TYKJTjP cTH8YW9s/jhui3I6KJ5SHh/wvSHiouynab8AsIulOFzuD4HnM4hLoVPxavmifbF2DNBh /V9e6oFDmmuv4T6gqZIbiZiAi+jbHiJE4bZaTlHVKVBBoR8mKkYKFKEtEL+IEYPUspNM C/LSU3ohY78NHPxfmbKcm/FmFrlkq7ERKMVDZJ5Tj8vvDhQlqAVpe8ljcD3zlKKnC2gK jgew== X-Gm-Message-State: AOJu0YzEJTxanvttWlsarzRtUlzZVbo+yqix0GQXFG8SWXFUPj46SUf5 o2Y1agSs/UP72CU57J2qfgz80gW46emZwXYkwrzMzzSoKzW/hK0kO2jzJTMEwv+WgCCoAm5VPts ysEbRrJcDzsGuIuJIP1tReoCtfTWWadfZARzdhG+Fhmp26iyFN08ObRTyKp8WjuK9196Vk/Ruyy hKc6tKg49zpD8RX5g= X-Received: by 2002:a05:6512:2396:b0:536:54df:bffa with SMTP id 2adb3069b0e04-53a1544c1e8mr2243849e87.45.1729267641343; Fri, 18 Oct 2024 09:07:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2S+beOwoi8lLxjDbSQqLEn0tXHgxjoPFu05nTA6ngVYQ1GslaTd/570yIAuLF4HK3DMTpPEeFVjv4ckRN/p4= X-Received: by 2002:a05:6512:2396:b0:536:54df:bffa with SMTP id 2adb3069b0e04-53a1544c1e8mr2243816e87.45.1729267640877; Fri, 18 Oct 2024 09:07:20 -0700 (PDT) MIME-Version: 1.0 References: <20241018135641.3546518-1-david.marchand@redhat.com> In-Reply-To: <20241018135641.3546518-1-david.marchand@redhat.com> From: David Marchand Date: Fri, 18 Oct 2024 18:07:10 +0200 Message-ID: Subject: Re: [PATCH] ci: fix unit tests with Fedora 37 To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, probb@iol.unh.edu, Robin Jarry , Aaron Conole , Michael Santana , Bruce Richardson , Chengwen Feng X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Oct 18, 2024 at 3:57=E2=80=AFPM David Marchand wrote: > > This was detected in UNH envs. > > In Fedora 37 and other distributions, meson 0.57 breaks when calling > the unit tests (probably because of an incompatibility with Python 3.11): > > $ meson test -C build --suite DPDK:fast-tests > ninja: Entering directory `/root/dpdk/build' > ninja: no work to do. > Exception in callback TestHarness._run_tests..test_done > () > at /usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py:1806 > handle: .test_done > () > at /usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py:1806> > Traceback (most recent call last): > File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run > self._context.run(self._callback, *self._args) > File "/usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py", > line 1808, in test_done > f.result() > File "/usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py", > line 1803, in run_test > res =3D await test.run(self) > ^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py", > line 1349, in run > await self._run_cmd(harness, cmd) > File "/usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py", > line 1415, in _run_cmd > returncode, result, additional_error =3D > await p.wait(self.runobj.timeout) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py", > line 1241, in wait > await try_wait_one(p.wait(), timeout=3Dtimeout) > File "/usr/local/lib/python3.11/site-packages/mesonbuild/mtest.py", > line 1132, in try_wait_one > await asyncio.wait(awaitables, > File "/usr/lib64/python3.11/asyncio/tasks.py", line 425, in wait > raise TypeError("Passing coroutines is forbidden, use tasks > explicitly.") > TypeError: Passing coroutines is forbidden, use tasks explicitly. > /usr/lib64/python3.11/asyncio/events.py:80: RuntimeWarning: coroutine > 'Process.wait' was never awaited > self._context.run(self._callback, *self._args) > RuntimeWarning: Enable tracemalloc to get the object allocation traceback > > This issue is fixed by upgrading to 0.57.2. > > Fixes: 6f3dbd306de0 ("build: increase minimum meson version to 0.57") > > Suggested-by: Robin Jarry > Signed-off-by: David Marchand Acked-by: Patrick Robb Applied, thanks. --=20 David Marchand