The GitHub Actions job "Tests AMD" on airflow.git/main has failed.
Run started by GitHub user mattp- (triggered by jason810496).

Head commit for run:
dec917ece71c6215b95985bedf414eb9871be622 / Matt Phillips 
<[email protected]>
use 1 worker for log server

fixes  stacktraces of the form in standalone & running directly for the
components that launch logserver under a multiprocessing process:

scheduler  | Process SpawnProcess-1:1:
scheduler  | Traceback (most recent call last):
scheduler  | File "/opt/bb/lib/python3.10/multiprocessing/process.py", line 
314, in _bootstrap
scheduler  | self.run()
scheduler  | File "/opt/bb/lib/python3.10/multiprocessing/process.py", line 
108, in run
scheduler  | self._target(*self._args, **self._kwargs)
scheduler  | File 
"/mnt/dev/repos/airflow/.venv/lib/python3.10/site-packages/uvicorn/_subprocess.py",
 line 73, in subprocess_started
scheduler  | sys.stdin = os.fdopen(stdin_fileno)  # pragma: full coverage
scheduler  | File "/opt/bb/lib/python3.10/os.py", line 1030, in fdopen
scheduler  | return io.open(fd, mode, buffering, encoding, *args, **kwargs)
scheduler  | OSError: [Errno 9] Bad file descriptor

there is a bug in uvicorn that causes a crash when uvicorn.run is being
spawned from a process that itself was spawned by multiprocessing, as we
do with serve_logs: https://github.com/encode/uvicorn/issues/2679

until uvicorn itself fixes what it tries to do with stdin, just use 1
worker instead of 2 to avoid the codepath that causes the break.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to