Add option to redirect stdout and stdcerr to a file for xcrun compatibility #1963
Dr.CI classification results
{"FAILED":[],"FLAKY":[{"workflowId":7893826594,"id":21543248900,"runnerName":"i-0ee9eb2225b9584a6","authorEmail":"[email protected]","name":"pull / unittest / macos (buck2) / macos-job","jobName":"unittest / macos (buck2) / macos-job","conclusion":"failure","completed_at":"2024-02-13T23:09:21Z","html_url":"https://github.com/pytorch/executorch/actions/runs/7893826594/job/21543248900","head_branch":"export-D53255873","pr_number":1963,"head_sha":"62553ae268cb9740f6be8791f33a5657ad3e2712","failure_captures":["RuntimeError: Expected to find "aten.convolution.default,aten.sub.Tensor,aten.convolution.default,aten.sub.Tensor," but did not find it"],"failure_lines":["RuntimeError: Expected to find "aten.convolution.default,aten.sub.Tensor,aten.convolution.default,aten.sub.Tensor," but did not find it"],"failure_context":["+ /Users/ec2-user/runner/_work/_temp/miniconda/bin/conda run -p /Users/ec2-user/runner/_work/_temp/conda_environment_7893826594 --no-capture-output pytest -n auto --cov=./ --cov-report=xml","+ rm -rfv /var/folders/xq/_s_zr8fx7879r5bx0nqtqzsh0000gn/T/tmp.XKDXkrip","+ buck2 build //examples/portable/executor_runner:executor_runner","+ retry buck2 build //examples/portable/executor_runner:executor_runner","+ build_executorch_runner_buck2","+ [[ buck2 == \b\u\c\k\2 ]]","+ build_executorch_runner buck2","+ pip list","+ pip install . --no-build-isolation","+ which pip","+ install_executorch","+ popd"],"time":"2024-02-13T23:09:38.322010Z"}],"BROKEN_TRUNK":[],"UNSTABLE":[]}