Skip to content

Torture-test scripting updates for v5.13

Paul E. McKenney lkml rcu stable 1 version New

Get series with b4
b4 am 20210304003750.GA24696@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest28 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28torturescript: Don't rerun failed rcutorture buildstools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+12 -10 replies
2/28torture: Allow 1G of memory for torture.sh kvfree testingtools/testing/selftests/rcutorture/bin/torture.sh+1 -10 replies
3/28torture: Provide bare-metal modprobe-based advicetools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh tools/testing/selftests/rcutorture/bin/kvm.sh+42 -60 replies
4/28torture: Improve readability of the testid.txt filetools/testing/selftests/rcutorture/bin/kvm.sh+7 -20 replies
5/28rcuscale: Disable verbose torture-test outputtools/testing/selftests/rcutorture/configs/rcuscale/ver_functions.sh+1 -10 replies
6/28refscale: Disable verbose torture-test outputtools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh+1 -10 replies
7/28torture: Move build/run synchronization files into scenario directoriestools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh tools/testing/selftests/rcutorture/bin/kvm.sh+16 -190 replies
8/28torture: Use file-based protocol to mark batch's runs completetools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh tools/testing/selftests/rcutorture/bin/kvm.sh+14 -20 replies
9/28torture: Use "jittering" file to control jitter.sh executiontools/testing/selftests/rcutorture/bin/jitter.sh tools/testing/selftests/rcutorture/bin/kvm.sh+10 -50 replies
10/28torture: Eliminate jitter_pids filetools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh tools/testing/selftests/rcutorture/bin/kvm.sh+1 -180 replies
11/28torture: Reverse jittering and duration parameters for jitter.shtools/testing/selftests/rcutorture/bin/jitter.sh tools/testing/selftests/rcutorture/bin/kvm.sh+4 -40 replies
12/28torture: Abstract jitter.sh start/stop into scriptstools/testing/selftests/rcutorture/bin/jitterstart.sh tools/testing/selftests/rcutorture/bin/jitterstop.sh tools/testing/selftests/rcutorture/bin/kvm.sh+62 -50 replies
13/28torture: Record TORTURE_KCONFIG_GDB_ARG in qemu-cmdtools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+1 -00 replies
14/28torture: Extract kvm-test-1-run-qemu.sh from kvm-test-1-run.shtools/testing/selftests/rcutorture/bin/kvm-test-1-run-qemu.sh tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+171 -1260 replies
15/28torture: Record jitter start/stop commandstools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh tools/testing/selftests/rcutorture/bin/kvm.sh+16 -100 replies
16/28torture: Record kvm-test-1-run.sh and kvm-test-1-run-qemu.sh PIDstools/testing/selftests/rcutorture/bin/kvm-test-1-run-qemu.sh tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+3 -10 replies
17/28torture: Remove no-mpstat error messagetools/testing/selftests/rcutorture/bin/cpus2use.sh+0 -10 replies
18/28torture: Rename SRCU-t and SRCU-u to avoid lowercase characterstools/testing/selftests/rcutorture/configs/rcu/CFLIST tools/testing/selftests/rcutorture/configs/rcu/SRCU-T tools/testing/selftests/rcutorture/configs/rcu/SRCU-T.boot +2 more+2 -20 replies
19/28torture: Make upper-case-only no-dot no-slash scenario names officialtools/testing/selftests/rcutorture/bin/kvm.sh+1 -10 replies
20/28torture: De-capitalize TORTURE_SUITEtools/testing/selftests/rcutorture/bin/kvm-recheck.sh tools/testing/selftests/rcutorture/bin/kvm.sh+2 -20 replies
21/28torture: Create a "batches" file for build reusetools/testing/selftests/rcutorture/bin/kvm.sh+17 -120 replies
22/28torture: Add kvm-again.sh to rerun a previous torture-testtools/testing/selftests/rcutorture/bin/kvm-again.sh tools/testing/selftests/rcutorture/bin/kvm-test-1-run-batch.sh+238 -00 replies
23/28torture: Add --duration argument to kvm-again.shtools/testing/selftests/rcutorture/bin/kvm-again.sh tools/testing/selftests/rcutorture/bin/kvm-transform.sh+47 -70 replies
24/28torture: Make kvm-transform.sh update jitter commandstools/testing/selftests/rcutorture/bin/kvm-again.sh tools/testing/selftests/rcutorture/bin/kvm-transform.sh+22 -40 replies
25/28torture: Make TORTURE_TRUST_MAKE available in kvm-again.sh environmenttools/testing/selftests/rcutorture/bin/kvm-again.sh tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh+6 -00 replies
26/28torture: Print proper vmlinux path for kvm-again.sh runstools/testing/selftests/rcutorture/bin/kvm-again.sh tools/testing/selftests/rcutorture/bin/kvm-test-1-run-qemu.sh+9 -20 replies
27/28torture: Consolidate qemu-cmd duration editing into kvm-transform.shtools/testing/selftests/rcutorture/bin/kvm-again.sh tools/testing/selftests/rcutorture/bin/kvm-transform.sh+8 -40 replies
28/28torture: Fix kvm.sh --datestamp regex checktools/testing/selftests/rcutorture/bin/kvm.sh+1 -10 replies

