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/70e16a01-012c-43af-8aa4-7bac92034113
      • initiated_at
        :
        2024-12-19T16:18:59.162196Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1196
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjkxLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.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
                    :
                    2024-12-19T16:18:58.158601Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2024-12-19T16:23:58.158601Z
                  • 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
          :
          32bb708c-60a1-447b-9329-d9264f6f75a3
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:18:59 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1037
      • elapsed_s
        :
        0.042887
      • reported
        :
        2024-12-19T16:18:59.205740Z
      • json
        :
        • activity_result
          :
          Rejected
        • flight_id
          :
          70e16a01-012c-43af-8aa4-7bac92034113
        • flight_plan_status
          :
          NotPlanned
        • includes_advisories
          :
          Unknown
        • notes
          :
          Invalid serial number
        • planning_result
          :
          Rejected
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-12-19 16:18:59.169 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:70e16a01-012c-43af-8aa4-7bac92034113] Starting handler
          • item_2
            :
            [2024-12-19 16:18:59.170 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:70e16a01-012c-43af-8aa4-7bac92034113] Acquiring lock for flight 70e16a01-012c-43af-8aa4-7bac92034113
          • item_3
            :
            [2024-12-19 16:18:59.186 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:70e16a01-012c-43af-8aa4-7bac92034113] Request is for a new flight (lock established)
          • item_4
            :
            [2024-12-19 16:18:59.203 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:70e16a01-012c-43af-8aa4-7bac92034113] Releasing placeholder for existing flight_id 70e16a01-012c-43af-8aa4-7bac92034113
      • 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/f05a5bc3-de18-4efb-a82e-e3ca49a7b88c
      • initiated_at
        :
        2024-12-19T16:18:59.209262Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1192
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjkxLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.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
                    :
                    2024-12-19T16:18:58.158601Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2024-12-19T16:23:58.158601Z
                  • 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
          :
          fd2b3ac3-e752-4831-b9a4-1f2d0dcd81f8
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:18:59 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          2333
      • elapsed_s
        :
        0.113662
      • reported
        :
        2024-12-19T16:18:59.323601Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          f05a5bc3-de18-4efb-a82e-e3ca49a7b88c
        • flight_plan_status
          :
          Planned
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-12-19 16:18:59.215 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Starting handler
          • item_2
            :
            [2024-12-19 16:18:59.217 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Acquiring lock for flight f05a5bc3-de18-4efb-a82e-e3ca49a7b88c
          • item_3
            :
            [2024-12-19 16:18:59.232 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Request is for a new flight (lock established)
          • item_4
            :
            [2024-12-19 16:18:59.236 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Obtaining latest operational intent information
          • item_5
            :
            [2024-12-19 16:18:59.272 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Checking for intersections with
          • item_6
            :
            [2024-12-19 16:18:59.273 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Sharing operational intent with DSS
          • item_7
            :
            [2024-12-19 16:18:59.273 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Creating new operational intent 2e55af95-c2f7-488f-a3ee-af18c92808a7 in DSS
          • item_8
            :
            [2024-12-19 16:18:59.286 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] No notifications failed
          • item_9
            :
            [2024-12-19 16:18:59.286 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Storing flight in database
          • item_10
            :
            [2024-12-19 16:18:59.303 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Complete.
          • item_11
            :
            [2024-12-19 16:18:59.320 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Releasing lock on existing flight_id f05a5bc3-de18-4efb-a82e-e3ca49a7b88c
      • 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/f05a5bc3-de18-4efb-a82e-e3ca49a7b88c
      • initiated_at
        :
        2024-12-19T16:18:59.324163Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjkxLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:18:59 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1028
      • elapsed_s
        :
        0.03714
      • reported
        :
        2024-12-19T16:18:59.361850Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          f05a5bc3-de18-4efb-a82e-e3ca49a7b88c
        • flight_plan_status
          :
          Closed
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-12-19 16:18:59.330 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] Acquiring and deleting flight
          • item_2
            :
            [2024-12-19 16:18:59.348 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] deleting operational intent 2e55af95-c2f7-488f-a3ee-af18c92808a7 with OVN KTSoRbJZ96hp6a2X67WutqUGRQIpK1f3tKs4E-rl10k_ from DSS
          • item_3
            :
            [2024-12-19 16:18:59.360 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] No notifications failed
          • item_4
            :
            [2024-12-19 16:18:59.360 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:f05a5bc3-de18-4efb-a82e-e3ca49a7b88c] 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/70e16a01-012c-43af-8aa4-7bac92034113
      • initiated_at
        :
        2024-12-19T16:18:59.362250Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjkxLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:18:59 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          470
      • elapsed_s
        :
        0.021925
      • reported
        :
        2024-12-19T16:18:59.384745Z
      • json
        :
        • activity_result
          :
          Failed
        • flight_id
          :
          70e16a01-012c-43af-8aa4-7bac92034113
        • flight_plan_status
          :
          NotPlanned
        • includes_advisories
          :
          Unknown
        • notes
          :
          Flight 70e16a01-012c-43af-8aa4-7bac92034113 does not exist
        • planning_result
          :
          Failed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-12-19 16:18:59.368 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:70e16a01-012c-43af-8aa4-7bac92034113] Acquiring and deleting flight
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.DeleteFlightPlan
    • participant_id
      :
      uss1
🌐
11 Successful flight deletion