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 7BABA4557F; Fri, 6 Sep 2024 15:27:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 067794025D; Fri, 6 Sep 2024 15:27:00 +0200 (CEST) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by mails.dpdk.org (Postfix) with ESMTP id 1A1CC400D5 for ; Fri, 6 Sep 2024 15:26:59 +0200 (CEST) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a86910caf9cso563146766b.1 for ; Fri, 06 Sep 2024 06:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1725629219; x=1726234019; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=99khX7qWy5hiQ8oYFO2VSrhxClg1+wM8glyEV6QSNYU=; b=uwwKBeH3TGZ/XAo5TQCdM/74m5PqmsBL63R1HEa3x0r0eOH9TVbnOHfb6OHOEXZ6ur Trsp6owauYywykbmNjmV3f3hPS0ytubrVDil2DdYnS9s2OyZBeMwrmf81wMLLNHP1IvF 3Si/Ap9LKlqO/tLEJhH2Up8e5et3rImTdFf0bY+aV1xH+bEDQ70WIytMyYQeQLVQkFKt k//4G2TOSydgWC13+zXcrHIaphHV6f3b071XGaEs4ji44C0z5uqYzoLJ9Zg+NzJTgzrz WUZusLS44d4o5ImmrMeTWiPyQTEkY+xf6+bIXp2tvYT3cqEOn+9Yu0mJW9SCrlrz67OQ v4fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725629219; x=1726234019; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=99khX7qWy5hiQ8oYFO2VSrhxClg1+wM8glyEV6QSNYU=; b=jSBXivJyg/R8iQRrsq1oLr7CuSaXXf5YD1OIIYL7g9ierWsdIJ2GmJym1gPEl0ka1s gX/up6Mgx+3RlLhvjaVrGz8JGogJJutyvr1es9+KNAz5sFsOVcmb1ai8ssw04NpmGIxZ U/RTKefwKVcAWBqjcdeARu/I+JEfP2KqcLNiXHtTGhOFAF73YQJjhPRDYPgCqvjSAe6D DG2TCroiGreTrslenKUy0RMu5iMkBULaYLlkcgw9/9rFIiX3+SFJ3PMkQumXI3GGMTJd KfnkmeeTSB5yDp4ZLspHty5LH/XA/jD5kGhYoVOQHZ9M/xsP2LB8c386nzRal+V8DsE2 5BqA== X-Gm-Message-State: AOJu0YwA87kqZUFiI/vhetp1y8AsdI4DZj61t32oEUSUtaQaSE5w+odD Mtx/M81erg2HVZpiq13OTGr/TRnoJqMt5Yj6Zro3N/HtS+2ebpj7NEL15m/jo/o= X-Google-Smtp-Source: AGHT+IH4qtXkhd1rr1mL2wmS0jSWYzlYPezW55RX0l0VFOzaqApVQtgrPILSv4mqoLJE6nqIQfuKeA== X-Received: by 2002:a17:907:3ea0:b0:a86:b9c4:a439 with SMTP id a640c23a62f3a-a8a431c7209mr1078434266b.21.1725629218486; Fri, 06 Sep 2024 06:26:58 -0700 (PDT) Received: from jlinkes-PT-Latitude-5530.. ([84.245.121.62]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8a7c504701sm168943566b.25.2024.09.06.06.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 06:26:57 -0700 (PDT) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com, alex.chapman@arm.com, probb@iol.unh.edu, jspewock@iol.unh.edu, npratte@iol.unh.edu, dmarx@iol.unh.edu Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [RFC PATCH v1 00/12] DTS external DPDK build and stats Date: Fri, 6 Sep 2024 15:26:44 +0200 Message-ID: <20240906132656.21729-1-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.43.0 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 Add support for externally built DPDK. The supported scenarios are: * DPDK built on remote node * DPDK built locally * DPDK not built anywhere, source tree or tarball on remote node * DPDK not built anywhere, local source tree or tarball Remove multiple build targets per test run. If different build targets are to be tested, these can be specified in multiple test runs. Remove the git-ref option since it's redundant with the new features. Improve statistics with a json output that includes more complete results. Tomáš Ďurovec (12): dts: rename build target to DPDK build dts: one dpdk build per test run dts: fix remote session transferring files dts: improve path handling for local and remote paths dts: add the ability to copy directories via remote dts: add ability to prevent overwriting files/dirs dts: update argument option for prevent overwriting dts: add support for externally compiled DPDK doc: update argument options for external DPDK build dts: remove git ref option doc: remove git-ref argument dts: improve statistics doc/guides/tools/dts.rst | 17 +- dts/conf.yaml | 6 +- dts/framework/config/__init__.py | 106 ++++- dts/framework/config/conf_yaml_schema.json | 51 ++- dts/framework/config/types.py | 19 +- dts/framework/exception.py | 4 +- dts/framework/logger.py | 4 - dts/framework/remote_session/dpdk_shell.py | 2 +- .../remote_session/remote_session.py | 18 +- dts/framework/remote_session/ssh_session.py | 12 +- dts/framework/runner.py | 150 +++---- dts/framework/settings.py | 188 ++++++--- dts/framework/test_result.py | 372 ++++++++++-------- dts/framework/test_suite.py | 2 +- dts/framework/testbed_model/node.py | 22 +- dts/framework/testbed_model/os_session.py | 160 ++++++-- dts/framework/testbed_model/posix_session.py | 135 ++++++- dts/framework/testbed_model/sut_node.py | 337 ++++++++++------ dts/framework/utils.py | 168 ++++---- dts/tests/TestSuite_smoke_tests.py | 2 +- 20 files changed, 1110 insertions(+), 665 deletions(-) -- 2.43.0