From patchwork Thu Jul 13 15:21:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 129528 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 64B6F42E63; Thu, 13 Jul 2023 17:23:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E555140DDB; Thu, 13 Jul 2023 17:23:22 +0200 (CEST) Received: from mail-qk1-f227.google.com (mail-qk1-f227.google.com [209.85.222.227]) by mails.dpdk.org (Postfix) with ESMTP id 10B9240DDA for ; Thu, 13 Jul 2023 17:23:21 +0200 (CEST) Received: by mail-qk1-f227.google.com with SMTP id af79cd13be357-76772fde287so82393985a.2 for ; Thu, 13 Jul 2023 08:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1689261800; x=1691853800; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0zFfjlRpEtJK249Jc9IKKU0aRrG0lT3nTK3pzqFIOMs=; b=SySxexXNWHlGBpe6gRFYaTT4CqwJfI5ZRMNxFULXdJxJT7PbooqSj8QcHB+pwpf6D1 b4hVku/n9xI1/4kUGmEdB4AaGl/QECijvO9TQOnzVRyDKnM7ZdF68EU0IwIPI/t5WVAA lYWISGJ9saurwLaAckGr9YD1HI9zJX1cSFShE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689261800; x=1691853800; 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=0zFfjlRpEtJK249Jc9IKKU0aRrG0lT3nTK3pzqFIOMs=; b=RKPn0gmvs2MjZX/zE02HoKILu0FcCwNmdDk5JowVgbjuZGwYXyx5c5xXG7OtbvS1lS hfxtb4/qbdUxmsezxuQGsf3VOqac/1mq88vuR+U7WlA1xcAdH5x2bB8jj3+E6qKDe0Es JTWNNc1mDdT/J7JQOOiXsmKb42o1UgFdx+bPPeXHkXd8MVcyqxLdkntdcRFA3qe3uKbn 72r7FtmtK0GwsjaRJExj5xSi8gfLY/tvSlvysoCYeodCoNel604PNPxL8HKllGTpbaX8 eL2j8iRGz0XBAdDZhx6llV0h+7nHjdxHOlpAl/cemVinnfsb5DYFVIylx0xEbGpvojuS DZXg== X-Gm-Message-State: ABy/qLav3WTWGHU94AZUHs7/UAP+neqDHv6HK8Y7tyELBc8XSYl5TAPo /2RKrnokbTy7qHYEc62iX/sCqqETv9EuoGt2g+GE9B1xHxuffA== X-Google-Smtp-Source: APBJJlGL15BkVgFYZDlsLfIUXNMfDkMuHiznWIoPzf/jOiCOck1jp13RTy6vibZLzrXv1gYVSy71cB6R/KG5 X-Received: by 2002:a0c:f4c9:0:b0:636:58fb:b119 with SMTP id o9-20020a0cf4c9000000b0063658fbb119mr1860635qvm.31.1689261800366; Thu, 13 Jul 2023 08:23:20 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id j19-20020ac86653000000b003fb441c3556sm499915qtp.3.2023.07.13.08.23.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2023 08:23:20 -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 BF01C605246B; Thu, 13 Jul 2023 11:23:19 -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 v6 0/2] Add DTS smoke tests Date: Thu, 13 Jul 2023 11:21:04 -0400 Message-ID: <20230713152302.21128-2-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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 Updates previous patch so that it applies over the latest git tree. 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 * v2: https://mails.dpdk.org/archives/dev/2023-July/272833.html * v3: https://mails.dpdk.org/archives/dev/2023-July/272930.html * v4: https://mails.dpdk.org/archives/dev/2023-July/272964.html * v5: https://mails.dpdk.org/archives/dev/2023-July/272983.html Jeremy Spewock (2): dts: add smoke tests dts: add paramiko to dependencies dts/conf.yaml | 17 +- dts/framework/config/__init__.py | 107 +++++++++-- dts/framework/config/conf_yaml_schema.json | 142 +++++++++++++- dts/framework/dts.py | 87 ++++++--- dts/framework/exception.py | 12 ++ dts/framework/remote_session/__init__.py | 11 +- dts/framework/remote_session/os_session.py | 53 +++++- dts/framework/remote_session/posix_session.py | 29 ++- .../remote_session/remote/__init__.py | 10 + .../remote/interactive_remote_session.py | 82 ++++++++ .../remote/interactive_shell.py | 78 ++++++++ .../remote_session/remote/testpmd_shell.py | 74 ++++++++ dts/framework/test_result.py | 37 +++- dts/framework/test_suite.py | 10 +- dts/framework/testbed_model/node.py | 2 + dts/framework/testbed_model/sut_node.py | 176 +++++++++++++----- dts/framework/utils.py | 3 + dts/poetry.lock | 137 ++++++++------ dts/pyproject.toml | 1 + dts/tests/TestSuite_smoke_tests.py | 113 +++++++++++ 20 files changed, 1027 insertions(+), 154 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