all:
  children:
    zuul_unreachable:
      hosts: {}
  hosts:
    debian-bookworm:
      ansible_connection: ssh
      ansible_host: 2a13:1a81:8000:3124:f816:3eff:fea7:4d49
      ansible_port: 22
      ansible_python_interpreter: auto
      ansible_user: zuul
      nodepool:
        az: nova
        cloud: regiocloud-a-ci
        external_id: e705cecd-24c8-4345-8bd1-b46d756e1b6d
        host_id: 9a3b43c52073b98876da7433cf53a5f9772104a91b94e1d0ef2a8e4f
        interface_ip: 2a13:1a81:8000:3124:f816:3eff:fea7:4d49
        label: debian-bookworm
        node_properties: {}
        private_ipv4: 10.128.7.171
        private_ipv6: null
        provider: regiocloud-a
        public_ipv4: 81.163.192.95
        public_ipv6: 2a13:1a81:8000:3124:f816:3eff:fea7:4d49
        region: null
        slot: null
  vars:
    zuul:
      _inheritance_path:
      - '<Job base explicit: None implied: {MatchAny:{ImpliedBranchMatcher:main}}
        source: osism/zuul-config/zuul.d/jobs.yaml@main#2>'
      - '<Job python-osism-test-setup explicit: None implied: {MatchAny:{ImpliedBranchMatcher:main}}
        source: osism/python-osism/.zuul.yaml@main#128>'
      - '<Job python-osism-test-setup explicit: None implied: None source: osism/python-osism/.zuul.yaml@main#133>'
      ansible_version: '9'
      attempts: 1
      branch: main
      build: caeff10871914882bb17ba43038de72f
      build_refs:
      - branch: main
        change: '1779'
        change_message: "Optimize SONIC configuration generation with global caches\n\nFurther
          optimize SONIC configuration generation by implementing global caching strategies
          for metalbox devices and VIP addresses, and simplifying peer type calculation.\r\n\r\nChanges
          in config_generator.py:\r\n\r\n1. Metalbox Global Cache:\r\n   - Add _metalbox_devices_cache
          global variable\r\n   - Create _load_metalbox_devices_cache() to bulk fetch
          all metalbox devices, interfaces, and IPs at sync start\r\n   - Modify _get_metalbox_ip_for_device()
          to use pre-loaded cache\r\n   - Performance: O(N \xD7 M \xD7 K) \u2192 O(1)
          lookups (~100x faster)\r\n\r\n2. Peer Type Optimization:\r\n   - Simplify
          _determine_peer_type() to use existing device_as_mapping\r\n   - Eliminate
          redundant spine/superspine device queries and group calculations\r\n   -
          Performance: Removed O(N) queries per peer type check (~20x faster)\r\n\r\nChanges
          in connections.py:\r\n\r\n3. VIP Addresses Global Cache:\r\n   - Add _vip_addresses_cache
          global variable\r\n   - Create load_vip_addresses_cache() to bulk fetch
          all VIP addresses at sync start\r\n   - Create clear_vip_addresses_cache()
          for cache cleanup\r\n   - Modify get_connected_interface_ipv4_address()
          to use cached VIPs\r\n   - Performance: O(N \xD7 P) \u2192 O(1) lookups
          (~50x faster)\r\n\r\nChanges in sync.py:\r\n\r\n4. Cache Integration:\r\n
          \  - Call _load_metalbox_devices_cache() after cache clearing\r\n   - Call
          load_vip_addresses_cache() after cache clearing\r\n   - Add clear_vip_addresses_cache()
          to cleanup process\r\n\r\nAll function signatures preserved. Error handling
          and logging patterns maintained.\r\n\r\nAI-assisted: Claude Code"
        change_url: https://github.com/osism/python-osism/pull/1779
        commit_id: 6eeede60276664f9b6ac77efeb7097c238a78564
        patchset: 6eeede60276664f9b6ac77efeb7097c238a78564
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          name: osism/python-osism
          short_name: python-osism
        src_dir: src/github.com/osism/python-osism
        topic: null
      buildset: ad8a613056af4c29863e9a56065a9f74
      buildset_refs:
      - branch: main
        change: '1779'
        change_message: "Optimize SONIC configuration generation with global caches\n\nFurther
          optimize SONIC configuration generation by implementing global caching strategies
          for metalbox devices and VIP addresses, and simplifying peer type calculation.\r\n\r\nChanges
          in config_generator.py:\r\n\r\n1. Metalbox Global Cache:\r\n   - Add _metalbox_devices_cache
          global variable\r\n   - Create _load_metalbox_devices_cache() to bulk fetch
          all metalbox devices, interfaces, and IPs at sync start\r\n   - Modify _get_metalbox_ip_for_device()
          to use pre-loaded cache\r\n   - Performance: O(N \xD7 M \xD7 K) \u2192 O(1)
          lookups (~100x faster)\r\n\r\n2. Peer Type Optimization:\r\n   - Simplify
          _determine_peer_type() to use existing device_as_mapping\r\n   - Eliminate
          redundant spine/superspine device queries and group calculations\r\n   -
          Performance: Removed O(N) queries per peer type check (~20x faster)\r\n\r\nChanges
          in connections.py:\r\n\r\n3. VIP Addresses Global Cache:\r\n   - Add _vip_addresses_cache
          global variable\r\n   - Create load_vip_addresses_cache() to bulk fetch
          all VIP addresses at sync start\r\n   - Create clear_vip_addresses_cache()
          for cache cleanup\r\n   - Modify get_connected_interface_ipv4_address()
          to use cached VIPs\r\n   - Performance: O(N \xD7 P) \u2192 O(1) lookups
          (~50x faster)\r\n\r\nChanges in sync.py:\r\n\r\n4. Cache Integration:\r\n
          \  - Call _load_metalbox_devices_cache() after cache clearing\r\n   - Call
          load_vip_addresses_cache() after cache clearing\r\n   - Add clear_vip_addresses_cache()
          to cleanup process\r\n\r\nAll function signatures preserved. Error handling
          and logging patterns maintained.\r\n\r\nAI-assisted: Claude Code"
        change_url: https://github.com/osism/python-osism/pull/1779
        commit_id: 6eeede60276664f9b6ac77efeb7097c238a78564
        patchset: 6eeede60276664f9b6ac77efeb7097c238a78564
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          name: osism/python-osism
          short_name: python-osism
        src_dir: src/github.com/osism/python-osism
        topic: null
      change: '1779'
      change_message: "Optimize SONIC configuration generation with global caches\n\nFurther
        optimize SONIC configuration generation by implementing global caching strategies
        for metalbox devices and VIP addresses, and simplifying peer type calculation.\r\n\r\nChanges
        in config_generator.py:\r\n\r\n1. Metalbox Global Cache:\r\n   - Add _metalbox_devices_cache
        global variable\r\n   - Create _load_metalbox_devices_cache() to bulk fetch
        all metalbox devices, interfaces, and IPs at sync start\r\n   - Modify _get_metalbox_ip_for_device()
        to use pre-loaded cache\r\n   - Performance: O(N \xD7 M \xD7 K) \u2192 O(1)
        lookups (~100x faster)\r\n\r\n2. Peer Type Optimization:\r\n   - Simplify
        _determine_peer_type() to use existing device_as_mapping\r\n   - Eliminate
        redundant spine/superspine device queries and group calculations\r\n   - Performance:
        Removed O(N) queries per peer type check (~20x faster)\r\n\r\nChanges in connections.py:\r\n\r\n3.
        VIP Addresses Global Cache:\r\n   - Add _vip_addresses_cache global variable\r\n
        \  - Create load_vip_addresses_cache() to bulk fetch all VIP addresses at
        sync start\r\n   - Create clear_vip_addresses_cache() for cache cleanup\r\n
        \  - Modify get_connected_interface_ipv4_address() to use cached VIPs\r\n
        \  - Performance: O(N \xD7 P) \u2192 O(1) lookups (~50x faster)\r\n\r\nChanges
        in sync.py:\r\n\r\n4. Cache Integration:\r\n   - Call _load_metalbox_devices_cache()
        after cache clearing\r\n   - Call load_vip_addresses_cache() after cache clearing\r\n
        \  - Add clear_vip_addresses_cache() to cleanup process\r\n\r\nAll function
        signatures preserved. Error handling and logging patterns maintained.\r\n\r\nAI-assisted:
        Claude Code"
      change_url: https://github.com/osism/python-osism/pull/1779
      child_jobs: []
      commit_id: 6eeede60276664f9b6ac77efeb7097c238a78564
      event_id: a2930760-b4cf-11f0-96a9-13a8fba07316
      executor:
        hostname: 521e9411259a
        inventory_file: /var/lib/zuul/builds/caeff10871914882bb17ba43038de72f/ansible/inventory.yaml
        log_root: /var/lib/zuul/builds/caeff10871914882bb17ba43038de72f/work/logs
        result_data_file: /var/lib/zuul/builds/caeff10871914882bb17ba43038de72f/work/results.json
        src_root: /var/lib/zuul/builds/caeff10871914882bb17ba43038de72f/work/src
        work_root: /var/lib/zuul/builds/caeff10871914882bb17ba43038de72f/work
      include_vars: []
      items:
      - branch: main
        change: '1779'
        change_message: "Optimize SONIC configuration generation with global caches\n\nFurther
          optimize SONIC configuration generation by implementing global caching strategies
          for metalbox devices and VIP addresses, and simplifying peer type calculation.\r\n\r\nChanges
          in config_generator.py:\r\n\r\n1. Metalbox Global Cache:\r\n   - Add _metalbox_devices_cache
          global variable\r\n   - Create _load_metalbox_devices_cache() to bulk fetch
          all metalbox devices, interfaces, and IPs at sync start\r\n   - Modify _get_metalbox_ip_for_device()
          to use pre-loaded cache\r\n   - Performance: O(N \xD7 M \xD7 K) \u2192 O(1)
          lookups (~100x faster)\r\n\r\n2. Peer Type Optimization:\r\n   - Simplify
          _determine_peer_type() to use existing device_as_mapping\r\n   - Eliminate
          redundant spine/superspine device queries and group calculations\r\n   -
          Performance: Removed O(N) queries per peer type check (~20x faster)\r\n\r\nChanges
          in connections.py:\r\n\r\n3. VIP Addresses Global Cache:\r\n   - Add _vip_addresses_cache
          global variable\r\n   - Create load_vip_addresses_cache() to bulk fetch
          all VIP addresses at sync start\r\n   - Create clear_vip_addresses_cache()
          for cache cleanup\r\n   - Modify get_connected_interface_ipv4_address()
          to use cached VIPs\r\n   - Performance: O(N \xD7 P) \u2192 O(1) lookups
          (~50x faster)\r\n\r\nChanges in sync.py:\r\n\r\n4. Cache Integration:\r\n
          \  - Call _load_metalbox_devices_cache() after cache clearing\r\n   - Call
          load_vip_addresses_cache() after cache clearing\r\n   - Add clear_vip_addresses_cache()
          to cleanup process\r\n\r\nAll function signatures preserved. Error handling
          and logging patterns maintained.\r\n\r\nAI-assisted: Claude Code"
        change_url: https://github.com/osism/python-osism/pull/1779
        commit_id: 6eeede60276664f9b6ac77efeb7097c238a78564
        patchset: 6eeede60276664f9b6ac77efeb7097c238a78564
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          name: osism/python-osism
          short_name: python-osism
          src_dir: src/github.com/osism/python-osism
        topic: null
      job: python-osism-test-setup
      jobtags: []
      max_attempts: 3
      message: T3B0aW1pemUgU09OSUMgY29uZmlndXJhdGlvbiBnZW5lcmF0aW9uIHdpdGggZ2xvYmFsIGNhY2hlcwoKRnVydGhlciBvcHRpbWl6ZSBTT05JQyBjb25maWd1cmF0aW9uIGdlbmVyYXRpb24gYnkgaW1wbGVtZW50aW5nIGdsb2JhbCBjYWNoaW5nIHN0cmF0ZWdpZXMgZm9yIG1ldGFsYm94IGRldmljZXMgYW5kIFZJUCBhZGRyZXNzZXMsIGFuZCBzaW1wbGlmeWluZyBwZWVyIHR5cGUgY2FsY3VsYXRpb24uDQoNCkNoYW5nZXMgaW4gY29uZmlnX2dlbmVyYXR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lYXRlIGNsZWFyX3ZpcF9hZGRyZXNzZXNfY2FjaGUoKSBmb3IgY2FjaGUgY2xlYW51cA0KICAgLSBNb2RpZnkgZ2V0X2Nvbm5lY3RlZF9pbnRlcmZhY2VfaXB2NF9hZGRyZXNzKCkgdG8gdXNlIGNhY2hlZCBWSVBzDQogICAtIFBlcmZvcm1hbmNlOiBPKE4gw5cgUCkg4oaSIE8oMSkgbG9va3VwcyAofjUweCBmYXN0ZXIpDQoNCkNoYW5nZXMgaW4gc3luYy5weToNCg0KNC4gQ2FjaGUgSW50ZWdyYXRpb246DQogICAtIENhbGwgX2xvYWRfbWV0YWxib3hfZGV2aWNlc19jYWNoZSgpIGFmdGVyIGNhY2hlIGNsZWFyaW5nDQogICAtIENhbGwgbG9hZF92aXBfYWRkcmVzc2VzX2NhY2hlKCkgYWZ0ZXIgY2FjaGUgY2xlYXJpbmcNCiAgIC0gQWRkIGNsZWFyX3ZpcF9hZGRyZXNzZXNfY2FjaGUoKSB0byBjbGVhbnVwIHByb2Nlc3MNCg0KQWxsIGZ1bmN0aW9uIHNpZ25hdHVyZXMgcHJlc2VydmVkLiBFcnJvciBoYW5kbGluZyBhbmQgbG9nZ2luZyBwYXR0ZXJucyBtYWludGFpbmVkLg0KDQpBSS1hc3Npc3RlZDogQ2xhdWRlIENvZGU=
      patchset: 6eeede60276664f9b6ac77efeb7097c238a78564
      pipeline: check
      playbook_context:
        playbook_projects:
          trusted/project_0/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: caa0df55ed55158f32903d317317ac95db4da6ce
          trusted/project_1/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 397240f42127868e42e86e6aeb120c2cb092d117
          untrusted/project_0/github.com/osism/python-osism:
            canonical_name: github.com/osism/python-osism
            checkout: main
            commit: 9b6c2b354912ab52a77819098963272c97c0b5a5
          untrusted/project_1/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: caa0df55ed55158f32903d317317ac95db4da6ce
          untrusted/project_2/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 397240f42127868e42e86e6aeb120c2cb092d117
        playbooks:
        - path: untrusted/project_0/github.com/osism/python-osism/playbooks/test-setup.yml
          roles:
          - checkout: main
            checkout_description: zuul branch
            link_name: ansible/playbook_0/role_1/zuul-config
            link_target: untrusted/project_1/github.com/osism/zuul-config
            role_path: ansible/playbook_0/role_1/zuul-config/roles
          - checkout: master
            checkout_description: project default branch
            link_name: ansible/playbook_0/role_2/openinfra-zuul-jobs
            link_target: untrusted/project_2/github.com/osism/openinfra-zuul-jobs
            role_path: ansible/playbook_0/role_2/openinfra-zuul-jobs/roles
      post_review: false
      post_timeout: null
      pre_timeout: null
      project:
        canonical_hostname: github.com
        canonical_name: github.com/osism/python-osism
        name: osism/python-osism
        short_name: python-osism
        src_dir: src/github.com/osism/python-osism
      projects:
        github.com/osism/python-osism:
          canonical_hostname: github.com
          canonical_name: github.com/osism/python-osism
          checkout: main
          checkout_description: zuul branch
          commit: 9b6c2b354912ab52a77819098963272c97c0b5a5
          name: osism/python-osism
          required: false
          short_name: python-osism
          src_dir: src/github.com/osism/python-osism
      ref: refs/pull/1779/head
      resources: {}
      tenant: osism
      timeout: 1800
      topic: null
      voting: true
