Skip to content

Conversation

jlucovsky
Copy link
Contributor

Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.

Contribution style:

Our Contribution agreements:

Changes (if applicable):

Link to ticket: https://redmine.openinfosecfoundation.org/issues/

Describe changes:

Provide values to any of the below to override the defaults.

  • To use a Suricata-Verify or Suricata-Update pull request,
    link to the pull request in the respective _BRANCH variable.
  • Leave unused overrides blank or remove.

SV_REPO=
SV_BRANCH=
SU_REPO=
SU_BRANCH=

Issue: 7819

DetectEngineReload must hold the `master->lock`; recent changes changed
the locking usages to avoid deadlock when registering/handling tenants.
These changes added the presumption that the master lock is held at a
higher level. Coverity highlighted that the lock is not held
consistently.
Add a DBV assert to validate that the master->lock is held.
Add MT live test cability
- multi-tenant.sh: harness that sets up and steps through MT steps
- suricata-mt.yaml: Adds MT capability to Suricata
- tenant-1.yaml: Per-tenant configuration file
Copy link

codecov bot commented Sep 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.86%. Comparing base (096ba42) to head (b18942a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13918      +/-   ##
==========================================
+ Coverage   78.65%   83.86%   +5.21%     
==========================================
  Files        1011     1011              
  Lines      275455   275483      +28     
==========================================
+ Hits       216646   231031   +14385     
+ Misses      58809    44452   -14357     
Flag Coverage Δ
fuzzcorpus 63.49% <75.00%> (?)
livemode 19.35% <100.00%> (+0.33%) ⬆️
pcap 44.72% <0.00%> (-0.09%) ⬇️
suricata-verify 65.17% <25.00%> (-0.01%) ⬇️
unittests 59.17% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 27735

@jlucovsky jlucovsky changed the title 7819/7 Draft: use MT tests from CI. Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants