Skip to content

[uss_qualifier] Deconflict DSS entity test IDs - #1814

Open
BenjaminPelletier wants to merge 1 commit into
interuss:mainfrom
BenjaminPelletier:parallel-idgenerators
Open

BenjaminPelletier wants to merge 1 commit into
interuss:mainfrom
BenjaminPelletier:parallel-idgenerators

Conversation

@BenjaminPelletier

Copy link
Copy Markdown
Member

One reason f3548_21 can't currently parallelize invocations to the dss_probing test suite is that the special DSS entity IDs used for the tests are constant with regard to the test using them. This is important for traceability of orphaned entities, but it prevents parallelization since multiple parallel scenarios will try to use the same entity ID. This PR fixes that problem by adding an instance index to the entity test ID format, creating an IDGeneratorProviderResource to provide IDGeneratorResource with deconflicted instance_indexes, and passing those deconflicted IDGeneratorResources to dss_probing.

Backwards compatibility is maintained (and actually expanded) by allowing the user to specify the singular id_generator, the multiple id_generator_provider, or neither, with the default behavior to build a provider from an automatically-built base id_generator.

I verified this behavior by running f3548_self_contained and examining the subscription ID in event 7 of scenarios.astm.utm.dss.OIRExplicitSubHandling (the first scenario of dss_probing) for each of the primary-DSS invocations. The relevant character in the UUID indeed incremented by one in the second invocation, which deconflicts it from the first invocation.

Future work should move the IDGenerator and decode_id.py from prober to monitorlib (this is illustrating how old this portion of the codebase is).

@BenjaminPelletier
BenjaminPelletier marked this pull request as ready for review October 16, 2026 21:28
@BenjaminPelletier BenjaminPelletier added the P2 Normal priority label Oct 18, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant