Flight authorisation validation

scenarios.uspace.flight_auth.Validation

Resources

KML visualization

Case Step Event uss1
1 📓 Planner: uss1
Attempt invalid flights Inject invalid flight intents 2 🌐
  • PUT scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/999ed709-a633-459a-8a7a-5c8003dbe8d9
      • initiated_at
        :
        2025-06-19T12:06:10.454228Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1196
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzUwMzM4MzI0LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        • flight_plan
          :
          • basic_information
            :
            • usage_state
              :
              Planned
            • uas_state
              :
              Nominal
            • area
              :
              • item_1
                :
                • volume
                  :
                  • outline_polygon
                    :
                    • vertices
                      :
                      • item_1
                        :
                        • lat
                          :
                          46.97472299984816
                        • lng
                          :
                          7.477504823470508
                      • item_2
                        :
                        • lat
                          :
                          46.97556599981216
                        • lng
                          :
                          7.477504820370851
                      • item_3
                        :
                        • lat
                          :
                          46.97557922815897
                        • lng
                          :
                          7.477505769789705
                  • altitude_lower
                    :
                    • value
                      :
                      605.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                  • altitude_upper
                    :
                    • value
                      :
                      635.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                • time_start
                  :
                  • value
                    :
                    2025-06-19T12:06:09.451008Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2025-06-19T12:11:09.451008Z
                  • format
                    :
                    RFC3339
          • astm_f3548_21
            :
            • priority
              :
              0
          • uspace_flight_authorisation
            :
            • uas_serial_number
              :
              My serial number
            • operation_category
              :
              Open
            • operation_mode
              :
              Vlos
            • uas_class
              :
              C0
            • identification_technologies
              :
              • item_1
                :
                ASTMNetRID
            • connectivity_methods
              :
              • item_1
                :
                cellular
            • endurance_minutes
              :
              30
            • emergency_procedure_url
              :
              https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/test_data/che/flight_intents/invalid_flight_auths/invalid_flight_auth/emergency
            • operator_id
              :
              CHEo5kut30e0mt01-qwe
        • execution_style
          :
          IfAllowed
        • request_id
          :
          4ca2d1c8-195b-442b-b8e2-07a3607e53d3
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:06:10 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1037
      • elapsed_s
        :
        0.038039
      • reported
        :
        2025-06-19T12:06:10.492986Z
      • json
        :
        • activity_result
          :
          Rejected
        • flight_id
          :
          999ed709-a633-459a-8a7a-5c8003dbe8d9
        • flight_plan_status
          :
          NotPlanned
        • includes_advisories
          :
          Unknown
        • notes
          :
          Invalid serial number
        • planning_result
          :
          Rejected
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2025-06-19 12:06:10.460 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:999ed709-a633-459a-8a7a-5c8003dbe8d9] Starting handler
          • item_2
            :
            [2025-06-19 12:06:10.462 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:999ed709-a633-459a-8a7a-5c8003dbe8d9] Acquiring lock for flight 999ed709-a633-459a-8a7a-5c8003dbe8d9
          • item_3
            :
            [2025-06-19 12:06:10.475 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:999ed709-a633-459a-8a7a-5c8003dbe8d9] Request is for a new flight (lock established)
          • item_4
            :
            [2025-06-19 12:06:10.490 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:999ed709-a633-459a-8a7a-5c8003dbe8d9] Releasing placeholder for existing flight_id 999ed709-a633-459a-8a7a-5c8003dbe8d9
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.UpsertFlightPlan
    • participant_id
      :
      uss1
