diff --git a/.github/workflows/build_tests.yaml b/.github/workflows/build_tests.yaml index 3d8aa242..f9075336 100644 --- a/.github/workflows/build_tests.yaml +++ b/.github/workflows/build_tests.yaml @@ -21,11 +21,11 @@ on: env: # Names must be unique in parallel running tests. - TPU_CLUSTER_NAME: build-xpk-2-v4-8-nodepools + TPU_CLUSTER_NAME: build-xpk-2-v4-8-nodepools-ppawl-1 WORKLOAD_NAME: xpktest-build-${{ github.run_attempt }} PATHWAYS_WORKLOAD_NAME: xpkpw-build-${{ github.run_attempt }} STORAGE_NAME: test-storage - + # CLUSTER_ARGUMENTS: "--network=${{secrets.NETWORK_NAME}}" jobs: cluster-create-and-delete: runs-on: [ubuntu-20.04] @@ -100,17 +100,17 @@ jobs: run: python3 xpk.py workload list --cluster $TPU_CLUSTER_NAME --zone=us-central2-b --wait-for-job-completion $PATHWAYS_WORKLOAD_NAME --timeout 300 - name: List out the workloads on the cluster run: python3 xpk.py workload list --cluster $TPU_CLUSTER_NAME --zone=us-central2-b - - name: Delete the workload on the cluster - run: python3 xpk.py workload delete --workload $WORKLOAD_NAME --cluster $TPU_CLUSTER_NAME --zone=us-central2-b - - name: Delete the Pathways workload on the cluster - run: python3 xpk.py workload delete --workload $PATHWAYS_WORKLOAD_NAME --cluster $TPU_CLUSTER_NAME --zone=us-central2-b - - name: Delete created GCS file - run: gsutil rm gs://xpk-ci-cd-tests/$RANDOM_SEED.txt - - name: Delete existing Storage - run: python3 xpk.py storage delete $STORAGE_NAME --cluster $TPU_CLUSTER_NAME --zone=us-central2-b - - name: Delete the cluster created - if: always() - run: python3 xpk.py cluster delete --cluster $TPU_CLUSTER_NAME --zone=us-central2-b + # - name: Delete the workload on the cluster + # run: python3 xpk.py workload delete --workload $WORKLOAD_NAME --cluster $TPU_CLUSTER_NAME --zone=us-central2-b + # - name: Delete the Pathways workload on the cluster + # run: python3 xpk.py workload delete --workload $PATHWAYS_WORKLOAD_NAME --cluster $TPU_CLUSTER_NAME --zone=us-central2-b + # - name: Delete created GCS file + # run: gsutil rm gs://xpk-ci-cd-tests/$RANDOM_SEED.txt + # - name: Delete existing Storage + # run: python3 xpk.py storage delete $STORAGE_NAME --cluster $TPU_CLUSTER_NAME --zone=us-central2-b + # - name: Delete the cluster created + # if: always() + # run: python3 xpk.py cluster delete --cluster $TPU_CLUSTER_NAME --zone=us-central2-b diff --git a/src/xpk/commands/workload.py b/src/xpk/commands/workload.py index d88dc137..6f6898b4 100644 --- a/src/xpk/commands/workload.py +++ b/src/xpk/commands/workload.py @@ -669,6 +669,7 @@ def workload_list(args) -> None: return_code, return_value = get_workload_list(args) + print('TESTING') if return_code != 0: xpk_print(f'List Job request returned ERROR {return_code}') xpk_exit(return_code)