Comment 6 for bug 1983863

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/894538
Committed: https://opendev.org/openstack/nova/commit/ea07f96eb10a4fb7c4c00cbde34868a3d21b6c22
Submitter: "Zuul (22348)"
Branch: master

commit ea07f96eb10a4fb7c4c00cbde34868a3d21b6c22
Author: Sean Mooney <email address hidden>
Date: Mon Sep 11 14:19:45 2023 +0100

    adapt to oslo.log changes

    This change refactors prvisep util test cases to account for the
    fact that oslo.log now conditionally uses an internal pipe mutex
    when logging under eventlet.

    This was added by Iac1b0891ae584ce4b95964e6cdc0ff2483a4e57d
    which is part of oslo.log 5.3.0

    As a result we need to mock all calls to oslo.log in unit tests
    that are assertign if os.write is called. when the internal
    pipe mutex is used oslo.log calls os.write when the mutex is
    released.

    Related-Bug: #1983863
    Change-Id: Id313669df80f9190b79690fff25f8e3fce2a4aca