2022-08-17T11:54:34.4803883Z Requested labels: linux.20_04.4x 2022-08-17T11:54:34.4803944Z Job defined at: pytorch/pytorch/.github/workflows/lint.yml@refs/pull/82657/merge 2022-08-17T11:54:34.4803965Z Waiting for a runner to pick up this job... 2022-08-17T11:54:36.3029852Z Job is about to start running on the runner: linux.20_04.4x_da156ece4a10 (organization) 2022-08-17T11:54:39.4507703Z Current runner version: '2.295.0' 2022-08-17T11:54:39.4512907Z Runner name: 'linux.20_04.4x_da156ece4a10' 2022-08-17T11:54:39.4513389Z Runner group name: 'Default' 2022-08-17T11:54:39.4513948Z Machine name: 'runner' 2022-08-17T11:54:39.4530168Z ##[group]Operating System 2022-08-17T11:54:39.4530597Z Ubuntu 2022-08-17T11:54:39.4530954Z 20.04.4 2022-08-17T11:54:39.4531163Z LTS 2022-08-17T11:54:39.4531442Z ##[endgroup] 2022-08-17T11:54:39.4531738Z ##[group]Virtual Environment 2022-08-17T11:54:39.4532095Z Environment: ubuntu-20.04 2022-08-17T11:54:39.4532434Z Version: 20220814.1 2022-08-17T11:54:39.4532889Z Included Software: https://github.com/actions/runner-images/blob/ubuntu20/20220814.1/images/linux/Ubuntu2004-Readme.md 2022-08-17T11:54:39.4533413Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20220814.1 2022-08-17T11:54:39.4533817Z ##[endgroup] 2022-08-17T11:54:39.4534701Z ##[group]GITHUB_TOKEN Permissions 2022-08-17T11:54:39.4535349Z Actions: read 2022-08-17T11:54:39.4535651Z Checks: read 2022-08-17T11:54:39.4535955Z Contents: read 2022-08-17T11:54:39.4536242Z Deployments: read 2022-08-17T11:54:39.4536492Z Discussions: read 2022-08-17T11:54:39.4536781Z Issues: read 2022-08-17T11:54:39.4537054Z Metadata: read 2022-08-17T11:54:39.4537315Z Packages: read 2022-08-17T11:54:39.4537590Z Pages: read 2022-08-17T11:54:39.4537890Z PullRequests: read 2022-08-17T11:54:39.4538174Z RepositoryProjects: read 2022-08-17T11:54:39.4538488Z SecurityEvents: read 2022-08-17T11:54:39.4538800Z Statuses: read 2022-08-17T11:54:39.4539037Z ##[endgroup] 2022-08-17T11:54:39.4542371Z Secret source: None 2022-08-17T11:54:39.4542801Z Prepare workflow directory 2022-08-17T11:54:39.5268050Z Prepare all required actions 2022-08-17T11:54:39.5428978Z Getting action download info 2022-08-17T11:54:39.8357035Z Download action repository 'pytorch/pytorch@master' (SHA:2a096e940d33a33c4eb6df1c2ed4da607bd31a7f) 2022-08-17T11:54:43.8897917Z Getting action download info 2022-08-17T11:54:44.0688827Z Download action repository 'malfet/checkout@silent-checkout' (SHA:f63e9e15406be6060f159846cd2e098f759c5246) 2022-08-17T11:54:44.3558715Z ##[group]Run pytorch/pytorch/.github/actions/checkout-pytorch@master 2022-08-17T11:54:44.3559023Z with: 2022-08-17T11:54:44.3559221Z submodules: false 2022-08-17T11:54:44.3559415Z fetch-depth: -1 2022-08-17T11:54:44.3559606Z ##[endgroup] 2022-08-17T11:54:44.3805645Z ##[group]Run retry () { 2022-08-17T11:54:44.3805916Z retry () { 2022-08-17T11:54:44.3806158Z  $* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*) 2022-08-17T11:54:44.3806385Z } 2022-08-17T11:54:44.3806568Z echo "${GITHUB_WORKSPACE}" 2022-08-17T11:54:44.3806798Z if [ -z "${NO_SUDO}" ]; then 2022-08-17T11:54:44.3807043Z  retry sudo rm -rf "${GITHUB_WORKSPACE}" 2022-08-17T11:54:44.3807250Z else 2022-08-17T11:54:44.3807458Z  retry rm -rf "${GITHUB_WORKSPACE}" 2022-08-17T11:54:44.3807663Z fi 2022-08-17T11:54:44.3807853Z mkdir "${GITHUB_WORKSPACE}" 2022-08-17T11:54:44.3856985Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2022-08-17T11:54:44.3857241Z env: 2022-08-17T11:54:44.3857416Z NO_SUDO: 2022-08-17T11:54:44.3857603Z ##[endgroup] 2022-08-17T11:54:44.4077457Z /home/runner/work/pytorch/pytorch 2022-08-17T11:54:44.4351543Z ##[group]Run malfet/checkout@silent-checkout 2022-08-17T11:54:44.4351782Z with: 2022-08-17T11:54:44.4351999Z ref: ce6a3c605df99d1df57c0dda75c06d748e54ed2a 2022-08-17T11:54:44.4352212Z fetch-depth: -1 2022-08-17T11:54:44.4352398Z submodules: false 2022-08-17T11:54:44.4352601Z quiet-checkout: true 2022-08-17T11:54:44.4352819Z repository: pytorch/pytorch 2022-08-17T11:54:44.4353198Z token: *** 2022-08-17T11:54:44.4353382Z ssh-strict: true 2022-08-17T11:54:44.4353582Z persist-credentials: true 2022-08-17T11:54:44.4353768Z clean: true 2022-08-17T11:54:44.4353937Z lfs: false 2022-08-17T11:54:44.4354126Z set-safe-directory: true 2022-08-17T11:54:44.4354472Z ##[endgroup] 2022-08-17T11:54:44.5574586Z Syncing repository: pytorch/pytorch 2022-08-17T11:54:44.5576209Z ##[group]Getting Git version info 2022-08-17T11:54:44.5576657Z Working directory is '/home/runner/work/pytorch/pytorch' 2022-08-17T11:54:44.5577105Z [command]/usr/bin/git version 2022-08-17T11:54:44.5590880Z git version 2.37.2 2022-08-17T11:54:44.5613594Z ##[endgroup] 2022-08-17T11:54:44.5628929Z Temporarily overriding HOME='/home/runner/work/_temp/10d8171d-e011-41e7-8a2b-e4353291d2a5' before making global git config changes 2022-08-17T11:54:44.5629369Z Adding repository directory to the temporary git global config as a safe directory 2022-08-17T11:54:44.5636186Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pytorch/pytorch 2022-08-17T11:54:44.5676696Z Deleting the contents of '/home/runner/work/pytorch/pytorch' 2022-08-17T11:54:44.5681367Z ##[group]Initializing the repository 2022-08-17T11:54:44.5687168Z [command]/usr/bin/git init /home/runner/work/pytorch/pytorch 2022-08-17T11:54:44.5735260Z hint: Using 'master' as the name for the initial branch. This default branch name 2022-08-17T11:54:44.5736013Z hint: is subject to change. To configure the initial branch name to use in all 2022-08-17T11:54:44.5736689Z hint: of your new repositories, which will suppress this warning, call: 2022-08-17T11:54:44.5737172Z hint: 2022-08-17T11:54:44.5737691Z hint: git config --global init.defaultBranch 2022-08-17T11:54:44.5737920Z hint: 2022-08-17T11:54:44.5738349Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2022-08-17T11:54:44.5738975Z hint: 'development'. The just-created branch can be renamed via this command: 2022-08-17T11:54:44.5739390Z hint: 2022-08-17T11:54:44.5739758Z hint: git branch -m 2022-08-17T11:54:44.5743633Z Initialized empty Git repository in /home/runner/work/pytorch/pytorch/.git/ 2022-08-17T11:54:44.5754320Z [command]/usr/bin/git remote add origin https://github.com/pytorch/pytorch 2022-08-17T11:54:44.5788545Z ##[endgroup] 2022-08-17T11:54:44.5789101Z ##[group]Disabling automatic garbage collection 2022-08-17T11:54:44.5794111Z [command]/usr/bin/git config --local gc.auto 0 2022-08-17T11:54:44.5823841Z ##[endgroup] 2022-08-17T11:54:44.5824539Z ##[group]Setting up auth 2022-08-17T11:54:44.5832193Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2022-08-17T11:54:44.5866494Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2022-08-17T11:54:44.6097651Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2022-08-17T11:54:44.6129794Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : 2022-08-17T11:54:44.6324636Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2022-08-17T11:54:44.6360558Z ##[endgroup] 2022-08-17T11:54:44.6361213Z ##[group]Fetching the repository 2022-08-17T11:54:44.6388501Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --quiet --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* 2022-08-17T11:55:45.2547618Z [command]/usr/bin/git rev-parse --verify --quiet ce6a3c605df99d1df57c0dda75c06d748e54ed2a^{object} 2022-08-17T11:55:45.2586516Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --quiet --no-recurse-submodules origin ce6a3c605df99d1df57c0dda75c06d748e54ed2a 2022-08-17T11:55:46.2135566Z ##[endgroup] 2022-08-17T11:55:46.2136284Z ##[group]Determining the checkout info 2022-08-17T11:55:46.2137409Z ##[endgroup] 2022-08-17T11:55:46.2138183Z ##[group]Checking out the ref 2022-08-17T11:55:46.2145125Z [command]/usr/bin/git checkout --quiet --force ce6a3c605df99d1df57c0dda75c06d748e54ed2a 2022-08-17T11:55:47.4349050Z ##[endgroup] 2022-08-17T11:55:47.4403257Z [command]/usr/bin/git log -1 --format='%H' 2022-08-17T11:55:47.4434259Z 'ce6a3c605df99d1df57c0dda75c06d748e54ed2a' 2022-08-17T11:55:47.4565719Z ##[group]Run set -x 2022-08-17T11:55:47.4565957Z set -x 2022-08-17T11:55:47.4566128Z  2022-08-17T11:55:47.4566344Z ancestor=$(git merge-base "${BASE}" "${HEAD}") 2022-08-17T11:55:47.4566601Z details=$(git diff --shortstat "$ancestor" "${HEAD}") 2022-08-17T11:55:47.4566901Z add=$(echo "$details" | grep -o '[0-9]* insertion' | grep -o '[0-9]*' || true) 2022-08-17T11:55:47.4567218Z remove=$(echo "$details" | grep -o '[0-9]* deletion' | grep -o '[0-9]*' || true) 2022-08-17T11:55:47.4567443Z  2022-08-17T11:55:47.4567613Z pr_size=0 2022-08-17T11:55:47.4567798Z if [ "$add" ]; then 2022-08-17T11:55:47.4568013Z  pr_size=$(("$pr_size" + "$add")) 2022-08-17T11:55:47.4568195Z fi 2022-08-17T11:55:47.4568377Z if [ "$remove" ]; then 2022-08-17T11:55:47.4568773Z  pr_size=$(("$pr_size" + "$remove")) 2022-08-17T11:55:47.4568979Z fi 2022-08-17T11:55:47.4569236Z  2022-08-17T11:55:47.4569430Z if ((pr_size > 2000)); then 2022-08-17T11:55:47.4569705Z  echo 2022-08-17T11:55:47.4569999Z  echo 'Your PR is '"$pr_size"' LOC which is more than the 2000 maximum' 2022-08-17T11:55:47.4570370Z  echo 'allowed within PyTorch infra. PLease make sure to split up' 2022-08-17T11:55:47.4570688Z  echo 'your PR into smaller pieces that can be reviewed.' 2022-08-17T11:55:47.4571050Z  echo 'If you think that this rule should not apply to your PR,' 2022-08-17T11:55:47.4571406Z  echo 'please contact @albanD or @seemethere.' 2022-08-17T11:55:47.4571632Z  echo 2022-08-17T11:55:47.4571844Z  false 2022-08-17T11:55:47.4572061Z fi 2022-08-17T11:55:47.4617420Z shell: /usr/bin/bash -e {0} 2022-08-17T11:55:47.4617674Z env: 2022-08-17T11:55:47.4617898Z BASE: 343b5f86512f75f8f3bd4b90749c0459743b9e72 2022-08-17T11:55:47.4618213Z HEAD: ce6a3c605df99d1df57c0dda75c06d748e54ed2a 2022-08-17T11:55:47.4618583Z ##[endgroup] 2022-08-17T11:55:47.4683621Z ++ git merge-base 343b5f86512f75f8f3bd4b90749c0459743b9e72 ce6a3c605df99d1df57c0dda75c06d748e54ed2a 2022-08-17T11:55:47.4755700Z + ancestor=343b5f86512f75f8f3bd4b90749c0459743b9e72 2022-08-17T11:55:47.4759723Z ++ git diff --shortstat 343b5f86512f75f8f3bd4b90749c0459743b9e72 ce6a3c605df99d1df57c0dda75c06d748e54ed2a 2022-08-17T11:55:47.4784752Z + details=' 3 files changed, 39 insertions(+), 1 deletion(-)' 2022-08-17T11:55:47.4790246Z ++ echo ' 3 files changed, 39 insertions(+), 1 deletion(-)' 2022-08-17T11:55:47.4791120Z ++ grep -o '[0-9]* insertion' 2022-08-17T11:55:47.4792199Z ++ grep -o '[0-9]*' 2022-08-17T11:55:47.4808057Z + add=39 2022-08-17T11:55:47.4815093Z ++ echo ' 3 files changed, 39 insertions(+), 1 deletion(-)' 2022-08-17T11:55:47.4815413Z ++ grep -o '[0-9]* deletion' 2022-08-17T11:55:47.4816381Z ++ grep -o '[0-9]*' 2022-08-17T11:55:47.4829748Z + remove=1 2022-08-17T11:55:47.4872631Z + pr_size=0 2022-08-17T11:55:47.4873052Z + '[' 39 ']' 2022-08-17T11:55:47.4873338Z + pr_size=39 2022-08-17T11:55:47.4873703Z + '[' 1 ']' 2022-08-17T11:55:47.4874085Z + pr_size=40 2022-08-17T11:55:47.4874368Z + (( pr_size > 2000 )) 2022-08-17T11:55:47.4910603Z Post job cleanup. 2022-08-17T11:55:47.4942648Z Post job cleanup. 2022-08-17T11:55:47.5997804Z [command]/usr/bin/git version 2022-08-17T11:55:47.6047410Z git version 2.37.2 2022-08-17T11:55:47.6095553Z Temporarily overriding HOME='/home/runner/work/_temp/dece40f0-68b4-43fa-bda0-74f3a29d1c69' before making global git config changes 2022-08-17T11:55:47.6096471Z Adding repository directory to the temporary git global config as a safe directory 2022-08-17T11:55:47.6103510Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pytorch/pytorch 2022-08-17T11:55:47.6146796Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2022-08-17T11:55:47.6186778Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2022-08-17T11:55:47.6432990Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2022-08-17T11:55:47.6461243Z http.https://github.com/.extraheader 2022-08-17T11:55:47.6474666Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2022-08-17T11:55:47.6515201Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : 2022-08-17T11:55:47.6948223Z Cleaning up orphan processes