🌐
3 Failure
4 Incorrectly planned
Plan valid flight Plan valid flight intent 5 🌐
  • PUT scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/e553af36-cf41-407e-8e32-513bae039966
      • initiated_at
        :
        2025-06-19T12:06:10.496276Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1192
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzUwMzM4MzI0LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        • flight_plan
          :
          • basic_information
            :
            • usage_state
              :
              Planned
            • uas_state
              :
              Nominal
            • area
              :
              • item_1
                :
                • volume
                  :
                  • outline_polygon
                    :
                    • vertices
                      :
                      • item_1
                        :
                        • lat
                          :
                          46.97472299984816
                        • lng
                          :
                          7.477504823470508
                      • item_2
                        :
                        • lat
                          :
                          46.97556599981216
                        • lng
                          :
                          7.477504820370851
                      • item_3
                        :
                        • lat
                          :
                          46.97557922815897
                        • lng
                          :
                          7.477505769789705
                  • altitude_lower
                    :
                    • value
                      :
                      605.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                  • altitude_upper
                    :
                    • value
                      :
                      635.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                • time_start
                  :
                  • value
                    :
                    2025-06-19T12:06:09.451008Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2025-06-19T12:11:09.451008Z
                  • format
                    :
                    RFC3339
          • 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
              :
              30
            • emergency_procedure_url
              :
              https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/test_data/che/flight_intents/invalid_flight_auths/valid_flight_auth/emergency
            • operator_id
              :
              CHEo5kut30e0mt01-qwe
        • execution_style
          :
          IfAllowed
        • request_id
          :
          dc8e21b9-e960-48bf-8237-76e995d12404
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:06:10 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          2333
      • elapsed_s
        :
        0.102037
      • reported
        :
        2025-06-19T12:06:10.599000Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          e553af36-cf41-407e-8e32-513bae039966
        • flight_plan_status
          :
          Planned
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2025-06-19 12:06:10.502 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:e553af36-cf41-407e-8e32-513bae039966] Starting handler
          • item_2
            :
            [2025-06-19 12:06:10.504 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:e553af36-cf41-407e-8e32-513bae039966] Acquiring lock for flight e553af36-cf41-407e-8e32-513bae039966
          • item_3
            :
            [2025-06-19 12:06:10.517 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:e553af36-cf41-407e-8e32-513bae039966] Request is for a new flight (lock established)
          • item_4
            :
            [2025-06-19 12:06:10.520 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:150] [inject_flight/32:e553af36-cf41-407e-8e32-513bae039966] Obtaining latest operational intent information
          • item_5
            :
            [2025-06-19 12:06:10.551 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:150] [inject_flight/32:e553af36-cf41-407e-8e32-513bae039966] Checking for intersections with
          • item_6
            :
            [2025-06-19 12:06:10.552 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:150] [inject_flight/32:e553af36-cf41-407e-8e32-513bae039966] Sharing operational intent with DSS
          • item_7
            :
            [2025-06-19 12:06:10.553 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:150] [inject_flight/32:e553af36-cf41-407e-8e32-513bae039966] Creating new operational intent 96d99d7b-8c09-4cb7-a51e-f320dda5baa0 in DSS
          • item_8
            :
            [2025-06-19 12:06:10.566 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:150] [inject_flight/32:e553af36-cf41-407e-8e32-513bae039966] No notifications failed
          • item_9
            :
            [2025-06-19 12:06:10.566 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:150] [inject_flight/32:e553af36-cf41-407e-8e32-513bae039966] Storing flight in database
          • item_10
            :
            [2025-06-19 12:06:10.580 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:150] [inject_flight/32:e553af36-cf41-407e-8e32-513bae039966] Complete.
          • item_11
            :
            [2025-06-19 12:06:10.596 DEBUG monitoring.mock_uss.flight_planning.routes:log:60] [upsert_plan/32:e553af36-cf41-407e-8e32-513bae039966] Releasing lock on existing flight_id e553af36-cf41-407e-8e32-513bae039966
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.UpsertFlightPlan
    • participant_id
      :
      uss1
🌐
6 Failure
7 Successful planning
Cleanup 8 🌐
  • DELETE scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/e553af36-cf41-407e-8e32-513bae039966
      • initiated_at
        :
        2025-06-19T12:06:10.599574Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzUwMzM4MzI0LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:06:10 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1028
      • elapsed_s
        :
        0.035269
      • reported
        :
        2025-06-19T12:06:10.635365Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          e553af36-cf41-407e-8e32-513bae039966
        • flight_plan_status
          :
          Closed
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2025-06-19 12:06:10.605 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:258] [delete_flight/32:e553af36-cf41-407e-8e32-513bae039966] Acquiring and deleting flight
          • item_2
            :
            [2025-06-19 12:06:10.620 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:258] [delete_flight/32:e553af36-cf41-407e-8e32-513bae039966] deleting operational intent 96d99d7b-8c09-4cb7-a51e-f320dda5baa0 with OVN 6.biKF1d9AIA8dQJOogepv4VYS1nMGtwo7oBbywUBDQ_ from DSS
          • item_3
            :
            [2025-06-19 12:06:10.633 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:258] [delete_flight/32:e553af36-cf41-407e-8e32-513bae039966] No notifications failed
          • item_4
            :
            [2025-06-19 12:06:10.634 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:258] [delete_flight/32:e553af36-cf41-407e-8e32-513bae039966] Complete.
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.DeleteFlightPlan
    • participant_id
      :
      uss1
🌐
9 Successful flight deletion
10 🌐
  • DELETE scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/999ed709-a633-459a-8a7a-5c8003dbe8d9
      • initiated_at
        :
        2025-06-19T12:06:10.635789Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzUwMzM4MzI0LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:06:10 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          470
      • elapsed_s
        :
        0.02006
      • reported
        :
        2025-06-19T12:06:10.656359Z
      • json
        :
        • activity_result
          :
          Failed
        • flight_id
          :
          999ed709-a633-459a-8a7a-5c8003dbe8d9
        • flight_plan_status
          :
          NotPlanned
        • includes_advisories
          :
          Unknown
        • notes
          :
          Flight 999ed709-a633-459a-8a7a-5c8003dbe8d9 does not exist
        • planning_result
          :
          Failed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2025-06-19 12:06:10.641 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:258] [delete_flight/32:999ed709-a633-459a-8a7a-5c8003dbe8d9] Acquiring and deleting flight
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.DeleteFlightPlan
    • participant_id
      :
      uss1
🌐
11 Successful flight deletion