From 57c87365968050850903eefd4e528b3bcd8abbad Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 17 Oct 2023 09:30:14 -0700 Subject: [PATCH] Move a nodejs test to a different machine pool (#17970) ### Description This is a temp fix for the failing "Zip-Nuget-Java-Nodejs Packaging Pipeline". The pipeline is failing because I removed NodeJS from the build machine pool's image, to reduce the number of dependencies we need to maintain in VMs. So this PR will temporarily move the test to a different machine pool to get the test passed. Then I will move the test to docker. Docker images are relatively easier to update and maintain. Now we almost run all Linux test in docker, except for this one. Moving it to docker is needed for enabling GPU support in nodejs, because all our Linux VMs do not have CUDA. ### Motivation and Context --- .../github/azure-pipelines/nodejs/templates/test_linux.yml | 4 ++-- tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/nodejs/templates/test_linux.yml b/tools/ci_build/github/azure-pipelines/nodejs/templates/test_linux.yml index 4563a79adb..864d1002a9 100644 --- a/tools/ci_build/github/azure-pipelines/nodejs/templates/test_linux.yml +++ b/tools/ci_build/github/azure-pipelines/nodejs/templates/test_linux.yml @@ -1,5 +1,5 @@ parameters: - AgentPool: 'onnxruntime-Ubuntu2004-AMD-CPU' + AgentPool: 'Azure-Pipelines-EO-Ubuntu-2004-aiinfra' StageSuffix: '' stages: - stage: Nodejs_Test_${{ parameters.StageSuffix }} @@ -18,4 +18,4 @@ stages: value: '$(Build.BinariesDirectory)' steps: - template: test.yml - \ No newline at end of file + diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml index 21cd3a44e8..af245c9970 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml @@ -804,7 +804,7 @@ stages: - template: ../nodejs/templates/test_linux.yml parameters: - AgentPool : 'onnxruntime-Ubuntu2004-AMD-CPU' + AgentPool : 'Azure-Pipelines-EO-Ubuntu-2004-aiinfra' StageSuffix : 'Linux_CPU_x64' - template: ../nodejs/templates/test_macos.yml