linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: allison.henderson@oracle.com
To: netdev@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org, rds-devel@oss.oracle.com,
	linux-rdma@vger.kernel.org, oberpar@linux.ibm.com,
	chuck.lever@oracle.com, vegard.nossum@oracle.com,
	Allison Henderson <allison.henderson@oracle.com>
Subject: [PATCH net-next v1 0/3] selftests: rds selftest
Date: Tue, 25 Jun 2024 18:28:31 -0700	[thread overview]
Message-ID: <20240626012834.5678-1-allison.henderson@oracle.com> (raw)

From: Allison Henderson <allison.henderson@oracle.com>

Hi All,

This series is a new selftest that Vegard, Chuck and myself have been
working on to provide some test coverage for rds.  I've made quite a few
updates since the rfc sent a few weeks ago:

  I've added several knobs to the script to tune network turbulance, and
  documented their usage in the README.txt.  By default these options
  are left off.

  Added an extra flag to specify log location

  I've also added a flag to the config.sh to skip gcov configurations if
  the coverage report is not desired.  run.sh has been adapted to skip
  the report if the required configs are not present, or if the required
  packages are not available

  A time out has been added to prevent the test from hanging
  indefinitely

  The previous gcov issues have been resolved with an appropriate gcov
  patch, as well as some extra logic to detect incompatible gcov and gcc
  versions.

  The shellcheck nits reported in the last review have been addressed

  In order to return an appropriate exit code, the run.sh script has
  been adapted to analyze the test.py strace, and determine if the test
  passed, failed or timed out.

  RDS specific GCOV configs have been documented under
  Documentation/dev-tools/gcov.rst

Questions and comments appreciated.  Thanks everyone!

Allison

Vegard Nossum (3):
  .gitignore: add .gcda files
  net: rds: add option for GCOV profiling
  selftests: rds: add testing infrastructure

 .gitignore                                 |   1 +
 Documentation/dev-tools/gcov.rst           |  11 +
 MAINTAINERS                                |   1 +
 net/rds/Kconfig                            |   9 +
 net/rds/Makefile                           |   5 +
 tools/testing/selftests/Makefile           |   1 +
 tools/testing/selftests/net/rds/Makefile   |  13 +
 tools/testing/selftests/net/rds/README.txt |  41 ++++
 tools/testing/selftests/net/rds/config.sh  |  56 +++++
 tools/testing/selftests/net/rds/init.sh    |  69 ++++++
 tools/testing/selftests/net/rds/run.sh     | 271 +++++++++++++++++++++
 tools/testing/selftests/net/rds/test.py    | 251 +++++++++++++++++++
 12 files changed, 729 insertions(+)
 create mode 100644 tools/testing/selftests/net/rds/Makefile
 create mode 100644 tools/testing/selftests/net/rds/README.txt
 create mode 100755 tools/testing/selftests/net/rds/config.sh
 create mode 100755 tools/testing/selftests/net/rds/init.sh
 create mode 100755 tools/testing/selftests/net/rds/run.sh
 create mode 100644 tools/testing/selftests/net/rds/test.py

-- 
2.25.1


             reply	other threads:[~2024-06-26  1:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-26  1:28 allison.henderson [this message]
2024-06-26  1:28 ` [PATCH net-next v1 1/3] .gitignore: add .gcda files allison.henderson
2024-06-26  1:28 ` [PATCH net-next v1 2/3] net: rds: add option for GCOV profiling allison.henderson
2024-06-27 23:28   ` Jakub Kicinski
2024-06-26  1:28 ` [PATCH net-next v1 3/3] selftests: rds: add testing infrastructure allison.henderson
2024-06-27 23:32   ` Jakub Kicinski
2024-07-12 20:16     ` Allison Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240626012834.5678-1-allison.henderson@oracle.com \
    --to=allison.henderson@oracle.com \
    --cc=chuck.lever@oracle.com \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oberpar@linux.ibm.com \
    --cc=rds-devel@oss.oracle.com \
    --cc=vegard.nossum@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).