Data Validation of GET operational intents by USS

scenarios.astm.utm.data_exchange_validation.GetOpResponseDataValidationByUSS

Resources

KML visualization

Case Step Event iart_dss mock_uss
1 📓 Tested USS: airmarket
Successfully plan flight near an existing flight mock_uss plans flight 2 2 🌐
  • GET uss-qualifier.stage.iart.software 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        https://uss-qualifier.stage.iart.software/mockuss/clock
      • initiated_at
        :
        2026-07-13T21:50:08.369435Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Mon, 13 Jul 2026 21:50:08 GMT
        • Content-Type
          :
          text/html; charset=utf-8
        • Content-Length
          :
          32
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.044115
      • reported
        :
        2026-07-13T21:50:08.414253Z
      • body
        :
        2026-07-13T21:50:08.411810+00:00
      • json
        :
        None
    • query_type
      :
      interuss.mock_uss.clock
    • participant_id
      :
      mock_uss
🌐
3 mock_uss clock time retrievable
4 🌐
  • POST dss.stage.iart.software 200
    :
    • request
      :
      • method
        :
        POST
      • url
        :
        https://dss.stage.iart.software/dss/v1/operational_intent_references/query
      • initiated_at
        :
        2026-07-13T21:50:08.415963Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          641
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4Mzk4MjYwOCwiaWF0IjoxNzgzOTc5MDA4LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInR5cCI6IkJlYXJlciIsImF1ZCI6ImRzcy5zdGFnZS5pYXJ0LnNvZnR3YXJlIn0.REDACTED
      • json
        :
        • area_of_interest
          :
          • volume
            :
            • altitude_lower
              :
              • value
                :
                672.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                730.0
              • reference
                :
                W84
              • units
                :
                M
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    53.660962462626394
                  • lng
                    :
                    -113.85561445907928
                • item_2
                  :
                  • lat
                    :
                    53.67366429003943
                  • lng
                    :
                    -113.85561445907928
                • item_3
                  :
                  • lat
                    :
                    53.67366429003943
                  • lng
                    :
                    -113.83168401675414
                • item_4
                  :
                  • lat
                    :
                    53.660962462626394
                  • lng
                    :
                    -113.83168401675414
          • time_start
            :
            • value
              :
              2026-07-13T21:50:07.364052Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2026-07-13T22:35:07.364052Z
            • format
              :
              RFC3339
        • request_id
          :
          fc904a86-985b-486b-891c-f695875af408
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Mon, 13 Jul 2026 21:50:08 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          37
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.014184
      • reported
        :
        2026-07-13T21:50:08.431527Z
      • json
        :
        • operational_intent_references
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.queryOperationalIntentReferences
    • participant_id
      :
      iart_dss
