dss_probing suite sometimes incorrectly indicates missing subscriber #517
Labels
automated-testing
Related to automated testing tools
bug
Something isn't working
P1
High priority
test-scenario-behavior
This issue is based on this CI failure for a PR that does nothing except bump a minor version of a Python module dependency. Relevant artifacts copied here:
Test check
All Subscription[i] 1≤i≤n returned in subscribers
Difference from expected behavior
The All Subscription[i] 1≤i≤n returned in subscribers check in S11 failed because, when ISA 38a38c20 was deleted (event 84), the relevant subscription 4cce563e (created in event 70 and included in this ISA's subscribers when the ISA was created in event 73) was not included in the
subscribers
list. This appears to be a bug (but isn't; see below) as this subscription was included insubscribers
when 38a38c20 was created just one step earlier, and that version of 38a38c20 is what was deleted in S11. Yet, no subscribers were included in the deletion response of event 84. I don't see any change in the subscription in the local_infra logs in between the ISA creation (2024-02-21T20:44:31.342242964Z) and deletion (2024-02-21T20:44:36.495131935Z).This would appear to indicate DSS misbehavior. However, note that there is a 5+ second gap in between ISA creation and deletion requests (creation 2024-02-21T20:44:31.342242964Z and deletion 2024-02-21T20:44:36.495131935Z). This means that the wall clock time for the deletion request was after the end of the subscription end time. So, the root problem appears to be that the test assumes the subscription must be present even after its end time. The inciting problem is that there is a long pause in test execution. I'm not sure why the long pause happens (that would be good to understand), but regardless, the test can be improved to extend the length of the subscription and/or verify that the ISA deletion request completed before the end time of the subscription before claiming non-compliance to the requirement.
The text was updated successfully, but these errors were encountered: