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/335ebf09-27b8-4439-a87b-3cfd07c3aec5
      • initiated_at
        :
        2025-09-17T18:51:15.382931Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1196
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzU4MTM4NjI5LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.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-09-17T18:51:14.380297Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2025-09-17T18:56:14.380297Z
                  • 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
          :
          aecc3f88-33eb-428b-98ca-de8acb7bb4cf
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Wed, 17 Sep 2025 18:51:15 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1037
      • elapsed_s
        :
        0.030997
      • reported
        :
        2025-09-17T18:51:15.414385Z
      • json
        :
        • activity_result
          :
          Rejected
        • flight_id
          :
          335ebf09-27b8-4439-a87b-3cfd07c3aec5
        • flight_plan_status
          :
          NotPlanned
        • includes_advisories
          :
          Unknown
        • notes
          :
          Invalid serial number
        • planning_result
          :
          Rejected
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2025-09-17 18:51:15.388 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:335ebf09-27b8-4439-a87b-3cfd07c3aec5] Starting handler
          • item_2
            :
            [2025-09-17 18:51:15.389 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:335ebf09-27b8-4439-a87b-3cfd07c3aec5] Acquiring lock for flight 335ebf09-27b8-4439-a87b-3cfd07c3aec5
          • item_3
            :
            [2025-09-17 18:51:15.400 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:335ebf09-27b8-4439-a87b-3cfd07c3aec5] Request is for a new flight (lock established)
          • item_4
            :
            [2025-09-17 18:51:15.412 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:335ebf09-27b8-4439-a87b-3cfd07c3aec5] Releasing placeholder for existing flight_id 335ebf09-27b8-4439-a87b-3cfd07c3aec5
      • 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/0450f840-3803-4e1f-9299-838667d739ad
      • initiated_at
        :
        2025-09-17T18:51:15.416625Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1192
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzU4MTM4NjI5LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.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-09-17T18:51:14.380297Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2025-09-17T18:56:14.380297Z
                  • 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
          :
          fc69c0bf-5088-43d7-ba97-74f5927d9cb9
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Wed, 17 Sep 2025 18:51:15 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          2534
      • elapsed_s
        :
        0.107333
      • reported
        :
        2025-09-17T18:51:15.524450Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          0450f840-3803-4e1f-9299-838667d739ad
        • flight_plan_status
          :
          Planned
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2025-09-17 18:51:15.421 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:0450f840-3803-4e1f-9299-838667d739ad] Starting handler
          • item_2
            :
            [2025-09-17 18:51:15.422 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:0450f840-3803-4e1f-9299-838667d739ad] Acquiring lock for flight 0450f840-3803-4e1f-9299-838667d739ad
          • item_3
            :
            [2025-09-17 18:51:15.433 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:0450f840-3803-4e1f-9299-838667d739ad] Request is for a new flight (lock established)
          • item_4
            :
            [2025-09-17 18:51:15.435 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Obtaining latest operational intent information
          • item_5
            :
            [2025-09-17 18:51:15.461 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Checking for intersections with
          • item_6
            :
            [2025-09-17 18:51:15.461 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Sharing operational intent with DSS
          • item_7
            :
            [2025-09-17 18:51:15.461 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Creating new operational intent e3245adf-5bae-48fc-ba58-9e538279685b in DSS
          • item_8
            :
            [2025-09-17 18:51:15.472 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Notifying http://scdsc.uss1.localutm/mock/scd
          • item_9
            :
            [2025-09-17 18:51:15.498 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] No notifications failed
          • item_10
            :
            [2025-09-17 18:51:15.498 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Storing flight in database
          • item_11
            :
            [2025-09-17 18:51:15.510 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:155] [inject_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Complete.
          • item_12
            :
            [2025-09-17 18:51:15.522 DEBUG monitoring.mock_uss.flight_planning.routes:log:59] [upsert_plan/39:0450f840-3803-4e1f-9299-838667d739ad] Releasing lock on existing flight_id 0450f840-3803-4e1f-9299-838667d739ad
      • 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/0450f840-3803-4e1f-9299-838667d739ad
      • initiated_at
        :
        2025-09-17T18:51:15.525044Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzU4MTM4NjI5LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Wed, 17 Sep 2025 18:51:15 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1229
      • elapsed_s
        :
        0.038953
      • reported
        :
        2025-09-17T18:51:15.564507Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          0450f840-3803-4e1f-9299-838667d739ad
        • flight_plan_status
          :
          Closed
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2025-09-17 18:51:15.530 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:278] [delete_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Acquiring and deleting flight
          • item_2
            :
            [2025-09-17 18:51:15.542 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:278] [delete_flight/39:0450f840-3803-4e1f-9299-838667d739ad] deleting operational intent e3245adf-5bae-48fc-ba58-9e538279685b with OVN lXfv53aix3Ut0Zf1Y6Tw69KXVFUYqClfz0cjdPMfoCk_ from DSS
          • item_3
            :
            [2025-09-17 18:51:15.555 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:278] [delete_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Notifying http://scdsc.uss1.localutm/mock/scd
          • item_4
            :
            [2025-09-17 18:51:15.563 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:278] [delete_flight/39:0450f840-3803-4e1f-9299-838667d739ad] No notifications failed
          • item_5
            :
            [2025-09-17 18:51:15.563 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:278] [delete_flight/39:0450f840-3803-4e1f-9299-838667d739ad] Complete.
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.DeleteFlightPlan
    • participant_id
      :
      uss1
🌐
9 Successful flight deletion