all:
  children:
    zuul_unreachable:
      hosts: {}
  hosts:
    debian-bookworm:
      ansible_connection: ssh
      ansible_host: 2a13:1a81:8000:3124:f816:3eff:fee9:a80
      ansible_port: 22
      ansible_python_interpreter: auto
      ansible_user: zuul
      nodepool:
        az: nova
        cloud: regiocloud-a-ci
        external_id: 7c5f52d6-6eed-4dfb-ab21-a82458a3b1d2
        host_id: d2c528664e1bd332192bb574345deb0c6c7158061222e4a6c036b5ef
        interface_ip: 2a13:1a81:8000:3124:f816:3eff:fee9:a80
        label: debian-bookworm
        node_properties: {}
        private_ipv4: 10.128.7.108
        private_ipv6: null
        provider: regiocloud-a
        public_ipv4: 81.163.193.9
        public_ipv6: 2a13:1a81:8000:3124:f816:3eff:fee9:a80
        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 flake8 explicit: None implied: {MatchAny:{ImpliedBranchMatcher:main}}
        source: osism/zuul-jobs/.zuul.yaml@main#32>'
      - '<Job flake8 explicit: None implied: None source: osism/container-images/.zuul.yaml@main#2>'
      ansible_version: '9'
      attempts: 1
      branch: main
      build: 44d8fb92cd63416a86dc47531dab9ef1
      build_refs:
      - branch: main
        change: '928'
        change_message: "ara-server: bound the migration retry loop\n\n## What\n\nThe
          ara-server entrypoint (`ara-server/files/run.sh`) retried `ara-manage migrate`
          in an unbounded `until` loop. On a permanent migration failure this spins
          forever: the schema never migrates, gunicorn never starts, and the container
          stays up reporting healthy, so the failure is silent.\n\nThis replaces the
          loop with a bounded one:\n\n- Retry up to `ARA_MIGRATION_ATTEMPTS` times
          (default `30`, ~5 min at 10 s spacing).\n- On the final failure, print a
          clear diagnostic and `exit 1`, so compose/systemd report a failed container.\n-
          The entrypoint never touches or deletes the database \u2014 its only new
          job is to make a permanent failure explicit.\n\n## Why\n\nThis is Part 1
          of a fix for the ARA server upgrade path on populated pre-1.7.4 MariaDB,
          where migration `0018` fails permanently and the old unbounded loop hid
          it. It stands alone as a generic safety net (also covers the SQLite/tmpfs
          paths) and is independent of the companion Ansible-side reset guard landing
          in `osism/ansible-collection-services`.\n\n## Testing\n\n- `bash -n` passes;
          no new shellcheck findings (pre-existing SC2086 infos on the gunicorn lines
          only).\n- Loop logic verified in isolation: always-failing migrate exits
          `1` after exactly N attempts (no infinite loop); success breaks to the post-migration
          path with exit `0`."
        change_url: https://github.com/osism/container-images/pull/928
        commit_id: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
        patchset: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/container-images
          name: osism/container-images
          short_name: container-images
        src_dir: src/github.com/osism/container-images
        topic: null
      buildset: 79e62e56be6944cda9207be4ca947b44
      buildset_refs:
      - branch: main
        change: '928'
        change_message: "ara-server: bound the migration retry loop\n\n## What\n\nThe
          ara-server entrypoint (`ara-server/files/run.sh`) retried `ara-manage migrate`
          in an unbounded `until` loop. On a permanent migration failure this spins
          forever: the schema never migrates, gunicorn never starts, and the container
          stays up reporting healthy, so the failure is silent.\n\nThis replaces the
          loop with a bounded one:\n\n- Retry up to `ARA_MIGRATION_ATTEMPTS` times
          (default `30`, ~5 min at 10 s spacing).\n- On the final failure, print a
          clear diagnostic and `exit 1`, so compose/systemd report a failed container.\n-
          The entrypoint never touches or deletes the database \u2014 its only new
          job is to make a permanent failure explicit.\n\n## Why\n\nThis is Part 1
          of a fix for the ARA server upgrade path on populated pre-1.7.4 MariaDB,
          where migration `0018` fails permanently and the old unbounded loop hid
          it. It stands alone as a generic safety net (also covers the SQLite/tmpfs
          paths) and is independent of the companion Ansible-side reset guard landing
          in `osism/ansible-collection-services`.\n\n## Testing\n\n- `bash -n` passes;
          no new shellcheck findings (pre-existing SC2086 infos on the gunicorn lines
          only).\n- Loop logic verified in isolation: always-failing migrate exits
          `1` after exactly N attempts (no infinite loop); success breaks to the post-migration
          path with exit `0`."
        change_url: https://github.com/osism/container-images/pull/928
        commit_id: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
        patchset: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/container-images
          name: osism/container-images
          short_name: container-images
        src_dir: src/github.com/osism/container-images
        topic: null
      change: '928'
      change_message: "ara-server: bound the migration retry loop\n\n## What\n\nThe
        ara-server entrypoint (`ara-server/files/run.sh`) retried `ara-manage migrate`
        in an unbounded `until` loop. On a permanent migration failure this spins
        forever: the schema never migrates, gunicorn never starts, and the container
        stays up reporting healthy, so the failure is silent.\n\nThis replaces the
        loop with a bounded one:\n\n- Retry up to `ARA_MIGRATION_ATTEMPTS` times (default
        `30`, ~5 min at 10 s spacing).\n- On the final failure, print a clear diagnostic
        and `exit 1`, so compose/systemd report a failed container.\n- The entrypoint
        never touches or deletes the database \u2014 its only new job is to make a
        permanent failure explicit.\n\n## Why\n\nThis is Part 1 of a fix for the ARA
        server upgrade path on populated pre-1.7.4 MariaDB, where migration `0018`
        fails permanently and the old unbounded loop hid it. It stands alone as a
        generic safety net (also covers the SQLite/tmpfs paths) and is independent
        of the companion Ansible-side reset guard landing in `osism/ansible-collection-services`.\n\n##
        Testing\n\n- `bash -n` passes; no new shellcheck findings (pre-existing SC2086
        infos on the gunicorn lines only).\n- Loop logic verified in isolation: always-failing
        migrate exits `1` after exactly N attempts (no infinite loop); success breaks
        to the post-migration path with exit `0`."
      change_url: https://github.com/osism/container-images/pull/928
      child_jobs: []
      commit_id: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
      event_id: 8f1b15a0-6a79-11f1-8267-5ef9522940bf
      executor:
        hostname: 521e9411259a
        inventory_file: /var/lib/zuul/builds/44d8fb92cd63416a86dc47531dab9ef1/ansible/inventory.yaml
        log_root: /var/lib/zuul/builds/44d8fb92cd63416a86dc47531dab9ef1/work/logs
        result_data_file: /var/lib/zuul/builds/44d8fb92cd63416a86dc47531dab9ef1/work/results.json
        src_root: /var/lib/zuul/builds/44d8fb92cd63416a86dc47531dab9ef1/work/src
        work_root: /var/lib/zuul/builds/44d8fb92cd63416a86dc47531dab9ef1/work
      include_vars: []
      items:
      - branch: main
        change: '928'
        change_message: "ara-server: bound the migration retry loop\n\n## What\n\nThe
          ara-server entrypoint (`ara-server/files/run.sh`) retried `ara-manage migrate`
          in an unbounded `until` loop. On a permanent migration failure this spins
          forever: the schema never migrates, gunicorn never starts, and the container
          stays up reporting healthy, so the failure is silent.\n\nThis replaces the
          loop with a bounded one:\n\n- Retry up to `ARA_MIGRATION_ATTEMPTS` times
          (default `30`, ~5 min at 10 s spacing).\n- On the final failure, print a
          clear diagnostic and `exit 1`, so compose/systemd report a failed container.\n-
          The entrypoint never touches or deletes the database \u2014 its only new
          job is to make a permanent failure explicit.\n\n## Why\n\nThis is Part 1
          of a fix for the ARA server upgrade path on populated pre-1.7.4 MariaDB,
          where migration `0018` fails permanently and the old unbounded loop hid
          it. It stands alone as a generic safety net (also covers the SQLite/tmpfs
          paths) and is independent of the companion Ansible-side reset guard landing
          in `osism/ansible-collection-services`.\n\n## Testing\n\n- `bash -n` passes;
          no new shellcheck findings (pre-existing SC2086 infos on the gunicorn lines
          only).\n- Loop logic verified in isolation: always-failing migrate exits
          `1` after exactly N attempts (no infinite loop); success breaks to the post-migration
          path with exit `0`."
        change_url: https://github.com/osism/container-images/pull/928
        commit_id: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
        patchset: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
        project:
          canonical_hostname: github.com
          canonical_name: github.com/osism/container-images
          name: osism/container-images
          short_name: container-images
          src_dir: src/github.com/osism/container-images
        topic: null
      job: flake8
      jobtags: []
      max_attempts: 3
      message: YXJhLXNlcnZlcjogYm91bmQgdGhlIG1pZ3JhdGlvbiByZXRyeSBsb29wCgojIyBXaGF0CgpUaGUgYXJhLXNlcnZlciBlbnRyeXB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hbmRzIGFsb25lIGFzIGEgZ2VuZXJpYyBzYWZldHkgbmV0IChhbHNvIGNvdmVycyB0aGUgU1FMaXRlL3RtcGZzIHBhdGhzKSBhbmQgaXMgaW5kZXBlbmRlbnQgb2YgdGhlIGNvbXBhbmlvbiBBbnNpYmxlLXNpZGUgcmVzZXQgZ3VhcmQgbGFuZGluZyBpbiBgb3Npc20vYW5zaWJsZS1jb2xsZWN0aW9uLXNlcnZpY2VzYC4KCiMjIFRlc3RpbmcKCi0gYGJhc2ggLW5gIHBhc3Nlczsgbm8gbmV3IHNoZWxsY2hlY2sgZmluZGluZ3MgKHByZS1leGlzdGluZyBTQzIwODYgaW5mb3Mgb24gdGhlIGd1bmljb3JuIGxpbmVzIG9ubHkpLgotIExvb3AgbG9naWMgdmVyaWZpZWQgaW4gaXNvbGF0aW9uOiBhbHdheXMtZmFpbGluZyBtaWdyYXRlIGV4aXRzIGAxYCBhZnRlciBleGFjdGx5IE4gYXR0ZW1wdHMgKG5vIGluZmluaXRlIGxvb3ApOyBzdWNjZXNzIGJyZWFrcyB0byB0aGUgcG9zdC1taWdyYXRpb24gcGF0aCB3aXRoIGV4aXQgYDBgLg==
      patchset: 2a6eda0df0cf2ed3dbac35b8e9fc324ac14d5c9c
      pipeline: check
      playbook_context:
        playbook_projects:
          trusted/project_0/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: 3d5c7b5973754999f7005857a00ce9168944f0f1
          trusted/project_1/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 038dd8b856c62af4433c8477c5cb3d0480847059
          trusted/project_2/github.com/osism/zuul-jobs:
            canonical_name: github.com/osism/zuul-jobs
            checkout: main
            commit: 0c74c57cedff2b36bb37ca68a5338d1c49991496
          untrusted/project_0/github.com/osism/zuul-jobs:
            canonical_name: github.com/osism/zuul-jobs
            checkout: main
            commit: 0c74c57cedff2b36bb37ca68a5338d1c49991496
          untrusted/project_1/github.com/osism/zuul-config:
            canonical_name: github.com/osism/zuul-config
            checkout: main
            commit: 3d5c7b5973754999f7005857a00ce9168944f0f1
          untrusted/project_2/github.com/osism/openinfra-zuul-jobs:
            canonical_name: github.com/osism/openinfra-zuul-jobs
            checkout: master
            commit: 038dd8b856c62af4433c8477c5cb3d0480847059
        playbooks:
        - path: untrusted/project_0/github.com/osism/zuul-jobs/playbooks/flake8/run.yaml
          roles:
          - checkout: main
            checkout_description: zuul branch
            link_name: ansible/playbook_0/role_0/zuul-config
            link_target: untrusted/project_1/github.com/osism/zuul-config
            role_path: ansible/playbook_0/role_0/zuul-config/roles
          - checkout: master
            checkout_description: project default branch
            link_name: ansible/playbook_0/role_1/openinfra-zuul-jobs
            link_target: untrusted/project_2/github.com/osism/openinfra-zuul-jobs
            role_path: ansible/playbook_0/role_1/openinfra-zuul-jobs/roles
          - checkout: main
            checkout_description: playbook branch
            link_name: ansible/playbook_0/role_2/zuul-jobs
            link_target: untrusted/project_0/github.com/osism/zuul-jobs
            role_path: ansible/playbook_0/role_2/zuul-jobs/roles
      post_review: false
      post_timeout: 1800
      pre_timeout: null
      project:
        canonical_hostname: github.com
        canonical_name: github.com/osism/container-images
        name: osism/container-images
        short_name: container-images
        src_dir: src/github.com/osism/container-images
      projects:
        github.com/osism/container-images:
          canonical_hostname: github.com
          canonical_name: github.com/osism/container-images
          checkout: main
          checkout_description: zuul branch
          commit: 4f89dc2b3d6a2d7ffd719f193f506373f04c5b71
          name: osism/container-images
          required: false
          short_name: container-images
          src_dir: src/github.com/osism/container-images
      ref: refs/pull/928/head
      resources: {}
      tenant: osism
      timeout: 1800
      topic: null
      voting: true
