The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/logging/es-os-respect-log-template has failed.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
e9ac1addd770cec9a1cf2894c1803e0a985fc98e / LIU ZHE YOU <[email protected]>
Restore the parent package attribute after forced module re-imports in 
supervisor tests

The remote-logging supervisor tests drop airflow.sdk.log (and the
logging-config modules) from sys.modules to force a fresh import, but
the re-import rebinds the attribute on the parent package and
monkeypatch only restores the sys.modules entry. On Python < 3.12
mock.patch resolves dotted targets through getattr on the parent
package, so later tests on the same worker patched the stale module
object while the code under test imported the restored one, failing
test_upload_logs_forwards_ti_context and
TestUploadToRemoteTIContext::test_no_ti_context_keeps_handler_default
in CI.

Report URL: https://github.com/apache/airflow/actions/runs/29221911372

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to