Page MenuHomeFreeBSD

pf tests: Stress state retrieval
ClosedPublic

Authored by kp on Jun 29 2021, 7:38 PM.

Details

Summary

Create and retrieve 20.000 states. There have been issues with nvlists
causing very slow state retrieval. We don't impose a specific limit on
the time required to retrieve the states, but do log it. In excessive
cases the Kyua timeout will fail this test.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kp requested review of this revision.Jun 29 2021, 7:38 PM
donner added a subscriber: donner.
donner added inline comments.
tests/sys/netpfil/pf/get_state.sh
34

require python?

This revision is now accepted and ready to land.Jun 30 2021, 3:18 PM
tests/sys/netpfil/pf/get_state.sh
34

That's implicit in atf_set require.progs scapy

tests/sys/netpfil/pf/get_state.sh
34

Oh, fine.

This revision was automatically updated to reflect the committed changes.