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 95A1942EBC; Wed, 19 Jul 2023 22:18:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1057A40E25; Wed, 19 Jul 2023 22:18:17 +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 5E3D540DFD for ; Wed, 19 Jul 2023 22:18:15 +0200 (CEST) Received: by mail-pl1-f225.google.com with SMTP id d9443c01a7336-1b8b4749013so240115ad.2 for ; Wed, 19 Jul 2023 13:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1689797894; x=1690402694; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LD+BFu/6UyvWaEPYXJjkvVliJuH4qNMbuyYIJ1WMSV0=; b=hik4MjZ9j2bwJKnCw6YW0iPPpv6xyb0yDx2NEpAKSMQb80VGP5oN4af9j5an0Y1/YZ nN1SA0RrMMgN4+eQQM9bfHk0jguPwv9wux561atZmt9r78U5nw/xif7qR+TBiGovEUjL VyPLE2/QZ/2Le+UjlIe0wYj9KWFTr1lho2aoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689797894; x=1690402694; 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=LD+BFu/6UyvWaEPYXJjkvVliJuH4qNMbuyYIJ1WMSV0=; b=J+LMTioC03+hpYki9k3+yiqRQvPdZk3aMVJtX16pWgEcZGn4JolNLfeWSt/82JRNVQ d5nftrI01eRm3ctpkJ6MrD9Xc0DqoI8ybigV9uOUIQf9NintSn5hLb/j0AsypvGAAhj8 YphzzbHyS8hxwqPI46ICDjb6FXUi0LSzKoX0gqOjEpRrqS7fuuVIMViZdos3dbSQ75xF qc3GecqGw6et5mVB0BH0TFduXFS2SP1xBEC7Qc9t3EUsNB0IFhMVwff5RV5Ybc1SVrhl KvF5ggpxV+fzvr3ZndXi5D6U2Ot7MEHFzs7mRkTfTgyt7jnCh2MV5TKXfkgOGXLIshG7 rBOg== X-Gm-Message-State: ABy/qLYguxMJTaynWrCp3BWPUvtDX6ZyIPOSTHUo++UzoUHUI+clOAF3 CqMuIDTSmop/xqZPxoYoJEyvRzJVbvotZsF9O671MxowjsbJZOS6G3bCeTPo5BhB8g== X-Google-Smtp-Source: APBJJlHAdOJ7UAqOG8fN9wAQfA9Bp5RPne+fPB8LOY4DZ46poyYX6QVXr6MvR75OEkd1v4L8ge0eCsdwcG3e X-Received: by 2002:a17:903:2285:b0:1b8:5a49:a290 with SMTP id b5-20020a170903228500b001b85a49a290mr23932405plh.43.1689797894539; Wed, 19 Jul 2023 13:18:14 -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 h15-20020a170902ac8f00b001b8b419846csm410606plr.101.2023.07.19.13.18.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2023 13:18:14 -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 A7EF4605246B; Wed, 19 Jul 2023 16:18:13 -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 v11 0/1] Add DTS smoke tests Date: Wed, 19 Jul 2023 16:16:53 -0400 Message-ID: <20230719201807.12708-2-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 Added proper doc comments to the InteractiveRemoteSession and made InteractiveShell an abstract 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 * v10: https://mails.dpdk.org/archives/dev/2023-July/273197.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 | 122 +++++++++++++ .../remote/interactive_shell.py | 133 ++++++++++++++ .../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, 1008 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 -- 2.41.0