ChickenBenny commented on issue #51370: URL: https://github.com/apache/airflow/issues/51370#issuecomment-7195585462
Under `set -euo pipefail`, `grep -q` exits at the first match and closes the pipe. At DEBUG level `airflow config get-value` still writes a log line after printing the value, so that write fails with `BrokenPipeError`. `pipefail` then fails the check even though `grep` matched, and the user is not created. Without `-q`, `grep` reads the whole output, so the command can finish writing. I opened #77631, which applies this to both `entrypoint_prod.sh` and `entrypoint_ci.sh`. Thanks @DhavalGojiya for the repro on 3.0.6 and the `PIPESTATUS` analysis. Could this issue be reopened so the PR can close it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
