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 1E5AE43EE8; Tue, 23 Apr 2024 11:13:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F93040ED0; Tue, 23 Apr 2024 11:12:58 +0200 (CEST) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mails.dpdk.org (Postfix) with ESMTP id 5838940E96 for ; Tue, 23 Apr 2024 11:12:55 +0200 (CEST) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-57222fc625aso187186a12.3 for ; Tue, 23 Apr 2024 02:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1713863575; x=1714468375; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JuzaMgheYjBzBqTWpCKrjQLAXSyUcU+mZIEr5lfmx7Y=; b=FF/k/juVkeY1CKllkFHDHKylXOnWATIVcn8oR+3Na9LuahII6H2JMQ4A2qS2YfgAbM klp2CczV0rMJ6CpOsd8f8oA7g3ndv1X4qqWVkZ5DBoUyiwnRgal5oPV87BZbidm7kXBk pIOd1GSAM7GhcxLtfNY1cdkETfxT1ld5/vhKwOt5rtr2TjRpYlTsi3BQYOsQxWx4o1O3 BIWuPq/ROkosql84vbYIAScBvkpqj7PJ2/rSk4w9nJYgrcydhKTzY6tVHvAv3VNQSh5w Nv4PjJRp/UrSbz8QRCcuIY8982AlbJt3DqMCSqjgYjwbVggUzsAskE+YVjxf+F8eq+SU yiww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713863575; x=1714468375; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JuzaMgheYjBzBqTWpCKrjQLAXSyUcU+mZIEr5lfmx7Y=; b=nVWeGTKNjAsdnnSWco0+O3awaHuY8On0t344YdniksyfLe2ES2izoPFG+qH50M2xu0 UylknnuLyuo9/6WYm5l/vk79teTGn+QtYfl4LTsvVIueMQo0nxoZ7jtTd5CJsSPfa7kP CfwQpUtliAsZC1hNkTqaSulzTjZQPTVPphgYxVyWZa31TC7amebLBXFsyps+Hn/UVkuM p1k+GuRiNBO7cHL7xDQyyF0aZhHNknb2ozLjRG+ks4mVADiv1jNfJzUzk1X+bKq97SaV PeouMNNOuqZA4pql2+y9FFR+fzhlMo3WFBCrTv/HWfFvrRC0CB5DvtWMJnyJT2Ugioby ZK4w== X-Gm-Message-State: AOJu0Yyn0+3FXZLLNhJMhBj26a3VtCs90Ksxt5xJZckNNmsdW3Nq9trN I5bAPGWb3L/i5gBrVNiIJNOSxWyh8/+E8910tOQYdQBsUJ3AaSLu/L2KTUnS9vA= X-Google-Smtp-Source: AGHT+IGphkBPx6YyFQ17fNlzhTifRYcVLjQtYAPw9yb6N8IP/rwfsgBm8M0tz1CkxWnTlWdg0okjvg== X-Received: by 2002:a50:9b07:0:b0:56b:a03c:4eb with SMTP id o7-20020a509b07000000b0056ba03c04ebmr12589736edi.31.1713863575037; Tue, 23 Apr 2024 02:12:55 -0700 (PDT) Received: from jlinkes-PT-Latitude-5530.pantheon.local (81.89.53.154.host.vnet.sk. [81.89.53.154]) by smtp.gmail.com with ESMTPSA id be12-20020a0564021a2c00b0056bf7f92346sm6440534edb.50.2024.04.23.02.12.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 02:12:54 -0700 (PDT) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, jspewock@iol.unh.edu, probb@iol.unh.edu, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com, npratte@iol.unh.edu Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v1 1/4] dts: add tg node execution setup and teardown Date: Tue, 23 Apr 2024 11:12:49 +0200 Message-Id: <20240423091252.62924-2-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240423091252.62924-1-juraj.linkes@pantheon.tech> References: <20240423091252.62924-1-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 The setup and teardown for the execution stage was meant to be run on the tg node too, but was mistakenly omitted. Fixes: cecfe0aabf58 ("dts: add traffic generator abstractions") Signed-off-by: Juraj Linkeš --- dts/framework/runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dts/framework/runner.py b/dts/framework/runner.py index db8e3ba96b..2f25a3e941 100644 --- a/dts/framework/runner.py +++ b/dts/framework/runner.py @@ -422,6 +422,7 @@ def _run_execution( execution_result.add_sut_info(sut_node.node_info) try: sut_node.set_up_execution(execution) + tg_node.set_up_execution(execution) execution_result.update_setup(Result.PASS) except Exception as e: self._logger.exception("Execution setup failed.") @@ -438,6 +439,7 @@ def _run_execution( try: self._logger.set_stage(DtsStage.execution_teardown) sut_node.tear_down_execution() + tg_node.tear_down_execution() execution_result.update_teardown(Result.PASS) except Exception as e: self._logger.exception("Execution teardown failed.") -- 2.34.1