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 DB6D342E3C; Mon, 10 Jul 2023 18:23:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 726F540698; Mon, 10 Jul 2023 18:23:03 +0200 (CEST) Received: from mail-pl1-f225.google.com (mail-pl1-f225.google.com [209.85.214.225]) by mails.dpdk.org (Postfix) with ESMTP id B876F40150 for ; Mon, 10 Jul 2023 18:23:01 +0200 (CEST) Received: by mail-pl1-f225.google.com with SMTP id d9443c01a7336-1b89b75dc1cso37325795ad.1 for ; Mon, 10 Jul 2023 09:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1689006181; x=1691598181; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=sLtx0XU+Bw6ZAWg6GCWQQaNEmH4zow2huh3gpInSdzs=; b=VjbkrVWDNqPC95zcTgOu0eD4C7a1X+S8UW42cMbX6T2SDLlPI18JcCGX6Ruc8PnSnJ Ts0q6fK8q+PmCGv7LiHHthnuk2uQYJvnCS71z9jrJS4OLgStRXGOUfpw96/YMzOBNF+M bqBg+6M+iZoWgEzwfGxnTaIsB0rPYWcRtwZdM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689006181; x=1691598181; 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=sLtx0XU+Bw6ZAWg6GCWQQaNEmH4zow2huh3gpInSdzs=; b=KIeTAbFL0V31PJ1DPgKX+VZ4ROBlTXYKu84kuDDwfTYY1oJTnGBy3e/gb/HktRtnOY DJZ4SZ6bDgh5zj0oR6jhp61NPPICT8NdPmUg25X34/JmpusJ81E1SWxW8gflObgLo726 HQ2Ix92ld2htC1qL+sa54+Mpk9+s1UsEwTQCdx4fHuUvIKdaw5Vd9HR82OEDUJwXUzlO cUoGLXbO26a0UK7OvsQ/tqgmuYv7IyKg8Zs4MAAObNRCh81EOXXzhKPyX6EZevOc4nJd dMVUVM5iE11AvelKtlXilHAZAXmk4OosJ1IXkotx7/CHf+PtAC/Atz56h3luKjuvg6Iw 3xlw== X-Gm-Message-State: ABy/qLZpaHBnjik2KQn94kGI6tgd4X38Ou8PbAsKOXCrEb0LYhmT3QaR YArNeMgovo2UEz5MWtnWbmJ4NSzn/ghN67FUtemz5KvwFLMijQ== X-Google-Smtp-Source: APBJJlGtlRs9IZPi3vMr/tQxLeuVvaOhQiiL70jjMqqpKFVnwGQeUVmK61+j1P4tBz65lwx4O4Cq1UJbaRSK X-Received: by 2002:a17:903:1c9:b0:1b8:6984:f5e5 with SMTP id e9-20020a17090301c900b001b86984f5e5mr23879952plh.12.1689006180802; Mon, 10 Jul 2023 09:23:00 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id h1-20020a170902748100b001b8a598baf2sm23351pll.26.2023.07.10.09.23.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2023 09:23:00 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1271:90f9:1b64:f6e6:867f]) by postal.iol.unh.edu (Postfix) with ESMTP id DB058605246B; Mon, 10 Jul 2023 12:22:59 -0400 (EDT) From: jspewock@iol.unh.edu To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, thomas@monjalon.net, lijuan.tu@intel.com, wathsala.vithanage@arm.com, probb@iol.unh.edu Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v2 0/2] Add DTS smoke tests Date: Mon, 10 Jul 2023 12:19:10 -0400 Message-ID: <20230710162104.24425-4-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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 From: Jeremy Spewock This version of the series addresses comments and improvements listed on the previous non-RFC patch. RFCs for this patch: * v3: https://mails.dpdk.org/archives/dev/2023-June/269859.html * v2: https://mails.dpdk.org/archives/dev/2023-May/267915.html * v1: https://mails.dpdk.org/archives/dev/2023-April/266580.html Previous patch: * v1: https://mails.dpdk.org/archives/dev/2023-June/271309.html Jeremy Spewock (2): dts: add smoke tests dts: add paramiko to dependencies dts/conf.yaml | 17 +- dts/framework/config/__init__.py | 116 +++++++++-- dts/framework/config/conf_yaml_schema.json | 142 +++++++++++++- dts/framework/dts.py | 88 ++++++--- dts/framework/exception.py | 12 ++ dts/framework/remote_session/__init__.py | 10 +- dts/framework/remote_session/os_session.py | 24 ++- dts/framework/remote_session/posix_session.py | 29 ++- .../remote_session/remote/__init__.py | 10 + .../remote/interactive_remote_session.py | 118 ++++++++++++ .../remote/interactive_shell.py | 99 ++++++++++ .../remote_session/remote/testpmd_shell.py | 67 +++++++ dts/framework/test_result.py | 37 +++- dts/framework/test_suite.py | 21 +- dts/framework/testbed_model/node.py | 2 + dts/framework/testbed_model/sut_node.py | 180 +++++++++++++----- dts/poetry.lock | 160 ++++++++++++---- dts/pyproject.toml | 1 + dts/tests/TestSuite_smoke_tests.py | 118 ++++++++++++ 19 files changed, 1118 insertions(+), 133 deletions(-) create mode 100644 dts/framework/remote_session/remote/interactive_remote_session.py create mode 100644 dts/framework/remote_session/remote/interactive_shell.py create mode 100644 dts/framework/remote_session/remote/testpmd_shell.py create mode 100644 dts/tests/TestSuite_smoke_tests.py -- 2.41.0