Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-17943

[fork vs multiprocessing] 5 - Add non-deadlock regression tests & CI job

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • python-oslo-service
    • None
    • Sprint 12
    • 1
    • Important

      Goal: Introduce a dedicated tox environment that starts an oslo.service-backed app with active threads, then forks via multiprocessing to validate absence of deadlocks on Linux and macOS runners.

      Acceptance Criteria:

      • Verify new tox job py3X-spawn-safety executes in CI.
      • Test fails if any call blocks > 10 seconds.
      • CI job runs on every PR and in gate pipeline.

      Additional Details:
      See https://pythonspeed.com/articles/python-multiprocessing/ and video explanation at https://youtu.be/RIc-Tut95YM?t=185.

              mbollo@redhat.com Daniel Mats Niklas Bengtsson
              hberaud Hervé Beraud
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: