2025-07-02T07:56:17.4059022Z Current runner version: '2.325.0' 2025-07-02T07:56:17.4065254Z Runner name: 'i-05795257adfa05acc' 2025-07-02T07:56:17.4066000Z Runner group name: 'default' 2025-07-02T07:56:17.4067133Z Machine name: 'ip-10-0-76-80' 2025-07-02T07:56:17.4070398Z ##[group]GITHUB_TOKEN Permissions 2025-07-02T07:56:17.4072833Z Contents: read 2025-07-02T07:56:17.4073370Z Metadata: read 2025-07-02T07:56:17.4074011Z ##[endgroup] 2025-07-02T07:56:17.4076168Z Secret source: Actions 2025-07-02T07:56:17.4076854Z Prepare workflow directory 2025-07-02T07:56:17.4658269Z Prepare all required actions 2025-07-02T07:56:17.4698678Z Getting action download info 2025-07-02T07:56:17.7655032Z Download action repository 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683) 2025-07-02T07:56:17.9777646Z Download action repository 'pytorch/pytorch@main' (SHA:0364db7cd14ffa67b48ef8c27fefbb3eed2b065d) 2025-07-02T07:56:31.0074239Z Download action repository 'actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093' (SHA:d3f86a106a0bac45b974a628896c90dbdf5c8093) 2025-07-02T07:56:31.3672475Z Download action repository 'pmeier/pytest-results-action@a2c1430e2bddadbad9f49a6f9b879f062c6b19b1' (SHA:a2c1430e2bddadbad9f49a6f9b879f062c6b19b1) 2025-07-02T07:56:31.5242335Z Download action repository 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) 2025-07-02T07:56:31.9257736Z Download action repository 'seemethere/upload-artifact-s3@baba72d0712b404f646cebe0730933554ebce96a' (SHA:baba72d0712b404f646cebe0730933554ebce96a) 2025-07-02T07:56:32.1664030Z Getting action download info 2025-07-02T07:56:32.3332478Z Uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@refs/heads/main (4e43bd8700fb3fac32b6155020e13e6033eb4bcb) 2025-07-02T07:56:32.3336543Z ##[group] Inputs 2025-07-02T07:56:32.3338438Z script: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:32.3340795Z timeout: 30 2025-07-02T07:56:32.3341278Z runner: linux.2xlarge 2025-07-02T07:56:32.3341540Z upload-artifact: 2025-07-02T07:56:32.3342133Z upload-artifact-to-s3: false 2025-07-02T07:56:32.3342432Z download-artifact: 2025-07-02T07:56:32.3342677Z repository: pytorch/rl 2025-07-02T07:56:32.3342979Z fetch-depth: 1 2025-07-02T07:56:32.3343208Z submodules: 2025-07-02T07:56:32.3343407Z ref: 2025-07-02T07:56:32.3343651Z test-infra-repository: pytorch/test-infra 2025-07-02T07:56:32.3343969Z test-infra-ref: 2025-07-02T07:56:32.3344224Z use-custom-docker-registry: true 2025-07-02T07:56:32.3344555Z docker-image: pytorch/almalinux-builder 2025-07-02T07:56:32.3344891Z docker-build-dir: .ci/docker 2025-07-02T07:56:32.3345153Z gpu-arch-type: cpu 2025-07-02T07:56:32.3345397Z gpu-arch-version: 2025-07-02T07:56:32.3345625Z job-name: linux-job 2025-07-02T07:56:32.3345881Z continue-on-error: false 2025-07-02T07:56:32.3346138Z binary-matrix: 2025-07-02T07:56:32.3346356Z run-with-docker: true 2025-07-02T07:56:32.3346597Z secrets-env: 2025-07-02T07:56:32.3346820Z no-sudo: false 2025-07-02T07:56:32.3347090Z ##[endgroup] 2025-07-02T07:56:32.3347384Z Complete job name: python-source-and-configs / linux-job 2025-07-02T07:56:32.3801758Z A job started hook has been configured by the self-hosted runner administrator 2025-07-02T07:56:32.3909986Z ##[group]Run '/home/ec2-user/runner-scripts/before_job.sh' 2025-07-02T07:56:32.3919613Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:32.3920322Z ##[endgroup] 2025-07-02T07:56:33.6806924Z Runner Type: linux.2xlarge 2025-07-02T07:56:33.6807439Z Instance Type: c5.2xlarge 2025-07-02T07:56:33.6807962Z AMI Name: unknown 2025-07-02T07:56:33.6832322Z AMI ID: ami-05ffe3c48a9991133 2025-07-02T07:56:39.2764792Z ##[group]Run set -euxo pipefail 2025-07-02T07:56:39.2765195Z set -euxo pipefail 2025-07-02T07:56:39.2765498Z if [[ "${NO_SUDO}" == "false" ]]; then 2025-07-02T07:56:39.2765870Z  echo "::group::Cleanup with-sudo debug output" 2025-07-02T07:56:39.2766252Z  sudo rm -rfv "${GITHUB_WORKSPACE}" 2025-07-02T07:56:39.2766553Z else 2025-07-02T07:56:39.2766822Z  echo "::group::Cleanup no-sudo debug output" 2025-07-02T07:56:39.2767184Z  rm -rfv "${GITHUB_WORKSPACE}" 2025-07-02T07:56:39.2767467Z fi 2025-07-02T07:56:39.2767669Z  2025-07-02T07:56:39.2767907Z mkdir -p "${GITHUB_WORKSPACE}" 2025-07-02T07:56:39.2768249Z echo "::endgroup::" 2025-07-02T07:56:39.2777477Z shell: /usr/bin/bash -e {0} 2025-07-02T07:56:39.2777769Z env: 2025-07-02T07:56:39.2778007Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:39.2778365Z REPOSITORY: pytorch/rl 2025-07-02T07:56:39.2778663Z PR_NUMBER: 3030 2025-07-02T07:56:39.2780441Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:39.2782278Z NO_SUDO: false 2025-07-02T07:56:39.2782507Z ##[endgroup] 2025-07-02T07:56:39.2811278Z + [[ false == \f\a\l\s\e ]] 2025-07-02T07:56:39.2822257Z + echo '::group::Cleanup with-sudo debug output' 2025-07-02T07:56:39.2828808Z ##[group]Cleanup with-sudo debug output 2025-07-02T07:56:39.3798671Z + sudo rm -rfv /home/ec2-user/actions-runner/_work/rl/rl 2025-07-02T07:56:39.3799563Z removed directory '/home/ec2-user/actions-runner/_work/rl/rl' 2025-07-02T07:56:39.3816026Z + mkdir -p /home/ec2-user/actions-runner/_work/rl/rl 2025-07-02T07:56:39.3827898Z + echo ::endgroup:: 2025-07-02T07:56:39.3828954Z ##[endgroup] 2025-07-02T07:56:39.3947344Z ##[group]Run actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 2025-07-02T07:56:39.3947809Z with: 2025-07-02T07:56:39.3948033Z repository: pytorch/test-infra 2025-07-02T07:56:39.3948328Z path: test-infra 2025-07-02T07:56:39.3948575Z submodules: recursive 2025-07-02T07:56:39.3949039Z token: *** 2025-07-02T07:56:39.3949257Z ssh-strict: true 2025-07-02T07:56:39.3949466Z ssh-user: git 2025-07-02T07:56:39.3949702Z persist-credentials: true 2025-07-02T07:56:39.3949949Z clean: true 2025-07-02T07:56:39.3950192Z sparse-checkout-cone-mode: true 2025-07-02T07:56:39.3950475Z fetch-depth: 1 2025-07-02T07:56:39.3950700Z fetch-tags: false 2025-07-02T07:56:39.3950920Z show-progress: true 2025-07-02T07:56:39.3951175Z lfs: false 2025-07-02T07:56:39.3951401Z set-safe-directory: true 2025-07-02T07:56:39.3951646Z env: 2025-07-02T07:56:39.3951889Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:39.3952209Z REPOSITORY: pytorch/rl 2025-07-02T07:56:39.3952498Z PR_NUMBER: 3030 2025-07-02T07:56:39.3954286Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:39.3956123Z ##[endgroup] 2025-07-02T07:56:39.5446387Z Syncing repository: pytorch/test-infra 2025-07-02T07:56:39.5447142Z ##[group]Getting Git version info 2025-07-02T07:56:39.5447616Z Working directory is '/home/ec2-user/actions-runner/_work/rl/rl/test-infra' 2025-07-02T07:56:39.5448553Z [command]/usr/bin/git version 2025-07-02T07:56:39.5448821Z git version 2.47.1 2025-07-02T07:56:39.5467752Z ##[endgroup] 2025-07-02T07:56:39.5483190Z Temporarily overriding HOME='/home/ec2-user/actions-runner/_work/_temp/4ca0025c-ce3a-449e-aa61-0943306a832f' before making global git config changes 2025-07-02T07:56:39.5484224Z Adding repository directory to the temporary git global config as a safe directory 2025-07-02T07:56:39.5489879Z [command]/usr/bin/git config --global --add safe.directory /home/ec2-user/actions-runner/_work/rl/rl/test-infra 2025-07-02T07:56:39.5522207Z ##[group]Initializing the repository 2025-07-02T07:56:39.5528464Z [command]/usr/bin/git init /home/ec2-user/actions-runner/_work/rl/rl/test-infra 2025-07-02T07:56:39.5570332Z hint: Using 'master' as the name for the initial branch. This default branch name 2025-07-02T07:56:39.5570957Z hint: is subject to change. To configure the initial branch name to use in all 2025-07-02T07:56:39.5571625Z hint: of your new repositories, which will suppress this warning, call: 2025-07-02T07:56:39.5572086Z hint: 2025-07-02T07:56:39.5572406Z hint: git config --global init.defaultBranch 2025-07-02T07:56:39.5572780Z hint: 2025-07-02T07:56:39.5573142Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2025-07-02T07:56:39.5573712Z hint: 'development'. The just-created branch can be renamed via this command: 2025-07-02T07:56:39.5574149Z hint: 2025-07-02T07:56:39.5574373Z hint: git branch -m 2025-07-02T07:56:39.5574912Z Initialized empty Git repository in /home/ec2-user/actions-runner/_work/rl/rl/test-infra/.git/ 2025-07-02T07:56:39.5581441Z [command]/usr/bin/git remote add origin https://github.com/pytorch/test-infra 2025-07-02T07:56:39.5607779Z ##[endgroup] 2025-07-02T07:56:39.5608248Z ##[group]Disabling automatic garbage collection 2025-07-02T07:56:39.5612016Z [command]/usr/bin/git config --local gc.auto 0 2025-07-02T07:56:39.5636787Z ##[endgroup] 2025-07-02T07:56:39.5637214Z ##[group]Setting up auth 2025-07-02T07:56:39.5642645Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2025-07-02T07:56:39.5667976Z [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-07-02T07:56:39.5959556Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2025-07-02T07:56:39.5985437Z [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-07-02T07:56:39.6362292Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2025-07-02T07:56:39.6441264Z ##[endgroup] 2025-07-02T07:56:39.6441759Z ##[group]Determining the default branch 2025-07-02T07:56:39.6443888Z Retrieving the default branch name 2025-07-02T07:56:39.8235258Z Default branch 'main' 2025-07-02T07:56:39.8235949Z ##[endgroup] 2025-07-02T07:56:39.8236377Z ##[group]Fetching the repository 2025-07-02T07:56:39.8244176Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/main:refs/remotes/origin/main 2025-07-02T07:56:40.3293698Z From https://github.com/pytorch/test-infra 2025-07-02T07:56:40.3294147Z * [new branch] main -> origin/main 2025-07-02T07:56:40.3319753Z ##[endgroup] 2025-07-02T07:56:40.3320168Z ##[group]Determining the checkout info 2025-07-02T07:56:40.3321034Z ##[endgroup] 2025-07-02T07:56:40.3325217Z [command]/usr/bin/git sparse-checkout disable 2025-07-02T07:56:40.3364343Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2025-07-02T07:56:40.3389492Z ##[group]Checking out the ref 2025-07-02T07:56:40.3392954Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main 2025-07-02T07:56:40.4518665Z Switched to a new branch 'main' 2025-07-02T07:56:40.4519055Z branch 'main' set up to track 'origin/main'. 2025-07-02T07:56:40.4526510Z ##[endgroup] 2025-07-02T07:56:40.4526957Z ##[group]Setting up auth for fetching submodules 2025-07-02T07:56:40.4533176Z [command]/usr/bin/git config --global http.https://github.com/.extraheader AUTHORIZATION: basic *** 2025-07-02T07:56:40.4574738Z [command]/usr/bin/git config --global --unset-all url.https://github.com/.insteadOf 2025-07-02T07:56:40.4614675Z [command]/usr/bin/git config --global --add url.https://github.com/.insteadOf git@github.com: 2025-07-02T07:56:40.4642819Z [command]/usr/bin/git config --global --add url.https://github.com/.insteadOf org-21003710@github.com: 2025-07-02T07:56:40.4665842Z ##[endgroup] 2025-07-02T07:56:40.4666237Z ##[group]Fetching submodules 2025-07-02T07:56:40.4670036Z [command]/usr/bin/git submodule sync --recursive 2025-07-02T07:56:40.4970836Z [command]/usr/bin/git -c protocol.version=2 submodule update --init --force --depth=1 --recursive 2025-07-02T07:56:40.5252926Z [command]/usr/bin/git submodule foreach --recursive git config --local gc.auto 0 2025-07-02T07:56:40.5520643Z ##[endgroup] 2025-07-02T07:56:40.5521273Z ##[group]Persisting credentials for submodules 2025-07-02T07:56:40.5525900Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'url\.https\:\/\/github\.com\/\.insteadOf' && git config --local --unset-all 'url.https://github.com/.insteadOf' || :" 2025-07-02T07:56:40.5805793Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local 'http.https://github.com/.extraheader' 'AUTHORIZATION: basic ***' && git config --local --show-origin --name-only --get-regexp remote.origin.url" 2025-07-02T07:56:40.6085042Z [command]/usr/bin/git submodule foreach --recursive git config --local --add 'url.https://github.com/.insteadOf' 'git@github.com:' 2025-07-02T07:56:40.6373563Z [command]/usr/bin/git submodule foreach --recursive git config --local --add 'url.https://github.com/.insteadOf' 'org-21003710@github.com:' 2025-07-02T07:56:40.6648871Z ##[endgroup] 2025-07-02T07:56:40.6681947Z [command]/usr/bin/git log -1 --format=%H 2025-07-02T07:56:40.6702813Z 4e43bd8700fb3fac32b6155020e13e6033eb4bcb 2025-07-02T07:56:40.6912877Z Prepare all required actions 2025-07-02T07:56:40.6913397Z Getting action download info 2025-07-02T07:56:40.8184990Z Download action repository 'pytorch/test-infra@main' (SHA:4e43bd8700fb3fac32b6155020e13e6033eb4bcb) 2025-07-02T07:56:42.5407988Z Getting action download info 2025-07-02T07:56:42.6455911Z Download action repository 'nick-fields/retry@3e91a01664abd3c5cd539100d10d33b9c5b68482' (SHA:3e91a01664abd3c5cd539100d10d33b9c5b68482) 2025-07-02T07:56:42.8021974Z ##[group]Run ./test-infra/.github/actions/setup-linux 2025-07-02T07:56:42.8022340Z env: 2025-07-02T07:56:42.8022573Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:42.8022900Z REPOSITORY: pytorch/rl 2025-07-02T07:56:42.8023138Z PR_NUMBER: 3030 2025-07-02T07:56:42.8024942Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:42.8026738Z ##[endgroup] 2025-07-02T07:56:42.8114425Z ##[group]Run set -euo pipefail 2025-07-02T07:56:42.8114757Z set -euo pipefail 2025-07-02T07:56:42.8115041Z function get_ec2_metadata() { 2025-07-02T07:56:42.8115395Z  # Pulled from instance metadata endpoint for EC2 2025-07-02T07:56:42.8116028Z  # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html 2025-07-02T07:56:42.8116569Z  category=$1 2025-07-02T07:56:42.8117601Z  curl -H "X-aws-ec2-metadata-token: $(curl -s -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 30")" -fsSL "http://169.254.169.254/latest/meta-data/${category}" 2025-07-02T07:56:42.8118510Z } 2025-07-02T07:56:42.8118750Z echo "ami-id: $(get_ec2_metadata ami-id)" 2025-07-02T07:56:42.8119164Z echo "instance-id: $(get_ec2_metadata instance-id)" 2025-07-02T07:56:42.8119613Z echo "instance-type: $(get_ec2_metadata instance-type)" 2025-07-02T07:56:42.8120014Z echo "system info $(uname -a)" 2025-07-02T07:56:42.8126166Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:42.8126532Z env: 2025-07-02T07:56:42.8126760Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:42.8127091Z REPOSITORY: pytorch/rl 2025-07-02T07:56:42.8127329Z PR_NUMBER: 3030 2025-07-02T07:56:42.8129064Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:42.8130870Z ##[endgroup] 2025-07-02T07:56:42.8274278Z ami-id: ami-05ffe3c48a9991133 2025-07-02T07:56:42.8385167Z instance-id: i-05795257adfa05acc 2025-07-02T07:56:42.8514738Z instance-type: c5.2xlarge 2025-07-02T07:56:42.8525776Z system info Linux ip-10-0-76-80.ec2.internal 6.1.141-155.222.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 17 10:29:47 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux 2025-07-02T07:56:42.8569582Z ##[group]Run echo "IN_CONTAINER_RUNNER=$(if [ -f /.inarc ] || [ -f /.incontainer ]; then echo true ; else echo false; fi)" >> "$GITHUB_OUTPUT" 2025-07-02T07:56:42.8570957Z echo "IN_CONTAINER_RUNNER=$(if [ -f /.inarc ] || [ -f /.incontainer ]; then echo true ; else echo false; fi)" >> "$GITHUB_OUTPUT" 2025-07-02T07:56:42.8578226Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:42.8578601Z env: 2025-07-02T07:56:42.8579020Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:42.8579362Z REPOSITORY: pytorch/rl 2025-07-02T07:56:42.8579612Z PR_NUMBER: 3030 2025-07-02T07:56:42.8581339Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:42.8583129Z ##[endgroup] 2025-07-02T07:56:42.8661488Z ##[group]Run if systemctl is-active --quiet docker; then 2025-07-02T07:56:42.8661952Z if systemctl is-active --quiet docker; then 2025-07-02T07:56:42.8662319Z  echo "Docker daemon is running..."; 2025-07-02T07:56:42.8662656Z else 2025-07-02T07:56:42.8662986Z  echo "Starting docker deamon..." && sudo systemctl start docker; 2025-07-02T07:56:42.8663404Z fi 2025-07-02T07:56:42.8668943Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:42.8669313Z env: 2025-07-02T07:56:42.8669546Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:42.8669887Z REPOSITORY: pytorch/rl 2025-07-02T07:56:42.8670129Z PR_NUMBER: 3030 2025-07-02T07:56:42.8671866Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:42.8673829Z ##[endgroup] 2025-07-02T07:56:42.8787013Z Docker daemon is running... 2025-07-02T07:56:42.8818876Z ##[group]Run AWS_ACCOUNT_ID=$(aws sts get-caller-identity|grep Account|cut -f4 -d\") 2025-07-02T07:56:42.8819507Z AWS_ACCOUNT_ID=$(aws sts get-caller-identity|grep Account|cut -f4 -d\") 2025-07-02T07:56:42.8820008Z retry () { "$@" || (sleep 1 && "$@") || (sleep 2 && "$@") } 2025-07-02T07:56:42.8820603Z retry aws ecr get-login-password --region "$AWS_DEFAULT_REGION" | docker login --username AWS \ 2025-07-02T07:56:42.8821342Z  --password-stdin "$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com" 2025-07-02T07:56:42.8828606Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:42.8828979Z env: 2025-07-02T07:56:42.8829221Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:42.8829553Z REPOSITORY: pytorch/rl 2025-07-02T07:56:42.8829788Z PR_NUMBER: 3030 2025-07-02T07:56:42.8831522Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:42.8833332Z AWS_RETRY_MODE: standard 2025-07-02T07:56:42.8833586Z AWS_MAX_ATTEMPTS: 5 2025-07-02T07:56:42.8833821Z AWS_DEFAULT_REGION: us-east-1 2025-07-02T07:56:42.8834086Z ##[endgroup] 2025-07-02T07:56:43.9256880Z WARNING! Your password will be stored unencrypted in /home/ec2-user/.docker/config.json. 2025-07-02T07:56:43.9257510Z Configure a credential helper to remove this warning. See 2025-07-02T07:56:43.9258188Z https://docs.docker.com/engine/reference/commandline/login/#credentials-store 2025-07-02T07:56:43.9258665Z 2025-07-02T07:56:43.9258764Z Login Succeeded 2025-07-02T07:56:43.9342203Z ##[group]Run env | grep '^GITHUB' >> "${RUNNER_TEMP}/github_env_${GITHUB_RUN_ID}" 2025-07-02T07:56:43.9342776Z env | grep '^GITHUB' >> "${RUNNER_TEMP}/github_env_${GITHUB_RUN_ID}" 2025-07-02T07:56:43.9343273Z env | grep '^CI' >> "${RUNNER_TEMP}/github_env_${GITHUB_RUN_ID}" 2025-07-02T07:56:43.9350019Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:43.9350387Z env: 2025-07-02T07:56:43.9350618Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:43.9350948Z REPOSITORY: pytorch/rl 2025-07-02T07:56:43.9351186Z PR_NUMBER: 3030 2025-07-02T07:56:43.9352915Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:43.9354721Z ##[endgroup] 2025-07-02T07:56:43.9441478Z ##[group]Run RUNNER_ARTIFACT_DIR="${RUNNER_TEMP}/artifacts" 2025-07-02T07:56:43.9441962Z RUNNER_ARTIFACT_DIR="${RUNNER_TEMP}/artifacts" 2025-07-02T07:56:43.9442353Z sudo rm -rf "${RUNNER_ARTIFACT_DIR}" 2025-07-02T07:56:43.9442687Z mkdir -p "${RUNNER_ARTIFACT_DIR}" 2025-07-02T07:56:43.9443125Z echo "RUNNER_ARTIFACT_DIR=${RUNNER_ARTIFACT_DIR}" >> "${GITHUB_ENV}" 2025-07-02T07:56:43.9443547Z  2025-07-02T07:56:43.9443825Z RUNNER_TEST_RESULTS_DIR="${RUNNER_TEMP}/test-results" 2025-07-02T07:56:43.9444239Z sudo rm -rf "${RUNNER_TEST_RESULTS_DIR}" 2025-07-02T07:56:43.9444794Z mkdir -p "${RUNNER_TEST_RESULTS_DIR}" 2025-07-02T07:56:43.9445269Z echo "RUNNER_TEST_RESULTS_DIR=${RUNNER_TEST_RESULTS_DIR}" >> "${GITHUB_ENV}" 2025-07-02T07:56:43.9445713Z  2025-07-02T07:56:43.9445950Z RUNNER_DOCS_DIR="${RUNNER_TEMP}/docs" 2025-07-02T07:56:43.9446287Z sudo rm -rf "${RUNNER_DOCS_DIR}" 2025-07-02T07:56:43.9446591Z mkdir -p "${RUNNER_DOCS_DIR}" 2025-07-02T07:56:43.9446985Z echo "RUNNER_DOCS_DIR=${RUNNER_DOCS_DIR}" >> "${GITHUB_ENV}" 2025-07-02T07:56:43.9452693Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:43.9453065Z env: 2025-07-02T07:56:43.9453295Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:43.9453623Z REPOSITORY: pytorch/rl 2025-07-02T07:56:43.9453858Z PR_NUMBER: 3030 2025-07-02T07:56:43.9455597Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:43.9457377Z ##[endgroup] 2025-07-02T07:56:44.4857573Z ##[group]Run needs=0 2025-07-02T07:56:44.4857839Z needs=0 2025-07-02T07:56:44.4858190Z if lspci -v | grep -e 'controller.*NVIDIA' >/dev/null 2>/dev/null; then 2025-07-02T07:56:44.4858617Z  needs=1 2025-07-02T07:56:44.4858821Z fi 2025-07-02T07:56:44.4859063Z echo "does=${needs}" >> $GITHUB_OUTPUT 2025-07-02T07:56:44.4864899Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:44.4865268Z env: 2025-07-02T07:56:44.4865537Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:44.4866024Z REPOSITORY: pytorch/rl 2025-07-02T07:56:44.4866289Z PR_NUMBER: 3030 2025-07-02T07:56:44.4868183Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:44.4870115Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:44.4870691Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:44.4871242Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:44.4871606Z ##[endgroup] 2025-07-02T07:56:44.5143315Z ##[group]Run # ignore expansion of "docker ps -q" since it could be empty 2025-07-02T07:56:44.5143906Z # ignore expansion of "docker ps -q" since it could be empty 2025-07-02T07:56:44.5144315Z # shellcheck disable=SC2046 2025-07-02T07:56:44.5144663Z docker stop $(docker ps -q) || true 2025-07-02T07:56:44.5145003Z # Prune all of the docker images 2025-07-02T07:56:44.5145308Z docker system prune -af 2025-07-02T07:56:44.5151275Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:44.5151637Z env: 2025-07-02T07:56:44.5151888Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:44.5152206Z REPOSITORY: pytorch/rl 2025-07-02T07:56:44.5152460Z PR_NUMBER: 3030 2025-07-02T07:56:44.5154180Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:44.5156282Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:44.5156848Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:44.5157384Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:44.5157749Z ##[endgroup] 2025-07-02T07:56:44.5663595Z "docker stop" requires at least 1 argument. 2025-07-02T07:56:44.5664013Z See 'docker stop --help'. 2025-07-02T07:56:44.5664193Z 2025-07-02T07:56:44.5664349Z Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...] 2025-07-02T07:56:44.5664611Z 2025-07-02T07:56:44.5664727Z Stop one or more running containers 2025-07-02T07:56:44.5846083Z Total reclaimed space: 0B 2025-07-02T07:56:44.5918795Z ##[group]Run ./test-infra/.github/actions/setup-ssh 2025-07-02T07:56:44.5919159Z with: 2025-07-02T07:56:44.5919821Z github-secret: *** 2025-07-02T07:56:44.5920517Z instructions: All testing is done inside the container, to start an interactive session run: docker exec -it $(docker container ps --format '{{.ID}}') bash 2025-07-02T07:56:44.5921261Z activate-with-label: false 2025-07-02T07:56:44.5921532Z label: with-ssh 2025-07-02T07:56:44.5921761Z remove-existing-keys: true 2025-07-02T07:56:44.5922027Z fail-silently: true 2025-07-02T07:56:44.5922239Z env: 2025-07-02T07:56:44.5922477Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:44.5922803Z REPOSITORY: pytorch/rl 2025-07-02T07:56:44.5923037Z PR_NUMBER: 3030 2025-07-02T07:56:44.5925249Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:44.5927176Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:44.5927756Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:44.5928295Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:44.5928660Z ##[endgroup] 2025-07-02T07:56:44.7008187Z Please see https://github.com/pytorch/pytorch/wiki/Debugging-using-with-ssh-for-Github-Actions for more info. 2025-07-02T07:56:45.0342507Z Grabbing public ssh keys from https://github.com/vmoens.keys 2025-07-02T07:56:45.0966078Z ~/.ssh/authorized_keys file found on node, removing ~/.ssh and starting fresh 2025-07-02T07:56:45.0981188Z Public keys pulled and installed to /home/ec2-user/.ssh/authorized_keys 2025-07-02T07:56:45.1017599Z Login using: ssh ec2-user@ec2-3-236-81-6.compute-1.amazonaws.com 2025-07-02T07:56:45.1018508Z All testing is done inside the container, to start an interactive session run: 2025-07-02T07:56:45.1019075Z docker exec -it $(docker container ps --format '{{.ID}}') bash 2025-07-02T07:56:45.1129697Z ##[group]Run actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 2025-07-02T07:56:45.1130123Z with: 2025-07-02T07:56:45.1130322Z repository: pytorch/rl 2025-07-02T07:56:45.1130580Z ref: refs/pull/3030/merge 2025-07-02T07:56:45.1130840Z path: pytorch/rl 2025-07-02T07:56:45.1131054Z fetch-depth: 1 2025-07-02T07:56:45.1131407Z token: *** 2025-07-02T07:56:45.1131603Z ssh-strict: true 2025-07-02T07:56:45.1131909Z ssh-user: git 2025-07-02T07:56:45.1132128Z persist-credentials: true 2025-07-02T07:56:45.1132382Z clean: true 2025-07-02T07:56:45.1132604Z sparse-checkout-cone-mode: true 2025-07-02T07:56:45.1132895Z fetch-tags: false 2025-07-02T07:56:45.1133130Z show-progress: true 2025-07-02T07:56:45.1133508Z lfs: false 2025-07-02T07:56:45.1133726Z set-safe-directory: true 2025-07-02T07:56:45.1133967Z env: 2025-07-02T07:56:45.1134202Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:45.1134516Z REPOSITORY: pytorch/rl 2025-07-02T07:56:45.1134804Z PR_NUMBER: 3030 2025-07-02T07:56:45.1136526Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:45.1138460Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:45.1139043Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:45.1139577Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:45.1139961Z ##[endgroup] 2025-07-02T07:56:45.2095955Z Syncing repository: pytorch/rl 2025-07-02T07:56:45.2104244Z ##[group]Getting Git version info 2025-07-02T07:56:45.2105068Z Working directory is '/home/ec2-user/actions-runner/_work/rl/rl/pytorch/rl' 2025-07-02T07:56:45.2130097Z [command]/usr/bin/git version 2025-07-02T07:56:45.2164856Z git version 2.47.1 2025-07-02T07:56:45.2189188Z ##[endgroup] 2025-07-02T07:56:45.2209717Z Temporarily overriding HOME='/home/ec2-user/actions-runner/_work/_temp/bc66fa07-6849-4af9-a4ec-e0f0e06e575f' before making global git config changes 2025-07-02T07:56:45.2210680Z Adding repository directory to the temporary git global config as a safe directory 2025-07-02T07:56:45.2214088Z [command]/usr/bin/git config --global --add safe.directory /home/ec2-user/actions-runner/_work/rl/rl/pytorch/rl 2025-07-02T07:56:45.2242174Z ##[group]Initializing the repository 2025-07-02T07:56:45.2246602Z [command]/usr/bin/git init /home/ec2-user/actions-runner/_work/rl/rl/pytorch/rl 2025-07-02T07:56:45.2276712Z hint: Using 'master' as the name for the initial branch. This default branch name 2025-07-02T07:56:45.2277520Z hint: is subject to change. To configure the initial branch name to use in all 2025-07-02T07:56:45.2278478Z hint: of your new repositories, which will suppress this warning, call: 2025-07-02T07:56:45.2278877Z hint: 2025-07-02T07:56:45.2279136Z hint: git config --global init.defaultBranch 2025-07-02T07:56:45.2279470Z hint: 2025-07-02T07:56:45.2279774Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2025-07-02T07:56:45.2280327Z hint: 'development'. The just-created branch can be renamed via this command: 2025-07-02T07:56:45.2280749Z hint: 2025-07-02T07:56:45.2280949Z hint: git branch -m 2025-07-02T07:56:45.2281714Z Initialized empty Git repository in /home/ec2-user/actions-runner/_work/rl/rl/pytorch/rl/.git/ 2025-07-02T07:56:45.2285906Z [command]/usr/bin/git remote add origin https://github.com/pytorch/rl 2025-07-02T07:56:45.2319463Z ##[endgroup] 2025-07-02T07:56:45.2319886Z ##[group]Disabling automatic garbage collection 2025-07-02T07:56:45.2323088Z [command]/usr/bin/git config --local gc.auto 0 2025-07-02T07:56:45.2347418Z ##[endgroup] 2025-07-02T07:56:45.2347798Z ##[group]Setting up auth 2025-07-02T07:56:45.2352780Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2025-07-02T07:56:45.2377246Z [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-07-02T07:56:45.2649901Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2025-07-02T07:56:45.2677307Z [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-07-02T07:56:45.2955705Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2025-07-02T07:56:45.3000654Z ##[endgroup] 2025-07-02T07:56:45.3001134Z ##[group]Fetching the repository 2025-07-02T07:56:45.3018299Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/pull/3030/merge:refs/remotes/pull/3030/merge 2025-07-02T07:56:46.1370904Z From https://github.com/pytorch/rl 2025-07-02T07:56:46.1371339Z * [new ref] refs/pull/3030/merge -> pull/3030/merge 2025-07-02T07:56:46.1392388Z ##[endgroup] 2025-07-02T07:56:46.1392866Z ##[group]Determining the checkout info 2025-07-02T07:56:46.1395064Z ##[endgroup] 2025-07-02T07:56:46.1399848Z [command]/usr/bin/git sparse-checkout disable 2025-07-02T07:56:46.1432300Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2025-07-02T07:56:46.1456942Z ##[group]Checking out the ref 2025-07-02T07:56:46.1460493Z [command]/usr/bin/git checkout --progress --force refs/remotes/pull/3030/merge 2025-07-02T07:56:46.2403584Z Note: switching to 'refs/remotes/pull/3030/merge'. 2025-07-02T07:56:46.2403905Z 2025-07-02T07:56:46.2404148Z You are in 'detached HEAD' state. You can look around, make experimental 2025-07-02T07:56:46.2404693Z changes and commit them, and you can discard any commits you make in this 2025-07-02T07:56:46.2405290Z state without impacting any branches by switching back to a branch. 2025-07-02T07:56:46.2405604Z 2025-07-02T07:56:46.2405814Z If you want to create a new branch to retain commits you create, you may 2025-07-02T07:56:46.2406303Z do so (now or later) by using -c with the switch command. Example: 2025-07-02T07:56:46.2406593Z 2025-07-02T07:56:46.2406705Z git switch -c 2025-07-02T07:56:46.2406897Z 2025-07-02T07:56:46.2407013Z Or undo this operation with: 2025-07-02T07:56:46.2407188Z 2025-07-02T07:56:46.2407275Z git switch - 2025-07-02T07:56:46.2407400Z 2025-07-02T07:56:46.2407650Z Turn off this advice by setting config variable advice.detachedHead to false 2025-07-02T07:56:46.2407988Z 2025-07-02T07:56:46.2408382Z HEAD is now at 2e8d943 Merge 995ff0d9fa6d4cdbe0120a55642106276bf80342 into 773c366c7b29f5ea26de0215119fb15055714525 2025-07-02T07:56:46.2412164Z ##[endgroup] 2025-07-02T07:56:46.2448977Z [command]/usr/bin/git log -1 --format=%H 2025-07-02T07:56:46.2469783Z 2e8d943922590c2356bc44a7af6da18a8d68787e 2025-07-02T07:56:46.2676640Z Prepare all required actions 2025-07-02T07:56:46.2677262Z Getting action download info 2025-07-02T07:56:46.3654746Z Download action repository 'nick-fields/retry@v3.0.0' (SHA:7152eba30c6575329ac0576536151aca5a72780e) 2025-07-02T07:56:46.5024027Z ##[group]Run ./test-infra/.github/actions/calculate-docker-image 2025-07-02T07:56:46.5024402Z with: 2025-07-02T07:56:46.5024629Z use-custom-docker-registry: true 2025-07-02T07:56:46.5024966Z docker-image-name: pytorch/almalinux-builder:cpu 2025-07-02T07:56:46.5025326Z docker-build-dir: .ci/docker 2025-07-02T07:56:46.5025615Z working-directory: pytorch/rl 2025-07-02T07:56:46.5025907Z docker-build-script: ./build.sh 2025-07-02T07:56:46.5026272Z docker-registry: 308535385114.dkr.ecr.us-east-1.amazonaws.com 2025-07-02T07:56:46.5026661Z force-push: false 2025-07-02T07:56:46.5026879Z env: 2025-07-02T07:56:46.5027099Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:46.5027426Z REPOSITORY: pytorch/rl 2025-07-02T07:56:46.5027708Z PR_NUMBER: 3030 2025-07-02T07:56:46.5029443Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:46.5031503Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:46.5032083Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:46.5032624Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:46.5032990Z ##[endgroup] 2025-07-02T07:56:46.5056383Z ##[group]Run set -ex 2025-07-02T07:56:46.5056704Z set -ex 2025-07-02T07:56:46.5056924Z  2025-07-02T07:56:46.5057307Z # If the docker build directory or the build script doesn't exist, the action will 2025-07-02T07:56:46.5057945Z # gracefully return the docker image name as it is. Pulling docker image in Linux 2025-07-02T07:56:46.5058491Z # job could then download the pre-built image as usual 2025-07-02T07:56:46.5059158Z if [[ -d "${DOCKER_BUILD_DIR}" ]] && [[ -f "${DOCKER_BUILD_DIR}/${DOCKER_BUILD_SCRIPT}" ]] && [[ "${USE_CUSTOM_DOCKER_REGISTRY}" == "true" ]]; then 2025-07-02T07:56:46.5059772Z  echo "skip=false" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5060100Z else 2025-07-02T07:56:46.5060334Z  echo "skip=true" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5060759Z  echo "docker-image=${DOCKER_IMAGE_NAME}" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5061152Z  2025-07-02T07:56:46.5061683Z  echo "Not using custom ECR registry. Either it was not requested or there is no Docker build script in the ${REPO_NAME} repo..." 2025-07-02T07:56:46.5062304Z  exit 0 2025-07-02T07:56:46.5062503Z fi 2025-07-02T07:56:46.5062702Z  2025-07-02T07:56:46.5063009Z if [[ "${DOCKER_IMAGE_NAME}" == *"${DOCKER_REGISTRY}/${REPO_NAME}"* ]]; then 2025-07-02T07:56:46.5063591Z  # The docker image name already includes the ECR prefix and tag, so we can just 2025-07-02T07:56:46.5064109Z  # use it as it is, but first let's extract the tag 2025-07-02T07:56:46.5064562Z  DOCKER_TAG=$(echo "${DOCKER_IMAGE_NAME}" | awk -F '[:,]' '{print $2}') 2025-07-02T07:56:46.5065057Z  echo "docker-tag=${DOCKER_TAG}" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5065516Z  echo "docker-image=${DOCKER_IMAGE_NAME}" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5065924Z else 2025-07-02T07:56:46.5066166Z  if [[ "${DOCKER_IMAGE_NAME}" == *:* ]]; then 2025-07-02T07:56:46.5066712Z  CUSTOM_TAG_PREFIX=${DOCKER_IMAGE_NAME#*:} 2025-07-02T07:56:46.5067085Z  DOCKER_IMAGE_NAME=${DOCKER_IMAGE_NAME%%:*} 2025-07-02T07:56:46.5067417Z  fi 2025-07-02T07:56:46.5067858Z  DOCKER_TAG=${CUSTOM_TAG_PREFIX:+${CUSTOM_TAG_PREFIX}-}$(git rev-parse HEAD:"${DOCKER_BUILD_DIR}") 2025-07-02T07:56:46.5068442Z  echo "docker-tag=${DOCKER_TAG}" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5069068Z  echo "docker-image=${DOCKER_REGISTRY}/${REPO_NAME}/${DOCKER_IMAGE_NAME}:${DOCKER_TAG}" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5069741Z  echo "custom-tag-prefix=${CUSTOM_TAG_PREFIX}" >> "${GITHUB_OUTPUT}" 2025-07-02T07:56:46.5070169Z fi 2025-07-02T07:56:46.5075915Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:46.5076291Z env: 2025-07-02T07:56:46.5076522Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:46.5076858Z REPOSITORY: pytorch/rl 2025-07-02T07:56:46.5077109Z PR_NUMBER: 3030 2025-07-02T07:56:46.5078843Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:46.5080760Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:46.5081480Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:46.5082012Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:46.5082390Z REPO_NAME: rl 2025-07-02T07:56:46.5082644Z DOCKER_IMAGE_NAME: pytorch/almalinux-builder:cpu 2025-07-02T07:56:46.5082999Z DOCKER_BUILD_DIR: .ci/docker 2025-07-02T07:56:46.5083284Z DOCKER_BUILD_SCRIPT: ./build.sh 2025-07-02T07:56:46.5083637Z DOCKER_REGISTRY: 308535385114.dkr.ecr.us-east-1.amazonaws.com 2025-07-02T07:56:46.5084028Z USE_CUSTOM_DOCKER_REGISTRY: true 2025-07-02T07:56:46.5084332Z CUSTOM_TAG_PREFIX: 2025-07-02T07:56:46.5084551Z ##[endgroup] 2025-07-02T07:56:46.5111081Z + [[ -d .ci/docker ]] 2025-07-02T07:56:46.5111504Z + echo skip=true 2025-07-02T07:56:46.5112002Z + echo docker-image=pytorch/almalinux-builder:cpu 2025-07-02T07:56:46.5112912Z + echo 'Not using custom ECR registry. Either it was not requested or there is no Docker build script in the rl repo...' 2025-07-02T07:56:46.5113688Z + exit 0 2025-07-02T07:56:46.5114277Z Not using custom ECR registry. Either it was not requested or there is no Docker build script in the rl repo... 2025-07-02T07:56:46.5147866Z ##[group]Run set -eux 2025-07-02T07:56:46.5148136Z set -eux 2025-07-02T07:56:46.5148998Z aws secretsmanager get-secret-value --secret-id docker_hub_readonly_token | jq --raw-output '.SecretString' | jq -r .docker_hub_readonly_token | docker login --username pytorchbot --password-stdin 2025-07-02T07:56:46.5155017Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:46.5155374Z env: 2025-07-02T07:56:46.5155617Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:46.5155953Z REPOSITORY: pytorch/rl 2025-07-02T07:56:46.5156191Z PR_NUMBER: 3030 2025-07-02T07:56:46.5157913Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:46.5159834Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:46.5160543Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:46.5161091Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:46.5161459Z ##[endgroup] 2025-07-02T07:56:46.5187174Z + aws secretsmanager get-secret-value --secret-id docker_hub_readonly_token 2025-07-02T07:56:46.5187930Z + jq --raw-output .SecretString 2025-07-02T07:56:46.5189510Z + jq -r .docker_hub_readonly_token 2025-07-02T07:56:46.5190861Z + docker login --username pytorchbot --password-stdin 2025-07-02T07:56:47.1295096Z WARNING! Your password will be stored unencrypted in /home/ec2-user/.docker/config.json. 2025-07-02T07:56:47.1295748Z Configure a credential helper to remove this warning. See 2025-07-02T07:56:47.1296388Z https://docs.docker.com/engine/reference/commandline/login/#credentials-store 2025-07-02T07:56:47.1296828Z 2025-07-02T07:56:47.1315847Z Login Succeeded 2025-07-02T07:56:47.1392369Z Prepare all required actions 2025-07-02T07:56:47.1428216Z ##[group]Run ./test-infra/.github/actions/pull-docker-image 2025-07-02T07:56:47.1428574Z with: 2025-07-02T07:56:47.1428822Z docker-image: pytorch/almalinux-builder:cpu 2025-07-02T07:56:47.1429234Z docker-registry: 308535385114.dkr.ecr.us-east-1.amazonaws.com 2025-07-02T07:56:47.1429617Z env: 2025-07-02T07:56:47.1429854Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:47.1430168Z REPOSITORY: pytorch/rl 2025-07-02T07:56:47.1430427Z PR_NUMBER: 3030 2025-07-02T07:56:47.1432183Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:47.1434242Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:47.1434809Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:47.1435346Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:47.1435715Z ##[endgroup] 2025-07-02T07:56:47.1454834Z ##[group]Run set -x 2025-07-02T07:56:47.1455100Z set -x 2025-07-02T07:56:47.1455319Z set +e 2025-07-02T07:56:47.1455515Z  2025-07-02T07:56:47.1455718Z login() { 2025-07-02T07:56:47.1456168Z  aws ecr get-login-password --region us-east-1 | docker login -u AWS --password-stdin "$1" 2025-07-02T07:56:47.1456687Z } 2025-07-02T07:56:47.1456871Z  2025-07-02T07:56:47.1457070Z retry () { 2025-07-02T07:56:47.1457315Z  $* || (sleep 1 && $*) || (sleep 2 && $*) 2025-07-02T07:56:47.1457624Z } 2025-07-02T07:56:47.1457819Z  2025-07-02T07:56:47.1458026Z retry login "${DOCKER_REGISTRY}" 2025-07-02T07:56:47.1458323Z  2025-07-02T07:56:47.1458783Z IMAGE_SIZE=$(docker manifest inspect "${DOCKER_IMAGE}" | jq '[.layers[].size, .config.size] | add / 1024 / 1024') 2025-07-02T07:56:47.1459433Z echo "Compressed size of image in MB: ${IMAGE_SIZE}" 2025-07-02T07:56:47.1459782Z  2025-07-02T07:56:47.1459983Z set -e 2025-07-02T07:56:47.1460310Z # ignore output since only exit code is used for conditional 2025-07-02T07:56:47.1460768Z # only pull docker image if it's not available locally 2025-07-02T07:56:47.1461301Z if ! docker inspect --type=image "${DOCKER_IMAGE}" >/dev/null 2>/dev/null; then 2025-07-02T07:56:47.1461773Z  retry docker pull "${DOCKER_IMAGE}" 2025-07-02T07:56:47.1462080Z fi 2025-07-02T07:56:47.1467923Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:56:47.1468401Z env: 2025-07-02T07:56:47.1468630Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:56:47.1468962Z REPOSITORY: pytorch/rl 2025-07-02T07:56:47.1469200Z PR_NUMBER: 3030 2025-07-02T07:56:47.1470927Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:56:47.1472846Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:56:47.1473423Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:56:47.1474094Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:56:47.1474575Z DOCKER_REGISTRY: 308535385114.dkr.ecr.us-east-1.amazonaws.com 2025-07-02T07:56:47.1474944Z ##[endgroup] 2025-07-02T07:56:47.1499215Z + set +e 2025-07-02T07:56:47.1499576Z + retry login 308535385114.dkr.ecr.us-east-1.amazonaws.com 2025-07-02T07:56:47.1499993Z + login 308535385114.dkr.ecr.us-east-1.amazonaws.com 2025-07-02T07:56:47.1502895Z + aws ecr get-login-password --region us-east-1 2025-07-02T07:56:47.1503975Z + docker login -u AWS --password-stdin 308535385114.dkr.ecr.us-east-1.amazonaws.com 2025-07-02T07:56:47.6781193Z WARNING! Your password will be stored unencrypted in /home/ec2-user/.docker/config.json. 2025-07-02T07:56:47.6782056Z Configure a credential helper to remove this warning. See 2025-07-02T07:56:47.6782625Z https://docs.docker.com/engine/reference/commandline/login/#credentials-store 2025-07-02T07:56:47.6783039Z 2025-07-02T07:56:47.6783705Z Login Succeeded 2025-07-02T07:56:47.6801963Z ++ docker manifest inspect pytorch/almalinux-builder:cpu 2025-07-02T07:56:47.6802694Z ++ jq '[.layers[].size, .config.size] | add / 1024 / 1024' 2025-07-02T07:56:47.8897714Z + IMAGE_SIZE=1396.334942817688 2025-07-02T07:56:47.8898360Z + echo 'Compressed size of image in MB: 1396.334942817688' 2025-07-02T07:56:47.8898925Z + set -e 2025-07-02T07:56:47.8899398Z + docker inspect --type=image pytorch/almalinux-builder:cpu 2025-07-02T07:56:47.8900095Z Compressed size of image in MB: 1396.334942817688 2025-07-02T07:56:47.9040072Z + retry docker pull pytorch/almalinux-builder:cpu 2025-07-02T07:56:47.9040504Z + docker pull pytorch/almalinux-builder:cpu 2025-07-02T07:56:48.0746083Z cpu: Pulling from pytorch/almalinux-builder 2025-07-02T07:56:48.0746838Z 19877a9af8e3: Pulling fs layer 2025-07-02T07:56:48.0747211Z 886003f6ab94: Pulling fs layer 2025-07-02T07:56:48.0747486Z 160b6baf3053: Pulling fs layer 2025-07-02T07:56:48.0747759Z 5fa358c72929: Pulling fs layer 2025-07-02T07:56:48.0748161Z e840ad4f61c2: Pulling fs layer 2025-07-02T07:56:48.0748618Z 6ad9b9bd0605: Pulling fs layer 2025-07-02T07:56:48.0748980Z 032a0a0f4dac: Pulling fs layer 2025-07-02T07:56:48.0749255Z 4f4fb700ef54: Pulling fs layer 2025-07-02T07:56:48.0749705Z 1c84a8623287: Pulling fs layer 2025-07-02T07:56:48.0750208Z ae227d43e36f: Pulling fs layer 2025-07-02T07:56:48.0750580Z a878d18a5734: Pulling fs layer 2025-07-02T07:56:48.0750836Z 66cdfb06ed2c: Pulling fs layer 2025-07-02T07:56:48.0751101Z 52845009cb74: Pulling fs layer 2025-07-02T07:56:48.0751357Z e840ad4f61c2: Waiting 2025-07-02T07:56:48.0751585Z 5cb0a24bb686: Pulling fs layer 2025-07-02T07:56:48.0751852Z 818a5af48b7d: Pulling fs layer 2025-07-02T07:56:48.0752101Z 6ad9b9bd0605: Waiting 2025-07-02T07:56:48.0752342Z 2ce923b93dad: Pulling fs layer 2025-07-02T07:56:48.0752614Z 0d572ca5d99c: Pulling fs layer 2025-07-02T07:56:48.0752872Z 5fa358c72929: Waiting 2025-07-02T07:56:48.0753104Z 818a5af48b7d: Waiting 2025-07-02T07:56:48.0753334Z 2ce923b93dad: Waiting 2025-07-02T07:56:48.0753551Z 4f4fb700ef54: Waiting 2025-07-02T07:56:48.0753778Z 032a0a0f4dac: Waiting 2025-07-02T07:56:48.0754009Z 1c84a8623287: Waiting 2025-07-02T07:56:48.0754218Z 0d572ca5d99c: Waiting 2025-07-02T07:56:48.0754440Z ae227d43e36f: Waiting 2025-07-02T07:56:48.0754649Z a878d18a5734: Waiting 2025-07-02T07:56:48.0754874Z 66cdfb06ed2c: Waiting 2025-07-02T07:56:48.0755087Z 52845009cb74: Waiting 2025-07-02T07:56:48.0755310Z 5cb0a24bb686: Waiting 2025-07-02T07:56:48.2315019Z 160b6baf3053: Verifying Checksum 2025-07-02T07:56:48.2315383Z 160b6baf3053: Download complete 2025-07-02T07:56:48.6614951Z 5fa358c72929: Verifying Checksum 2025-07-02T07:56:48.6615361Z 5fa358c72929: Download complete 2025-07-02T07:56:48.8173562Z 19877a9af8e3: Download complete 2025-07-02T07:56:48.8631888Z 6ad9b9bd0605: Verifying Checksum 2025-07-02T07:56:48.8632492Z 6ad9b9bd0605: Download complete 2025-07-02T07:56:48.9822134Z 886003f6ab94: Verifying Checksum 2025-07-02T07:56:48.9822501Z 886003f6ab94: Download complete 2025-07-02T07:56:49.0434620Z 4f4fb700ef54: Download complete 2025-07-02T07:56:49.2571302Z 1c84a8623287: Download complete 2025-07-02T07:56:49.3360019Z ae227d43e36f: Download complete 2025-07-02T07:56:49.4166940Z 032a0a0f4dac: Verifying Checksum 2025-07-02T07:56:49.4167489Z 032a0a0f4dac: Download complete 2025-07-02T07:56:49.4643042Z 66cdfb06ed2c: Verifying Checksum 2025-07-02T07:56:49.4643561Z 66cdfb06ed2c: Download complete 2025-07-02T07:56:49.5390484Z 52845009cb74: Verifying Checksum 2025-07-02T07:56:49.5939069Z 52845009cb74: Download complete 2025-07-02T07:56:49.5939613Z 5cb0a24bb686: Verifying Checksum 2025-07-02T07:56:49.5939907Z 5cb0a24bb686: Download complete 2025-07-02T07:56:49.7987499Z 818a5af48b7d: Verifying Checksum 2025-07-02T07:56:49.7988055Z 818a5af48b7d: Download complete 2025-07-02T07:56:49.8548452Z 2ce923b93dad: Download complete 2025-07-02T07:56:50.5696929Z e840ad4f61c2: Verifying Checksum 2025-07-02T07:56:50.5697282Z e840ad4f61c2: Download complete 2025-07-02T07:56:51.0532587Z 19877a9af8e3: Pull complete 2025-07-02T07:56:51.9717041Z 886003f6ab94: Pull complete 2025-07-02T07:56:52.1330887Z 160b6baf3053: Pull complete 2025-07-02T07:56:52.4712933Z 5fa358c72929: Pull complete 2025-07-02T07:56:53.8635430Z a878d18a5734: Verifying Checksum 2025-07-02T07:56:53.8635801Z a878d18a5734: Download complete 2025-07-02T07:56:56.4395504Z 0d572ca5d99c: Verifying Checksum 2025-07-02T07:56:56.4396035Z 0d572ca5d99c: Download complete 2025-07-02T07:56:57.7057835Z e840ad4f61c2: Pull complete 2025-07-02T07:56:57.7974146Z 6ad9b9bd0605: Pull complete 2025-07-02T07:56:58.9123230Z 032a0a0f4dac: Pull complete 2025-07-02T07:56:58.9360446Z 4f4fb700ef54: Pull complete 2025-07-02T07:56:59.1692824Z 1c84a8623287: Pull complete 2025-07-02T07:56:59.4114628Z ae227d43e36f: Pull complete 2025-07-02T07:57:10.3950251Z a878d18a5734: Pull complete 2025-07-02T07:57:10.4157629Z 66cdfb06ed2c: Pull complete 2025-07-02T07:57:10.4367504Z 52845009cb74: Pull complete 2025-07-02T07:57:10.4585484Z 5cb0a24bb686: Pull complete 2025-07-02T07:57:10.7396729Z 818a5af48b7d: Pull complete 2025-07-02T07:57:10.7967645Z 2ce923b93dad: Pull complete 2025-07-02T07:57:24.6288890Z 0d572ca5d99c: Pull complete 2025-07-02T07:57:24.6401244Z Digest: sha256:363e2387632a14190ba972bd9ea516e4c88e80e7089b14e7b658b63e9dbb3dc7 2025-07-02T07:57:24.6443017Z Status: Downloaded newer image for pytorch/almalinux-builder:cpu 2025-07-02T07:57:24.6468122Z docker.io/pytorch/almalinux-builder:cpu 2025-07-02T07:57:24.6509352Z ##[group]Run echo "IN_CONTAINER_RUNNER=$(if [ -f /.inarc ] || [ -f /.incontainer ]; then echo true ; else echo false; fi)" >> "$GITHUB_OUTPUT" 2025-07-02T07:57:24.6510282Z echo "IN_CONTAINER_RUNNER=$(if [ -f /.inarc ] || [ -f /.incontainer ]; then echo true ; else echo false; fi)" >> "$GITHUB_OUTPUT" 2025-07-02T07:57:24.6517349Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T07:57:24.6517723Z env: 2025-07-02T07:57:24.6517968Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:57:24.6518305Z REPOSITORY: pytorch/rl 2025-07-02T07:57:24.6518545Z PR_NUMBER: 3030 2025-07-02T07:57:24.6520326Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:57:24.6522253Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:57:24.6522831Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:57:24.6523375Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:57:24.6523755Z ##[endgroup] 2025-07-02T07:57:24.6642572Z ##[group]Run set -ex 2025-07-02T07:57:24.6642853Z set -ex 2025-07-02T07:57:24.6643055Z { 2025-07-02T07:57:24.6643279Z  echo "#!/usr/bin/env bash"; 2025-07-02T07:57:24.6643584Z  echo "set -eou pipefail"; 2025-07-02T07:57:24.6643895Z  # shellcheck disable=SC2016 2025-07-02T07:57:24.6644233Z  echo 'eval "$(conda shell.bash hook)"'; 2025-07-02T07:57:24.6644554Z  echo "set -x"; 2025-07-02T07:57:24.6644814Z  echo "${SCRIPT}"; 2025-07-02T07:57:24.6645082Z } > "${RUNNER_TEMP}/exec_script" 2025-07-02T07:57:24.6645417Z chmod +x "${RUNNER_TEMP}/exec_script" 2025-07-02T07:57:24.6646023Z python3 "/home/ec2-user/actions-runner/_work/rl/rl/test-infra/.github/scripts/run_with_env_secrets.py" "" 2025-07-02T07:57:24.6651991Z shell: /usr/bin/bash -e {0} 2025-07-02T07:57:24.6652405Z env: 2025-07-02T07:57:24.6652646Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T07:57:24.6653007Z REPOSITORY: pytorch/rl 2025-07-02T07:57:24.6653244Z PR_NUMBER: 3030 2025-07-02T07:57:24.6654966Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T07:57:24.6656891Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T07:57:24.6657451Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T07:57:24.6657987Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T07:57:24.6658636Z ALL_SECRETS: { "github_token": "***" } 2025-07-02T07:57:24.6658930Z ##[endgroup] 2025-07-02T07:57:24.6683904Z + echo '#!/usr/bin/env bash' 2025-07-02T07:57:24.6684363Z + echo 'set -eou pipefail' 2025-07-02T07:57:24.6684739Z + echo 'eval "$(conda shell.bash hook)"' 2025-07-02T07:57:24.6685165Z + echo 'set -x' 2025-07-02T07:57:24.6685537Z + echo 'set -euo pipefail 2025-07-02T07:57:24.6685826Z 2025-07-02T07:57:24.6686048Z echo '\''::group::Setup environment'\'' 2025-07-02T07:57:24.6686520Z CONDA_PATH=$(which conda) 2025-07-02T07:57:24.6686959Z eval "$(${CONDA_PATH} shell.bash hook)" 2025-07-02T07:57:24.6687545Z conda create --name ci --quiet --yes python=3.8 pip 2025-07-02T07:57:24.6687982Z conda activate ci 2025-07-02T07:57:24.6688211Z echo '\''::endgroup::'\'' 2025-07-02T07:57:24.6688382Z 2025-07-02T07:57:24.6688492Z echo '\''::group::Install lint tools'\'' 2025-07-02T07:57:24.6688850Z pip install --progress-bar=off pre-commit autoflake 2025-07-02T07:57:24.6689194Z echo '\''::endgroup::'\'' 2025-07-02T07:57:24.6689367Z 2025-07-02T07:57:24.6689521Z echo '\''::group::Lint Python source and configs'\'' 2025-07-02T07:57:24.6689832Z set +e 2025-07-02T07:57:24.6690043Z pre-commit run --all-files 2025-07-02T07:57:24.6690207Z 2025-07-02T07:57:24.6690291Z if [ $? -ne 0 ]; then 2025-07-02T07:57:24.6690529Z git --no-pager diff 2025-07-02T07:57:24.6690743Z exit 1 2025-07-02T07:57:24.6690936Z fi 2025-07-02T07:57:24.6691123Z echo '\''::endgroup::'\'' 2025-07-02T07:57:24.6691364Z ' 2025-07-02T07:57:24.6691728Z + chmod +x /home/ec2-user/actions-runner/_work/_temp/exec_script 2025-07-02T07:57:24.6697607Z + python3 /home/ec2-user/actions-runner/_work/rl/rl/test-infra/.github/scripts/run_with_env_secrets.py '' 2025-07-02T07:57:51.5239943Z Running command: 2025-07-02T07:57:51.5245848Z docker run -e PR_NUMBER -e RUNNER_ARTIFACT_DIR=/artifacts -e RUNNER_DOCS_DIR=/docs -e RUNNER_TEST_RESULTS_DIR=/test-results --env-file="/home/ec2-user/actions-runner/_work/_temp/github_env_16019399408" `# It is unknown why the container sees a different value for this.` -e GITHUB_STEP_SUMMARY -e SECRET_GITHUB_TOKEN --cap-add=SYS_PTRACE --detach --ipc=host --security-opt seccomp=unconfined --shm-size=2g --tty --ulimit stack=10485760:83886080 --ulimit core=0 -v "/home/ec2-user/actions-runner/_work/rl/rl/pytorch/rl:/pytorch/rl" -v "/home/ec2-user/actions-runner/_work/rl/rl/test-infra:/test-infra" -v "/home/ec2-user/actions-runner/_work/_temp/artifacts:/artifacts" -v "/home/ec2-user/actions-runner/_work/_temp/docs:/docs" -v "/home/ec2-user/actions-runner/_work/_temp/test-results:/test-results" -v "/home/ec2-user/actions-runner/_work/_temp/exec_script:/exec" -v "/home/ec2-user/actions-runner/_work/_temp/_runner_file_commands/step_summary_2582f973-95bd-462c-8495-f78edf32253e":"/home/ec2-user/actions-runner/_work/_temp/_runner_file_commands/step_summary_2582f973-95bd-462c-8495-f78edf32253e" -w /pytorch/rl "pytorch/almalinux-builder:cpu" 2025-07-02T07:57:51.5251781Z 2025-07-02T07:57:51.5252172Z 27173b82028ecfc0542355df7044af0c48b1d235051a34bec6402fda24b28ba4 2025-07-02T07:57:51.5252915Z Running command: docker exec -t 27173b82028ecfc0542355df7044af0c48b1d235051a34bec6402fda24b28ba4 /exec 2025-07-02T07:57:51.5253472Z + set -euo pipefail 2025-07-02T07:57:51.5253812Z + echo '::group::Setup environment' 2025-07-02T07:57:51.5254441Z ##[group]Setup environment 2025-07-02T07:57:51.5254683Z ++ which conda 2025-07-02T07:57:51.5254916Z + CONDA_PATH=/opt/conda/bin/conda 2025-07-02T07:57:51.5255285Z ++ /opt/conda/bin/conda shell.bash hook 2025-07-02T07:57:51.5255623Z + eval 'export CONDA_EXE='\''/opt/conda/bin/conda'\'' 2025-07-02T07:57:51.5256030Z export _CE_M='\'''\'' 2025-07-02T07:57:51.5256260Z export _CE_CONDA='\'''\'' 2025-07-02T07:57:51.5256579Z export CONDA_PYTHON_EXE='\''/opt/conda/bin/python'\'' 2025-07-02T07:57:51.5256913Z 2025-07-02T07:57:51.5257014Z # Copyright (C) 2012 Anaconda, Inc 2025-07-02T07:57:51.5257333Z # SPDX-License-Identifier: BSD-3-Clause 2025-07-02T07:57:51.5257695Z __conda_exe() ( 2025-07-02T07:57:51.5257927Z "$CONDA_EXE" $_CE_M $_CE_CONDA "$@" 2025-07-02T07:57:51.5258225Z ) 2025-07-02T07:57:51.5258379Z 2025-07-02T07:57:51.5258464Z __conda_hashr() { 2025-07-02T07:57:51.5258702Z if [ -n "${ZSH_VERSION:+x}" ]; then 2025-07-02T07:57:51.5258977Z \rehash 2025-07-02T07:57:51.5259272Z elif [ -n "${POSH_VERSION:+x}" ]; then 2025-07-02T07:57:51.5259553Z : # pass 2025-07-02T07:57:51.5259774Z else 2025-07-02T07:57:51.5260015Z \hash -r 2025-07-02T07:57:51.5260221Z fi 2025-07-02T07:57:51.5260396Z } 2025-07-02T07:57:51.5260505Z 2025-07-02T07:57:51.5260633Z __conda_activate() { 2025-07-02T07:57:51.5260979Z if [ -n "${CONDA_PS1_BACKUP:+x}" ]; then 2025-07-02T07:57:51.5261549Z # Handle transition from shell activated with conda <= 4.3 to a subsequent activation 2025-07-02T07:57:51.5262055Z # after conda updated to >= 4.4. See issue #6173. 2025-07-02T07:57:51.5262482Z PS1="$CONDA_PS1_BACKUP" 2025-07-02T07:57:51.5262743Z \unset CONDA_PS1_BACKUP 2025-07-02T07:57:51.5263060Z fi 2025-07-02T07:57:51.5263254Z \local ask_conda 2025-07-02T07:57:51.5263577Z ask_conda="$(PS1="${PS1:-}" __conda_exe shell.posix "$@")" || \return 2025-07-02T07:57:51.5264019Z \eval "$ask_conda" 2025-07-02T07:57:51.5264250Z __conda_hashr 2025-07-02T07:57:51.5264465Z } 2025-07-02T07:57:51.5264628Z 2025-07-02T07:57:51.5264719Z __conda_reactivate() { 2025-07-02T07:57:51.5264951Z \local ask_conda 2025-07-02T07:57:51.5265299Z ask_conda="$(PS1="${PS1:-}" __conda_exe shell.posix reactivate)" || \return 2025-07-02T07:57:51.5265736Z \eval "$ask_conda" 2025-07-02T07:57:51.5265948Z __conda_hashr 2025-07-02T07:57:51.5266221Z } 2025-07-02T07:57:51.5266326Z 2025-07-02T07:57:51.5266404Z conda() { 2025-07-02T07:57:51.5266763Z \local cmd="${1-__missing__}" 2025-07-02T07:57:51.5267118Z case "$cmd" in 2025-07-02T07:57:51.5267335Z activate|deactivate) 2025-07-02T07:57:51.5267611Z __conda_activate "$@" 2025-07-02T07:57:51.5267924Z ;; 2025-07-02T07:57:51.5268178Z install|update|upgrade|remove|uninstall) 2025-07-02T07:57:51.5268571Z __conda_exe "$@" || \return 2025-07-02T07:57:51.5268852Z __conda_reactivate 2025-07-02T07:57:51.5269107Z ;; 2025-07-02T07:57:51.5269363Z *) 2025-07-02T07:57:51.5269570Z __conda_exe "$@" 2025-07-02T07:57:51.5269804Z ;; 2025-07-02T07:57:51.5270064Z esac 2025-07-02T07:57:51.5270259Z } 2025-07-02T07:57:51.5270373Z 2025-07-02T07:57:51.5270474Z if [ -z "${CONDA_SHLVL+x}" ]; then 2025-07-02T07:57:51.5270766Z \export CONDA_SHLVL=0 2025-07-02T07:57:51.5271127Z # In dev-mode CONDA_EXE is python.exe and on Windows 2025-07-02T07:57:51.5271704Z # it is in a different relative location to condabin. 2025-07-02T07:57:51.5272088Z if [ -n "${_CE_CONDA:+x}" ] && [ -n "${WINDIR+x}" ]; then 2025-07-02T07:57:51.5272573Z PATH="$(\dirname "$CONDA_EXE")/condabin${PATH:+":${PATH}"}" 2025-07-02T07:57:51.5272922Z else 2025-07-02T07:57:51.5273304Z PATH="$(\dirname "$(\dirname "$CONDA_EXE")")/condabin${PATH:+":${PATH}"}" 2025-07-02T07:57:51.5273686Z fi 2025-07-02T07:57:51.5273882Z \export PATH 2025-07-02T07:57:51.5274012Z 2025-07-02T07:57:51.5274266Z # We'\''re not allowing PS1 to be unbound. It must at least be set. 2025-07-02T07:57:51.5274798Z # However, we'\''re not exporting it, which can cause problems when starting a second shell 2025-07-02T07:57:51.5275308Z # via a first shell (i.e. starting zsh from bash). 2025-07-02T07:57:51.5275705Z if [ -z "${PS1+x}" ]; then 2025-07-02T07:57:51.5275959Z PS1= 2025-07-02T07:57:51.5276146Z fi 2025-07-02T07:57:51.5276331Z fi 2025-07-02T07:57:51.5276435Z 2025-07-02T07:57:51.5276522Z conda activate base' 2025-07-02T07:57:51.5276780Z ++ export CONDA_EXE=/opt/conda/bin/conda 2025-07-02T07:57:51.5277081Z ++ CONDA_EXE=/opt/conda/bin/conda 2025-07-02T07:57:51.5277353Z ++ export _CE_M= 2025-07-02T07:57:51.5277563Z ++ _CE_M= 2025-07-02T07:57:51.5277817Z ++ export _CE_CONDA= 2025-07-02T07:57:51.5278041Z ++ _CE_CONDA= 2025-07-02T07:57:51.5278278Z ++ export CONDA_PYTHON_EXE=/opt/conda/bin/python 2025-07-02T07:57:51.5278628Z ++ CONDA_PYTHON_EXE=/opt/conda/bin/python 2025-07-02T07:57:51.5278911Z ++ '[' -z x ']' 2025-07-02T07:57:51.5279130Z ++ conda activate base 2025-07-02T07:57:51.5279355Z ++ local cmd=activate 2025-07-02T07:57:51.5279581Z ++ case "$cmd" in 2025-07-02T07:57:51.5279804Z ++ __conda_activate activate base 2025-07-02T07:57:51.5280075Z ++ '[' -n '' ']' 2025-07-02T07:57:51.5280292Z ++ local ask_conda 2025-07-02T07:57:51.5280497Z +++ PS1='(base) ' 2025-07-02T07:57:51.5280739Z +++ __conda_exe shell.posix activate base 2025-07-02T07:57:51.5281079Z +++ /opt/conda/bin/conda shell.posix activate base 2025-07-02T07:57:51.5281424Z ++ ask_conda='PS1='\''(base) '\'' 2025-07-02T07:57:51.5282277Z export PATH='\''/opt/conda/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\'' 2025-07-02T07:57:51.5283081Z export CONDA_SHLVL='\''1'\'' 2025-07-02T07:57:51.5283365Z export CONDA_PROMPT_MODIFIER='\''(base) '\'' 2025-07-02T07:57:51.5283807Z . "/opt/conda/etc/conda/activate.d/anaconda-anon-usage_activate.sh"' 2025-07-02T07:57:51.5284227Z ++ eval 'PS1='\''(base) '\'' 2025-07-02T07:57:51.5284973Z export PATH='\''/opt/conda/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\'' 2025-07-02T07:57:51.5285772Z export CONDA_SHLVL='\''1'\'' 2025-07-02T07:57:51.5286055Z export CONDA_PROMPT_MODIFIER='\''(base) '\'' 2025-07-02T07:57:51.5286493Z . "/opt/conda/etc/conda/activate.d/anaconda-anon-usage_activate.sh"' 2025-07-02T07:57:51.5286895Z +++ PS1='(base) ' 2025-07-02T07:57:51.5287712Z +++ export PATH=/opt/conda/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2025-07-02T07:57:51.5289039Z +++ PATH=/opt/conda/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2025-07-02T07:57:51.5289778Z +++ export CONDA_SHLVL=1 2025-07-02T07:57:51.5290026Z +++ CONDA_SHLVL=1 2025-07-02T07:57:51.5290257Z +++ export 'CONDA_PROMPT_MODIFIER=(base) ' 2025-07-02T07:57:51.5290577Z +++ CONDA_PROMPT_MODIFIER='(base) ' 2025-07-02T07:57:51.5290968Z +++ . /opt/conda/etc/conda/activate.d/anaconda-anon-usage_activate.sh 2025-07-02T07:57:51.5291394Z ++++ pbin=/opt/conda/python.exe 2025-07-02T07:57:51.5291679Z ++++ '[' -f /opt/conda/python.exe ']' 2025-07-02T07:57:51.5292033Z ++++ pbin=/opt/conda/bin/python 2025-07-02T07:57:51.5292438Z ++++ /opt/conda/bin/python -m anaconda_anon_usage.install --enable --quiet 2025-07-02T07:57:51.5292929Z ++ __conda_hashr 2025-07-02T07:57:51.5293149Z ++ '[' -n '' ']' 2025-07-02T07:57:51.5293349Z ++ '[' -n '' ']' 2025-07-02T07:57:51.5293562Z ++ hash -r 2025-07-02T07:57:51.5293813Z + conda create --name ci --quiet --yes python=3.8 pip 2025-07-02T07:57:51.5294157Z + local cmd=create 2025-07-02T07:57:51.5294363Z + case "$cmd" in 2025-07-02T07:57:51.5294650Z + __conda_exe create --name ci --quiet --yes python=3.8 pip 2025-07-02T07:57:51.5295130Z + /opt/conda/bin/conda create --name ci --quiet --yes python=3.8 pip 2025-07-02T07:57:51.5295694Z Collecting package metadata (current_repodata.json): ...working... done 2025-07-02T07:57:51.5296487Z Solving environment: ...working... unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source. 2025-07-02T07:57:51.5297367Z Collecting package metadata (repodata.json): ...working... done 2025-07-02T07:57:51.5297770Z Solving environment: ...working... done 2025-07-02T07:57:51.5297995Z 2025-07-02T07:57:51.5298082Z ## Package Plan ## 2025-07-02T07:57:51.5298215Z 2025-07-02T07:57:51.5298349Z environment location: /opt/conda/envs/ci 2025-07-02T07:57:51.5298566Z 2025-07-02T07:57:51.5298658Z added / updated specs: 2025-07-02T07:57:51.5298903Z - pip 2025-07-02T07:57:51.5299093Z - python=3.8 2025-07-02T07:57:51.5299234Z 2025-07-02T07:57:51.5299238Z 2025-07-02T07:57:51.5299354Z The following packages will be downloaded: 2025-07-02T07:57:51.5299571Z 2025-07-02T07:57:51.5299720Z package | build 2025-07-02T07:57:51.5300060Z ---------------------------|----------------- 2025-07-02T07:57:51.5300440Z ld_impl_linux-64-2.40 | h12ee557_0 710 KB 2025-07-02T07:57:51.5300839Z libffi-3.4.4 | h6a678d5_1 141 KB 2025-07-02T07:57:51.5301237Z libxcb-1.17.0 | h9b100fa_0 430 KB 2025-07-02T07:57:51.5301609Z pip-24.2 | py38h06a4308_0 2.2 MB 2025-07-02T07:57:51.5302127Z pthread-stubs-0.3 | h0ce48e5_1 5 KB 2025-07-02T07:57:51.5302531Z python-3.8.20 | he870216_0 23.8 MB 2025-07-02T07:57:51.5302939Z setuptools-75.1.0 | py38h06a4308_0 1.7 MB 2025-07-02T07:57:51.5303352Z sqlite-3.45.3 | h5eee18b_0 1.2 MB 2025-07-02T07:57:51.5303711Z tk-8.6.14 | h993c535_1 3.4 MB 2025-07-02T07:57:51.5304081Z wheel-0.44.0 | py38h06a4308_0 108 KB 2025-07-02T07:57:51.5304472Z xorg-libx11-1.8.12 | h9b100fa_1 895 KB 2025-07-02T07:57:51.5304892Z xorg-libxau-1.0.12 | h9b100fa_0 13 KB 2025-07-02T07:57:51.5305305Z xorg-libxdmcp-1.1.5 | h9b100fa_0 19 KB 2025-07-02T07:57:51.5305744Z xorg-xorgproto-2024.1 | h5eee18b_1 580 KB 2025-07-02T07:57:51.5306150Z xz-5.6.4 | h5eee18b_1 567 KB 2025-07-02T07:57:51.5306679Z zlib-1.2.13 | h5eee18b_1 111 KB 2025-07-02T07:57:51.5307317Z ------------------------------------------------------------ 2025-07-02T07:57:51.5307665Z Total: 35.8 MB 2025-07-02T07:57:51.5307896Z 2025-07-02T07:57:51.5308025Z The following NEW packages will be INSTALLED: 2025-07-02T07:57:51.5308255Z 2025-07-02T07:57:51.5308450Z _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main 2025-07-02T07:57:51.5308940Z _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu 2025-07-02T07:57:51.5309480Z ca-certificates pkgs/main/linux-64::ca-certificates-2025.2.25-h06a4308_0 2025-07-02T07:58:07.5631089Z ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.40-h12ee557_0 2025-07-02T07:58:07.5631708Z libffi pkgs/main/linux-64::libffi-3.4.4-h6a678d5_1 2025-07-02T07:58:07.5632234Z libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 2025-07-02T07:58:07.5633376Z libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 2025-07-02T07:58:07.5633939Z libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 2025-07-02T07:58:07.5634444Z libxcb pkgs/main/linux-64::libxcb-1.17.0-h9b100fa_0 2025-07-02T07:58:07.5634896Z ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0 2025-07-02T07:58:07.5635400Z openssl pkgs/main/linux-64::openssl-3.0.16-h5eee18b_0 2025-07-02T07:58:07.5635818Z pip pkgs/main/linux-64::pip-24.2-py38h06a4308_0 2025-07-02T07:58:07.5636355Z pthread-stubs pkgs/main/linux-64::pthread-stubs-0.3-h0ce48e5_1 2025-07-02T07:58:07.5636882Z python pkgs/main/linux-64::python-3.8.20-he870216_0 2025-07-02T07:58:07.5637327Z readline pkgs/main/linux-64::readline-8.2-h5eee18b_0 2025-07-02T07:58:07.5637881Z setuptools pkgs/main/linux-64::setuptools-75.1.0-py38h06a4308_0 2025-07-02T07:58:07.5638409Z sqlite pkgs/main/linux-64::sqlite-3.45.3-h5eee18b_0 2025-07-02T07:58:07.5638824Z tk pkgs/main/linux-64::tk-8.6.14-h993c535_1 2025-07-02T07:58:07.5639281Z wheel pkgs/main/linux-64::wheel-0.44.0-py38h06a4308_0 2025-07-02T07:58:07.5639753Z xorg-libx11 pkgs/main/linux-64::xorg-libx11-1.8.12-h9b100fa_1 2025-07-02T07:58:07.5640327Z xorg-libxau pkgs/main/linux-64::xorg-libxau-1.0.12-h9b100fa_0 2025-07-02T07:58:07.5641091Z xorg-libxdmcp pkgs/main/linux-64::xorg-libxdmcp-1.1.5-h9b100fa_0 2025-07-02T07:58:07.5643699Z xorg-xorgproto pkgs/main/linux-64::xorg-xorgproto-2024.1-h5eee18b_1 2025-07-02T07:58:07.5644247Z xz pkgs/main/linux-64::xz-5.6.4-h5eee18b_1 2025-07-02T07:58:07.5644699Z zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_1 2025-07-02T07:58:07.5644957Z 2025-07-02T07:58:07.5644962Z 2025-07-02T07:58:07.5645092Z Preparing transaction: ...working... done 2025-07-02T07:58:07.5645485Z Verifying transaction: ...working... done 2025-07-02T07:58:07.5645831Z Executing transaction: ...working... done 2025-07-02T07:58:07.5646174Z + conda activate ci 2025-07-02T07:58:07.5646423Z + local cmd=activate 2025-07-02T07:58:07.5646640Z + case "$cmd" in 2025-07-02T07:58:07.5646887Z + __conda_activate activate ci 2025-07-02T07:58:07.5647204Z + '[' -n '' ']' 2025-07-02T07:58:07.5647420Z + local ask_conda 2025-07-02T07:58:07.5647626Z ++ PS1='(base) ' 2025-07-02T07:58:07.5647933Z ++ __conda_exe shell.posix activate ci 2025-07-02T07:58:07.5648303Z ++ /opt/conda/bin/conda shell.posix activate ci 2025-07-02T07:58:07.5648683Z + ask_conda='PS1='\''(ci) '\'' 2025-07-02T07:58:07.5649570Z export PATH='\''/opt/conda/envs/ci/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\'' 2025-07-02T07:58:07.5650512Z export CONDA_PREFIX='\''/opt/conda/envs/ci'\'' 2025-07-02T07:58:07.5650884Z export CONDA_SHLVL='\''2'\'' 2025-07-02T07:58:07.5651171Z export CONDA_DEFAULT_ENV='\''ci'\'' 2025-07-02T07:58:07.5651474Z export CONDA_PROMPT_MODIFIER='\''(ci) '\'' 2025-07-02T07:58:07.5652101Z export CONDA_PREFIX_1='\''/opt/conda'\'' 2025-07-02T07:58:07.5652493Z export CONDA_EXE='\''/opt/conda/bin/conda'\'' 2025-07-02T07:58:07.5652815Z export _CE_M='\'''\'' 2025-07-02T07:58:07.5653047Z export _CE_CONDA='\'''\'' 2025-07-02T07:58:07.5653429Z export CONDA_PYTHON_EXE='\''/opt/conda/bin/python'\''' 2025-07-02T07:58:07.5653785Z + eval 'PS1='\''(ci) '\'' 2025-07-02T07:58:07.5654632Z export PATH='\''/opt/conda/envs/ci/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\'' 2025-07-02T07:58:07.5655637Z export CONDA_PREFIX='\''/opt/conda/envs/ci'\'' 2025-07-02T07:58:07.5655958Z export CONDA_SHLVL='\''2'\'' 2025-07-02T07:58:07.5656235Z export CONDA_DEFAULT_ENV='\''ci'\'' 2025-07-02T07:58:07.5656606Z export CONDA_PROMPT_MODIFIER='\''(ci) '\'' 2025-07-02T07:58:07.5656933Z export CONDA_PREFIX_1='\''/opt/conda'\'' 2025-07-02T07:58:07.5657435Z export CONDA_EXE='\''/opt/conda/bin/conda'\'' 2025-07-02T07:58:07.5657744Z export _CE_M='\'''\'' 2025-07-02T07:58:07.5658044Z export _CE_CONDA='\'''\'' 2025-07-02T07:58:07.5658343Z export CONDA_PYTHON_EXE='\''/opt/conda/bin/python'\''' 2025-07-02T07:58:07.5658743Z ++ PS1='(ci) ' 2025-07-02T07:58:07.5659527Z ++ export PATH=/opt/conda/envs/ci/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2025-07-02T07:58:07.5660890Z ++ PATH=/opt/conda/envs/ci/bin:/opt/conda/condabin:/opt/conda/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2025-07-02T07:58:07.5661800Z ++ export CONDA_PREFIX=/opt/conda/envs/ci 2025-07-02T07:58:07.5662136Z ++ CONDA_PREFIX=/opt/conda/envs/ci 2025-07-02T07:58:07.5662421Z ++ export CONDA_SHLVL=2 2025-07-02T07:58:07.5662702Z ++ CONDA_SHLVL=2 2025-07-02T07:58:07.5662935Z ++ export CONDA_DEFAULT_ENV=ci 2025-07-02T07:58:07.5663192Z ++ CONDA_DEFAULT_ENV=ci 2025-07-02T07:58:07.5663517Z ++ export 'CONDA_PROMPT_MODIFIER=(ci) ' 2025-07-02T07:58:07.5663833Z ++ CONDA_PROMPT_MODIFIER='(ci) ' 2025-07-02T07:58:07.5664172Z ++ export CONDA_PREFIX_1=/opt/conda 2025-07-02T07:58:07.5664536Z ++ CONDA_PREFIX_1=/opt/conda 2025-07-02T07:58:07.5664816Z ++ export CONDA_EXE=/opt/conda/bin/conda 2025-07-02T07:58:07.5665203Z ++ CONDA_EXE=/opt/conda/bin/conda 2025-07-02T07:58:07.5665466Z ++ export _CE_M= 2025-07-02T07:58:07.5665699Z ++ _CE_M= 2025-07-02T07:58:07.5665928Z ++ export _CE_CONDA= 2025-07-02T07:58:07.5666153Z ++ _CE_CONDA= 2025-07-02T07:58:07.5666392Z ++ export CONDA_PYTHON_EXE=/opt/conda/bin/python 2025-07-02T07:58:07.5666810Z ++ CONDA_PYTHON_EXE=/opt/conda/bin/python 2025-07-02T07:58:07.5667095Z + __conda_hashr 2025-07-02T07:58:07.5667383Z + '[' -n '' ']' 2025-07-02T07:58:07.5667594Z + '[' -n '' ']' 2025-07-02T07:58:07.5667790Z + hash -r 2025-07-02T07:58:07.5668012Z + echo ::endgroup:: 2025-07-02T07:58:07.5668553Z ##[endgroup] 2025-07-02T07:58:07.5668780Z + echo '::group::Install lint tools' 2025-07-02T07:58:07.5669370Z ##[group]Install lint tools 2025-07-02T07:58:07.5669794Z + pip install --progress-bar=off pre-commit autoflake 2025-07-02T07:58:07.5670144Z Collecting pre-commit 2025-07-02T07:58:07.5670525Z Downloading pre_commit-3.5.0-py2.py3-none-any.whl.metadata (1.3 kB) 2025-07-02T07:58:07.5670941Z Collecting autoflake 2025-07-02T07:58:07.5671307Z Downloading autoflake-2.3.1-py3-none-any.whl.metadata (7.6 kB) 2025-07-02T07:58:07.5671726Z Collecting cfgv>=2.0.0 (from pre-commit) 2025-07-02T07:58:07.5672212Z Downloading cfgv-3.4.0-py2.py3-none-any.whl.metadata (8.5 kB) 2025-07-02T07:58:07.5672643Z Collecting identify>=1.0.0 (from pre-commit) 2025-07-02T07:58:07.5673074Z Downloading identify-2.6.1-py2.py3-none-any.whl.metadata (4.4 kB) 2025-07-02T07:58:07.5673530Z Collecting nodeenv>=0.11.1 (from pre-commit) 2025-07-02T07:58:07.5673950Z Downloading nodeenv-1.9.1-py2.py3-none-any.whl.metadata (21 kB) 2025-07-02T07:58:07.5674383Z Collecting pyyaml>=5.1 (from pre-commit) 2025-07-02T07:58:07.5675032Z Downloading PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) 2025-07-02T07:58:07.5675640Z Collecting virtualenv>=20.10.0 (from pre-commit) 2025-07-02T07:58:07.5676138Z Downloading virtualenv-20.31.2-py3-none-any.whl.metadata (4.5 kB) 2025-07-02T07:58:07.5676577Z Collecting pyflakes>=3.0.0 (from autoflake) 2025-07-02T07:58:07.5677020Z Downloading pyflakes-3.2.0-py2.py3-none-any.whl.metadata (3.5 kB) 2025-07-02T07:58:07.5677443Z Collecting tomli>=2.0.1 (from autoflake) 2025-07-02T07:58:07.5677835Z Downloading tomli-2.2.1-py3-none-any.whl.metadata (10 kB) 2025-07-02T07:58:07.5678334Z Collecting distlib<1,>=0.3.7 (from virtualenv>=20.10.0->pre-commit) 2025-07-02T07:58:07.5678850Z Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB) 2025-07-02T07:58:07.5679360Z Collecting filelock<4,>=3.12.2 (from virtualenv>=20.10.0->pre-commit) 2025-07-02T07:58:07.5679874Z Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB) 2025-07-02T07:58:07.5680477Z Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.10.0->pre-commit) 2025-07-02T07:58:07.5681016Z Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB) 2025-07-02T07:58:07.5681522Z Downloading pre_commit-3.5.0-py2.py3-none-any.whl (203 kB) 2025-07-02T07:58:07.5681953Z Downloading autoflake-2.3.1-py3-none-any.whl (32 kB) 2025-07-02T07:58:07.5682374Z Downloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB) 2025-07-02T07:58:07.5682851Z Downloading identify-2.6.1-py2.py3-none-any.whl (98 kB) 2025-07-02T07:58:07.5683284Z Downloading nodeenv-1.9.1-py2.py3-none-any.whl (22 kB) 2025-07-02T07:58:07.5683718Z Downloading pyflakes-3.2.0-py2.py3-none-any.whl (62 kB) 2025-07-02T07:58:07.5684270Z Downloading PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (746 kB) 2025-07-02T07:58:07.5684818Z Downloading tomli-2.2.1-py3-none-any.whl (14 kB) 2025-07-02T07:58:07.5685224Z Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB) 2025-07-02T07:58:07.5685666Z Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB) 2025-07-02T07:58:07.5686080Z Downloading filelock-3.16.1-py3-none-any.whl (16 kB) 2025-07-02T07:58:07.5686511Z Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB) 2025-07-02T07:58:07.5687308Z Installing collected packages: distlib, tomli, pyyaml, pyflakes, platformdirs, nodeenv, identify, filelock, cfgv, virtualenv, autoflake, pre-commit 2025-07-02T07:58:07.5688625Z Successfully installed autoflake-2.3.1 cfgv-3.4.0 distlib-0.3.9 filelock-3.16.1 identify-2.6.1 nodeenv-1.9.1 platformdirs-4.3.6 pre-commit-3.5.0 pyflakes-3.2.0 pyyaml-6.0.2 tomli-2.2.1 virtualenv-20.31.2 2025-07-02T07:58:07.5691279Z WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. 2025-07-02T07:58:07.5693345Z + echo ::endgroup:: 2025-07-02T07:58:07.5693792Z ##[endgroup] 2025-07-02T07:58:07.5694035Z + echo '::group::Lint Python source and configs' 2025-07-02T07:58:07.5694545Z ##[group]Lint Python source and configs 2025-07-02T07:58:07.5694827Z + set +e 2025-07-02T07:58:07.5695052Z + pre-commit run --all-files 2025-07-02T07:58:07.5695600Z [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 2025-07-02T07:58:07.5696358Z [INFO] Initializing environment for https://github.com/omnilib/ufmt. 2025-07-02T07:58:07.5697187Z [INFO] Initializing environment for https://github.com/omnilib/ufmt:black == 22.3.0,usort == 1.0.3,libcst == 0.4.7. 2025-07-02T07:58:07.5697959Z [INFO] Initializing environment for https://github.com/pycqa/flake8. 2025-07-02T07:58:07.5699004Z [INFO] Initializing environment for https://github.com/pycqa/flake8:flake8-bugbear==22.10.27,flake8-comprehensions==3.10.1,torchfix==0.0.2,flake8-print==5.0.0. 2025-07-02T07:58:07.5700003Z [INFO] Initializing environment for https://github.com/PyCQA/pydocstyle. 2025-07-02T07:58:07.5700757Z [INFO] Initializing environment for https://github.com/asottile/pyupgrade. 2025-07-02T07:58:07.5701459Z [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 2025-07-02T07:58:07.5702039Z [INFO] Once installed this environment will be reused. 2025-07-02T07:58:07.5702460Z [INFO] This may take a few minutes... 2025-07-02T07:58:07.5702934Z [INFO] Installing environment for https://github.com/omnilib/ufmt. 2025-07-02T07:58:07.5703462Z [INFO] Once installed this environment will be reused. 2025-07-02T07:58:07.5703877Z [INFO] This may take a few minutes... 2025-07-02T07:58:07.5704347Z [INFO] Installing environment for https://github.com/pycqa/flake8. 2025-07-02T07:58:07.5704870Z [INFO] Once installed this environment will be reused. 2025-07-02T08:00:42.7923278Z Traceback (most recent call last): 2025-07-02T08:00:42.7924027Z File "/home/ec2-user/actions-runner/_work/rl/rl/test-infra/.github/scripts/run_with_env_secrets.py", line 102, in 2025-07-02T08:00:42.7925381Z [INFO] This may take a few minutes... 2025-07-02T08:00:42.7925966Z [INFO] Installing environment for https://github.com/PyCQA/pydocstyle. 2025-07-02T08:00:42.7926597Z [INFO] Once installed this environment will be reused. 2025-07-02T08:00:42.7927013Z [INFO] This may take a few minutes... 2025-07-02T08:00:42.7927513Z [INFO] Installing environment for https://github.com/asottile/pyupgrade. 2025-07-02T08:00:42.7928066Z [INFO] Once installed this environment will be reused. 2025-07-02T08:00:42.7928483Z [INFO] This may take a few minutes... 2025-07-02T08:00:42.7928991Z Check docstring is first.................................................Passed 2025-07-02T08:00:42.7929589Z Check Toml...............................................................Passed 2025-07-02T08:00:42.7930135Z Check Yaml...............................................................Passed 2025-07-02T08:00:42.7930725Z Mixed line ending........................................................Passed 2025-07-02T08:00:42.7931299Z Fix End of Files.........................................................Passed 2025-07-02T08:00:42.7933402Z Format files with µfmt...................................................Failed 2025-07-02T08:00:42.7933908Z - hook id: ufmt 2025-07-02T08:00:42.7934207Z - files were modified by this hook 2025-07-02T08:00:42.7934421Z 2025-07-02T08:00:42.7934592Z Formatted /pytorch/rl/torchrl/collectors/llm/base.py 2025-07-02T08:00:42.7935053Z Formatted /pytorch/rl/torchrl/envs/llm/transforms/dataloading.py 2025-07-02T08:00:42.7935375Z 2025-07-02T08:00:42.7935628Z flake8...................................................................Failed 2025-07-02T08:00:42.7936052Z - hook id: flake8 2025-07-02T08:00:42.7936314Z - exit code: 1 2025-07-02T08:00:42.7936456Z 2025-07-02T08:00:42.7936746Z torchrl/modules/llm/policies/common.py:542:37: E741 ambiguous variable name 'l' 2025-07-02T08:00:42.7937133Z 2025-07-02T08:00:42.7937249Z main() 2025-07-02T08:00:42.7937775Z File "/home/ec2-user/actions-runner/_work/rl/rl/test-infra/.github/scripts/run_with_env_secrets.py", line 98, in main 2025-07-02T08:00:42.7938463Z run_cmd_or_die(f"docker exec -t {container_name} /exec") 2025-07-02T08:00:42.7939164Z File "/home/ec2-user/actions-runner/_work/rl/rl/test-infra/.github/scripts/run_with_env_secrets.py", line 39, in run_cmd_or_die 2025-07-02T08:00:42.7939941Z raise RuntimeError(f"Command {cmd} failed with exit code {exit_code}") 2025-07-02T08:00:42.7940750Z RuntimeError: Command docker exec -t 27173b82028ecfc0542355df7044af0c48b1d235051a34bec6402fda24b28ba4 /exec failed with exit code 1 2025-07-02T08:00:42.7941892Z pydocstyle...............................................................Failed 2025-07-02T08:00:42.7942358Z - hook id: pydocstyle 2025-07-02T08:00:42.7942646Z - exit code: 1 2025-07-02T08:00:42.7942799Z 2025-07-02T08:00:42.7943260Z torchrl/objectives/llm/grpo.py:141 in public method `__init__`: 2025-07-02T08:00:42.7944514Z D417: Missing argument descriptions in the docstring (argument(s) actor_network, clip_epsilon, clip_value, device, entropy_bonus, entropy_coeff, gamma, kl_to_inference_coeff, kl_to_ref_coeff, reduction, samples_mc_entropy are missing descriptions in '__init__' docstring) 2025-07-02T08:00:42.7945600Z 2025-07-02T08:00:42.7945885Z pyupgrade................................................................Passed 2025-07-02T08:00:42.7946478Z autoflake................................................................Passed 2025-07-02T08:00:42.7946862Z + '[' 1 -ne 0 ']' 2025-07-02T08:00:42.7947089Z + git --no-pager diff 2025-07-02T08:00:42.7947578Z diff --git a/torchrl/collectors/llm/base.py b/torchrl/collectors/llm/base.py 2025-07-02T08:00:42.7948111Z index d197fd6..10e180d 100644 2025-07-02T08:00:42.7948472Z --- a/torchrl/collectors/llm/base.py 2025-07-02T08:00:42.7948951Z +++ b/torchrl/collectors/llm/base.py 2025-07-02T08:00:42.7949444Z @@ -310,7 +310,9 @@ class LLMCollector(SyncDataCollector): 2025-07-02T08:00:42.7949837Z ) 2025-07-02T08:00:42.7950159Z env_input = self.policy(policy_input) 2025-07-02T08:00:42.7950679Z env_output, env_next_output = self.env.step_and_maybe_reset(env_input) 2025-07-02T08:00:42.7951542Z - assert env_output["next", "history", "prompt"].shape[-1] <= 3, f"env_output: {env_output['next', 'history', 'prompt'][0].content}" 2025-07-02T08:00:42.7952196Z + assert ( 2025-07-02T08:00:42.7952656Z + env_output["next", "history", "prompt"].shape[-1] <= 3 2025-07-02T08:00:42.7953272Z + ), f"env_output: {env_output['next', 'history', 'prompt'][0].content}" 2025-07-02T08:00:42.7953700Z  2025-07-02T08:00:42.7954043Z # carry over collector data without messing up devices 2025-07-02T08:00:42.7954558Z collector_data = env_output.get("collector").copy() 2025-07-02T08:00:42.7955325Z diff --git a/torchrl/envs/llm/transforms/dataloading.py b/torchrl/envs/llm/transforms/dataloading.py 2025-07-02T08:00:42.7955990Z index 9dfe4cb..770948f 100644 2025-07-02T08:00:42.7956386Z --- a/torchrl/envs/llm/transforms/dataloading.py 2025-07-02T08:00:42.7956848Z +++ b/torchrl/envs/llm/transforms/dataloading.py 2025-07-02T08:00:42.7957363Z @@ -496,10 +496,11 @@ class DataLoadingPrimer(TensorDictPrimer): 2025-07-02T08:00:42.7957813Z if not reset.any(): 2025-07-02T08:00:42.7958280Z raise RuntimeError("reset must have at least one True value.") 2025-07-02T08:00:42.7958744Z if reset.ndim > 0: 2025-07-02T08:00:42.7959269Z - loaded = [self._load_from_dataloader().to(device) for _ in range(reset.sum())] 2025-07-02T08:00:42.7959804Z + loaded = [ 2025-07-02T08:00:42.7960348Z + self._load_from_dataloader().to(device) for _ in range(reset.sum()) 2025-07-02T08:00:42.7960821Z + ] 2025-07-02T08:00:42.7961178Z return self.stack_method(loaded) 2025-07-02T08:00:42.7961494Z  2025-07-02T08:00:42.7961703Z - 2025-07-02T08:00:42.7961947Z if len(self._queue) > 0: 2025-07-02T08:00:42.7962300Z result = self._queue.popleft() 2025-07-02T08:00:42.7962662Z if result.device != device: 2025-07-02T08:00:42.7962953Z + exit 1 2025-07-02T08:00:42.7993136Z ##[error]Process completed with exit code 1. 2025-07-02T08:00:42.8052771Z ##[group]Run pmeier/pytest-results-action@a2c1430e2bddadbad9f49a6f9b879f062c6b19b1 2025-07-02T08:00:42.8053266Z with: 2025-07-02T08:00:42.8053548Z path: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T08:00:42.8053931Z fail-on-empty: false 2025-07-02T08:00:42.8054162Z env: 2025-07-02T08:00:42.8054401Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T08:00:42.8054715Z REPOSITORY: pytorch/rl 2025-07-02T08:00:42.8054970Z PR_NUMBER: 3030 2025-07-02T08:00:42.8056710Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T08:00:42.8058657Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T08:00:42.8059219Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T08:00:42.8059754Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T08:00:42.8060265Z ##[endgroup] 2025-07-02T08:00:42.8636886Z ##[group]Run # Only do these steps if we actually want to upload an artifact 2025-07-02T08:00:42.8637474Z # Only do these steps if we actually want to upload an artifact 2025-07-02T08:00:42.8637928Z if [[ -n "${UPLOAD_ARTIFACT_NAME}" ]]; then 2025-07-02T08:00:42.8638448Z  # If the default execution path is followed then we should get a wheel in the dist/ folder 2025-07-02T08:00:42.8639056Z  # attempt to just grab whatever is in there and scoop it all up 2025-07-02T08:00:42.8639524Z  if find "dist/" -name "*.whl" >/dev/null 2>/dev/null; then 2025-07-02T08:00:42.8639941Z  mv -v dist/*.whl "${RUNNER_ARTIFACT_DIR}/" 2025-07-02T08:00:42.8640267Z  fi 2025-07-02T08:00:42.8640524Z  if [[ -d "artifacts-to-be-uploaded" ]]; then 2025-07-02T08:00:42.8641246Z  mv -v artifacts-to-be-uploaded/* "${RUNNER_ARTIFACT_DIR}/" 2025-07-02T08:00:42.8641641Z  fi 2025-07-02T08:00:42.8641891Z fi 2025-07-02T08:00:42.8642079Z  2025-07-02T08:00:42.8642284Z upload_docs=0 2025-07-02T08:00:42.8642661Z # Check if there are files in the documentation folder to upload, note that 2025-07-02T08:00:42.8643115Z # empty folders do not count 2025-07-02T08:00:42.8643549Z if find "${RUNNER_DOCS_DIR}" -mindepth 1 -maxdepth 1 -type f | read -r; then 2025-07-02T08:00:42.8644137Z  # TODO: Add a check here to test if on ec2 because if we're not on ec2 then this 2025-07-02T08:00:42.8644618Z  # upload will probably not work correctly 2025-07-02T08:00:42.8644940Z  upload_docs=1 2025-07-02T08:00:42.8645182Z fi 2025-07-02T08:00:42.8645473Z echo "upload-docs=${upload_docs}" >> "${GITHUB_OUTPUT}" 2025-07-02T08:00:42.8655017Z shell: /usr/bin/bash -e {0} 2025-07-02T08:00:42.8655280Z env: 2025-07-02T08:00:42.8655530Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T08:00:42.8655870Z REPOSITORY: pytorch/rl 2025-07-02T08:00:42.8656122Z PR_NUMBER: 3030 2025-07-02T08:00:42.8657846Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T08:00:42.8659770Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T08:00:42.8660332Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T08:00:42.8660869Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T08:00:42.8661245Z UPLOAD_ARTIFACT_NAME: 2025-07-02T08:00:42.8661502Z ##[endgroup] 2025-07-02T08:00:42.8754510Z Prepare all required actions 2025-07-02T08:00:42.8828186Z ##[group]Run ./test-infra/.github/actions/teardown-linux 2025-07-02T08:00:42.8828523Z with: 2025-07-02T08:00:42.8828715Z env: 2025-07-02T08:00:42.8828938Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T08:00:42.8829271Z REPOSITORY: pytorch/rl 2025-07-02T08:00:42.8829506Z PR_NUMBER: 3030 2025-07-02T08:00:42.8831247Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T08:00:42.8833167Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T08:00:42.8833910Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T08:00:42.8834441Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T08:00:42.8834818Z ##[endgroup] 2025-07-02T08:00:42.8863392Z ##[group]Run set -eou pipefail 2025-07-02T08:00:42.8863705Z set -eou pipefail 2025-07-02T08:00:42.8863947Z  2025-07-02T08:00:42.8864303Z echo "Holding runner for 2 hours until all ssh sessions have logged out" 2025-07-02T08:00:42.8864759Z for _ in $(seq 1440); do 2025-07-02T08:00:42.8865066Z  # Break if no ssh session exists anymore 2025-07-02T08:00:42.8865400Z  if [ "$(who)" = "" ]; then 2025-07-02T08:00:42.8865677Z  break 2025-07-02T08:00:42.8865903Z  fi 2025-07-02T08:00:42.8866106Z  echo "." 2025-07-02T08:00:42.8866334Z  sleep 5 2025-07-02T08:00:42.8866548Z done 2025-07-02T08:00:42.8873021Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T08:00:42.8873372Z env: 2025-07-02T08:00:42.8873614Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T08:00:42.8873930Z REPOSITORY: pytorch/rl 2025-07-02T08:00:42.8874179Z PR_NUMBER: 3030 2025-07-02T08:00:42.8875896Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T08:00:42.8877817Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T08:00:42.8878377Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T08:00:42.8878922Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T08:00:42.8879286Z ##[endgroup] 2025-07-02T08:00:42.8904497Z Holding runner for 2 hours until all ssh sessions have logged out 2025-07-02T08:00:42.8996488Z ##[group]Run # ignore expansion of "docker ps -q" since it could be empty 2025-07-02T08:00:42.8997041Z # ignore expansion of "docker ps -q" since it could be empty 2025-07-02T08:00:42.8997480Z # shellcheck disable=SC2046 2025-07-02T08:00:42.8997805Z docker stop $(docker ps -q) || true 2025-07-02T08:00:42.8998214Z # Prune all of the docker images 2025-07-02T08:00:42.8998536Z docker system prune -af 2025-07-02T08:00:42.9004249Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T08:00:42.9004616Z env: 2025-07-02T08:00:42.9004846Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T08:00:42.9005194Z REPOSITORY: pytorch/rl 2025-07-02T08:00:42.9005439Z PR_NUMBER: 3030 2025-07-02T08:00:42.9007371Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T08:00:42.9009311Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T08:00:42.9009893Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T08:00:42.9010420Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T08:00:42.9010807Z ##[endgroup] 2025-07-02T08:00:43.4883751Z 27173b82028e 2025-07-02T08:00:44.2026762Z Deleted Containers: 2025-07-02T08:00:44.2027204Z 27173b82028ecfc0542355df7044af0c48b1d235051a34bec6402fda24b28ba4 2025-07-02T08:00:44.2027814Z 2025-07-02T08:00:46.2674952Z Deleted Images: 2025-07-02T08:00:46.2675401Z untagged: pytorch/almalinux-builder:cpu 2025-07-02T08:00:46.2676389Z untagged: pytorch/almalinux-builder@sha256:363e2387632a14190ba972bd9ea516e4c88e80e7089b14e7b658b63e9dbb3dc7 2025-07-02T08:00:46.2677147Z deleted: sha256:97b379664dfba87c41d4589f8e1a474f4aea9e0a3793ab6d2890766609301d0e 2025-07-02T08:00:46.2677784Z deleted: sha256:78a7a7e68b93e4061e2d22da4af4864d928f8698dbc371ae3140bea37bf4e4d7 2025-07-02T08:00:46.2678402Z deleted: sha256:30edf0b26b2184091469b77e5895ba8071172b961ea9dd8dafc577f4af87b58a 2025-07-02T08:00:46.2679050Z deleted: sha256:fe7afda925c14feab3f8f310159f0da912a3ea1ec99dd4c762ae4a874fadf632 2025-07-02T08:00:46.2679687Z deleted: sha256:de854a3c4061152d50e22f1338cd83a08002fb751cc44efc69597acd55656aac 2025-07-02T08:00:46.2680314Z deleted: sha256:d4ae7d6cfde4a27a240cb1a7d9f4e30067df1e4211a085e6e33a369a75543162 2025-07-02T08:00:46.2680973Z deleted: sha256:2425b112894da1ae7f86e7f3c57877db77565c48f5a25ec52954ec8103acb463 2025-07-02T08:00:46.2681611Z deleted: sha256:d3340d80ef459aaabfd7103b752e8b49e90e711fab1bc69ee5be0deb3ba8e42f 2025-07-02T08:00:46.2682251Z deleted: sha256:7e5a8f1b263e9fb111513e7b415b4437dbfcf8016fcce7b98816a74e8f56b4c0 2025-07-02T08:00:46.2682889Z deleted: sha256:b5618d07c4da58aa321f67da182b8c586c2ad15d6260aa714e9cedc7fd2e1772 2025-07-02T08:00:46.2683510Z deleted: sha256:d72244e1706cfa5dbf1a5473498f45084d4332dd66a6cdba17e48ec6e99af3d7 2025-07-02T08:00:46.2684160Z deleted: sha256:fa5cf7f55ccf71ae79762a1fefe9cb0ecc345e599aaca5ad397bd2b9546d51a5 2025-07-02T08:00:46.2684805Z deleted: sha256:7b9eb34adde5db18288bef12ca115e612f763c755530b66a84efe271d6dfd487 2025-07-02T08:00:46.2685449Z deleted: sha256:e676ba391e3e139fa8a99c4917b5e114b5bddd4ffd45cd0fffbb769ba95b43bb 2025-07-02T08:00:46.2686072Z deleted: sha256:8c5b34b147354297e9811a9812020a19bcef6fb2debf36b2b3963733e295b97e 2025-07-02T08:00:46.2686693Z deleted: sha256:1720f2243f3fb33b868d18d671ed35802f3ce2886b17631a2c8729de543cf4b2 2025-07-02T08:00:46.2687329Z deleted: sha256:105a11eb61909f5616c6e4994226196cafb47c5d2d02af45ae0280aae1e7676b 2025-07-02T08:00:46.2687959Z deleted: sha256:fcbe369d45f967f98316bfad76fdd3e73dcfd7f9fe00f7096c9d4bccefecf956 2025-07-02T08:00:46.2688593Z deleted: sha256:ff4f19608a1944c0c2807cd533515673285a9632dc74bf020e83e18630d1ae35 2025-07-02T08:00:46.2688956Z 2025-07-02T08:00:46.2698558Z Total reclaimed space: 4.139GB 2025-07-02T08:00:46.2745103Z ##[group]Run set +e 2025-07-02T08:00:46.2745364Z set +e 2025-07-02T08:00:46.2745609Z if [[ "${NO_SUDO}" == "false" ]]; then 2025-07-02T08:00:46.2746006Z  sudo rm -rf "${GITHUB_WORKSPACE:?}/${REPOSITORY:?}" 2025-07-02T08:00:46.2746350Z else 2025-07-02T08:00:46.2746617Z  rm -rf "${GITHUB_WORKSPACE:?}/${REPOSITORY:?}" 2025-07-02T08:00:46.2746935Z fi 2025-07-02T08:00:46.2747139Z set -e 2025-07-02T08:00:46.2756407Z shell: /usr/bin/bash -e {0} 2025-07-02T08:00:46.2756678Z env: 2025-07-02T08:00:46.2756934Z DOCKER_IMAGE: pytorch/almalinux-builder:cpu 2025-07-02T08:00:46.2757265Z REPOSITORY: pytorch/rl 2025-07-02T08:00:46.2757504Z PR_NUMBER: 3030 2025-07-02T08:00:46.2759287Z SCRIPT: set -euo pipefail echo '::group::Setup environment' CONDA_PATH=$(which conda) eval "$(${CONDA_PATH} shell.bash hook)" conda create --name ci --quiet --yes python=3.8 pip conda activate ci echo '::endgroup::' echo '::group::Install lint tools' pip install --progress-bar=off pre-commit autoflake echo '::endgroup::' echo '::group::Lint Python source and configs' set +e pre-commit run --all-files if [ $? -ne 0 ]; then git --no-pager diff exit 1 fi echo '::endgroup::' 2025-07-02T08:00:46.2761211Z RUNNER_ARTIFACT_DIR: /home/ec2-user/actions-runner/_work/_temp/artifacts 2025-07-02T08:00:46.2761774Z RUNNER_TEST_RESULTS_DIR: /home/ec2-user/actions-runner/_work/_temp/test-results 2025-07-02T08:00:46.2762309Z RUNNER_DOCS_DIR: /home/ec2-user/actions-runner/_work/_temp/docs 2025-07-02T08:00:46.2762700Z NO_SUDO: false 2025-07-02T08:00:46.2763053Z ##[endgroup] 2025-07-02T08:00:46.6136703Z Post job cleanup. 2025-07-02T08:00:46.7182125Z Post job cleanup. 2025-07-02T08:00:46.8149076Z [command]/usr/bin/git version 2025-07-02T08:00:46.8190986Z git version 2.47.1 2025-07-02T08:00:46.8232774Z Temporarily overriding HOME='/home/ec2-user/actions-runner/_work/_temp/bf12fc92-1b40-46bd-85df-fec01aa81dd6' before making global git config changes 2025-07-02T08:00:46.8233707Z Adding repository directory to the temporary git global config as a safe directory 2025-07-02T08:00:46.8237893Z [command]/usr/bin/git config --global --add safe.directory /home/ec2-user/actions-runner/_work/rl/rl/test-infra 2025-07-02T08:00:46.8270128Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2025-07-02T08:00:46.8299467Z [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-07-02T08:00:46.8580615Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2025-07-02T08:00:46.8600064Z http.https://github.com/.extraheader 2025-07-02T08:00:46.8609963Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2025-07-02T08:00:46.8636643Z [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-07-02T08:00:46.8986934Z A job completed hook has been configured by the self-hosted runner administrator 2025-07-02T08:00:46.9014203Z ##[group]Run '/home/ec2-user/runner-scripts/after_job.sh' 2025-07-02T08:00:46.9019551Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2025-07-02T08:00:46.9019930Z ##[endgroup] 2025-07-02T08:00:46.9171440Z [!ALERT!] Swap in detected! [!ALERT!] 2025-07-02T08:00:58.3415437Z [!ALERT!] Swap out detected [!ALERT!] 2025-07-02T08:01:17.1336524Z Cleaning up orphan processes