Skip to content

RFC selftests: rds selftest

[email protected] netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3.gitignore: add .gcda files.gitignore+1 -01 reply
2/3net: rds: add option for GCOV profilingnet/rds/Kconfig net/rds/Makefile+14 -01 reply
3/3selftests: rds: add testing infrastructureMAINTAINERS tools/testing/selftests/Makefile tools/testing/selftests/net/rds/Makefile +5 more+524 -02 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAllison HendersonChuck Lever
1/3R-b R-b
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC net-next 0/3] selftests: rds selftest

From: Allison Henderson <[email protected]>

Hi All,

This series is a new selftest that Vegard, Chuck and myself have been working on to provide some test coverage for rds. It still has a few bugs to work out, so it's not quite ready for submission yet. But we thought an RFC would be a good idea just to collect some feed back to see what people think. Some things to be aware of that we are still working through:

Occasionally we see intermittent hangs during the send and recv. So we still need to track down and address the cause

We may still add a time out to handle unexpected hangs

We've been having some trouble getting gcov to generate a report if the version of gcov doesn't match the version of gcc installed. So we may further adapt the test to omit the coverage report if the required dependencies are not met

Some distros are still not collecting meaningfull gcda data and generate an empty report, so we are still trying to figure out the cause of that

May still add more exit codes for PASS/FAIL/BROKEN/CONFIG conditions

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 +
 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 |  15 ++
 tools/testing/selftests/net/rds/config.sh  |  33 +++
 tools/testing/selftests/net/rds/init.sh    |  49 +++++
 tools/testing/selftests/net/rds/run.sh     | 168 ++++++++++++++
 tools/testing/selftests/net/rds/test.py    | 244 +++++++++++++++++++++
 11 files changed, 539 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
Signature · 1 line
2.25.1