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 0D15145B2B; Fri, 18 Oct 2024 15:56:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63BA540279; Fri, 18 Oct 2024 15:56:56 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9E9D04025F for ; Fri, 18 Oct 2024 15:56:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729259814; 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; bh=LqxX0v6MRoMXR4QFAqo60GhC3rwvEk5XltMpkFUjjzQ=; b=FM40VKUaT8UDC899cUa5ehL3YdFFMwma/geJhvl6Y9ngK9C3K92neI/ru7C/6h+tEDN28K iWHU0NXHSzFLJzu9bFlbS2LEd8T9AbhXhhfX94PJYS79vnBaaOTmE0XMNbWIESuY7PM8uy ourBdqmKrthOgeLtA+A4D5hrR0JAj/Q= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-693-rxb0cKt9PnCbavC93Fu8cg-1; Fri, 18 Oct 2024 09:56:51 -0400 X-MC-Unique: rxb0cKt9PnCbavC93Fu8cg-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1C565195604F; Fri, 18 Oct 2024 13:56:49 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.57]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B3D8819560A2; Fri, 18 Oct 2024 13:56:44 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, probb@iol.unh.edu, Robin Jarry , Aaron Conole , Michael Santana , Bruce Richardson , Chengwen Feng Subject: [PATCH] ci: fix unit tests with Fedora 37 Date: Fri, 18 Oct 2024 15:56:41 +0200 Message-ID: <20241018135641.3546518-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 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 = 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 = 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=timeout) 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 --- Note: for now, this is a quick fix only for restoring unit tests in the CI before rc1. There is still the question of whether we should align the minimal version to 0.57.2 too. This can be rediscussed for rc2. --- .ci/linux-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh index 8512a92b21..938d492cbb 100755 --- a/.ci/linux-setup.sh +++ b/.ci/linux-setup.sh @@ -4,7 +4,7 @@ [ "$(id -u)" != '0' ] || alias sudo= # need to install as 'root' since some of the unit tests won't run without it -sudo python3 -m pip install --upgrade 'meson==0.57.0' +sudo python3 -m pip install --upgrade 'meson==0.57.2' # setup hugepages. error ignored because having hugepage is not mandatory. cat /proc/meminfo -- 2.46.2