Skip to content

Enhance kernel mode multi-threaded stress tests to test more fine-grained scenarios involving extension restarts. #3223

@dv-msft

Description

@dv-msft

Describe the feature you'd like supported

The current multi-threaded kernel stress tests (involving extension restart) need to break out the following scenarios as separate tests:

  1. Test the resiliency of all involved ebpf components while restarting the applicable extension during the program 'open + load + attach' sequence in a multi-threaded scenario. The test should cover both JIT and native programs with multiple threads loading the same program (JIT) or copies thereof (native).

  2. Test the resiliency of all involved ebpf components while restarting the applicable extension after the program 'open + load + attach' sequence in a multi-threaded scenario. This is needed for both JIT and native programs with multiple threads loading the same program (JIT) or copies thereof(native) and should ensure that loaded + attached programs continue to be (re)invoked after an extension restart.

  3. Same as (2) above, except each thread loading different programs. An existing test native_invoke_v4_v6_programs_restart_extension_test that already does this needs to be slightly modified to make it compliant.

Proposed solution

As listed in feature description.

Additional context

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions