2025-04-25T04:28:18.7037818Z Current runner version: '2.323.0' 2025-04-25T04:28:18.7047916Z Runner name: 'i-04d698721c8486728' 2025-04-25T04:28:18.7049711Z Machine name: 'ip-10-0-58-85' 2025-04-25T04:28:18.7057506Z ##[group]GITHUB_TOKEN Permissions 2025-04-25T04:28:18.7061300Z Actions: read 2025-04-25T04:28:18.7062223Z Attestations: read 2025-04-25T04:28:18.7063304Z Checks: read 2025-04-25T04:28:18.7064118Z Contents: read 2025-04-25T04:28:18.7065056Z Deployments: read 2025-04-25T04:28:18.7065911Z Discussions: read 2025-04-25T04:28:18.7067062Z Issues: read 2025-04-25T04:28:18.7067948Z Metadata: read 2025-04-25T04:28:18.7068718Z Models: read 2025-04-25T04:28:18.7069626Z Packages: read 2025-04-25T04:28:18.7070445Z Pages: read 2025-04-25T04:28:18.7071294Z PullRequests: read 2025-04-25T04:28:18.7072185Z RepositoryProjects: read 2025-04-25T04:28:18.7073201Z SecurityEvents: read 2025-04-25T04:28:18.7074073Z Statuses: read 2025-04-25T04:28:18.7074906Z ##[endgroup] 2025-04-25T04:28:18.7078359Z Secret source: Actions 2025-04-25T04:28:18.7079884Z Prepare workflow directory 2025-04-25T04:28:19.1322786Z Prepare all required actions 2025-04-25T04:28:19.1370950Z Getting action download info 2025-04-25T04:28:19.3461193Z Download action repository 'pytorch/pytorch@main' (SHA:dda0c952e71a540f7ad8d040e35da727b4d91405) 2025-04-25T04:28:23.4804081Z Getting action download info 2025-04-25T04:28:23.5801136Z Download action repository 'actions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683) 2025-04-25T04:28:23.8681203Z Complete job name: macos-py3-arm64-mps / filter 2025-04-25T04:28:23.9102360Z A job started hook has been configured by the self-hosted runner administrator 2025-04-25T04:28:23.9217586Z ##[group]Run '/home/ec2-user/runner-scripts/before_job.sh' 2025-04-25T04:28:23.9227907Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:23.9228794Z ##[endgroup] 2025-04-25T04:28:25.6735648Z Runner Type: linux.large 2025-04-25T04:28:25.6737537Z Instance Type: c5.large 2025-04-25T04:28:25.6738235Z AMI Name: unknown 2025-04-25T04:28:25.6787977Z AMI ID: ami-071226ecf16aa7d96 2025-04-25T04:28:31.6630705Z ##[group]Run pytorch/pytorch/.github/actions/checkout-pytorch@main 2025-04-25T04:28:31.6631280Z with: 2025-04-25T04:28:31.6631542Z submodules: false 2025-04-25T04:28:31.6631830Z fetch-depth: 0 2025-04-25T04:28:31.6632108Z ##[endgroup] 2025-04-25T04:28:31.6726969Z ##[group]Run echo "IN_CONTAINER_RUNNER=$(if [ -f /.inarc ] || [ -f /.incontainer ]; then echo true ; else echo false; fi)" >> "$GITHUB_OUTPUT" 2025-04-25T04:28:31.6728001Z echo "IN_CONTAINER_RUNNER=$(if [ -f /.inarc ] || [ -f /.incontainer ]; then echo true ; else echo false; fi)" >> "$GITHUB_OUTPUT" 2025-04-25T04:28:31.6737561Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:31.6738004Z ##[endgroup] 2025-04-25T04:28:31.6884748Z ##[group]Run # Use all available CPUs for fetching 2025-04-25T04:28:31.6885277Z # Use all available CPUs for fetching 2025-04-25T04:28:31.6885657Z cd "${GITHUB_WORKSPACE}" 2025-04-25T04:28:31.6886123Z git config --global fetch.parallel 0 2025-04-25T04:28:31.6886535Z git config --global submodule.fetchJobs 0 2025-04-25T04:28:31.6886926Z  2025-04-25T04:28:31.6887309Z # Clean workspace. The default checkout action should also do this, but 2025-04-25T04:28:31.6887813Z # do it here as well just in case 2025-04-25T04:28:31.6888175Z if [[ -d .git ]]; then 2025-04-25T04:28:31.6888559Z  if [ -z "${NO_SUDO}" ]; then 2025-04-25T04:28:31.6888936Z  sudo git clean -ffdx 2025-04-25T04:28:31.6889240Z  else 2025-04-25T04:28:31.6889516Z  git clean -ffdx 2025-04-25T04:28:31.6889804Z  fi 2025-04-25T04:28:31.6890058Z fi 2025-04-25T04:28:31.6896061Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:31.6896483Z env: 2025-04-25T04:28:31.6896969Z NO_SUDO: 2025-04-25T04:28:31.6897228Z ##[endgroup] 2025-04-25T04:28:31.7970644Z ##[group]Run actions/checkout@v4 2025-04-25T04:28:31.7971251Z with: 2025-04-25T04:28:31.7971553Z ref: b68c0effe97351b0c24b2f7aef671559be6aa977 2025-04-25T04:28:31.7971932Z fetch-depth: 0 2025-04-25T04:28:31.7972193Z submodules: false 2025-04-25T04:28:31.7972628Z show-progress: false 2025-04-25T04:28:31.7972926Z repository: pytorch/pytorch 2025-04-25T04:28:31.7973579Z token: *** 2025-04-25T04:28:31.7973945Z ssh-strict: true 2025-04-25T04:28:31.7974202Z ssh-user: git 2025-04-25T04:28:31.7974484Z persist-credentials: true 2025-04-25T04:28:31.7974775Z clean: true 2025-04-25T04:28:31.7975063Z sparse-checkout-cone-mode: true 2025-04-25T04:28:31.7975384Z fetch-tags: false 2025-04-25T04:28:31.7975650Z lfs: false 2025-04-25T04:28:31.7975899Z set-safe-directory: true 2025-04-25T04:28:31.7976205Z ##[endgroup] 2025-04-25T04:28:31.9255494Z Syncing repository: pytorch/pytorch 2025-04-25T04:28:31.9258081Z ##[group]Getting Git version info 2025-04-25T04:28:31.9259070Z Working directory is '/home/ec2-user/actions-runner/_work/pytorch/pytorch' 2025-04-25T04:28:31.9260519Z [command]/usr/bin/git version 2025-04-25T04:28:31.9261083Z git version 2.47.1 2025-04-25T04:28:31.9281411Z ##[endgroup] 2025-04-25T04:28:31.9294891Z Copying '/home/ec2-user/.gitconfig' to '/home/ec2-user/actions-runner/_work/_temp/d4dca3a3-ee44-4797-b7fa-129ebc3f4df5/.gitconfig' 2025-04-25T04:28:31.9318397Z Temporarily overriding HOME='/home/ec2-user/actions-runner/_work/_temp/d4dca3a3-ee44-4797-b7fa-129ebc3f4df5' before making global git config changes 2025-04-25T04:28:31.9320224Z Adding repository directory to the temporary git global config as a safe directory 2025-04-25T04:28:31.9326644Z [command]/usr/bin/git config --global --add safe.directory /home/ec2-user/actions-runner/_work/pytorch/pytorch 2025-04-25T04:28:31.9366523Z [command]/usr/bin/git config --local --get remote.origin.url 2025-04-25T04:28:31.9401786Z https://github.com/pytorch/pytorch 2025-04-25T04:28:31.9420727Z ##[group]Removing previously created refs, to avoid conflicts 2025-04-25T04:28:31.9425859Z [command]/usr/bin/git rev-parse --symbolic-full-name --verify --quiet HEAD 2025-04-25T04:28:31.9447146Z HEAD 2025-04-25T04:28:31.9493001Z ##[endgroup] 2025-04-25T04:28:31.9499692Z [command]/usr/bin/git submodule status 2025-04-25T04:28:31.9774482Z -7e1e1fe3858c63c251c637ae41a20de425dde96f android/libs/fbjni 2025-04-25T04:28:31.9776906Z -4dfe081cf6bcd15db339cf2680b9281b8451eeb3 third_party/FP16 2025-04-25T04:28:31.9778163Z -b408327ac2a15ec3e43352421954f5b1967701d1 third_party/FXdiv 2025-04-25T04:28:31.9779008Z -c07e3a0400713d546e0dea2d5466dd22ea389c73 third_party/NNPACK 2025-04-25T04:28:31.9779858Z -e170594ac7cf1dac584da473d4ca9301087090c1 third_party/NVTX 2025-04-25T04:28:31.9780843Z -a6bfc237255a6bac1513f7c1ebde6d8aed6b5191 third_party/VulkanMemoryAllocator 2025-04-25T04:28:31.9781914Z -51a0103656eff6fc9bfd39a4597923c4b542c883 third_party/XNNPACK 2025-04-25T04:28:31.9782811Z -0d98dba29d66e93259db7daa53a9327df767a415 third_party/benchmark 2025-04-25T04:28:31.9783774Z -8086bbe3a78d931eb96fe12fdc014082e18d18d3 third_party/composable_kernel 2025-04-25T04:28:31.9784869Z -3b6597bba913d51161383657829b7e644e59c006 third_party/cpp-httplib 2025-04-25T04:28:31.9785718Z -5e3d2445e6a84d9599bee2bf78edbb4d80865e1d third_party/cpuinfo 2025-04-25T04:28:31.9786736Z -8801fd7b31c2f798732ed1e1dd4711a9cde4217d third_party/cudnn_frontend 2025-04-25T04:28:31.9787777Z -afa1772203677c5118fcd82537a9c8fefbcc7008 third_party/cutlass 2025-04-25T04:28:31.9788726Z -3147391d946bb4b6c68edd901f2add6ac1f31f8c third_party/eigen 2025-04-25T04:28:31.9789591Z -dbc3157bf256f1339b3fa1fef2be89ac4078be0e third_party/fbgemm 2025-04-25T04:28:31.9790525Z -979702c87a8713a8e0a5e9fee122b90d2ef13be5 third_party/flash-attention 2025-04-25T04:28:31.9791497Z -01834de25e4bf3975a9a00e816292b1ad0fe184b third_party/flatbuffers 2025-04-25T04:28:31.9792554Z -123913715afeb8a437e6388b4473fcc4753e1c9a third_party/fmt 2025-04-25T04:28:31.9793695Z -3fb5c176c17c765a3492cd2f0321b0dab712f350 third_party/gemmlowp/gemmlowp 2025-04-25T04:28:31.9794613Z -c61070427610ccd923efe3e7f8b3eca12bbcc31a third_party/gloo 2025-04-25T04:28:31.9795953Z -b514bdc898e2951020cbdca1304b75f5950d1f59 third_party/googletest 2025-04-25T04:28:31.9799315Z -719d8e6cd7f7a0e01b155657526d693acf97c2b3 third_party/ideep 2025-04-25T04:28:31.9800368Z -5b8a7d7422611c3a0d799fb5fc5dd4abfae35b42 third_party/ittapi 2025-04-25T04:28:31.9801173Z -d82680bbd44f872aa04394fa5bba23a7992f9fa4 third_party/kineto 2025-04-25T04:28:31.9801909Z -ef685a13cfbe8d418aa2ed34350e21e4938358b6 third_party/kleidiai 2025-04-25T04:28:31.9802721Z -b66e3214d8a104669c2ec05ae91ebc26a8f5ab78 third_party/mimalloc 2025-04-25T04:28:31.9803621Z -87cda1d6646592ac5866dc703c8e1839046a6806 third_party/nlohmann 2025-04-25T04:28:31.9804587Z -b8baa8446686496da4cc8fda09f2b6fe65c2a02c third_party/onnx 2025-04-25T04:28:31.9805705Z -a799f4aed9c94b765dcdaabaeab7d5e7e2310878 third_party/opentelemetry-cpp 2025-04-25T04:28:31.9806722Z -9d3ab05a7fffbc71a492bc6a17be034e83e8f0fe third_party/pocketfft 2025-04-25T04:28:31.9807584Z -d1eca4e4b421cd2997495c4b4e65cea6be4e9b8a third_party/protobuf 2025-04-25T04:28:31.9808558Z -072586a71b55b7f8c584153d223e95687148a900 third_party/psimd 2025-04-25T04:28:31.9809550Z -4fe0e1e183925bf8cfa6aae24237e724a96479b8 third_party/pthreadpool 2025-04-25T04:28:31.9810582Z -a2e59f0e7065404b44dfe92a28aca47ba1378dc4 third_party/pybind11 2025-04-25T04:28:31.9811551Z -f45429b087dd7d5bc78bb40dc7cf06425c252d67 third_party/python-peachpy 2025-04-25T04:28:31.9812517Z -5a1d179df9cf652951b59010a2d2075372d67f68 third_party/sleef 2025-04-25T04:28:31.9813486Z -52791a2fd214b2a9dc5759d36725909c1daa7f2e third_party/tensorpipe 2025-04-25T04:28:31.9817865Z ##[group]Cleaning the repository 2025-04-25T04:28:31.9818618Z [command]/usr/bin/git clean -ffdx 2025-04-25T04:28:32.0009057Z [command]/usr/bin/git reset --hard HEAD 2025-04-25T04:28:33.0542688Z Updating files: 71% (11783/16523) 2025-04-25T04:28:33.0768659Z Updating files: 72% (11897/16523) 2025-04-25T04:28:33.1096534Z Updating files: 73% (12062/16523) 2025-04-25T04:28:33.1239847Z Updating files: 74% (12228/16523) 2025-04-25T04:28:33.1355979Z Updating files: 75% (12393/16523) 2025-04-25T04:28:33.1584520Z Updating files: 76% (12558/16523) 2025-04-25T04:28:33.1760623Z Updating files: 77% (12723/16523) 2025-04-25T04:28:33.2043290Z Updating files: 78% (12888/16523) 2025-04-25T04:28:33.2279678Z Updating files: 79% (13054/16523) 2025-04-25T04:28:33.2468003Z Updating files: 80% (13219/16523) 2025-04-25T04:28:33.2601426Z Updating files: 81% (13384/16523) 2025-04-25T04:28:33.2712737Z Updating files: 82% (13549/16523) 2025-04-25T04:28:33.2853326Z Updating files: 83% (13715/16523) 2025-04-25T04:28:33.3004041Z Updating files: 84% (13880/16523) 2025-04-25T04:28:33.3135803Z Updating files: 85% (14045/16523) 2025-04-25T04:28:33.3290692Z Updating files: 86% (14210/16523) 2025-04-25T04:28:33.3396310Z Updating files: 87% (14376/16523) 2025-04-25T04:28:33.3522469Z Updating files: 88% (14541/16523) 2025-04-25T04:28:33.3684733Z Updating files: 89% (14706/16523) 2025-04-25T04:28:33.3819352Z Updating files: 90% (14871/16523) 2025-04-25T04:28:33.3943687Z Updating files: 91% (15036/16523) 2025-04-25T04:28:33.4077663Z Updating files: 92% (15202/16523) 2025-04-25T04:28:33.4267214Z Updating files: 93% (15367/16523) 2025-04-25T04:28:33.4455498Z Updating files: 94% (15532/16523) 2025-04-25T04:28:33.4622447Z Updating files: 95% (15697/16523) 2025-04-25T04:28:33.4772336Z Updating files: 96% (15863/16523) 2025-04-25T04:28:33.5045391Z Updating files: 97% (16028/16523) 2025-04-25T04:28:33.5961249Z Updating files: 98% (16193/16523) 2025-04-25T04:28:33.6114823Z Updating files: 99% (16358/16523) 2025-04-25T04:28:33.6116157Z Updating files: 100% (16523/16523) 2025-04-25T04:28:33.6117233Z Updating files: 100% (16523/16523), done. 2025-04-25T04:28:33.6376862Z HEAD is now at 914692de647 Update 2025-04-25T04:28:33.6486325Z ##[endgroup] 2025-04-25T04:28:33.6487352Z ##[group]Disabling automatic garbage collection 2025-04-25T04:28:33.6488192Z [command]/usr/bin/git config --local gc.auto 0 2025-04-25T04:28:33.6550470Z ##[endgroup] 2025-04-25T04:28:33.6551840Z ##[group]Setting up auth 2025-04-25T04:28:33.6552764Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2025-04-25T04:28:33.6600254Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2025-04-25T04:28:33.6947387Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2025-04-25T04:28:33.6977094Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2025-04-25T04:28:33.7279703Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2025-04-25T04:28:33.7334348Z ##[endgroup] 2025-04-25T04:28:33.7335554Z ##[group]Fetching the repository 2025-04-25T04:28:33.7345160Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* 2025-04-25T04:28:34.0278673Z From https://github.com/pytorch/pytorch 2025-04-25T04:28:34.0279877Z - [deleted] (none) -> ciflow/inductor/152149 2025-04-25T04:28:34.0741709Z - [deleted] (none) -> ciflow/trunk/152149 2025-04-25T04:28:34.7285724Z 4c881b00e94..6b6427a16d6 divup -> origin/divup 2025-04-25T04:28:34.7347829Z e2c7ae52d5c..dda0c952e71 main -> origin/main 2025-04-25T04:28:34.7358155Z 2089b22c768..75c71ab3714 viable/strict -> origin/viable/strict 2025-04-25T04:28:34.7372659Z * [new tag] ciflow/trunk/148893 -> ciflow/trunk/148893 2025-04-25T04:28:34.7376608Z t [tag update] ciflow/trunk/151974 -> ciflow/trunk/151974 2025-04-25T04:28:34.7379705Z t [tag update] ciflow/trunk/152111 -> ciflow/trunk/152111 2025-04-25T04:28:34.7950020Z [command]/usr/bin/git rev-parse --verify --quiet b68c0effe97351b0c24b2f7aef671559be6aa977^{object} 2025-04-25T04:28:34.7978149Z b68c0effe97351b0c24b2f7aef671559be6aa977 2025-04-25T04:28:34.7983976Z ##[endgroup] 2025-04-25T04:28:34.8032317Z ##[group]Determining the checkout info 2025-04-25T04:28:34.8033193Z ##[endgroup] 2025-04-25T04:28:34.8033644Z [command]/usr/bin/git sparse-checkout disable 2025-04-25T04:28:35.0848094Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2025-04-25T04:28:35.0866588Z ##[group]Checking out the ref 2025-04-25T04:28:35.0870805Z [command]/usr/bin/git checkout --progress --force b68c0effe97351b0c24b2f7aef671559be6aa977 2025-04-25T04:28:35.3474726Z Previous HEAD position was 914692de647 Update 2025-04-25T04:28:35.3490853Z HEAD is now at b68c0effe97 Update on "use statically known true instead of guard size oblivious in bmm and mm decompositions . " 2025-04-25T04:28:35.3540709Z ##[endgroup] 2025-04-25T04:28:35.3576135Z [command]/usr/bin/git log -1 --format=%H 2025-04-25T04:28:35.3600259Z b68c0effe97351b0c24b2f7aef671559be6aa977 2025-04-25T04:28:35.3816288Z Prepare all required actions 2025-04-25T04:28:35.3816841Z Getting action download info 2025-04-25T04:28:35.4890617Z Download action repository 'nick-fields/retry@v3.0.0' (SHA:7152eba30c6575329ac0576536151aca5a72780e) 2025-04-25T04:28:35.6693109Z ##[group]Run ./.github/actions/filter-test-configs 2025-04-25T04:28:35.6693558Z with: 2025-04-25T04:28:35.6694148Z github-token: *** 2025-04-25T04:28:35.6694995Z test-matrix: { include: [ { config: "mps", shard: 1, num_shards: 1, runner: "macos-m1-13" }, { config: "mps", shard: 1, num_shards: 1, runner: "macos-m1-14" }, { config: "mps", shard: 1, num_shards: 1, runner: "macos-m2-15" }, ]} 2025-04-25T04:28:35.6695950Z ##[endgroup] 2025-04-25T04:28:35.6743673Z ##[group]Run nick-fields/retry@v3.0.0 2025-04-25T04:28:35.6744079Z with: 2025-04-25T04:28:35.6744306Z shell: bash 2025-04-25T04:28:35.6744683Z timeout_minutes: 10 2025-04-25T04:28:35.6745125Z max_attempts: 5 2025-04-25T04:28:35.6745427Z retry_wait_seconds: 30 2025-04-25T04:28:35.6746434Z command: set -eux # PyYAML 6.0 doesn't work with MacOS x86 anymore # This must run on Python-3.7 (AmazonLinux2) so can't use request=3.32.2 python3 -m pip install requests==2.27.1 pyyaml==6.0.1 2025-04-25T04:28:35.6747467Z polling_interval_seconds: 1 2025-04-25T04:28:35.6747880Z warning_on_retry: true 2025-04-25T04:28:35.6748182Z continue_on_error: false 2025-04-25T04:28:35.6748522Z env: 2025-04-25T04:28:35.6792625Z GITHUB_TOKEN: *** 2025-04-25T04:28:35.6793034Z ##[endgroup] 2025-04-25T04:28:35.7780476Z + python3 -m pip install requests==2.27.1 pyyaml==6.0.1 2025-04-25T04:28:36.1114174Z Defaulting to user installation because normal site-packages is not writeable 2025-04-25T04:28:36.1290168Z Requirement already satisfied: requests==2.27.1 in /home/ec2-user/.local/lib/python3.9/site-packages (2.27.1) 2025-04-25T04:28:36.1297897Z Requirement already satisfied: pyyaml==6.0.1 in /home/ec2-user/.local/lib/python3.9/site-packages (6.0.1) 2025-04-25T04:28:36.1429235Z Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.9/site-packages (from requests==2.27.1) (2.10) 2025-04-25T04:28:36.1444433Z Requirement already satisfied: charset-normalizer~=2.0.0 in /home/ec2-user/.local/lib/python3.9/site-packages (from requests==2.27.1) (2.0.12) 2025-04-25T04:28:36.1449635Z Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests==2.27.1) (1.25.10) 2025-04-25T04:28:36.1456473Z Requirement already satisfied: certifi>=2017.4.17 in /home/ec2-user/.local/lib/python3.9/site-packages (from requests==2.27.1) (2025.1.31) 2025-04-25T04:28:36.7586420Z Command completed after 1 attempt(s). 2025-04-25T04:28:36.7644045Z ##[group]Run set -x 2025-04-25T04:28:36.7644329Z set -x 2025-04-25T04:28:36.7644538Z  2025-04-25T04:28:36.7644911Z # Use relative path here as this could be checked out anywhere, not necessarily 2025-04-25T04:28:36.7645398Z # in runner workspace 2025-04-25T04:28:36.7645771Z python3 "${GITHUB_ACTION_PATH}/../../scripts/parse_ref.py" 2025-04-25T04:28:36.7651928Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:36.7652292Z ##[endgroup] 2025-04-25T04:28:36.7680480Z + python3 /home/ec2-user/actions-runner/_work/pytorch/pytorch/./.github/actions/filter-test-configs/../../scripts/parse_ref.py 2025-04-25T04:28:36.7936038Z ##[group]Run set -x 2025-04-25T04:28:36.7936337Z set -x 2025-04-25T04:28:36.7936550Z  2025-04-25T04:28:36.7936895Z # TODO: This is a very hacky way to get the job name. GitHub runner has the info 2025-04-25T04:28:36.7937491Z # but doesn't expose it in anyway. The job name is part of the job message the 2025-04-25T04:28:36.7938065Z # runner receives, so it's there and printed out to the diag log. Below is the 2025-04-25T04:28:36.7938671Z # code responsible for printing it. Need to check with GitHub to see if they can 2025-04-25T04:28:36.7939474Z # expose this variable as part of GitHub context. 2025-04-25T04:28:36.7940062Z # https://github.com/actions/runner/blob/main/src/Runner.Worker/JobExtension.cs#L345 2025-04-25T04:28:36.7940707Z pushd "/home/ec2-user/actions-runner/_work/pytorch/../../_diag" 2025-04-25T04:28:36.7941102Z pwd 2025-04-25T04:28:36.7941305Z  2025-04-25T04:28:36.7941684Z LOG_FILE=$(grep -l -r "b68c0effe97351b0c24b2f7aef671559be6aa977" *.log | tail -n 1) 2025-04-25T04:28:36.7942177Z if [ -n "${LOG_FILE}" ]; then 2025-04-25T04:28:36.7942639Z  # For some reasons, awk {print $2} on Linux and Windows (bash) work correctly while it 2025-04-25T04:28:36.7943123Z  # needs to be awk {print $3} on MacOS 2025-04-25T04:28:36.7943447Z  case ${RUNNER_OS} in 2025-04-25T04:28:36.7943703Z  macOS) 2025-04-25T04:28:36.7944140Z  JOB_NAME=$(grep -r "\"jobDisplayName\"" "${LOG_FILE}" | awk -F '[:]' '{print $3}' | sed 's/"//g' | xargs) 2025-04-25T04:28:36.7944735Z  ;; 2025-04-25T04:28:36.7944946Z  *) 2025-04-25T04:28:36.7945355Z  JOB_NAME=$(grep -r "\"jobDisplayName\"" "${LOG_FILE}" | awk -F '[:]' '{print $2}' | sed 's/"//g' | xargs) 2025-04-25T04:28:36.7945826Z  ;; 2025-04-25T04:28:36.7946036Z  esac 2025-04-25T04:28:36.7946302Z  echo "job-name=${JOB_NAME}" >> "${GITHUB_OUTPUT}" 2025-04-25T04:28:36.7946765Z fi 2025-04-25T04:28:36.7946957Z  2025-04-25T04:28:36.7947155Z popd 2025-04-25T04:28:36.7952981Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:36.7953362Z ##[endgroup] 2025-04-25T04:28:36.7979695Z + pushd /home/ec2-user/actions-runner/_work/pytorch/../../_diag 2025-04-25T04:28:36.7980551Z ~/actions-runner/_diag ~/actions-runner/_work/pytorch/pytorch 2025-04-25T04:28:36.7981343Z /home/ec2-user/actions-runner/_diag 2025-04-25T04:28:36.7982165Z + pwd 2025-04-25T04:28:36.7989288Z ++ grep -l -r b68c0effe97351b0c24b2f7aef671559be6aa977 Runner_20250425-015738-utc.log Runner_20250425-015827-utc.log Worker_20250425-024208-utc.log Worker_20250425-033253-utc.log Worker_20250425-035122-utc.log Worker_20250425-042818-utc.log 2025-04-25T04:28:36.7991511Z ++ tail -n 1 2025-04-25T04:28:36.8012492Z + LOG_FILE=Worker_20250425-042818-utc.log 2025-04-25T04:28:36.8013278Z + '[' -n Worker_20250425-042818-utc.log ']' 2025-04-25T04:28:36.8013917Z + case ${RUNNER_OS} in 2025-04-25T04:28:36.8019106Z ++ grep -r '"jobDisplayName"' Worker_20250425-042818-utc.log 2025-04-25T04:28:36.8024431Z ++ sed 's/"//g' 2025-04-25T04:28:36.8039138Z ++ xargs 2025-04-25T04:28:36.8039708Z ++ awk -F '[:]' '{print $2}' 2025-04-25T04:28:36.8077163Z + JOB_NAME='macos-py3-arm64-mps / filter,' 2025-04-25T04:28:36.8078050Z + echo 'job-name=macos-py3-arm64-mps / filter,' 2025-04-25T04:28:36.8078941Z ~/actions-runner/_work/pytorch/pytorch 2025-04-25T04:28:36.8080022Z + popd 2025-04-25T04:28:36.8109760Z ##[group]Run echo "Workflow: ${GITHUB_WORKFLOW}" 2025-04-25T04:28:36.8110190Z echo "Workflow: ${GITHUB_WORKFLOW}" 2025-04-25T04:28:36.8110521Z echo "Job name: ${JOB_NAME}" 2025-04-25T04:28:36.8110792Z  2025-04-25T04:28:36.8111157Z # Use relative path here as this could be checked out anywhere, not necessarily 2025-04-25T04:28:36.8111612Z # in runner workspace 2025-04-25T04:28:36.8112021Z python3 "${GITHUB_ACTION_PATH}/../../scripts/filter_test_configs.py" \ 2025-04-25T04:28:36.8112487Z  --workflow "${GITHUB_WORKFLOW}" \ 2025-04-25T04:28:36.8112824Z  --job-name "${JOB_NAME}" \ 2025-04-25T04:28:36.8113195Z  --test-matrix "{ include: [ 2025-04-25T04:28:36.8113592Z  { config: "mps", shard: 1, num_shards: 1, runner: "macos-m1-13" }, 2025-04-25T04:28:36.8114065Z  { config: "mps", shard: 1, num_shards: 1, runner: "macos-m1-14" }, 2025-04-25T04:28:36.8114547Z  { config: "mps", shard: 1, num_shards: 1, runner: "macos-m2-15" }, 2025-04-25T04:28:36.8115078Z ]} 2025-04-25T04:28:36.8115281Z " \ 2025-04-25T04:28:36.8115503Z  --selected-test-configs "" \ 2025-04-25T04:28:36.8115828Z  --pr-number "${PR_NUMBER}" \ 2025-04-25T04:28:36.8116117Z  --tag "${TAG}" \ 2025-04-25T04:28:36.8116396Z  --event-name "${EVENT_NAME}" \ 2025-04-25T04:28:36.8116709Z  --schedule "${SCHEDULE}" \ 2025-04-25T04:28:36.8116999Z  --branch "${HEAD_BRANCH}" 2025-04-25T04:28:36.8122776Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:36.8123127Z env: 2025-04-25T04:28:36.8123601Z GITHUB_TOKEN: *** 2025-04-25T04:28:36.8123844Z JOB_NAME: macos-py3-arm64-mps / filter, 2025-04-25T04:28:36.8124147Z PR_NUMBER: 2025-04-25T04:28:36.8124358Z TAG: ciflow/trunk/148893 2025-04-25T04:28:36.8124612Z EVENT_NAME: push 2025-04-25T04:28:36.8124827Z SCHEDULE: 2025-04-25T04:28:36.8125015Z HEAD_BRANCH: 2025-04-25T04:28:36.8125366Z ##[endgroup] 2025-04-25T04:28:36.8151329Z Workflow: trunk 2025-04-25T04:28:36.8151817Z Job name: macos-py3-arm64-mps / filter, 2025-04-25T04:28:37.0483559Z INFO:root:Found no test-config label on the PR, so all test configs are included 2025-04-25T04:28:37.2359593Z ##[group]Run echo "Filtered matrix:" 2025-04-25T04:28:37.2359945Z echo "Filtered matrix:" 2025-04-25T04:28:37.2360786Z echo "{"include": [{"config": "mps", "shard": 1, "num_shards": 1, "runner": "macos-m1-13"}, {"config": "mps", "shard": 1, "num_shards": 1, "runner": "macos-m1-14"}, {"config": "mps", "shard": 1, "num_shards": 1, "runner": "macos-m2-15"}]}" 2025-04-25T04:28:37.2361614Z  2025-04-25T04:28:37.2361814Z echo 2025-04-25T04:28:37.2362075Z echo "Is the current job unstable? False" 2025-04-25T04:28:37.2362384Z  2025-04-25T04:28:37.2362575Z echo 2025-04-25T04:28:37.2362807Z echo "Is keep-going label set? False" 2025-04-25T04:28:37.2363135Z  2025-04-25T04:28:37.2363315Z echo 2025-04-25T04:28:37.2363544Z echo "Renabled issues? " 2025-04-25T04:28:37.2369906Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:37.2370286Z ##[endgroup] 2025-04-25T04:28:37.2398459Z Filtered matrix: 2025-04-25T04:28:37.2399810Z {include: [{config: mps, shard: 1, num_shards: 1, runner: macos-m1-13}, {config: mps, shard: 1, num_shards: 1, runner: macos-m1-14}, {config: mps, shard: 1, num_shards: 1, runner: macos-m2-15}]} 2025-04-25T04:28:37.2401035Z 2025-04-25T04:28:37.2401210Z Is the current job unstable? False 2025-04-25T04:28:37.2401556Z 2025-04-25T04:28:37.2401737Z Is keep-going label set? False 2025-04-25T04:28:37.2402063Z 2025-04-25T04:28:37.2402234Z Renabled issues? 2025-04-25T04:28:37.2505925Z Post job cleanup. 2025-04-25T04:28:37.2554284Z Post job cleanup. 2025-04-25T04:28:37.3539876Z [command]/usr/bin/git version 2025-04-25T04:28:37.3582180Z git version 2.47.1 2025-04-25T04:28:37.3626422Z Copying '/home/ec2-user/.gitconfig' to '/home/ec2-user/actions-runner/_work/_temp/b0c3ef39-997c-4293-b298-798b8bdadff0/.gitconfig' 2025-04-25T04:28:37.3637382Z Temporarily overriding HOME='/home/ec2-user/actions-runner/_work/_temp/b0c3ef39-997c-4293-b298-798b8bdadff0' before making global git config changes 2025-04-25T04:28:37.3639411Z Adding repository directory to the temporary git global config as a safe directory 2025-04-25T04:28:37.3645768Z [command]/usr/bin/git config --global --add safe.directory /home/ec2-user/actions-runner/_work/pytorch/pytorch 2025-04-25T04:28:37.3690515Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2025-04-25T04:28:37.3739822Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2025-04-25T04:28:37.4045414Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2025-04-25T04:28:37.4067326Z http.https://github.com/.extraheader 2025-04-25T04:28:37.4081803Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2025-04-25T04:28:37.4112932Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2025-04-25T04:28:37.4557923Z A job completed hook has been configured by the self-hosted runner administrator 2025-04-25T04:28:37.4582367Z ##[group]Run '/home/ec2-user/runner-scripts/after_job.sh' 2025-04-25T04:28:37.4590519Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-04-25T04:28:37.4591193Z ##[endgroup] 2025-04-25T04:28:37.4740098Z [!ALERT!] Swap in detected! [!ALERT!] 2025-04-25T04:28:49.3683320Z [!ALERT!] Swap out detected [!ALERT!] 2025-04-25T04:29:07.7133303Z Evaluate and set job outputs 2025-04-25T04:29:07.7140434Z Set output 'test-matrix' 2025-04-25T04:29:07.7142522Z Set output 'is-test-matrix-empty' 2025-04-25T04:29:07.7142958Z Set output 'keep-going' 2025-04-25T04:29:07.7143311Z Set output 'ci-verbose-test-logs' 2025-04-25T04:29:07.7143697Z Set output 'ci-test-showlocals' 2025-04-25T04:29:07.7144057Z Set output 'ci-no-test-timeout' 2025-04-25T04:29:07.7144443Z Set output 'ci-no-td' 2025-04-25T04:29:07.7145059Z Cleaning up orphan processes