2022-09-27T15:11:55.4266178Z Requested labels: linux.20_04.4x 2022-09-27T15:11:55.4266262Z Job defined at: pytorch/pytorch/.github/workflows/lint.yml@refs/pull/85462/merge 2022-09-27T15:11:55.4266284Z Waiting for a runner to pick up this job... 2022-09-27T15:13:47.1118684Z Job is about to start running on the runner: linux.20_04.4x_41e5168f1a5d (organization) 2022-09-27T15:13:50.0721064Z Current runner version: '2.296.2' 2022-09-27T15:13:50.0727254Z Runner name: 'linux.20_04.4x_41e5168f1a5d' 2022-09-27T15:13:50.0727777Z Runner group name: 'Default' 2022-09-27T15:13:50.0728392Z Machine name: 'runner' 2022-09-27T15:13:50.0747573Z ##[group]Operating System 2022-09-27T15:13:50.0747997Z Ubuntu 2022-09-27T15:13:50.0748286Z 20.04.5 2022-09-27T15:13:50.0748542Z LTS 2022-09-27T15:13:50.0748774Z ##[endgroup] 2022-09-27T15:13:50.0749101Z ##[group]Runner Image 2022-09-27T15:13:50.0749437Z Image: ubuntu-20.04 2022-09-27T15:13:50.0749692Z Version: 20220922.2 2022-09-27T15:13:50.0750160Z Included Software: https://github.com/actions/runner-images/blob/ubuntu20/20220922.2/images/linux/Ubuntu2004-Readme.md 2022-09-27T15:13:50.0750731Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20220922.2 2022-09-27T15:13:50.0751168Z ##[endgroup] 2022-09-27T15:13:50.0752017Z ##[group]GITHUB_TOKEN Permissions 2022-09-27T15:13:50.0752595Z Actions: read 2022-09-27T15:13:50.0753103Z Checks: read 2022-09-27T15:13:50.0753403Z Contents: read 2022-09-27T15:13:50.0753702Z Deployments: read 2022-09-27T15:13:50.0754013Z Discussions: read 2022-09-27T15:13:50.0754248Z Issues: read 2022-09-27T15:13:50.0754563Z Metadata: read 2022-09-27T15:13:50.0754850Z Packages: read 2022-09-27T15:13:50.0755096Z Pages: read 2022-09-27T15:13:50.0755382Z PullRequests: read 2022-09-27T15:13:50.0755739Z RepositoryProjects: read 2022-09-27T15:13:50.0756070Z SecurityEvents: read 2022-09-27T15:13:50.0756326Z Statuses: read 2022-09-27T15:13:50.0756625Z ##[endgroup] 2022-09-27T15:13:50.0760629Z Secret source: None 2022-09-27T15:13:50.0761153Z Prepare workflow directory 2022-09-27T15:13:50.1665258Z Prepare all required actions 2022-09-27T15:13:50.1844307Z Getting action download info 2022-09-27T15:13:50.3875362Z Download action repository 'pytorch/pytorch@master' (SHA:01dbbeeeb5ab7ede28e333982e98713282a0e4b8) 2022-09-27T15:13:56.2628277Z Getting action download info 2022-09-27T15:13:56.4212299Z Download action repository 'malfet/checkout@silent-checkout' (SHA:f63e9e15406be6060f159846cd2e098f759c5246) 2022-09-27T15:13:56.7045809Z ##[group]Run pytorch/pytorch/.github/actions/checkout-pytorch@master 2022-09-27T15:13:56.7046161Z with: 2022-09-27T15:13:56.7046340Z submodules: false 2022-09-27T15:13:56.7046535Z fetch-depth: -1 2022-09-27T15:13:56.7046724Z ##[endgroup] 2022-09-27T15:13:56.7328538Z ##[group]Run retry () { 2022-09-27T15:13:56.7328844Z retry () { 2022-09-27T15:13:56.7329098Z  $* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*) 2022-09-27T15:13:56.7329336Z } 2022-09-27T15:13:56.7329522Z echo "${GITHUB_WORKSPACE}" 2022-09-27T15:13:56.7329771Z if [ -z "${NO_SUDO}" ]; then 2022-09-27T15:13:56.7330013Z  retry sudo rm -rf "${GITHUB_WORKSPACE}" 2022-09-27T15:13:56.7330228Z else 2022-09-27T15:13:56.7330454Z  retry rm -rf "${GITHUB_WORKSPACE}" 2022-09-27T15:13:56.7330669Z fi 2022-09-27T15:13:56.7330852Z mkdir "${GITHUB_WORKSPACE}" 2022-09-27T15:13:56.7381967Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2022-09-27T15:13:56.7382265Z env: 2022-09-27T15:13:56.7382458Z NO_SUDO: 2022-09-27T15:13:56.7382646Z ##[endgroup] 2022-09-27T15:13:56.7635148Z /home/runner/work/pytorch/pytorch 2022-09-27T15:13:56.8409926Z ##[group]Run malfet/checkout@silent-checkout 2022-09-27T15:13:56.8410177Z with: 2022-09-27T15:13:56.8410384Z ref: 52424e2bf38e454d535881fed9628d3e20f4f944 2022-09-27T15:13:56.8410605Z fetch-depth: -1 2022-09-27T15:13:56.8410794Z submodules: false 2022-09-27T15:13:56.8411174Z quiet-checkout: true 2022-09-27T15:13:56.8411415Z repository: pytorch/pytorch 2022-09-27T15:13:56.8411893Z token: *** 2022-09-27T15:13:56.8412062Z ssh-strict: true 2022-09-27T15:13:56.8412272Z persist-credentials: true 2022-09-27T15:13:56.8412475Z clean: true 2022-09-27T15:13:56.8412635Z lfs: false 2022-09-27T15:13:56.8412826Z set-safe-directory: true 2022-09-27T15:13:56.8413026Z ##[endgroup] 2022-09-27T15:13:56.9762623Z Syncing repository: pytorch/pytorch 2022-09-27T15:13:56.9764471Z ##[group]Getting Git version info 2022-09-27T15:13:56.9765073Z Working directory is '/home/runner/work/pytorch/pytorch' 2022-09-27T15:13:56.9765551Z [command]/usr/bin/git version 2022-09-27T15:13:57.1898837Z git version 2.37.3 2022-09-27T15:13:57.1933268Z ##[endgroup] 2022-09-27T15:13:57.1954391Z Temporarily overriding HOME='/home/runner/work/_temp/0a2016c6-4308-4f1e-a17c-71dce9eb6722' before making global git config changes 2022-09-27T15:13:57.1955198Z Adding repository directory to the temporary git global config as a safe directory 2022-09-27T15:13:57.1963548Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pytorch/pytorch 2022-09-27T15:13:57.2102719Z Deleting the contents of '/home/runner/work/pytorch/pytorch' 2022-09-27T15:13:57.2108241Z ##[group]Initializing the repository 2022-09-27T15:13:57.2114693Z [command]/usr/bin/git init /home/runner/work/pytorch/pytorch 2022-09-27T15:13:57.2626510Z hint: Using 'master' as the name for the initial branch. This default branch name 2022-09-27T15:13:57.2627361Z hint: is subject to change. To configure the initial branch name to use in all 2022-09-27T15:13:57.2628074Z hint: of your new repositories, which will suppress this warning, call: 2022-09-27T15:13:57.2628577Z hint: 2022-09-27T15:13:57.2629333Z hint: git config --global init.defaultBranch 2022-09-27T15:13:57.2629786Z hint: 2022-09-27T15:13:57.2630465Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2022-09-27T15:13:57.2631353Z hint: 'development'. The just-created branch can be renamed via this command: 2022-09-27T15:13:57.2631859Z hint: 2022-09-27T15:13:57.2632370Z hint: git branch -m 2022-09-27T15:13:57.2633039Z Initialized empty Git repository in /home/runner/work/pytorch/pytorch/.git/ 2022-09-27T15:13:57.2646748Z [command]/usr/bin/git remote add origin https://github.com/pytorch/pytorch 2022-09-27T15:13:57.2782110Z ##[endgroup] 2022-09-27T15:13:57.2782591Z ##[group]Disabling automatic garbage collection 2022-09-27T15:13:57.2789258Z [command]/usr/bin/git config --local gc.auto 0 2022-09-27T15:13:57.2826248Z ##[endgroup] 2022-09-27T15:13:57.2826816Z ##[group]Setting up auth 2022-09-27T15:13:57.2836584Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2022-09-27T15:13:57.2877201Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2022-09-27T15:13:57.5294928Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2022-09-27T15:13:57.5340739Z [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-09-27T15:13:57.5564677Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2022-09-27T15:13:57.5612743Z ##[endgroup] 2022-09-27T15:13:57.5613467Z ##[group]Fetching the repository 2022-09-27T15:13:57.5641232Z [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-09-27T15:14:59.3050291Z [command]/usr/bin/git rev-parse --verify --quiet 52424e2bf38e454d535881fed9628d3e20f4f944^{object} 2022-09-27T15:14:59.3106879Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --quiet --no-recurse-submodules origin 52424e2bf38e454d535881fed9628d3e20f4f944 2022-09-27T15:15:00.3855273Z ##[endgroup] 2022-09-27T15:15:00.3855836Z ##[group]Determining the checkout info 2022-09-27T15:15:00.3858948Z ##[endgroup] 2022-09-27T15:15:00.3859794Z ##[group]Checking out the ref 2022-09-27T15:15:00.3869811Z [command]/usr/bin/git checkout --quiet --force 52424e2bf38e454d535881fed9628d3e20f4f944 2022-09-27T15:15:01.6580701Z ##[endgroup] 2022-09-27T15:15:01.6721800Z [command]/usr/bin/git log -1 --format='%H' 2022-09-27T15:15:01.6753206Z '52424e2bf38e454d535881fed9628d3e20f4f944' 2022-09-27T15:15:01.6894493Z ##[group]Run set -x 2022-09-27T15:15:01.6894797Z set -x 2022-09-27T15:15:01.6895029Z  2022-09-27T15:15:01.6895277Z ancestor=$(git merge-base "${BASE}" "${HEAD}") 2022-09-27T15:15:01.6895613Z details=$(git diff --shortstat "$ancestor" "${HEAD}") 2022-09-27T15:15:01.6896019Z add=$(echo "$details" | grep -o '[0-9]* insertion' | grep -o '[0-9]*' || true) 2022-09-27T15:15:01.6896402Z remove=$(echo "$details" | grep -o '[0-9]* deletion' | grep -o '[0-9]*' || true) 2022-09-27T15:15:01.6896658Z  2022-09-27T15:15:01.6896895Z pr_size=0 2022-09-27T15:15:01.6897160Z if [ "$add" ]; then 2022-09-27T15:15:01.6897392Z  pr_size=$(("$pr_size" + "$add")) 2022-09-27T15:15:01.6897644Z fi 2022-09-27T15:15:01.6897895Z if [ "$remove" ]; then 2022-09-27T15:15:01.6898143Z  pr_size=$(("$pr_size" + "$remove")) 2022-09-27T15:15:01.6898414Z fi 2022-09-27T15:15:01.6943650Z  2022-09-27T15:15:01.6943920Z if ((pr_size > 2000)); then 2022-09-27T15:15:01.6944103Z  echo 2022-09-27T15:15:01.6944358Z  echo 'Your PR is '"$pr_size"' LOC which is more than the 2000 maximum' 2022-09-27T15:15:01.6944687Z  echo 'allowed within PyTorch infra. PLease make sure to split up' 2022-09-27T15:15:01.6944986Z  echo 'your PR into smaller pieces that can be reviewed.' 2022-09-27T15:15:01.6945287Z  echo 'If you think that this rule should not apply to your PR,' 2022-09-27T15:15:01.6945578Z  echo 'please contact @albanD or @seemethere.' 2022-09-27T15:15:01.6945794Z  echo 2022-09-27T15:15:01.6945951Z  false 2022-09-27T15:15:01.6946121Z fi 2022-09-27T15:15:01.6989729Z shell: /usr/bin/bash -e {0} 2022-09-27T15:15:01.6989937Z env: 2022-09-27T15:15:01.6990147Z BASE: 76d60778eb01b4213735be1c6e126fe2da519b8e 2022-09-27T15:15:01.6990406Z HEAD: 52424e2bf38e454d535881fed9628d3e20f4f944 2022-09-27T15:15:01.6990618Z ##[endgroup] 2022-09-27T15:15:01.7060667Z ++ git merge-base 76d60778eb01b4213735be1c6e126fe2da519b8e 52424e2bf38e454d535881fed9628d3e20f4f944 2022-09-27T15:15:01.7078870Z + ancestor=c7c2578f93fbfad5f769543848642a16b6071756 2022-09-27T15:15:01.7082223Z ++ git diff --shortstat c7c2578f93fbfad5f769543848642a16b6071756 52424e2bf38e454d535881fed9628d3e20f4f944 2022-09-27T15:15:01.7133702Z + details=' 3 files changed, 28 insertions(+), 5 deletions(-)' 2022-09-27T15:15:01.7138790Z ++ echo ' 3 files changed, 28 insertions(+), 5 deletions(-)' 2022-09-27T15:15:01.7139604Z ++ grep -o '[0-9]* insertion' 2022-09-27T15:15:01.7143930Z ++ grep -o '[0-9]*' 2022-09-27T15:15:01.7155781Z + add=28 2022-09-27T15:15:01.7161172Z ++ echo ' 3 files changed, 28 insertions(+), 5 deletions(-)' 2022-09-27T15:15:01.7162901Z ++ grep -o '[0-9]* deletion' 2022-09-27T15:15:01.7164572Z ++ grep -o '[0-9]*' 2022-09-27T15:15:01.7178937Z + remove=5 2022-09-27T15:15:01.7179198Z + pr_size=0 2022-09-27T15:15:01.7179609Z + '[' 28 ']' 2022-09-27T15:15:01.7181274Z + pr_size=28 2022-09-27T15:15:01.7181778Z + '[' 5 ']' 2022-09-27T15:15:01.7182035Z + pr_size=33 2022-09-27T15:15:01.7182952Z + (( pr_size > 2000 )) 2022-09-27T15:15:01.7223734Z Post job cleanup. 2022-09-27T15:15:01.7256396Z Post job cleanup. 2022-09-27T15:15:01.8391418Z [command]/usr/bin/git version 2022-09-27T15:15:01.8437965Z git version 2.37.3 2022-09-27T15:15:01.8482226Z Temporarily overriding HOME='/home/runner/work/_temp/ec229b27-b0f3-4805-a0b6-9ca0dec813cb' before making global git config changes 2022-09-27T15:15:01.8482991Z Adding repository directory to the temporary git global config as a safe directory 2022-09-27T15:15:01.8489554Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pytorch/pytorch 2022-09-27T15:15:01.8536556Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2022-09-27T15:15:01.8576718Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2022-09-27T15:15:01.8813864Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2022-09-27T15:15:01.8851872Z http.https://github.com/.extraheader 2022-09-27T15:15:01.8867406Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2022-09-27T15:15:01.8915894Z [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-09-27T15:15:01.9408251Z Cleaning up orphan processes