diff --git a/.yamato/wrench/api-validation-jobs.yml b/.yamato/wrench/api-validation-jobs.yml index 38e2402ef5..3db5215682 100644 --- a/.yamato/wrench/api-validation-jobs.yml +++ b/.yamato/wrench/api-validation-jobs.yml @@ -60,8 +60,8 @@ api_validation_-_ml-agents_-_6000_0_-_win10: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 diff --git a/.yamato/wrench/package-pack-jobs.yml b/.yamato/wrench/package-pack-jobs.yml index e6684b84ae..865d6e3b83 100644 --- a/.yamato/wrench/package-pack-jobs.yml +++ b/.yamato/wrench/package-pack-jobs.yml @@ -44,7 +44,7 @@ package_pack_-_ml-agents: UPMCI_ACK_LARGE_PACKAGE: 1 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Pack ML Agents Tests package_pack_-_ml-agents_tests: @@ -69,5 +69,5 @@ package_pack_-_ml-agents_tests: UPMCI_ACK_LARGE_PACKAGE: 1 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 diff --git a/.yamato/wrench/preview-a-p-v.yml b/.yamato/wrench/preview-a-p-v.yml index b9c0c45901..59facc3c58 100644 --- a/.yamato/wrench/preview-a-p-v.yml +++ b/.yamato/wrench/preview-a-p-v.yml @@ -16,18 +16,18 @@ all_preview_apv_jobs: - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_3_-_macos13 - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_3_-_ubuntu2204 - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_3_-_win10 - - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_4_-_macos13 - - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_4_-_ubuntu2204 - - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_4_-_win10 - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_5_-_macos13 - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_5_-_ubuntu2204 - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_5_-_win10 - - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_6_-_macos13 + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_6_-_macos13arm - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_6_-_ubuntu2204 - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_6_-_win10 + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_7_-_macos13arm + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_7_-_ubuntu2204 + - path: .yamato/wrench/preview-a-p-v.yml#preview_apv_-_6000_7_-_win10 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Functional tests for dependents found in the latest 6000.0 manifest (MacOS). preview_apv_-_6000_0_-_macos13: @@ -82,10 +82,10 @@ preview_apv_-_6000_0_-_macos13: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Functional tests for dependents found in the latest 6000.0 manifest (Ubuntu). preview_apv_-_6000_0_-_ubuntu2204: @@ -140,10 +140,10 @@ preview_apv_-_6000_0_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Functional tests for dependents found in the latest 6000.0 manifest (Windows). preview_apv_-_6000_0_-_win10: @@ -199,10 +199,10 @@ preview_apv_-_6000_0_-_win10: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Functional tests for dependents found in the latest 6000.3 manifest (MacOS). preview_apv_-_6000_3_-_macos13: @@ -257,10 +257,10 @@ preview_apv_-_6000_3_-_macos13: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Functional tests for dependents found in the latest 6000.3 manifest (Ubuntu). preview_apv_-_6000_3_-_ubuntu2204: @@ -315,10 +315,10 @@ preview_apv_-_6000_3_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Functional tests for dependents found in the latest 6000.3 manifest (Windows). preview_apv_-_6000_3_-_win10: @@ -374,14 +374,14 @@ preview_apv_-_6000_3_-_win10: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.4 manifest (MacOS). -preview_apv_-_6000_4_-_macos13: - name: Preview APV - 6000.4 - macos13 +# Functional tests for dependents found in the latest 6000.5 manifest (MacOS). +preview_apv_-_6000_5_-_macos13: + name: Preview APV - 6000.5 - macos13 agent: image: package-ci/macos-13:v4 type: Unity::VM::osx @@ -394,10 +394,10 @@ preview_apv_-_6000_4_-_macos13: - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm timeout: 20 retries: 10 - - command: unity-downloader-cli -u 6000.4/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.4 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.5 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' after: - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh @@ -432,14 +432,14 @@ preview_apv_-_6000_4_-_macos13: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.4 manifest (Ubuntu). -preview_apv_-_6000_4_-_ubuntu2204: - name: Preview APV - 6000.4 - ubuntu2204 +# Functional tests for dependents found in the latest 6000.5 manifest (Ubuntu). +preview_apv_-_6000_5_-_ubuntu2204: + name: Preview APV - 6000.5 - ubuntu2204 agent: image: package-ci/ubuntu-22.04:v4 type: Unity::VM @@ -452,10 +452,10 @@ preview_apv_-_6000_4_-_ubuntu2204: - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm timeout: 20 retries: 10 - - command: unity-downloader-cli -u 6000.4/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.4 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.5 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' after: - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh @@ -490,14 +490,14 @@ preview_apv_-_6000_4_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.4 manifest (Windows). -preview_apv_-_6000_4_-_win10: - name: Preview APV - 6000.4 - win10 +# Functional tests for dependents found in the latest 6000.5 manifest (Windows). +preview_apv_-_6000_5_-_win10: + name: Preview APV - 6000.5 - win10 agent: image: package-ci/win10:v4 type: Unity::VM @@ -511,11 +511,11 @@ preview_apv_-_6000_4_-_win10: - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm timeout: 20 retries: 10 - - command: unity-downloader-cli -u 6000.4/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.4 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - - command: python PythonScripts/editor_manifest_validator.py --version=6000.4 --wrench-config=.yamato/wrench/wrench_config.json + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.5 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/editor_manifest_validator.py --version=6000.5 --wrench-config=.yamato/wrench/wrench_config.json after: - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd artifacts: @@ -549,18 +549,19 @@ preview_apv_-_6000_4_-_win10: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.5 manifest (MacOS). -preview_apv_-_6000_5_-_macos13: - name: Preview APV - 6000.5 - macos13 +# Functional tests for dependents found in the latest 6000.6 manifest (MacOS). +preview_apv_-_6000_6_-_macos13arm: + name: Preview APV - 6000.6 - macos13arm agent: - image: package-ci/macos-13:v4 + image: package-ci/macos-13-arm64:v4 type: Unity::VM::osx - flavor: b1.xlarge + flavor: m1.mac + model: M1 commands: - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-3-3_51b4e6affb4c10b90f92db9551b9dc80c5520794983600cff4fa925111db116d.zip -o wrench-localapv.zip - command: 7z x -aoa wrench-localapv.zip @@ -569,10 +570,10 @@ preview_apv_-_6000_5_-_macos13: - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm timeout: 20 retries: 10 - - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.6/staging -c editor --path .Editor --fast --arch arm64 timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.5 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.6 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' after: - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh @@ -607,14 +608,14 @@ preview_apv_-_6000_5_-_macos13: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.5 manifest (Ubuntu). -preview_apv_-_6000_5_-_ubuntu2204: - name: Preview APV - 6000.5 - ubuntu2204 +# Functional tests for dependents found in the latest 6000.6 manifest (Ubuntu). +preview_apv_-_6000_6_-_ubuntu2204: + name: Preview APV - 6000.6 - ubuntu2204 agent: image: package-ci/ubuntu-22.04:v4 type: Unity::VM @@ -627,10 +628,10 @@ preview_apv_-_6000_5_-_ubuntu2204: - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm timeout: 20 retries: 10 - - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.6/staging -c editor --path .Editor --fast timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.5 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.6 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' after: - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh @@ -665,14 +666,14 @@ preview_apv_-_6000_5_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.5 manifest (Windows). -preview_apv_-_6000_5_-_win10: - name: Preview APV - 6000.5 - win10 +# Functional tests for dependents found in the latest 6000.6 manifest (Windows). +preview_apv_-_6000_6_-_win10: + name: Preview APV - 6000.6 - win10 agent: image: package-ci/win10:v4 type: Unity::VM @@ -686,11 +687,11 @@ preview_apv_-_6000_5_-_win10: - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm timeout: 20 retries: 10 - - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.6/staging -c editor --path .Editor --fast timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.5 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - - command: python PythonScripts/editor_manifest_validator.py --version=6000.5 --wrench-config=.yamato/wrench/wrench_config.json + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.6 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/editor_manifest_validator.py --version=6000.6 --wrench-config=.yamato/wrench/wrench_config.json after: - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd artifacts: @@ -724,18 +725,19 @@ preview_apv_-_6000_5_-_win10: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.6 manifest (MacOS). -preview_apv_-_6000_6_-_macos13: - name: Preview APV - 6000.6 - macos13 +# Functional tests for dependents found in the latest 6000.7 manifest (MacOS). +preview_apv_-_6000_7_-_macos13arm: + name: Preview APV - 6000.7 - macos13arm agent: - image: package-ci/macos-13:v4 + image: package-ci/macos-13-arm64:v4 type: Unity::VM::osx - flavor: b1.xlarge + flavor: m1.mac + model: M1 commands: - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-3-3_51b4e6affb4c10b90f92db9551b9dc80c5520794983600cff4fa925111db116d.zip -o wrench-localapv.zip - command: 7z x -aoa wrench-localapv.zip @@ -744,10 +746,10 @@ preview_apv_-_6000_6_-_macos13: - command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm timeout: 20 retries: 10 - - command: unity-downloader-cli -u trunk -c editor --path .Editor --fast + - command: unity-downloader-cli -u trunk -c editor --path .Editor --fast --arch arm64 timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.6 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.7 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' after: - command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh @@ -782,14 +784,14 @@ preview_apv_-_6000_6_-_macos13: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.6 manifest (Ubuntu). -preview_apv_-_6000_6_-_ubuntu2204: - name: Preview APV - 6000.6 - ubuntu2204 +# Functional tests for dependents found in the latest 6000.7 manifest (Ubuntu). +preview_apv_-_6000_7_-_ubuntu2204: + name: Preview APV - 6000.7 - ubuntu2204 agent: image: package-ci/ubuntu-22.04:v4 type: Unity::VM @@ -805,7 +807,7 @@ preview_apv_-_6000_6_-_ubuntu2204: - command: unity-downloader-cli -u trunk -c editor --path .Editor --fast timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.6 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.7 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - command: echo 'Skipping Editor Manifest Validator as it is only supported on Windows' after: - command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh @@ -840,14 +842,14 @@ preview_apv_-_6000_6_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 -# Functional tests for dependents found in the latest 6000.6 manifest (Windows). -preview_apv_-_6000_6_-_win10: - name: Preview APV - 6000.6 - win10 +# Functional tests for dependents found in the latest 6000.7 manifest (Windows). +preview_apv_-_6000_7_-_win10: + name: Preview APV - 6000.7 - win10 agent: image: package-ci/win10:v4 type: Unity::VM @@ -864,8 +866,8 @@ preview_apv_-_6000_6_-_win10: - command: unity-downloader-cli -u trunk -c editor --path .Editor --fast timeout: 10 retries: 3 - - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.6 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ - - command: python PythonScripts/editor_manifest_validator.py --version=6000.6 --wrench-config=.yamato/wrench/wrench_config.json + - command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.7 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~ + - command: python PythonScripts/editor_manifest_validator.py --version=6000.7 --wrench-config=.yamato/wrench/wrench_config.json after: - command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd artifacts: @@ -899,8 +901,8 @@ preview_apv_-_6000_6_-_win10: UNITY_LICENSING_SERVER_DELETE_NUL: 0 UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 diff --git a/.yamato/wrench/promotion-jobs.yml b/.yamato/wrench/promotion-jobs.yml index bfd2458f3a..7a0fe083c8 100644 --- a/.yamato/wrench/promotion-jobs.yml +++ b/.yamato/wrench/promotion-jobs.yml @@ -91,102 +91,102 @@ publish_dry_run_ml-agents: UTR: location: results/UTR/validate-ml-agents-6000.3-win10 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_4_-_macos13 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_macos13 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.4-macos13 + location: results/pvp/validate-ml-agents-6000.5-macos13 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.4-macos13 + location: results/UTR/validate-ml-agents-6000.5-macos13 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_4_-_ubuntu2204 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_ubuntu2204 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.4-ubuntu2204 + location: results/pvp/validate-ml-agents-6000.5-ubuntu2204 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.4-ubuntu2204 + location: results/UTR/validate-ml-agents-6000.5-ubuntu2204 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_4_-_win10 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_win10 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.4-win10 + location: results/pvp/validate-ml-agents-6000.5-win10 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.4-win10 + location: results/UTR/validate-ml-agents-6000.5-win10 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_macos13 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_macos13arm specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.5-macos13 + location: results/pvp/validate-ml-agents-6000.6-macos13arm unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.5-macos13 + location: results/UTR/validate-ml-agents-6000.6-macos13arm unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_ubuntu2204 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_ubuntu2204 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.5-ubuntu2204 + location: results/pvp/validate-ml-agents-6000.6-ubuntu2204 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.5-ubuntu2204 + location: results/UTR/validate-ml-agents-6000.6-ubuntu2204 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_win10 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_win10 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.5-win10 + location: results/pvp/validate-ml-agents-6000.6-win10 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.5-win10 + location: results/UTR/validate-ml-agents-6000.6-win10 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_macos13 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_7_-_macos13arm specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.6-macos13 + location: results/pvp/validate-ml-agents-6000.7-macos13arm unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.6-macos13 + location: results/UTR/validate-ml-agents-6000.7-macos13arm unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_ubuntu2204 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_7_-_ubuntu2204 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.6-ubuntu2204 + location: results/pvp/validate-ml-agents-6000.7-ubuntu2204 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.6-ubuntu2204 + location: results/UTR/validate-ml-agents-6000.7-ubuntu2204 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_win10 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_7_-_win10 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.6-win10 + location: results/pvp/validate-ml-agents-6000.7-win10 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.6-win10 + location: results/UTR/validate-ml-agents-6000.7-win10 unzip: true variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 # Publish for ml-agents to https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-npm publish_ml-agents: @@ -273,100 +273,101 @@ publish_ml-agents: UTR: location: results/UTR/validate-ml-agents-6000.3-win10 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_4_-_macos13 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_macos13 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.4-macos13 + location: results/pvp/validate-ml-agents-6000.5-macos13 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.4-macos13 + location: results/UTR/validate-ml-agents-6000.5-macos13 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_4_-_ubuntu2204 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_ubuntu2204 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.4-ubuntu2204 + location: results/pvp/validate-ml-agents-6000.5-ubuntu2204 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.4-ubuntu2204 + location: results/UTR/validate-ml-agents-6000.5-ubuntu2204 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_4_-_win10 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_win10 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.4-win10 + location: results/pvp/validate-ml-agents-6000.5-win10 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.4-win10 + location: results/UTR/validate-ml-agents-6000.5-win10 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_macos13 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_macos13arm specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.5-macos13 + location: results/pvp/validate-ml-agents-6000.6-macos13arm unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.5-macos13 + location: results/UTR/validate-ml-agents-6000.6-macos13arm unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_ubuntu2204 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_ubuntu2204 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.5-ubuntu2204 + location: results/pvp/validate-ml-agents-6000.6-ubuntu2204 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.5-ubuntu2204 + location: results/UTR/validate-ml-agents-6000.6-ubuntu2204 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_5_-_win10 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_win10 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.5-win10 + location: results/pvp/validate-ml-agents-6000.6-win10 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.5-win10 + location: results/UTR/validate-ml-agents-6000.6-win10 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_macos13 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_7_-_macos13arm specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.6-macos13 + location: results/pvp/validate-ml-agents-6000.7-macos13arm unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.6-macos13 + location: results/UTR/validate-ml-agents-6000.7-macos13arm unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_ubuntu2204 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_7_-_ubuntu2204 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.6-ubuntu2204 + location: results/pvp/validate-ml-agents-6000.7-ubuntu2204 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.6-ubuntu2204 + location: results/UTR/validate-ml-agents-6000.7-ubuntu2204 unzip: true - - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_6_-_win10 + - path: .yamato/wrench/validation-jobs.yml#validate_-_ml-agents_-_6000_7_-_win10 specific_options: packages: ignore_artifact: true pvp-results: - location: results/pvp/validate-ml-agents-6000.6-win10 + location: results/pvp/validate-ml-agents-6000.7-win10 unzip: true UTR: - location: results/UTR/validate-ml-agents-6000.6-win10 + location: results/UTR/validate-ml-agents-6000.7-win10 unzip: true variables: UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 + allow_on: branch match "^release/.*" metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 diff --git a/.yamato/wrench/recipe-regeneration.yml b/.yamato/wrench/recipe-regeneration.yml index 1e488f8c2e..a0b1e5ef38 100644 --- a/.yamato/wrench/recipe-regeneration.yml +++ b/.yamato/wrench/recipe-regeneration.yml @@ -31,5 +31,5 @@ test_-_wrench_jobs_up_to_date: cancel_old_ci: true metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 diff --git a/.yamato/wrench/validation-jobs.yml b/.yamato/wrench/validation-jobs.yml index 28d8cb57d1..183e01bcfc 100644 --- a/.yamato/wrench/validation-jobs.yml +++ b/.yamato/wrench/validation-jobs.yml @@ -32,7 +32,10 @@ validate_-_ml-agents_-_6000_0_-_macos13: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -67,10 +70,10 @@ validate_-_ml-agents_-_6000_0_-_macos13: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents @@ -100,7 +103,10 @@ validate_-_ml-agents_-_6000_0_-_ubuntu2204: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -135,10 +141,10 @@ validate_-_ml-agents_-_6000_0_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents @@ -168,7 +174,10 @@ validate_-_ml-agents_-_6000_0_-_win10: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -203,10 +212,10 @@ validate_-_ml-agents_-_6000_0_-_win10: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents @@ -236,7 +245,10 @@ validate_-_ml-agents_-_6000_3_-_macos13: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -271,10 +283,10 @@ validate_-_ml-agents_-_6000_3_-_macos13: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents @@ -304,7 +316,10 @@ validate_-_ml-agents_-_6000_3_-_ubuntu2204: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -339,10 +354,10 @@ validate_-_ml-agents_-_6000_3_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents @@ -372,7 +387,10 @@ validate_-_ml-agents_-_6000_3_-_win10: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -407,16 +425,16 @@ validate_-_ml-agents_-_6000_3_-_win10: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.4 - macos13 (6000.4 - MacOS). -validate_-_ml-agents_-_6000_4_-_macos13: - name: Validate - ml-agents - 6000.4 - macos13 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.5 - macos13 (6000.5 - MacOS). +validate_-_ml-agents_-_6000_5_-_macos13: + name: Validate - ml-agents - 6000.5 - macos13 agent: image: package-ci/macos-13:v4 type: Unity::VM::osx @@ -426,7 +444,7 @@ validate_-_ml-agents_-_6000_4_-_macos13: - command: 7z x -aoa wrench-localapv.zip - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple - command: python PythonScripts/print_machine_info.py - - command: unity-downloader-cli -u 6000.4/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast timeout: 20 retries: 3 - command: upm-pvp create-test-project test-ml-agents --packages "upm-ci~/packages/*.tgz" --filter "com.unity.ml-agents com.unity.ml-agents.tests" --unity .Editor @@ -440,7 +458,10 @@ validate_-_ml-agents_-_6000_4_-_macos13: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -475,16 +496,16 @@ validate_-_ml-agents_-_6000_4_-_macos13: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.4 - ubuntu2204 (6000.4 - Ubuntu). -validate_-_ml-agents_-_6000_4_-_ubuntu2204: - name: Validate - ml-agents - 6000.4 - ubuntu2204 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.5 - ubuntu2204 (6000.5 - Ubuntu). +validate_-_ml-agents_-_6000_5_-_ubuntu2204: + name: Validate - ml-agents - 6000.5 - ubuntu2204 agent: image: package-ci/ubuntu-22.04:v4 type: Unity::VM @@ -494,7 +515,7 @@ validate_-_ml-agents_-_6000_4_-_ubuntu2204: - command: 7z x -aoa wrench-localapv.zip - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple - command: python PythonScripts/print_machine_info.py - - command: unity-downloader-cli -u 6000.4/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast timeout: 20 retries: 3 - command: upm-pvp create-test-project test-ml-agents --packages "upm-ci~/packages/*.tgz" --filter "com.unity.ml-agents com.unity.ml-agents.tests" --unity .Editor @@ -508,7 +529,10 @@ validate_-_ml-agents_-_6000_4_-_ubuntu2204: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -543,16 +567,16 @@ validate_-_ml-agents_-_6000_4_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.4 - win10 (6000.4 - Windows). -validate_-_ml-agents_-_6000_4_-_win10: - name: Validate - ml-agents - 6000.4 - win10 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.5 - win10 (6000.5 - Windows). +validate_-_ml-agents_-_6000_5_-_win10: + name: Validate - ml-agents - 6000.5 - win10 agent: image: package-ci/win10:v4 type: Unity::VM @@ -562,7 +586,7 @@ validate_-_ml-agents_-_6000_4_-_win10: - command: 7z x -aoa wrench-localapv.zip - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple - command: python PythonScripts/print_machine_info.py - - command: unity-downloader-cli -u 6000.4/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast timeout: 20 retries: 3 - command: upm-pvp create-test-project test-ml-agents --packages "upm-ci~/packages/*.tgz" --filter "com.unity.ml-agents com.unity.ml-agents.tests" --unity .Editor @@ -576,7 +600,10 @@ validate_-_ml-agents_-_6000_4_-_win10: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -611,26 +638,27 @@ validate_-_ml-agents_-_6000_4_-_win10: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.5 - macos13 (6000.5 - MacOS). -validate_-_ml-agents_-_6000_5_-_macos13: - name: Validate - ml-agents - 6000.5 - macos13 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.6 - macos13arm (6000.6 - MacOS). +validate_-_ml-agents_-_6000_6_-_macos13arm: + name: Validate - ml-agents - 6000.6 - macos13arm agent: - image: package-ci/macos-13:v4 + image: package-ci/macos-13-arm64:v4 type: Unity::VM::osx - flavor: b1.xlarge + flavor: m1.mac + model: M1 commands: - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-3-3_51b4e6affb4c10b90f92db9551b9dc80c5520794983600cff4fa925111db116d.zip -o wrench-localapv.zip - command: 7z x -aoa wrench-localapv.zip - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple - command: python PythonScripts/print_machine_info.py - - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.6/staging -c editor --path .Editor --fast --arch arm64 timeout: 20 retries: 3 - command: upm-pvp create-test-project test-ml-agents --packages "upm-ci~/packages/*.tgz" --filter "com.unity.ml-agents com.unity.ml-agents.tests" --unity .Editor @@ -644,7 +672,10 @@ validate_-_ml-agents_-_6000_5_-_macos13: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -679,16 +710,16 @@ validate_-_ml-agents_-_6000_5_-_macos13: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.5 - ubuntu2204 (6000.5 - Ubuntu). -validate_-_ml-agents_-_6000_5_-_ubuntu2204: - name: Validate - ml-agents - 6000.5 - ubuntu2204 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.6 - ubuntu2204 (6000.6 - Ubuntu). +validate_-_ml-agents_-_6000_6_-_ubuntu2204: + name: Validate - ml-agents - 6000.6 - ubuntu2204 agent: image: package-ci/ubuntu-22.04:v4 type: Unity::VM @@ -698,7 +729,7 @@ validate_-_ml-agents_-_6000_5_-_ubuntu2204: - command: 7z x -aoa wrench-localapv.zip - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple - command: python PythonScripts/print_machine_info.py - - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.6/staging -c editor --path .Editor --fast timeout: 20 retries: 3 - command: upm-pvp create-test-project test-ml-agents --packages "upm-ci~/packages/*.tgz" --filter "com.unity.ml-agents com.unity.ml-agents.tests" --unity .Editor @@ -712,7 +743,10 @@ validate_-_ml-agents_-_6000_5_-_ubuntu2204: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -747,16 +781,16 @@ validate_-_ml-agents_-_6000_5_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.5 - win10 (6000.5 - Windows). -validate_-_ml-agents_-_6000_5_-_win10: - name: Validate - ml-agents - 6000.5 - win10 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.6 - win10 (6000.6 - Windows). +validate_-_ml-agents_-_6000_6_-_win10: + name: Validate - ml-agents - 6000.6 - win10 agent: image: package-ci/win10:v4 type: Unity::VM @@ -766,7 +800,7 @@ validate_-_ml-agents_-_6000_5_-_win10: - command: 7z x -aoa wrench-localapv.zip - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple - command: python PythonScripts/print_machine_info.py - - command: unity-downloader-cli -u 6000.5/staging -c editor --path .Editor --fast + - command: unity-downloader-cli -u 6000.6/staging -c editor --path .Editor --fast timeout: 20 retries: 3 - command: upm-pvp create-test-project test-ml-agents --packages "upm-ci~/packages/*.tgz" --filter "com.unity.ml-agents com.unity.ml-agents.tests" --unity .Editor @@ -780,7 +814,10 @@ validate_-_ml-agents_-_6000_5_-_win10: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -815,26 +852,27 @@ validate_-_ml-agents_-_6000_5_-_win10: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.6 - macos13 (6000.6 - MacOS). -validate_-_ml-agents_-_6000_6_-_macos13: - name: Validate - ml-agents - 6000.6 - macos13 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.7 - macos13arm (6000.7 - MacOS). +validate_-_ml-agents_-_6000_7_-_macos13arm: + name: Validate - ml-agents - 6000.7 - macos13arm agent: - image: package-ci/macos-13:v4 + image: package-ci/macos-13-arm64:v4 type: Unity::VM::osx - flavor: b1.xlarge + flavor: m1.mac + model: M1 commands: - command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-3-3_51b4e6affb4c10b90f92db9551b9dc80c5520794983600cff4fa925111db116d.zip -o wrench-localapv.zip - command: 7z x -aoa wrench-localapv.zip - command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple - command: python PythonScripts/print_machine_info.py - - command: unity-downloader-cli -u trunk -c editor --path .Editor --fast + - command: unity-downloader-cli -u trunk -c editor --path .Editor --fast --arch arm64 timeout: 20 retries: 3 - command: upm-pvp create-test-project test-ml-agents --packages "upm-ci~/packages/*.tgz" --filter "com.unity.ml-agents com.unity.ml-agents.tests" --unity .Editor @@ -848,7 +886,10 @@ validate_-_ml-agents_-_6000_6_-_macos13: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -883,16 +924,16 @@ validate_-_ml-agents_-_6000_6_-_macos13: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.6 - ubuntu2204 (6000.6 - Ubuntu). -validate_-_ml-agents_-_6000_6_-_ubuntu2204: - name: Validate - ml-agents - 6000.6 - ubuntu2204 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.7 - ubuntu2204 (6000.7 - Ubuntu). +validate_-_ml-agents_-_6000_7_-_ubuntu2204: + name: Validate - ml-agents - 6000.7 - ubuntu2204 agent: image: package-ci/ubuntu-22.04:v4 type: Unity::VM @@ -916,7 +957,10 @@ validate_-_ml-agents_-_6000_6_-_ubuntu2204: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -951,16 +995,16 @@ validate_-_ml-agents_-_6000_6_-_ubuntu2204: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents -# PVP Editor and Playmode tests for Validate - ml-agents - 6000.6 - win10 (6000.6 - Windows). -validate_-_ml-agents_-_6000_6_-_win10: - name: Validate - ml-agents - 6000.6 - win10 +# PVP Editor and Playmode tests for Validate - ml-agents - 6000.7 - win10 (6000.7 - Windows). +validate_-_ml-agents_-_6000_7_-_win10: + name: Validate - ml-agents - 6000.7 - win10 agent: image: package-ci/win10:v4 type: Unity::VM @@ -984,7 +1028,10 @@ validate_-_ml-agents_-_6000_6_-_win10: timeout: 5 retries: 0 - command: echo No additional PVP profiles to declared to check. - - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts --suite=Editor --suite=Playmode "--ff={ops.upmpvpevidence.enable=true}" ' + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" ' + timeout: 20 + retries: 1 + - command: 'UnifiedTestRunner.exe --testproject=test-ml-agents --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" ' timeout: 20 retries: 1 after: @@ -1019,10 +1066,10 @@ validate_-_ml-agents_-_6000_6_-_win10: UNITY_LICENSING_SERVER_DELETE_ULF: 0 UNITY_LICENSING_SERVER_TOOLSET: pro UPMPVP_ACK_UPMPVP_DOES_NO_API_VALIDATION: 1 - UPMPVP_CONTEXT_WRENCH: 2.7.0.0 + UPMPVP_CONTEXT_WRENCH: 3.4.0.0 metadata: Job Maintainers: '#rm-packageworks' - Wrench: 2.7.0.0 + Wrench: 3.4.0.0 labels: - Packages:ml-agents diff --git a/.yamato/wrench/wrench_config.json b/.yamato/wrench/wrench_config.json index fe1ec0b440..3f59f5a589 100644 --- a/.yamato/wrench/wrench_config.json +++ b/.yamato/wrench/wrench_config.json @@ -64,7 +64,7 @@ }, "publishing_job": ".yamato/wrench/promotion-jobs.yml#publish_ml-agents", "branch_pattern": "ReleaseSlash", - "wrench_version": "2.7.0.0", + "wrench_version": "3.4.0.0", "pvp_exemption_path": ".yamato/wrench/pvp-exemptions.json", "cs_project_path": "Tools/ci/MLAgents.Cookbook.csproj" } \ No newline at end of file diff --git a/DevProject/Packages/packages-lock.json b/DevProject/Packages/packages-lock.json index 45e602f3b9..28d1340bc1 100644 --- a/DevProject/Packages/packages-lock.json +++ b/DevProject/Packages/packages-lock.json @@ -102,7 +102,7 @@ "depth": 0, "source": "local", "dependencies": { - "com.unity.ml-agents": "4.0.3" + "com.unity.ml-agents": "4.1.0" } }, "com.unity.multiplayer.center": { diff --git a/Project/Packages/packages-lock.json b/Project/Packages/packages-lock.json index cd5f3c81f8..a760ff0485 100644 --- a/Project/Packages/packages-lock.json +++ b/Project/Packages/packages-lock.json @@ -130,7 +130,7 @@ "depth": 0, "source": "local", "dependencies": { - "com.unity.ml-agents": "4.0.3" + "com.unity.ml-agents": "4.1.0" } }, "com.unity.multiplayer.center": { diff --git a/Tools/ci/MLAgents.Cookbook.csproj b/Tools/ci/MLAgents.Cookbook.csproj index aa4f66f2e3..75359cbfcf 100644 --- a/Tools/ci/MLAgents.Cookbook.csproj +++ b/Tools/ci/MLAgents.Cookbook.csproj @@ -8,7 +8,7 @@ - + diff --git a/com.unity.ml-agents.tests/package.json b/com.unity.ml-agents.tests/package.json index ff6bc0c0bd..a8addd2df5 100644 --- a/com.unity.ml-agents.tests/package.json +++ b/com.unity.ml-agents.tests/package.json @@ -5,7 +5,7 @@ "unity": "6000.0", "description": "Provides testing for ML Agents.", "dependencies": { - "com.unity.ml-agents": "4.0.3" + "com.unity.ml-agents": "4.1.0" }, "type": "tests" } diff --git a/com.unity.ml-agents/CHANGELOG.md b/com.unity.ml-agents/CHANGELOG.md index 308f82dd41..8a028abacc 100755 --- a/com.unity.ml-agents/CHANGELOG.md +++ b/com.unity.ml-agents/CHANGELOG.md @@ -6,26 +6,26 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [4.1.0] - 2026-07-27 ### Major Changes #### ml-agents / ml-agents-envs - Migrated from gym to gymnasium (#6309) ### Minor Changes #### com.unity.ml-agents (C#) -- Fixed StackingSensor compressed observation for sensors with more than 3 channels. (#6299) -- Fixed a crash that could occur when exiting playmode (#6296) -- Fixed compatibility of Google.Protobuf_Packed.dll with ILL2CPP (#6313) -- Fixed Google.Protobuf_Packed.dll being shadowed by Sentis copy of the dll (#6310) +- Fixed `StackingSensor` compressed observation for sensors with more than 3 channels. (#6299) +- Fixed a crash that could occur when exiting Play mode. (#6296) +- Fixed compatibility of `Google.Protobuf_Packed.dll` with IL2CPP. (#6313) +- Fixed `Google.Protobuf_Packed.dll` being shadowed by Sentis' copy of the DLL. (#6310) #### ml-agents / ml-agents-envs - Fixed a bug when using LSTM and SAC where the buffer might contain non-integer numbers of sequences. (#6301) -- Fixed mixed CPU/GPU computation by ensuring tensors share a consistent device in the trainer; Updated training devices. (#6303) -- Fixed typing on optional strings (#6311) -- Tighten assertion bound for test_process_pixels_gray (#6312) +- Fixed mixed CPU/GPU computation by ensuring tensors share a consistent device in the trainer. Updated training devices. (#6303) +- Fixed typing on optional strings. (#6311) +- Tightened assertion bound for `test_process_pixels_gray` (#6312) #### Examples -- Replace hardcoded value 200f by agentRotationSpeed in MoveAgent() (#6306) +- Replace hardcoded value `200f` by `agentRotationSpeed` in `MoveAgent()`. (#6306) ## [4.0.3] - 2026-04-17 ### Minor Changes diff --git a/com.unity.ml-agents/Documentation~/Inference-Engine.md b/com.unity.ml-agents/Documentation~/Inference-Engine.md index 9a08888ffb..e5c9ad4e53 100644 --- a/com.unity.ml-agents/Documentation~/Inference-Engine.md +++ b/com.unity.ml-agents/Documentation~/Inference-Engine.md @@ -18,7 +18,7 @@ When using a model, drag the model file into the **Model** field in the Inspecto # Unsupported use cases ## Externally trained models -The ML-Agents Toolkit only supports the models created with Unity's trainers. Model loading expects certain conventions for constants and tensor names. While you can construct a model that follows these conventions, Unity doesn't provide any additional help for this. You can find more details in [TensorNames.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/com.unity.ml-agents/Runtime/Inference/TensorNames.cs) and [SentisModelParamLoader.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/com.unity.ml-agents/Runtime/Inference/SentisModelParamLoader.cs). +The ML-Agents Toolkit only supports the models created with Unity's trainers. Model loading expects certain conventions for constants and tensor names. While you can construct a model that follows these conventions, Unity doesn't provide any additional help for this. You can find more details in [TensorNames.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/com.unity.ml-agents/Runtime/Inference/TensorNames.cs) and [SentisModelParamLoader.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/com.unity.ml-agents/Runtime/Inference/SentisModelParamLoader.cs). > [!NOTE] > If you want to run inference on an externally trained model, use Sentis directly, instead of trying to run it through ML-Agents. diff --git a/com.unity.ml-agents/Documentation~/Installation.md b/com.unity.ml-agents/Documentation~/Installation.md index d23daad633..eb10850857 100644 --- a/com.unity.ml-agents/Documentation~/Installation.md +++ b/com.unity.ml-agents/Documentation~/Installation.md @@ -86,7 +86,7 @@ conda install "grpcio=1.48.2" -c conda-forge ``` This step resolves dependency conflicts that can occur with older versions of `grpcio`. -4. When the installation completes successfully, all the required Python dependencies listed in the [setup.py file](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents/setup.py), including [PyTorch](Background-PyTorch.md) are automatically configured. +4. When the installation completes successfully, all the required Python dependencies listed in the [setup.py file](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents/setup.py), including [PyTorch](Background-PyTorch.md) are automatically configured. ## Install ML-Agents (Advanced Installation) diff --git a/com.unity.ml-agents/Documentation~/Learning-Environment-Design.md b/com.unity.ml-agents/Documentation~/Learning-Environment-Design.md index 2f72546a37..85f4432ec8 100644 --- a/com.unity.ml-agents/Documentation~/Learning-Environment-Design.md +++ b/com.unity.ml-agents/Documentation~/Learning-Environment-Design.md @@ -68,7 +68,7 @@ When you create a training environment in Unity, you must set up the scene so th Curriculum learning and environment parameter randomization are two training methods that control specific parameters in your environment. As such, it is important to ensure that your environment parameters are updated at each step to the correct values. To enable this, we expose a `EnvironmentParameters` C# class that you can use to retrieve the values of the parameters defined in the training configurations for both of those features. Please see our [documentation](Training-ML-Agents.md#environment-parameters) for curriculum learning and environment parameter randomization for details. -We recommend modifying the environment from the Agent's `OnEpisodeBegin()` function by leveraging `Academy.Instance.EnvironmentParameters`. See the WallJump example environment for a sample usage (specifically, [WallJumpAgent.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs) ). +We recommend modifying the environment from the Agent's `OnEpisodeBegin()` function by leveraging `Academy.Instance.EnvironmentParameters`. See the WallJump example environment for a sample usage (specifically, [WallJumpAgent.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs) ). ## Agent @@ -89,4 +89,4 @@ See [Agents](Learning-Environment-Design-Agents.md) for detailed information abo We offer developers a mechanism to record statistics from within their Unity environments. These statistics are aggregated and generated during the training process. To record statistics, see the `StatsRecorder` C# class. -See the FoodCollector example environment for a sample usage (specifically, [FoodCollectorSettings.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs) ). +See the FoodCollector example environment for a sample usage (specifically, [FoodCollectorSettings.cs](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs) ). diff --git a/com.unity.ml-agents/Documentation~/Limitations.md b/com.unity.ml-agents/Documentation~/Limitations.md index 4f436fd43b..3554db771a 100644 --- a/com.unity.ml-agents/Documentation~/Limitations.md +++ b/com.unity.ml-agents/Documentation~/Limitations.md @@ -3,5 +3,5 @@ See the package-specific Limitations pages: - [`com.unity.mlagents` Unity package](Package-Limitations.md) -- [`mlagents` Python package](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents/README.md#limitations) -- [`mlagents_envs` Python package](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents-envs/README.md#limitations) +- [`mlagents` Python package](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents/README.md#limitations) +- [`mlagents_envs` Python package](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents-envs/README.md#limitations) diff --git a/com.unity.ml-agents/Documentation~/Python-Custom-Trainer-Plugin.md b/com.unity.ml-agents/Documentation~/Python-Custom-Trainer-Plugin.md index 8518f44262..90832c80bf 100644 --- a/com.unity.ml-agents/Documentation~/Python-Custom-Trainer-Plugin.md +++ b/com.unity.ml-agents/Documentation~/Python-Custom-Trainer-Plugin.md @@ -4,7 +4,7 @@ As an attempt to bring a wider variety of reinforcement learning algorithms to o ## Overview Model-free RL algorithms generally fall into two broad categories: on-policy and off-policy. On-policy algorithms perform updates based on data gathered from the current policy. Off-policy algorithms learn a Q function from a buffer of previous data, then use this Q function to make decisions. Off-policy algorithms have three key benefits in the context of ML-Agents: They tend to use fewer samples than on-policy as they can pull and re-use data from the buffer many times. They allow player demonstrations to be inserted in-line with RL data into the buffer, enabling new ways of doing imitation learning by streaming player data. -To add new custom trainers to ML-agents, you would need to create a new python package. To give you an idea of how to structure your package, we have created a [mlagents_trainer_plugin](https://github.com/Unity-Technologies/ml-agents/tree/release/4.0.0/ml-agents-trainer-plugin) package ourselves as an example, with implementation of `A2c` and `DQN` algorithms. You would need a `setup.py` file to list extra requirements and register the new RL algorithm in ml-agents ecosystem and be able to call `mlagents-learn` CLI with your customized configuration. +To add new custom trainers to ML-agents, you would need to create a new python package. To give you an idea of how to structure your package, we have created a [mlagents_trainer_plugin](https://github.com/Unity-Technologies/ml-agents/tree/release/4.1.0/ml-agents-trainer-plugin) package ourselves as an example, with implementation of `A2c` and `DQN` algorithms. You would need a `setup.py` file to list extra requirements and register the new RL algorithm in ml-agents ecosystem and be able to call `mlagents-learn` CLI with your customized configuration. ```shell diff --git a/com.unity.ml-agents/Documentation~/Python-Gym-API.md b/com.unity.ml-agents/Documentation~/Python-Gym-API.md index 6b3c597d86..5fa0f0b619 100644 --- a/com.unity.ml-agents/Documentation~/Python-Gym-API.md +++ b/com.unity.ml-agents/Documentation~/Python-Gym-API.md @@ -6,7 +6,7 @@ The ML Agents package provides a gym wrapper and instructions for using it with ## Installation -The gym wrapper is part of the `mlagents_envs` package. Please refer to the [mlagents_envs installation instructions](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents-envs/README.md). +The gym wrapper is part of the `mlagents_envs` package. Please refer to the [mlagents_envs installation instructions](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents-envs/README.md). ## Using the Gym Wrapper diff --git a/com.unity.ml-agents/Documentation~/Python-LLAPI.md b/com.unity.ml-agents/Documentation~/Python-LLAPI.md index c8ee1e7fc3..1f05a3574b 100644 --- a/com.unity.ml-agents/Documentation~/Python-LLAPI.md +++ b/com.unity.ml-agents/Documentation~/Python-LLAPI.md @@ -17,7 +17,7 @@ The key objects in the Python API include: - **TerminalSteps** — contains the data from Agents belonging to the same "Behavior" in the simulation, such as observations and rewards. Only Agents whose episode ended since the last call to `env.step()` are in the TerminalSteps object. - **BehaviorSpec** — describes the shape of the observation data inside DecisionSteps and TerminalSteps as well as the expected action shapes. -These classes are all defined in the [base_env](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents-envs/mlagents_envs/base_env.py) script. +These classes are all defined in the [base_env](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents-envs/mlagents_envs/base_env.py) script. An Agent "Behavior" is a group of Agents identified by a `BehaviorName` that share the same observations and action types (described in their `BehaviorSpec`). You can think about Agent Behavior as a group of agents that will share the same policy. All Agents with the same behavior have the same goal and reward signals. @@ -27,7 +27,7 @@ _Notice: Currently communication between Unity and Python takes place over an op ## Loading a Unity Environment -Python-side communication happens through `UnityEnvironment` which is located in [`environment.py`](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents-envs/mlagents_envs/environment.py). To load a Unity environment from a built binary file, put the file in the same directory as `envs`. For example, if the filename of your Unity environment is `3DBall`, in python, run: +Python-side communication happens through `UnityEnvironment` which is located in [`environment.py`](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents-envs/mlagents_envs/environment.py). To load a Unity environment from a built binary file, put the file in the same directory as `envs`. For example, if the filename of your Unity environment is `3DBall`, in python, run: ```python from mlagents_envs.environment import UnityEnvironment diff --git a/com.unity.ml-agents/Documentation~/Python-PettingZoo-API.md b/com.unity.ml-agents/Documentation~/Python-PettingZoo-API.md index b77ca9db56..5409618155 100644 --- a/com.unity.ml-agents/Documentation~/Python-PettingZoo-API.md +++ b/com.unity.ml-agents/Documentation~/Python-PettingZoo-API.md @@ -4,7 +4,7 @@ With the increasing interest in multi-agent training with a gym-like API, we pro ## Installation and Examples -The PettingZoo wrapper is part of the `mlagents_envs` package. Please refer to the [mlagents_envs installation instructions](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents-envs/README.md). +The PettingZoo wrapper is part of the `mlagents_envs` package. Please refer to the [mlagents_envs installation instructions](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents-envs/README.md). [[Colab] PettingZoo Wrapper Example](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/develop-python-api-ga/ml-agents-envs/colabs/Colab_PettingZoo.ipynb) diff --git a/com.unity.ml-agents/Documentation~/TableOfContents.md b/com.unity.ml-agents/Documentation~/TableOfContents.md index f213d52c98..f76dcdab55 100644 --- a/com.unity.ml-agents/Documentation~/TableOfContents.md +++ b/com.unity.ml-agents/Documentation~/TableOfContents.md @@ -28,9 +28,9 @@ * [On/Off Policy Trainer Documentation](Python-On-Off-Policy-Trainer-Documentation.md) * [Python Optimizer Documentation](Python-Optimizer-Documentation.md) * [Python Tutorial with Google Colab](Tutorial-Colab.md) - * [Using a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.0.0/colab/Colab_UnityEnvironment_1_Run.ipynb) - * [Q-Learning with a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.0.0/colab/Colab_UnityEnvironment_2_Train.ipynb) - * [Using Side Channels on a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.0.0/colab/Colab_UnityEnvironment_3_SideChannel.ipynb) + * [Using a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.1.0/colab/Colab_UnityEnvironment_1_Run.ipynb) + * [Q-Learning with a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.1.0/colab/Colab_UnityEnvironment_2_Train.ipynb) + * [Using Side Channels on a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.1.0/colab/Colab_UnityEnvironment_3_SideChannel.ipynb) * [Advanced Features](Advanced-Features.md) * [Custom Side Channels](Custom-SideChannels.md) * [Custom Grid Sensors](Custom-GridSensors.md) diff --git a/com.unity.ml-agents/Documentation~/Training-ML-Agents.md b/com.unity.ml-agents/Documentation~/Training-ML-Agents.md index c65ed129a5..0eb78f414f 100644 --- a/com.unity.ml-agents/Documentation~/Training-ML-Agents.md +++ b/com.unity.ml-agents/Documentation~/Training-ML-Agents.md @@ -1,6 +1,6 @@ # Training ML-Agents -Once your learning environment has been created and is ready for training, the next step is to initiate a training run. Training in the ML-Agents Toolkit is powered by a dedicated Python package, `mlagents`. This package exposes a command `mlagents-learn` that is the single entry point for all training workflows (e.g. reinforcement leaning, imitation learning, curriculum learning). Its implementation can be found [here](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents/mlagents/trainers/learn.py). +Once your learning environment has been created and is ready for training, the next step is to initiate a training run. Training in the ML-Agents Toolkit is powered by a dedicated Python package, `mlagents`. This package exposes a command `mlagents-learn` that is the single entry point for all training workflows (e.g. reinforcement leaning, imitation learning, curriculum learning). Its implementation can be found [here](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents/mlagents/trainers/learn.py). ## Training with mlagents-learn @@ -62,7 +62,7 @@ More specifically, this section offers a detailed guide on the command-line flag - ``: defines the training hyperparameters for each Behavior in the scene, and the set-ups for the environment parameters (Curriculum Learning and Environment Parameter Randomization) -It is important to highlight that successfully training a Behavior in the ML-Agents Toolkit involves tuning the training hyperparameters and configuration. This guide contains some best practices for tuning the training process when the default parameters don't seem to be giving the level of performance you would like. We provide sample configuration files for our example environments in the [config](https://github.com/Unity-Technologies/ml-agents/tree/release/4.0.0/config/) directory. The `config/ppo/3DBall.yaml` was used to train the 3D Balance Ball in the [Running an Example](Sample.md) guide. That configuration file uses the PPO trainer, but we also have configuration files for SAC and GAIL. +It is important to highlight that successfully training a Behavior in the ML-Agents Toolkit involves tuning the training hyperparameters and configuration. This guide contains some best practices for tuning the training process when the default parameters don't seem to be giving the level of performance you would like. We provide sample configuration files for our example environments in the [config](https://github.com/Unity-Technologies/ml-agents/tree/release/4.1.0/config/) directory. The `config/ppo/3DBall.yaml` was used to train the 3D Balance Ball in the [Running an Example](Sample.md) guide. That configuration file uses the PPO trainer, but we also have configuration files for SAC and GAIL. Additionally, the set of configurations you provide depend on the training functionalities you use (see [ML-Agents Theory](ML-Agents-Overview.md) for a description of all the training functionalities). Each functionality you add typically has its own training configurations. For instance: diff --git a/com.unity.ml-agents/Documentation~/Training-Plugins.md b/com.unity.ml-agents/Documentation~/Training-Plugins.md index f29739e7d0..7d1de6ea32 100644 --- a/com.unity.ml-agents/Documentation~/Training-Plugins.md +++ b/com.unity.ml-agents/Documentation~/Training-Plugins.md @@ -10,7 +10,7 @@ ML-Agents provides support for running your own python implementations of specif The `ml-agents-plugin-examples` directory contains a reference implementation of each plugin interface, so it's a good starting point. ### setup.py -If you don't already have a `setup.py` file for your python code, you'll need to add one. `ml-agents-plugin-examples` has a [minimal example](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents-plugin-examples/setup.py) of this. +If you don't already have a `setup.py` file for your python code, you'll need to add one. `ml-agents-plugin-examples` has a [minimal example](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents-plugin-examples/setup.py) of this. In the call to `setup()`, you'll need to add to the `entry_points` dictionary for each plugin interface that you implement. The form of this is `{entry point name}={plugin module}:{plugin function}`. For example, in `ml-agents-plugin-examples`: @@ -42,4 +42,4 @@ The StatsWriter class receives various information from the training process, su The `StatsWriter.write_stats()` method must be implemented in any derived classes. It takes a "category" parameter, which typically is the behavior name of the Agents being trained, and a dictionary of `StatSummary` values with string keys. Additionally, `StatsWriter.on_add_stat()` may be extended to register a callback handler for each stat emission. #### Registration -The `StatsWriter` registration function takes a `RunOptions` argument and returns a list of `StatsWriter`s. An example implementation is provided in [`mlagents_plugin_examples`](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents-plugin-examples/mlagents_plugin_examples/example_stats_writer.py) +The `StatsWriter` registration function takes a `RunOptions` argument and returns a list of `StatsWriter`s. An example implementation is provided in [`mlagents_plugin_examples`](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents-plugin-examples/mlagents_plugin_examples/example_stats_writer.py) diff --git a/com.unity.ml-agents/Documentation~/Tutorial-Colab.md b/com.unity.ml-agents/Documentation~/Tutorial-Colab.md index 81934dfdd8..2f5cc00f31 100644 --- a/com.unity.ml-agents/Documentation~/Tutorial-Colab.md +++ b/com.unity.ml-agents/Documentation~/Tutorial-Colab.md @@ -4,6 +4,6 @@ Interactive tutorials for using ML-Agents with Google Colab environments. | **Tutorial** | **Description** | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| -| [Using a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.0.0/colab/Colab_UnityEnvironment_1_Run.ipynb) | Learn how to set up and interact with Unity environments in Colab. | -| [Q-Learning with a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.0.0/colab/Colab_UnityEnvironment_2_Train.ipynb) | Implement Q-Learning algorithms with Unity ML-Agents in Colab. | -| [Using Side Channels on a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.0.0/colab/Colab_UnityEnvironment_3_SideChannel.ipynb) | Explore side channel communication between Unity and Python. | +| [Using a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.1.0/colab/Colab_UnityEnvironment_1_Run.ipynb) | Learn how to set up and interact with Unity environments in Colab. | +| [Q-Learning with a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.1.0/colab/Colab_UnityEnvironment_2_Train.ipynb) | Implement Q-Learning algorithms with Unity ML-Agents in Colab. | +| [Using Side Channels on a UnityEnvironment](https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/release/4.1.0/colab/Colab_UnityEnvironment_3_SideChannel.ipynb) | Explore side channel communication between Unity and Python. | diff --git a/com.unity.ml-agents/Documentation~/Tutorial-Custom-Trainer-Plugin.md b/com.unity.ml-agents/Documentation~/Tutorial-Custom-Trainer-Plugin.md index 4797ce6c53..76f65f25d3 100644 --- a/com.unity.ml-agents/Documentation~/Tutorial-Custom-Trainer-Plugin.md +++ b/com.unity.ml-agents/Documentation~/Tutorial-Custom-Trainer-Plugin.md @@ -11,7 +11,7 @@ conda activate trainer-env Users of the plug-in system are responsible for implementing the trainer class subject to the API standard. Let us follow an example by implementing a custom trainer named "YourCustomTrainer". You can either extend `OnPolicyTrainer` or `OffPolicyTrainer` classes depending on the training strategies you choose. -Please refer to the internal [PPO implementation](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/ml-agents/mlagents/trainers/ppo/trainer.py) for a complete code example. We will not provide a workable code in the document. The purpose of the tutorial is to introduce you to the core components and interfaces of our plugin framework. We use code snippets and patterns to demonstrate the control and data flow. +Please refer to the internal [PPO implementation](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/ml-agents/mlagents/trainers/ppo/trainer.py) for a complete code example. We will not provide a workable code in the document. The purpose of the tutorial is to introduce you to the core components and interfaces of our plugin framework. We use code snippets and patterns to demonstrate the control and data flow. Your custom trainers are responsible for collecting experiences and training the models. Your custom trainer class acts like a coordinator to the policy and optimizer. To start implementing methods in the class, create a policy class objects from method `create_policy`: diff --git a/com.unity.ml-agents/Documentation~/index.md b/com.unity.ml-agents/Documentation~/index.md index 3a7d277321..623fe723ca 100644 --- a/com.unity.ml-agents/Documentation~/index.md +++ b/com.unity.ml-agents/Documentation~/index.md @@ -31,7 +31,7 @@ The package allows you to convert any Unity scene into a learning environment an ## Community and Feedback -The ML-Agents Toolkit is an open-source project, and we encourage and welcome contributions. If you wish to contribute, be sure to review our [contribution guidelines](CONTRIBUTING.md) and [code of conduct](https://github.com/Unity-Technologies/ml-agents/blob/release/4.0.0/CODE_OF_CONDUCT.md). +The ML-Agents Toolkit is an open-source project, and we encourage and welcome contributions. If you wish to contribute, be sure to review our [contribution guidelines](CONTRIBUTING.md) and [code of conduct](https://github.com/Unity-Technologies/ml-agents/blob/release/4.1.0/CODE_OF_CONDUCT.md). For problems with the installation and setup of the ML-Agents Toolkit, or discussions about how to best setup or train your agents, please create a new thread on the [Unity ML-Agents discussion forum](https://discussions.unity.com/tag/ml-agents). Be sure to include as many details as possible to help others assist you effectively. If you run into any other problems using the ML-Agents Toolkit or have a specific feature request, please [submit a GitHub issue](https://github.com/Unity-Technologies/ml-agents/issues). diff --git a/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.dll b/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.dll index 4682154bca..b7fa9d2426 100644 Binary files a/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.dll and b/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.dll differ diff --git a/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.pdb b/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.pdb index 8b9a7575a1..5a0243d612 100644 Binary files a/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.pdb and b/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.pdb differ diff --git a/com.unity.ml-agents/Runtime/Academy.cs b/com.unity.ml-agents/Runtime/Academy.cs index b800217e12..9d8a619255 100644 --- a/com.unity.ml-agents/Runtime/Academy.cs +++ b/com.unity.ml-agents/Runtime/Academy.cs @@ -107,7 +107,7 @@ public class Academy : IDisposable /// Unity package version of com.unity.ml-agents. /// This must match the version string in package.json and is checked in a unit test. /// - internal const string k_PackageVersion = "4.0.3"; + internal const string k_PackageVersion = "4.1.0"; const int k_EditorTrainingPort = 5004; diff --git a/com.unity.ml-agents/package.json b/com.unity.ml-agents/package.json index 9aabed59c1..c6e7763c99 100755 --- a/com.unity.ml-agents/package.json +++ b/com.unity.ml-agents/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.ml-agents", "displayName": "ML Agents", - "version": "4.0.3", + "version": "4.1.0", "unity": "6000.0", "description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).", "dependencies": {