[v5,0/2] Add DTS smoke tests
Message ID | 20230712192005.2045-3-jspewock@iol.unh.edu (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 93FE042E57; Wed, 12 Jul 2023 21:20:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C6E9406BA; Wed, 12 Jul 2023 21:20:48 +0200 (CEST) Received: from mail-il1-f225.google.com (mail-il1-f225.google.com [209.85.166.225]) by mails.dpdk.org (Postfix) with ESMTP id D9B1C400D5 for <dev@dpdk.org>; Wed, 12 Jul 2023 21:20:46 +0200 (CEST) Received: by mail-il1-f225.google.com with SMTP id e9e14a558f8ab-3464c774f23so22487935ab.1 for <dev@dpdk.org>; Wed, 12 Jul 2023 12:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1689189646; x=1691781646; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0TUvBdysuTis1AWLCGQjNEYij71SKhOl7+f+iX4IwHY=; b=KxkbK6d+JI3q9BEG3AAq41Rma1Sf/s5BAAyZzm5VltHJGP06pgix09XHniZsdExQy+ PHf3xgzKIEu2O8X2tbQ/n95NhfMni9dDbdCJd3HydAlbtvcY+lRAksgbjeN9/Xl76F8G VGpS5ExzS8iy1Hg2x2vMCDiwTQMGUBGLpi5Cw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689189646; x=1691781646; 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=0TUvBdysuTis1AWLCGQjNEYij71SKhOl7+f+iX4IwHY=; b=VXyqiB0WiDSibA1P9TjMeBSJ6eRGz9oR6dlHF5Rs+exbrHP+9PKva9eJvjBVnseJfe HlfPwB0saBhBuc8OCJNMCE5A2NE6mSDLfe2DVpO9vBBtgfMuBd4CITyBsx3irVVxhzY1 zT+KiYlapgZSDAy5NLA+IpMe743ieerPHLNuT/5VBb/UybmqA35gg1HTtvLCh8+mQzfE Xd1GVSwKw1CfJSfedg9NHz1RTFh9VSkGQwvYj9EVGUDEbMUTvWZY2u3oKcmR8mepM80V 8kvXGuqBcgv339pgZ632Q4gP0FpsdNRFwJ77h5z677Zu+HuqZvnOJ4MI0br9eOPgxLtI iqsQ== X-Gm-Message-State: ABy/qLYYJMZUe/QoTeycR7/19X8vYO8XEujtmKPkFUk/k7pWUBxyN0WG QjJ61SFMr6vrMJtDFR+zkwN72u36G9/0WSCaj/z4yQREFRS+uHfnmqlLlyJw0700sA== X-Google-Smtp-Source: APBJJlF5o8oAxMU0ZPP652pYiaNDdItlXw0Y0/aJRMIHVMX4lo86xi5w4rMFo0b5ElrZ1x566r/EBqJkxmUi X-Received: by 2002:a92:cf41:0:b0:345:cdbe:833c with SMTP id c1-20020a92cf41000000b00345cdbe833cmr15889751ilr.28.1689189646242; Wed, 12 Jul 2023 12:20:46 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id r25-20020a02c859000000b0042af5268e48sm242399jao.35.2023.07.12.12.20.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2023 12:20:46 -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 2A7D6605246B; Wed, 12 Jul 2023 15:20:45 -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 <jspewock@iol.unh.edu> Subject: [PATCH v5 0/2] Add DTS smoke tests Date: Wed, 12 Jul 2023 15:17:59 -0400 Message-ID: <20230712192005.2045-3-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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Message
Jeremy Spewock
July 12, 2023, 7:17 p.m. UTC
From: Jeremy Spewock <jspewock@iol.unh.edu>
The previous version of this patch removed a method in the
InteractiveShell class but after reading the comments over again and
looking at the code, there was another method that now becomes unused
and not needed. This method for emptying the stdout buffer is removed in
this 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
* 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
Jeremy Spewock (2):
dts: add smoke tests
dts: add paramiko to dependencies
dts/conf.yaml | 17 +-
dts/framework/config/__init__.py | 105 +++++++++--
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 | 75 ++++++++
.../remote_session/remote/testpmd_shell.py | 75 ++++++++
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 | 2 +
dts/poetry.lock | 160 ++++++++++++----
dts/pyproject.toml | 1 +
dts/tests/TestSuite_smoke_tests.py | 113 +++++++++++
20 files changed, 1065 insertions(+), 134 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