Reviews trailers per patch

None of the 28 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-HartmanDavid Gow
SeriesR-b R-b R-b
1/28
2/28
3/28
4/28
5/28
6/28
7/28
8/28
9/28
10/28
11/28
12/28
13/28
14/28
15/28
16/28
17/28
18/28
19/28
20/28
21/28
22/28
23/28
24/28
25/28
26/28
27/28
28/28

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

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/28] Torture-test scripting updates for v5.13

Hello!

This series contains updates to the torture-test scripting, perhaps most notably the addition of kvm-again.sh, which allows rerunning an earlier test without having to rebuild all the kernels.

1. Don't rerun failed rcutorture builds.

2. Allow 1G of memory for torture.sh kvfree testing.

3. Provide bare-metal modprobe-based advice.

4. Improve readability of the testid.txt file.

5. Disable verbose torture-test output.

6. Disable verbose torture-test output.

7. Move build/run synchronization files into scenario directories.

8. Use file-based protocol to mark batch's runs complete.

9. Use "jittering" file to control jitter.sh execution.

10. Eliminate jitter_pids file.

11. Reverse jittering and duration parameters for jitter.sh.

12. Abstract jitter.sh start/stop into scripts.

13. Record TORTURE_KCONFIG_GDB_ARG in qemu-cmd.

14. Extract kvm-test-1-run-qemu.sh from kvm-test-1-run.sh.

15. Record jitter start/stop commands.

16. Record kvm-test-1-run.sh and kvm-test-1-run-qemu.sh PIDs.

17. Remove no-mpstat error message.

18. Rename SRCU-t and SRCU-u to avoid lowercase characters.

19. Make upper-case-only no-dot no-slash scenario names official.

20. De-capitalize TORTURE_SUITE.

21. Create a "batches" file for build reuse.

22. Add kvm-again.sh to rerun a previous torture-test.

23. Add --duration argument to kvm-again.sh.

24. Make kvm-transform.sh update jitter commands.

25. Make TORTURE_TRUST_MAKE available in kvm-again.sh environment.

26. Print proper vmlinux path for kvm-again.sh runs.

27. Consolidate qemu-cmd duration editing into kvm-transform.sh.

28. Fix kvm.sh --datestamp regex check.

Thanx, Paul

------------------------------------------------------------------------

 bin/cpus2use.sh                   |    1 
 bin/jitter.sh                     |   16 +-
 bin/jitterstart.sh                |   37 ++++++
 bin/jitterstop.sh                 |   23 +++
 bin/kvm-again.sh                  |  213 +++++++++++++++++++++++++++++++++-
 bin/kvm-recheck.sh                |    2 
 bin/kvm-test-1-run-batch.sh       |   67 ++++++++++
 bin/kvm-test-1-run-qemu.sh        |  178 ++++++++++++++++++++++++++++-
 bin/kvm-test-1-run.sh             |  232 +++++++++++---------------------------
 bin/kvm-transform.sh              |   60 ++++++++-
 bin/kvm.sh                        |  114 +++++++++++-------
 bin/torture.sh                    |    2 
 configs/rcu/CFLIST                |    4 
 configs/rcu/SRCU-U                |    1 
 configs/rcuscale/ver_functions.sh |    2 
 configs/refscale/ver_functions.sh |    2 
 16 files changed, 715 insertions(+), 239 deletions(-)