🌐
5 DSS responses
6 🌐
  • PUT uss-qualifier.stage.iart.software 999
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        https://uss-qualifier.stage.iart.software/mockuss/flight_planning/v1/flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8
      • initiated_at
        :
        2026-07-13T21:50:08.432758Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1374
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4Mzk4MzAwOSwiaWF0IjoxNzgzOTc5NDA5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJpbnRlcnVzcy5mbGlnaHRfcGxhbm5pbmcucGxhbiIsInR5cCI6IkJlYXJlciIsImF1ZCI6InVzcy1xdWFsaWZpZXIuc3RhZ2UuaWFydC5zb2Z0d2FyZSJ9.REDACTED
      • json
        :
        • flight_plan
          :
          • basic_information
            :
            • usage_state
              :
              Planned
            • uas_state
              :
              Nominal
            • area
              :
              • item_1
                :
                • volume
                  :
                  • outline_polygon
                    :
                    • vertices
                      :
                      • item_1
                        :
                        • lat
                          :
                          53.670403153931666
                        • lng
                          :
                          -113.85184340526395
                      • item_2
                        :
                        • lat
                          :
                          53.673664290039426
                        • lng
                          :
                          -113.8474065211723
                      • item_3
                        :
                        • lat
                          :
                          53.66863224845546
                        • lng
                          :
                          -113.83168401675414
                      • item_4
                        :
                        • lat
                          :
                          53.660962462626394
                        • lng
                          :
                          -113.85561445907928
                      • item_5
                        :
                        • lat
                          :
                          53.6691917389197
                        • lng
                          :
                          -113.83851579464526
                  • altitude_lower
                    :
                    • value
                      :
                      672.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                  • altitude_upper
                    :
                    • value
                      :
                      730.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                • time_start
                  :
                  • value
                    :
                    2026-07-13T21:50:07.364052Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2026-07-13T22:35:07.364052Z
                  • format
                    :
                    RFC3339
            • utm_id
              :
            • description
              :
          • astm_f3548_21
            :
            • priority
              :
              0
          • uspace_flight_authorisation
            :
            • uas_serial_number
              :
              1AF49UL5CC5J6K
            • operation_category
              :
              Open
            • operation_mode
              :
              Vlos
            • uas_class
              :
              C0
            • identification_technologies
              :
              • item_1
                :
                ASTMNetRID
            • connectivity_methods
              :
              • item_1
                :
                cellular
            • endurance_minutes
              :
              50
            • emergency_procedure_url
              :
              https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/test_data/flight_intents/standard/flight_auths/standard/emergency
            • operator_id
              :
              CHEo5kut30e0mt01-qwe
            • uas_id
              :
            • uas_type_certificate
              :
        • execution_style
          :
          IfAllowed
        • request_id
          :
          2045233a-1713-4dde-9e7f-3ca886531f6b
      • body
        :
        None
    • response
      :
      • failure
        :
        query_and_describe attempt 1 from PID 12 to PUT /flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8 failed with timeout ReadTimeout: HTTPSConnectionPool(host='uss-qualifier.stage.iart.software', port=443): Read timed out. (read timeout=6.1)
        At File "/app/monitoring/monitorlib/clients/flight_planning/client_v1.py", line 67, in _inject
      • elapsed_s
        :
        7.756171
      • reported
        :
        2026-07-13T21:50:16.188929Z
      • headers
        :
      • json
        :
        None
      • code
        :
        None
      • body
        :
        None
    • participant_id
      :
      mock_uss
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.UpsertFlightPlan
🌐
7 🌐
  • PUT uss-qualifier.stage.iart.software 999
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        https://uss-qualifier.stage.iart.software/mockuss/flight_planning/v1/flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8
      • initiated_at
        :
        2026-07-13T21:50:16.189091Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1374
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4Mzk4MzAwOSwiaWF0IjoxNzgzOTc5NDA5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJpbnRlcnVzcy5mbGlnaHRfcGxhbm5pbmcucGxhbiIsInR5cCI6IkJlYXJlciIsImF1ZCI6InVzcy1xdWFsaWZpZXIuc3RhZ2UuaWFydC5zb2Z0d2FyZSJ9.REDACTED
      • json
        :
        • flight_plan
          :
          • basic_information
            :
            • usage_state
              :
              Planned
            • uas_state
              :
              Nominal
            • area
              :
              • item_1
                :
                • volume
                  :
                  • outline_polygon
                    :
                    • vertices
                      :
                      • item_1
                        :
                        • lat
                          :
                          53.670403153931666
                        • lng
                          :
                          -113.85184340526395
                      • item_2
                        :
                        • lat
                          :
                          53.673664290039426
                        • lng
                          :
                          -113.8474065211723
                      • item_3
                        :
                        • lat
                          :
                          53.66863224845546
                        • lng
                          :
                          -113.83168401675414
                      • item_4
                        :
                        • lat
                          :
                          53.660962462626394
                        • lng
                          :
                          -113.85561445907928
                      • item_5
                        :
                        • lat
                          :
                          53.6691917389197
                        • lng
                          :
                          -113.83851579464526
                  • altitude_lower
                    :
                    • value
                      :
                      672.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                  • altitude_upper
                    :
                    • value
                      :
                      730.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                • time_start
                  :
                  • value
                    :
                    2026-07-13T21:50:07.364052Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2026-07-13T22:35:07.364052Z
                  • format
                    :
                    RFC3339
            • utm_id
              :
            • description
              :
          • astm_f3548_21
            :
            • priority
              :
              0
          • uspace_flight_authorisation
            :
            • uas_serial_number
              :
              1AF49UL5CC5J6K
            • operation_category
              :
              Open
            • operation_mode
              :
              Vlos
            • uas_class
              :
              C0
            • identification_technologies
              :
              • item_1
                :
                ASTMNetRID
            • connectivity_methods
              :
              • item_1
                :
                cellular
            • endurance_minutes
              :
              50
            • emergency_procedure_url
              :
              https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/test_data/flight_intents/standard/flight_auths/standard/emergency
            • operator_id
              :
              CHEo5kut30e0mt01-qwe
            • uas_id
              :
            • uas_type_certificate
              :
        • execution_style
          :
          IfAllowed
        • request_id
          :
          2045233a-1713-4dde-9e7f-3ca886531f6b
      • body
        :
        None
    • response
      :
      • failure
        :
        query_and_describe attempt 1 from PID 12 to PUT /flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8 failed with timeout ReadTimeout: HTTPSConnectionPool(host='uss-qualifier.stage.iart.software', port=443): Read timed out. (read timeout=6.1)
        At File "/app/monitoring/monitorlib/clients/flight_planning/client_v1.py", line 67, in _inject
        query_and_describe attempt 2 from PID 12 to PUT /flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8 failed with timeout ReadTimeout: HTTPSConnectionPool(host='uss-qualifier.stage.iart.software', port=443): Read timed out. (read timeout=6.1)
        At File "/app/monitoring/monitorlib/clients/flight_planning/client_v1.py", line 67, in _inject
      • elapsed_s
        :
        6.165313
      • reported
        :
        2026-07-13T21:50:22.354404Z
      • headers
        :
      • json
        :
        None
      • code
        :
        None
      • body
        :
        None
    • participant_id
      :
      mock_uss
    • _previous_query
      :
      • request
        :
        • method
          :
          PUT
        • url
          :
          https://uss-qualifier.stage.iart.software/mockuss/flight_planning/v1/flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8
        • initiated_at
          :
          2026-07-13T21:50:08.432758Z
        • headers
          :
          • User-Agent
            :
            python-requests/2.34.2
          • Accept-Encoding
            :
            gzip, deflate, br
          • Accept
            :
            */*
          • Connection
            :
            keep-alive
          • Content-Length
            :
            1374
          • Content-Type
            :
            application/json
          • Authorization
            :
            Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4Mzk4MzAwOSwiaWF0IjoxNzgzOTc5NDA5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJpbnRlcnVzcy5mbGlnaHRfcGxhbm5pbmcucGxhbiIsInR5cCI6IkJlYXJlciIsImF1ZCI6InVzcy1xdWFsaWZpZXIuc3RhZ2UuaWFydC5zb2Z0d2FyZSJ9.REDACTED
        • json
          :
          • flight_plan
            :
            • basic_information
              :
              • usage_state
                :
                Planned
              • uas_state
                :
                Nominal
              • area
                :
                • item_1
                  :
                  • volume
                    :
                    • outline_polygon
                      :
                      • vertices
                        :
                        • item_1
                          :
                          • lat
                            :
                            53.670403153931666
                          • lng
                            :
                            -113.85184340526395
                        • item_2
                          :
                          • lat
                            :
                            53.673664290039426
                          • lng
                            :
                            -113.8474065211723
                        • item_3
                          :
                          • lat
                            :
                            53.66863224845546
                          • lng
                            :
                            -113.83168401675414
                        • item_4
                          :
                          • lat
                            :
                            53.660962462626394
                          • lng
                            :
                            -113.85561445907928
                        • item_5
                          :
                          • lat
                            :
                            53.6691917389197
                          • lng
                            :
                            -113.83851579464526
                    • altitude_lower
                      :
                      • value
                        :
                        672.0
                      • reference
                        :
                        W84
                      • units
                        :
                        M
                    • altitude_upper
                      :
                      • value
                        :
                        730.0
                      • reference
                        :
                        W84
                      • units
                        :
                        M
                  • time_start
                    :
                    • value
                      :
                      2026-07-13T21:50:07.364052Z
                    • format
                      :
                      RFC3339
                  • time_end
                    :
                    • value
                      :
                      2026-07-13T22:35:07.364052Z
                    • format
                      :
                      RFC3339
              • utm_id
                :
              • description
                :
            • astm_f3548_21
              :
              • priority
                :
                0
            • uspace_flight_authorisation
              :
              • uas_serial_number
                :
                1AF49UL5CC5J6K
              • operation_category
                :
                Open
              • operation_mode
                :
                Vlos
              • uas_class
                :
                C0
              • identification_technologies
                :
                • item_1
                  :
                  ASTMNetRID
              • connectivity_methods
                :
                • item_1
                  :
                  cellular
              • endurance_minutes
                :
                50
              • emergency_procedure_url
                :
                https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/test_data/flight_intents/standard/flight_auths/standard/emergency
              • operator_id
                :
                CHEo5kut30e0mt01-qwe
              • uas_id
                :
              • uas_type_certificate
                :
          • execution_style
            :
            IfAllowed
          • request_id
            :
            2045233a-1713-4dde-9e7f-3ca886531f6b
        • body
          :
          None
      • response
        :
        • failure
          :
          query_and_describe attempt 1 from PID 12 to PUT /flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8 failed with timeout ReadTimeout: HTTPSConnectionPool(host='uss-qualifier.stage.iart.software', port=443): Read timed out. (read timeout=6.1)
          At File "/app/monitoring/monitorlib/clients/flight_planning/client_v1.py", line 67, in _inject
        • elapsed_s
          :
          7.756171
        • reported
          :
          2026-07-13T21:50:16.188929Z
        • headers
          :
        • json
          :
          None
        • code
          :
          None
        • body
          :
          None
      • participant_id
        :
        mock_uss
      • query_type
        :
        interuss.automated_testing.flight_planning.v1.UpsertFlightPlan
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.UpsertFlightPlan
🌐
8 🛑 Successful planning [7]
Error from mock_uss when attempting to submit a flight intent (flight ID: None)
Attempt to plan flight returned status 999 rather than 200 as expected

Stack trace:
Traceback (most recent call last):
File "/app/monitoring/uss_qualifier/scenarios/flight_planning/test_steps.py", line 377, in request_flight
resp = flight_planner.try_plan_flight(
flight_info, ExecutionStyle.IfAllowed, additional_fields
)
File "/app/monitoring/monitorlib/clients/flight_planning/client_v1.py", line 122, in try_plan_flight
return self._inject(
~~~~~~~~~~~~^
str(uuid.uuid4()), flight_info, execution_style, additional_fields
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/app/monitoring/monitorlib/clients/flight_planning/client_v1.py", line 77, in _inject
raise PlanningActivityError(
...<2 lines>...
)
monitoring.monitorlib.clients.flight_planning.client.PlanningActivityError: Attempt to plan flight returned status 999 rather than 200 as expected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/monitoring/uss_qualifier/scenarios/flight_planning/test_steps.py", line 286, in submit_flight
resp, query, flight_id = request_flight(
~~~~~~~~~~~~~~^
flight_planner, flight_info, flight_id, additional_fields
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/app/monitoring/uss_qualifier/scenarios/flight_planning/test_steps.py", line 381, in request_flight
raise QueryError(str(e), e.queries)
monitoring.monitorlib.fetch.QueryError: Attempt to plan flight returned status 999 rather than 200 as expected
🛑
Cleanup 9 🌐
  • DELETE uss-qualifier.stage.iart.software 500
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        https://uss-qualifier.stage.iart.software/mockuss/flight_planning/v1/flight_plans/a92ffda5-91cb-45f7-b785-de039fe2d4e8
      • initiated_at
        :
        2026-07-13T21:50:22.359077Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4Mzk4MzAwOSwiaWF0IjoxNzgzOTc5NDA5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJpbnRlcnVzcy5mbGlnaHRfcGxhbm5pbmcucGxhbiIsInR5cCI6IkJlYXJlciIsImF1ZCI6InVzcy1xdWFsaWZpZXIuc3RhZ2UuaWFydC5zb2Z0d2FyZSJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        500
      • headers
        :
        • Date
          :
          Mon, 13 Jul 2026 21:50:27 GMT
        • Content-Type
          :
          application/json
        • Content-Length
          :
          3948
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        5.355666
      • reported
        :
        2026-07-13T21:50:27.716031Z
      • json
        :
        • message
          :
          Unhandled RuntimeError: Deadlock in delete_flight while attempting to gain access to flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 (now: 2026-07-13 21:50:27.522270+00:00, deadline: 2026-07-13 21:50:27.442530+00:00)
        • stacktrace
          :
          Traceback (most recent call last):
          File "/venv/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
          rv = self.dispatch_request()
          File "/venv/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
          return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
          File "/app/monitoring/monitorlib/auth_validation.py", line 118, in wrapper
          return fn(*args, **kwargs)
          File "/app/monitoring/mock_uss/flight_planning/routes.py", line 104, in flight_planning_v1_delete_flight
          del_resp, status_code = delete_flight(flight_id)
          ~~~~~~~~~~~~~^^^^^^^^^^^
          File "/app/monitoring/mock_uss/scd_injection/routes_injection.py", line 314, in delete_flight
          flight = delete_flight_record(flight_id)
          File "/app/monitoring/mock_uss/flights/planning.py", line 111, in delete_flight_record
          raise RuntimeError(
          f"Deadlock in delete_flight while attempting to gain access to flight {flight_id} (now: {datetime.now(UTC)}, deadline: {deadline})"
          )
          RuntimeError: Deadlock in delete_flight while attempting to gain access to flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 (now: 2026-07-13 21:50:27.522270+00:00, deadline: 2026-07-13 21:50:27.442530+00:00)
        • log_messages
          :
          • item_1
            :
            [2026-07-13 21:50:22.442 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:311] [delete_flight/25:a92ffda5-91cb-45f7-b785-de039fe2d4e8] Acquiring and deleting flight
          • item_2
            :
            [2026-07-13 21:50:22.463 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_3
            :
            [2026-07-13 21:50:22.971 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_4
            :
            [2026-07-13 21:50:23.479 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_5
            :
            [2026-07-13 21:50:23.986 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_6
            :
            [2026-07-13 21:50:24.492 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_7
            :
            [2026-07-13 21:50:24.997 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_8
            :
            [2026-07-13 21:50:25.503 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_9
            :
            [2026-07-13 21:50:26.009 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_10
            :
            [2026-07-13 21:50:26.514 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
          • item_11
            :
            [2026-07-13 21:50:27.020 DEBUG monitoring.monitorlib.delay:sleep:24] Delaying 0.5 seconds because flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 is currently already locked while we are trying to delete it
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.DeleteFlightPlan
    • participant_id
      :
      mock_uss
🌐
10 ⚠️ Successful flight deletion [9]
Failed to clean up flight a92ffda5-91cb-45f7-b785-de039fe2d4e8 from mock_uss
Attempt to delete flight plan returned status 500 rather than 200 as expected

Stack trace:
Traceback (most recent call last):
File "/app/monitoring/uss_qualifier/scenarios/flight_planning/test_steps.py", line 458, in cleanup_flights
resp = flight_planner.try_end_flight(
flight_id, ExecutionStyle.IfAllowed
)
File "/app/monitoring/monitorlib/clients/flight_planning/client_v1.py", line 156, in try_end_flight
raise PlanningActivityError(
...<2 lines>...
)
monitoring.monitorlib.clients.flight_planning.client.PlanningActivityError: Attempt to delete flight plan returned status 500 rather than 200 as expected
⚠️