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 E6D1D454A8; Wed, 19 Jun 2024 15:37:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5AA94065A; Wed, 19 Jun 2024 15:37:03 +0200 (CEST) Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by mails.dpdk.org (Postfix) with ESMTP id E1BD54021D for ; Wed, 19 Jun 2024 15:35:30 +0200 (CEST) Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-57d1679ee6eso565805a12.1 for ; Wed, 19 Jun 2024 06:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1718804130; x=1719408930; 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=kFv4Ch4lX6CsE5LL+hWHgJd7x3/PW9QejHp01GyrzqU=; b=Lgl9y6HZ06YJfkChesjWynHFploC4gpqul+hh6oKtqmd8fO5JBp/F78+pGUOIFVgMz qIxpdF9ORplAhG8863K1hcAhtGqvIw+C5eMfQLhZxj1BAuHEWy9390RuNyjvcHaycJyR GWMpYhG0dd6j9cgcZ2+aswCwASYOGQP8y/gEWQydosRpA1V7R+ugR/gc9iQOoyTG2B7t r9zsJpbqVF23EAcrAXsqXVUIzY5P6+qBomduPwDUMmKGnjKBKnqrzXTC5h9n2teb0Xdz SnUP1YGxRv+FCSOE8Xao8iRmmy40iarjW95y2ZUh6JWDcIMDgk/15b2S544UyeqzWty8 Mqwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718804130; x=1719408930; 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=kFv4Ch4lX6CsE5LL+hWHgJd7x3/PW9QejHp01GyrzqU=; b=MBVVb/XJmEhLvSQaQabhxEfHlv+97KOG4JQ0lW3M/qe3xZ38/Tu4WFIO216bVOhw2A okTCvryVCXLhSXynTMbOzJodl6J4n+lGQfKibqcHW0Kx9JGDld0mLKnYDRL/9dz9ivfz et+By18vrzCgHB4Yvp+QfZt5qHreVKZNDJ61mkVSOsETa3UBXZPv5xJn4ViHJlVawx0Z 18qTfmlx1zB7X0xtrxWaOADWOmImOChqWJi6f5ava8tr0y1YprDHcwgXEpWuHiDSo1nO jbFIY5Iv15GVBOYT4P7FbcUgX3QLt+vBRcKDi5yOo0eaTWGi2Gw5tvf2g4Ot/foQ0CQ8 dY/Q== X-Gm-Message-State: AOJu0Yw7kp2ZihEghvhR9Wb4kCDopQ5pO+qYGpcZGhCAUxUXZGZU6KMZ GsjF3CXgiFRYYBDGGbjTRWZIUd0j9/CHm0P9AxFf7ZLfMFiuMpdwMc+MkjZLvjs= X-Google-Smtp-Source: AGHT+IFF/GxzXqTlAgtKnT+9ct4obHJx0K7TFj5NmjIXk9ApJgsl09h82d/a/I+IC2rdOqk0FyYJSQ== X-Received: by 2002:a17:907:168b:b0:a6f:718f:39a7 with SMTP id a640c23a62f3a-a6fa410c5d5mr151603466b.16.1718804130438; Wed, 19 Jun 2024 06:35:30 -0700 (PDT) Received: from localhost.localdomain ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56da3fe5sm676723566b.18.2024.06.19.06.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 06:35:30 -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?= , Luca Vizzarro Subject: [PATCH v2 1/5] dts: add tg node test run setup and teardown Date: Wed, 19 Jun 2024 15:35:22 +0200 Message-Id: <20240619133526.28614-2-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240619133526.28614-1-juraj.linkes@pantheon.tech> References: <20240423091252.62924-1-juraj.linkes@pantheon.tech> <20240619133526.28614-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 test run 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š Reviewed-by: Luca Vizzarro Reviewed-by: Jeremy Spewock --- dts/framework/runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dts/framework/runner.py b/dts/framework/runner.py index 4e0254f453..565e581310 100644 --- a/dts/framework/runner.py +++ b/dts/framework/runner.py @@ -428,6 +428,7 @@ def _run_test_run( test_run_result.add_sut_info(sut_node.node_info) try: sut_node.set_up_test_run(test_run_config) + tg_node.set_up_test_run(test_run_config) test_run_result.update_setup(Result.PASS) except Exception as e: self._logger.exception("Test run setup failed.") @@ -448,6 +449,7 @@ def _run_test_run( try: self._logger.set_stage(DtsStage.test_run_teardown) sut_node.tear_down_test_run() + tg_node.tear_down_test_run() test_run_result.update_teardown(Result.PASS) except Exception as e: self._logger.exception("Test run teardown failed.") -- 2.34.1