From patchwork Tue Jul 18 21:44:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 129635 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 4EF2D42EAC; Tue, 18 Jul 2023 23:49:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D101D42D17; Tue, 18 Jul 2023 23:49:06 +0200 (CEST) Received: from mail-pl1-f226.google.com (mail-pl1-f226.google.com [209.85.214.226]) by mails.dpdk.org (Postfix) with ESMTP id 5F3B5410D3 for ; Tue, 18 Jul 2023 23:49:05 +0200 (CEST) Received: by mail-pl1-f226.google.com with SMTP id d9443c01a7336-1bb119be881so42778505ad.3 for ; Tue, 18 Jul 2023 14:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1689716944; x=1692308944; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kd4uTRdseeYOtr4DmKkvHi7tGXnpRWexvcflN8cFy1o=; b=PODJpGEDwDX4Tk0PMG5ZPsiLzn1e/VAYhRTx7hlT5uL+yNhDTudAHb+BAv7eFYf1Gj FNkvw5tkPJ7WNSRWXv9pEPvz0CKUu9B6GVrFQ11A63Oa0bBQgLUgA3veKDtauwy9yB45 0iQ0otMTVCN0zp6Y2+IyA7SS13MJtE0/GqA1s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689716944; x=1692308944; 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=kd4uTRdseeYOtr4DmKkvHi7tGXnpRWexvcflN8cFy1o=; b=cZYFhZT+KKqYjPwoEuO80TD0Jge98SGAk2EoeX+N1hxE5Nz2RDLrMj7ELQa0KdulH0 dWgjsO1g9WeoSwymI5c4R0tEKxn3tXPxcKcqil1eKipkbTmF+F2q3WSfofTP0O9kSlQa 9ywsII9B5PfbJuOXF00G0c6CPgLC4m4KRAGJchVItUS5HIMn0A3fHmQHSTfGf0d0/zWb LDTZ1943kbovhq37bcxGStymnQKYN1ht4TbySGw0gR7b9W7tkJZgmJlwvP83kWt0tKXk eXvhlqqy2Ikbz8GC58VBzHf9PvvQTTPz/wJhvqa50vdVh5rKx6ZaAsL9CYaXpuzAQFxU 0Big== X-Gm-Message-State: ABy/qLYlR7swjpztb60ap6VbSL7C7nSDgULVPrQs+tVpRgjHFCyBc4sU f/3V3LcVIQmAVAuaVo9T8QrENsTAeSoaltQU9MFKUWeXKeLNQA== X-Google-Smtp-Source: APBJJlG+DsmYVnYwmazsvBgpObO/ZSOPfbx6+QypRlaoQ9wl9lvkEnqvDy7IbGksW1hkFmlbLT+Ougdmc4RX X-Received: by 2002:a17:903:11c8:b0:1b8:9b1b:ab53 with SMTP id q8-20020a17090311c800b001b89b1bab53mr18959090plh.20.1689716944515; Tue, 18 Jul 2023 14:49:04 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id y11-20020a1709029b8b00b001b8a756bd96sm222749plp.12.2023.07.18.14.49.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2023 14:49:04 -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 A1D66605246B; Tue, 18 Jul 2023 17:49:03 -0400 (EDT) From: jspewock@iol.unh.edu To: Honnappa.Nagarahalli@arm.com, thomas@monjalon.net, lijuan.tu@intel.com, wathsala.vithanage@arm.com, probb@iol.unh.edu, juraj.linkes@pantheon.tech Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v10 0/1] Add DTS smoke tests Date: Tue, 18 Jul 2023 17:44:34 -0400 Message-ID: <20230718214802.3214-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 After making changes on the previous version, there were was a comment that didn't align with the new way of doing things and a variable that was never used. This comment has been modified, some other outdated comments were removed, and one doc comment was updated to the InteractiveApp class. 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 * v6: https://mails.dpdk.org/archives/dev/2023-July/273019.html * v7: https://mails.dpdk.org/archives/dev/2023-July/273028.html * v8: https://mails.dpdk.org/archives/dev/2023-July/273117.html * v9: https://mails.dpdk.org/archives/dev/2023-July/273178.html Jeremy Spewock (1): dts: add smoke tests dts/conf.yaml | 17 +- dts/framework/config/__init__.py | 79 ++++++-- dts/framework/config/conf_yaml_schema.json | 142 ++++++++++++++- dts/framework/dts.py | 84 ++++++--- dts/framework/exception.py | 12 ++ dts/framework/remote_session/__init__.py | 13 +- dts/framework/remote_session/linux_session.py | 3 +- dts/framework/remote_session/os_session.py | 49 ++++- dts/framework/remote_session/posix_session.py | 29 ++- .../remote_session/remote/__init__.py | 10 ++ .../remote/interactive_remote_session.py | 82 +++++++++ .../remote/interactive_shell.py | 132 ++++++++++++++ .../remote_session/remote/testpmd_shell.py | 49 +++++ dts/framework/test_result.py | 21 ++- dts/framework/test_suite.py | 10 +- dts/framework/testbed_model/node.py | 43 ++++- dts/framework/testbed_model/sut_node.py | 169 +++++++++++++----- dts/framework/utils.py | 3 + dts/tests/TestSuite_smoke_tests.py | 114 ++++++++++++ 19 files changed, 967 insertions(+), 94 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