Merge branch 'selftests/bpf: Add parallelism to test_progs'
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Oct 2021 20:40:31 +0000 (13:40 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Oct 2021 22:17:01 +0000 (15:17 -0700)
commite52a8b96c5ade8007ffc5f2fc8142b40e45c325c
treee78324d50d01bff5acb6d2556b72f88e1ff7530f
parenta1852ce0e54251c977e92ca55476ef37bd08fb0e
parentd3f7b1664d3ebd69751327f45f5cd4adfb29f620
Merge branch 'selftests/bpf: Add parallelism to test_progs'

Yucong Sun says:

====================

This patch series adds "-j" parelell execution to test_progs, with "--debug" to
display server/worker communications. Also, some Tests that often fails in
parallel are marked as serial test, and it will run in sequence after parallel
execution is done.

This patch series also adds a error summary after all tests execution finished.

V6 -> V5:
  * adding error summary logic for non parallel mode too.
  * changed how serial tests are implemented, use main process instead of worker 0.
  * fixed a dozen broken test when running in parallel.

V5 -> V4:
  * change to SOCK_SEQPACKET for close notification.
  * move all debug output to "--debug" mode
  * output log as test finish, and all error logs again after summary line.
  * variable naming / style changes
  * adds serial_test_name() to replace serial test lists.
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>