From b050109c15dc12fe1154336e02508fa80e64b54a Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:28:21 -0700 Subject: [PATCH 01/45] Create PrTests.yaml --- .github/workflows/PrTests.yaml | 73 ++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .github/workflows/PrTests.yaml diff --git a/.github/workflows/PrTests.yaml b/.github/workflows/PrTests.yaml new file mode 100644 index 000000000000..aeb4918910b6 --- /dev/null +++ b/.github/workflows/PrTests.yaml @@ -0,0 +1,73 @@ +ame: PR-gcc-openmpi + +on: + pull_request: + types: + - labeled + - opened + - synchronize + branches: + - master + - develop + workflow_dispatch: + +jobs: + triloamd01-gcc: + runs-on: [self-hosted, trilamd01] + container: + image: registry-ex.sandia.gov/trilinos-project/trilinos-containers/rhel8/trilinos-pr-env:gcc-8.5.0 + options: --hostname trilinos-container-gcc-8 + steps: + - name: env + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: | + env + - name: module list + shell: bash + run: | + bash -l -c "module list" + printenv PATH + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.11.0 + with: + access_token: ${{ github.token }} + - name: make dirs + working-directory: / + run: | + mkdir -p /home/Trilinos/src/Trilinos + mkdir -p /home/Trilinos/build + - name: Clone trilinos + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Repo status + run: | + git fetch --all + pwd + ls -lhat + git status + git branch -vv + git branch -a + - name: get dependencies + working-directory: ./packages/framework + run: | + bash -l -c "./get_dependencies.sh --container" + - name: Generate PR cmake fragment + working-directory: /home/Trilinos/build + run: | + bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" + - name: Generate enable packages cmake fragment + working-directory: /home/Trilinos/build + run: | + bash -l -c "TRILINOS_DIR=${GITHUB_WORKSPACE} ${GITHUB_WORKSPACE}/commonTools/framework/get-changed-trilinos-packages.sh HEAD origin/develop package-enables.cmake ctest-labels.cmake" || bash -l -c "cat TribitsDumpDepsXmlScript.log" + - name: configure trilinos + working-directory: /home/Trilinos/build + run: | + bash -l -c "cmake -C PR-configuration.cmake -C package-enables.cmake ${GITHUB_WORKSPACE}" + - name: build trilinos + working-directory: /home/Trilinos/build + run: bash -l -c "ninja" + - name: ctest + working-directory: /home/Trilinos/build + run: bash -l -c "ctest -j36" From f649313b3b38794f2e209900fcbcfd800019c4a3 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Thu, 9 Nov 2023 12:54:42 -0700 Subject: [PATCH 02/45] test --- test.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 000000000000..e69de29bb2d1 From fcae605153eff1bcbe5b1075cb0bd4e11b13ac43 Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:55:50 -0700 Subject: [PATCH 03/45] Rename PrTests.yaml to PrTests.yml --- .github/workflows/{PrTests.yaml => PrTests.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{PrTests.yaml => PrTests.yml} (100%) diff --git a/.github/workflows/PrTests.yaml b/.github/workflows/PrTests.yml similarity index 100% rename from .github/workflows/PrTests.yaml rename to .github/workflows/PrTests.yml From 2304faf2a1242432df4c6cf96ca120ba2bdca89e Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:57:10 -0700 Subject: [PATCH 04/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index aeb4918910b6..4bfbfdbe4575 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -1,4 +1,4 @@ -ame: PR-gcc-openmpi +name: PR-gcc-openmpi on: pull_request: From 947bfa23ff0584f6c30b7f32f206c099429dcb33 Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:59:03 -0700 Subject: [PATCH 05/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 4bfbfdbe4575..7f64f54b3255 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -13,7 +13,7 @@ on: jobs: triloamd01-gcc: - runs-on: [self-hosted, trilamd01] + runs-on: [self-hosted, triloamd01] container: image: registry-ex.sandia.gov/trilinos-project/trilinos-containers/rhel8/trilinos-pr-env:gcc-8.5.0 options: --hostname trilinos-container-gcc-8 From 7605f50d990194a1d731b699e97a3ffc9ee69cc7 Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Thu, 9 Nov 2023 13:00:42 -0700 Subject: [PATCH 06/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 7f64f54b3255..7aab4ffb7a68 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -14,9 +14,6 @@ on: jobs: triloamd01-gcc: runs-on: [self-hosted, triloamd01] - container: - image: registry-ex.sandia.gov/trilinos-project/trilinos-containers/rhel8/trilinos-pr-env:gcc-8.5.0 - options: --hostname trilinos-container-gcc-8 steps: - name: env env: From 520e489fff7a6a6150a95eb943e9391b17c3211c Mon Sep 17 00:00:00 2001 From: triple3567 Date: Thu, 9 Nov 2023 15:55:21 -0700 Subject: [PATCH 07/45] f --- .github/test.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/test.txt diff --git a/.github/test.txt b/.github/test.txt new file mode 100644 index 000000000000..e69de29bb2d1 From b12648e56bc5f3697a730c81b289f3e691ffb8d0 Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Thu, 9 Nov 2023 15:58:03 -0700 Subject: [PATCH 08/45] Update test.txt --- test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test.txt b/test.txt index e69de29bb2d1..f33dfa25aa16 100644 --- a/test.txt +++ b/test.txt @@ -0,0 +1 @@ +1 From ee81a43657270cf5fc06810151b4058bdd9427fb Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 13 Nov 2023 15:34:12 -0700 Subject: [PATCH 09/45] dsf --- test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test.txt b/test.txt index e69de29bb2d1..77c430a5acfb 100644 --- a/test.txt +++ b/test.txt @@ -0,0 +1 @@ +update \ No newline at end of file From c31a61287481bceea6126fe873d2e789afa4ebda Mon Sep 17 00:00:00 2001 From: triple3567 Date: Tue, 28 Nov 2023 10:27:13 -0700 Subject: [PATCH 10/45] pr test yaml changes --- .github/workflows/PrTests.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PrTests.yaml b/.github/workflows/PrTests.yaml index aeb4918910b6..a2a3cf707ea8 100644 --- a/.github/workflows/PrTests.yaml +++ b/.github/workflows/PrTests.yaml @@ -35,12 +35,13 @@ jobs: - name: make dirs working-directory: / run: | - mkdir -p /home/Trilinos/src/Trilinos - mkdir -p /home/Trilinos/build + mkdir -p /home/runner/Trilinos/src/Trilinos + mkdir -p /home/runner/Trilinos/build - name: Clone trilinos uses: actions/checkout@v4 with: fetch-depth: 0 + path: /home/runner/Trilinos/src/Trilinos - name: Repo status run: | git fetch --all @@ -54,20 +55,20 @@ jobs: run: | bash -l -c "./get_dependencies.sh --container" - name: Generate PR cmake fragment - working-directory: /home/Trilinos/build + working-directory: /home/runner/Trilinos/build run: | bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" - name: Generate enable packages cmake fragment - working-directory: /home/Trilinos/build + working-directory: /home/runner/Trilinos/build run: | bash -l -c "TRILINOS_DIR=${GITHUB_WORKSPACE} ${GITHUB_WORKSPACE}/commonTools/framework/get-changed-trilinos-packages.sh HEAD origin/develop package-enables.cmake ctest-labels.cmake" || bash -l -c "cat TribitsDumpDepsXmlScript.log" - name: configure trilinos - working-directory: /home/Trilinos/build + working-directory: /home/runner/Trilinos/build run: | bash -l -c "cmake -C PR-configuration.cmake -C package-enables.cmake ${GITHUB_WORKSPACE}" - name: build trilinos - working-directory: /home/Trilinos/build + working-directory: /home/runner/Trilinos/build run: bash -l -c "ninja" - name: ctest - working-directory: /home/Trilinos/build + working-directory: /home/runner/Trilinos/build run: bash -l -c "ctest -j36" From 0883e1ef47456095fc22b2d3bf998989d7c9761a Mon Sep 17 00:00:00 2001 From: triple3567 Date: Tue, 28 Nov 2023 10:34:01 -0700 Subject: [PATCH 11/45] syntax fix --- .github/workflows/PrTests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yaml b/.github/workflows/PrTests.yaml index a2a3cf707ea8..b37aa521be49 100644 --- a/.github/workflows/PrTests.yaml +++ b/.github/workflows/PrTests.yaml @@ -1,4 +1,4 @@ -ame: PR-gcc-openmpi +name: PR-gcc-openmpi on: pull_request: From 8a44691fe628cb2c2f355298f38b6f79ea5e9662 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Tue, 28 Nov 2023 10:45:12 -0700 Subject: [PATCH 12/45] dsf --- .github/workflows/PrTests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index b01d3c6132db..cb9f14e83d45 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -38,7 +38,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - path: /home/runner/Trilinos/src/Trilinos - name: Repo status run: | git fetch --all From ddfdcfc0288ef0bb2ea5bbb8dd9902961e5e999e Mon Sep 17 00:00:00 2001 From: triple3567 Date: Tue, 28 Nov 2023 10:59:10 -0700 Subject: [PATCH 13/45] sdf --- .github/workflows/PrTests.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index cb9f14e83d45..7aab4ffb7a68 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -32,8 +32,8 @@ jobs: - name: make dirs working-directory: / run: | - mkdir -p /home/runner/Trilinos/src/Trilinos - mkdir -p /home/runner/Trilinos/build + mkdir -p /home/Trilinos/src/Trilinos + mkdir -p /home/Trilinos/build - name: Clone trilinos uses: actions/checkout@v4 with: @@ -51,20 +51,20 @@ jobs: run: | bash -l -c "./get_dependencies.sh --container" - name: Generate PR cmake fragment - working-directory: /home/runner/Trilinos/build + working-directory: /home/Trilinos/build run: | bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" - name: Generate enable packages cmake fragment - working-directory: /home/runner/Trilinos/build + working-directory: /home/Trilinos/build run: | bash -l -c "TRILINOS_DIR=${GITHUB_WORKSPACE} ${GITHUB_WORKSPACE}/commonTools/framework/get-changed-trilinos-packages.sh HEAD origin/develop package-enables.cmake ctest-labels.cmake" || bash -l -c "cat TribitsDumpDepsXmlScript.log" - name: configure trilinos - working-directory: /home/runner/Trilinos/build + working-directory: /home/Trilinos/build run: | bash -l -c "cmake -C PR-configuration.cmake -C package-enables.cmake ${GITHUB_WORKSPACE}" - name: build trilinos - working-directory: /home/runner/Trilinos/build + working-directory: /home/Trilinos/build run: bash -l -c "ninja" - name: ctest - working-directory: /home/runner/Trilinos/build + working-directory: /home/Trilinos/build run: bash -l -c "ctest -j36" From d0499318ffb884460bbe0bb7346985107cdac80c Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:22:53 -0700 Subject: [PATCH 14/45] Delete test.txt --- test.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 test.txt diff --git a/test.txt b/test.txt deleted file mode 100644 index 4ea5e4dd2666..000000000000 --- a/test.txt +++ /dev/null @@ -1 +0,0 @@ -update From 2b985e22220b912e23cd57c1f74a1711266f230d Mon Sep 17 00:00:00 2001 From: triple3567 Date: Thu, 30 Nov 2023 16:25:30 -0700 Subject: [PATCH 15/45] sdf --- .github/test.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .github/test.txt diff --git a/.github/test.txt b/.github/test.txt deleted file mode 100644 index e69de29bb2d1..000000000000 From fa691c1f147db8c194e582c41b2edf3ffe7e38ba Mon Sep 17 00:00:00 2001 From: triple3567 Date: Fri, 1 Dec 2023 11:34:34 -0700 Subject: [PATCH 16/45] add force to disregard hostname --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 7aab4ffb7a68..93430809e230 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -53,7 +53,7 @@ jobs: - name: Generate PR cmake fragment working-directory: /home/Trilinos/build run: | - bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" + bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --force --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" - name: Generate enable packages cmake fragment working-directory: /home/Trilinos/build run: | From 81d119e037a1153b2dfd6594a841ab0cb2d0b828 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Fri, 1 Dec 2023 11:57:39 -0700 Subject: [PATCH 17/45] remove --force. need to fix hostname issue --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 93430809e230..7aab4ffb7a68 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -53,7 +53,7 @@ jobs: - name: Generate PR cmake fragment working-directory: /home/Trilinos/build run: | - bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --force --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" + bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" - name: Generate enable packages cmake fragment working-directory: /home/Trilinos/build run: | From dc5fa57c7ddbc241b1a4f5a9e16b684dca6e481f Mon Sep 17 00:00:00 2001 From: triple3567 Date: Wed, 6 Dec 2023 15:05:40 -0700 Subject: [PATCH 18/45] add back force --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 7aab4ffb7a68..93430809e230 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -53,7 +53,7 @@ jobs: - name: Generate PR cmake fragment working-directory: /home/Trilinos/build run: | - bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" + bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --force --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" - name: Generate enable packages cmake fragment working-directory: /home/Trilinos/build run: | From 121614c86b5421940db8f67f4c0bb6cb9eefd840 Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Fri, 12 Jan 2024 15:43:00 -0700 Subject: [PATCH 19/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 93430809e230..240a5390a970 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -3,9 +3,11 @@ name: PR-gcc-openmpi on: pull_request: types: - - labeled - opened - synchronize + pull_request_review: + types: + - edited branches: - master - develop From b4af158678e3b5d5775445eafe7d9f2b588dac7d Mon Sep 17 00:00:00 2001 From: triple3567 <51243385+triple3567@users.noreply.github.com> Date: Fri, 12 Jan 2024 15:53:15 -0700 Subject: [PATCH 20/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 240a5390a970..e78dc2001a6e 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -7,7 +7,7 @@ on: - synchronize pull_request_review: types: - - edited + - submitted branches: - master - develop From bb3506e03f598e8faa56d05a21780db45f44bc58 Mon Sep 17 00:00:00 2001 From: triple3567 <51243385+triple3567@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:41:45 -0700 Subject: [PATCH 21/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index e78dc2001a6e..1ddd39f60286 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -15,6 +15,7 @@ on: jobs: triloamd01-gcc: + if: github.event.review.state == 'APPROVED' runs-on: [self-hosted, triloamd01] steps: - name: env From 717539c639d3627e9d455f75995ea93d2b1df06c Mon Sep 17 00:00:00 2001 From: triple3567 <51243385+triple3567@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:19:37 -0700 Subject: [PATCH 22/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 1ddd39f60286..0d89a0d924dc 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -15,7 +15,7 @@ on: jobs: triloamd01-gcc: - if: github.event.review.state == 'APPROVED' + if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} runs-on: [self-hosted, triloamd01] steps: - name: env From 66c510a02abf02a5cfab74a2c8626e878c68d606 Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:05:47 -0700 Subject: [PATCH 23/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 0d89a0d924dc..94409aed658c 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -1,4 +1,4 @@ -name: PR-gcc-openmpi +name: pr-test-AT2 on: pull_request: @@ -15,9 +15,8 @@ on: jobs: triloamd01-gcc: - if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} runs-on: [self-hosted, triloamd01] - steps: + if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} - name: env env: GITHUB_CONTEXT: ${{ toJson(github) }} From b297f0fe183419ac536fc2efec529c2bad2e122b Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:07:30 -0700 Subject: [PATCH 24/45] Update PrTests.yml --- .github/workflows/PrTests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 94409aed658c..1aa7655bf76c 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -17,6 +17,7 @@ jobs: triloamd01-gcc: runs-on: [self-hosted, triloamd01] if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} + steps: - name: env env: GITHUB_CONTEXT: ${{ toJson(github) }} From ff319f9962de0b856548748c53d56151358e32cd Mon Sep 17 00:00:00 2001 From: trilinos-cicd <141961590+trilinos-cicd@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:11:53 -0700 Subject: [PATCH 25/45] Create test.txt --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 000000000000..2f4e349d1dce --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +sdf From 014d36bd05ca7b60345110810b974ada62ce12d6 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 11:30:56 -0600 Subject: [PATCH 26/45] adsf --- .github/workflows/PrTests.yml | 51 ++++++----------------------------- 1 file changed, 8 insertions(+), 43 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 1aa7655bf76c..81211be32088 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -18,56 +18,21 @@ jobs: runs-on: [self-hosted, triloamd01] if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} steps: - - name: env - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: | - env - - name: module list - shell: bash - run: | - bash -l -c "module list" - printenv PATH - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: make dirs - working-directory: / - run: | - mkdir -p /home/Trilinos/src/Trilinos - mkdir -p /home/Trilinos/build - name: Clone trilinos uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Repo status - run: | - git fetch --all - pwd - ls -lhat - git status - git branch -vv - git branch -a - name: get dependencies working-directory: ./packages/framework run: | bash -l -c "./get_dependencies.sh --container" - - name: Generate PR cmake fragment - working-directory: /home/Trilinos/build - run: | - bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --force --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" - - name: Generate enable packages cmake fragment - working-directory: /home/Trilinos/build + - name: get dependencies + working-directory: ./packages/framework run: | - bash -l -c "TRILINOS_DIR=${GITHUB_WORKSPACE} ${GITHUB_WORKSPACE}/commonTools/framework/get-changed-trilinos-packages.sh HEAD origin/develop package-enables.cmake ctest-labels.cmake" || bash -l -c "cat TribitsDumpDepsXmlScript.log" - - name: configure trilinos - working-directory: /home/Trilinos/build + bash -l -c "./get_dependencies.sh --container" + bash -l -c "echo ::add-mask::./get_dependencies.sh --container" + - name: get dependencies + working-directory: ./packages/framework run: | - bash -l -c "cmake -C PR-configuration.cmake -C package-enables.cmake ${GITHUB_WORKSPACE}" - - name: build trilinos - working-directory: /home/Trilinos/build - run: bash -l -c "ninja" - - name: ctest - working-directory: /home/Trilinos/build - run: bash -l -c "ctest -j36" + echo "./get_dependencies.sh --container" + echo "::add-mask::./get_dependencies.sh --container" \ No newline at end of file From 71a7922359b3fac9e9c2d427f880bc1334969e6e Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 11:41:52 -0600 Subject: [PATCH 27/45] dsaf --- .github/workflows/PrTests.yml | 14 +++++--------- test.sh | 3 +++ 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100755 test.sh diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 81211be32088..f714a7cbb87b 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -25,14 +25,10 @@ jobs: - name: get dependencies working-directory: ./packages/framework run: | - bash -l -c "./get_dependencies.sh --container" - - name: get dependencies - working-directory: ./packages/framework - run: | - bash -l -c "./get_dependencies.sh --container" - bash -l -c "echo ::add-mask::./get_dependencies.sh --container" - - name: get dependencies + echo "bash -l -c './get_dependencies.sh --container'" + echo "::add-mask::bash -l -c './get_dependencies.sh --container'" + - name: test output working-directory: ./packages/framework run: | - echo "./get_dependencies.sh --container" - echo "::add-mask::./get_dependencies.sh --container" \ No newline at end of file + echo "./test.sh" + echo "::add-mask::./test.sh" \ No newline at end of file diff --git a/test.sh b/test.sh new file mode 100755 index 000000000000..b599f5e07797 --- /dev/null +++ b/test.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "OUTPUT OUTPUT OUTPUT" \ No newline at end of file From a4cf91042871f2908e30fd02054bb06f62804d74 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 11:59:30 -0600 Subject: [PATCH 28/45] debug --- .github/workflows/PrTests.yml | 27 ++++++++++++++++++++------- test-fail.sh | 5 +++++ test-pass.sh | 5 +++++ test.sh | 3 --- 4 files changed, 30 insertions(+), 10 deletions(-) create mode 100644 test-fail.sh create mode 100755 test-pass.sh delete mode 100755 test.sh diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index f714a7cbb87b..a668b44e160b 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -22,13 +22,26 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: get dependencies - working-directory: ./packages/framework + - name: show output pass run: | - echo "bash -l -c './get_dependencies.sh --container'" - echo "::add-mask::bash -l -c './get_dependencies.sh --container'" - - name: test output - working-directory: ./packages/framework + echo "./test.sh" + echo "::add-mask::./test.sh" + - name: show output fail + continue-on-error: true + run: | + echo "./test.sh" + echo "::add-mask::./test.sh" + - name: mask output pass run: | echo "./test.sh" - echo "::add-mask::./test.sh" \ No newline at end of file + echo "::add-mask::./test.sh" + - name: mask output fail + continue-on-error: true + run: | + echo "./test.sh" + echo "::add-mask::./test.sh" + - name: real world trilinos example + working-directory: ./packages/framework + run: | + echo "bash -l -c './get_dependencies.sh --container'" + echo "::add-mask::bash -l -c './get_dependencies.sh --container'" \ No newline at end of file diff --git a/test-fail.sh b/test-fail.sh new file mode 100644 index 000000000000..81340b745439 --- /dev/null +++ b/test-fail.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +echo "OUTPUT FAIL OUTPUT FAIL OUTPUT FAIL" + +exit 1 \ No newline at end of file diff --git a/test-pass.sh b/test-pass.sh new file mode 100755 index 000000000000..6e0d347f27b5 --- /dev/null +++ b/test-pass.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +echo "OUTPUT PASS OUTPUT PASS OUTPUT PASS" + +exit 0 \ No newline at end of file diff --git a/test.sh b/test.sh deleted file mode 100755 index b599f5e07797..000000000000 --- a/test.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -echo "OUTPUT OUTPUT OUTPUT" \ No newline at end of file From 2185f035d7fa4b1830e61bfef91ed28230c6917f Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 12:08:30 -0600 Subject: [PATCH 29/45] fix the mask --- .github/workflows/PrTests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index a668b44e160b..9e40f693ed40 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -25,12 +25,10 @@ jobs: - name: show output pass run: | echo "./test.sh" - echo "::add-mask::./test.sh" - name: show output fail continue-on-error: true run: | echo "./test.sh" - echo "::add-mask::./test.sh" - name: mask output pass run: | echo "./test.sh" From de825488d1c7f344380927d618ff59373bc61a6e Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 12:15:12 -0600 Subject: [PATCH 30/45] dsaf --- .github/workflows/PrTests.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 9e40f693ed40..482d46399c4f 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -18,26 +18,22 @@ jobs: runs-on: [self-hosted, triloamd01] if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} steps: - - name: Clone trilinos - uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: show output pass run: | - echo "./test.sh" + echo "./test-pass.sh" - name: show output fail continue-on-error: true run: | - echo "./test.sh" + echo "./test-fail.sh" - name: mask output pass run: | - echo "./test.sh" - echo "::add-mask::./test.sh" + echo "./test-pass.sh" + echo "::add-mask::./test-pass.sh" - name: mask output fail continue-on-error: true run: | - echo "./test.sh" - echo "::add-mask::./test.sh" + echo "./test-fail.sh" + echo "::add-mask::./test-fail.sh" - name: real world trilinos example working-directory: ./packages/framework run: | From a41bb575795dc000d0ebcb04bcb7d63b7d595c46 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 12:33:06 -0600 Subject: [PATCH 31/45] add back clone --- .github/workflows/PrTests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 482d46399c4f..87f78bccb579 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -18,6 +18,10 @@ jobs: runs-on: [self-hosted, triloamd01] if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} steps: + - name: Clone trilinos + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: show output pass run: | echo "./test-pass.sh" From 158d36068f72016544cb39795eb49df4c7cfda08 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 12:39:37 -0600 Subject: [PATCH 32/45] debug --- .github/workflows/PrTests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 87f78bccb579..d05c4f906bcb 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -24,19 +24,19 @@ jobs: fetch-depth: 0 - name: show output pass run: | - echo "./test-pass.sh" + ./test-pass.sh - name: show output fail continue-on-error: true run: | - echo "./test-fail.sh" + ./test-fail.sh - name: mask output pass run: | - echo "./test-pass.sh" + ./test-pass.sh echo "::add-mask::./test-pass.sh" - name: mask output fail continue-on-error: true run: | - echo "./test-fail.sh" + ./test-fail.sh echo "::add-mask::./test-fail.sh" - name: real world trilinos example working-directory: ./packages/framework From 6cf01cb3f9640f067362c363a847cf4db86a5576 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 13:37:04 -0600 Subject: [PATCH 33/45] env var --- .github/workflows/PrTests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index d05c4f906bcb..7178135a5a29 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -31,13 +31,13 @@ jobs: ./test-fail.sh - name: mask output pass run: | - ./test-pass.sh - echo "::add-mask::./test-pass.sh" + OUTPUT=$(./test-pass.sh) + echo "::add-mask::$OUTPUT" - name: mask output fail continue-on-error: true run: | - ./test-fail.sh - echo "::add-mask::./test-fail.sh" + OUTPUT=$(./test-fail.sh) + echo "::add-mask::$OUTPUT" - name: real world trilinos example working-directory: ./packages/framework run: | From 0a1fdfb3f6bd5c1e2232e37a93384e386a6477a1 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 13:42:03 -0600 Subject: [PATCH 34/45] fix perms --- test-fail.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 test-fail.sh diff --git a/test-fail.sh b/test-fail.sh old mode 100644 new mode 100755 From 9b87422c8f87daf3d0febd3ce85264a927da2197 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 13:51:14 -0600 Subject: [PATCH 35/45] fix trilinos example --- .github/workflows/PrTests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 7178135a5a29..c649be8a2660 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -41,5 +41,5 @@ jobs: - name: real world trilinos example working-directory: ./packages/framework run: | - echo "bash -l -c './get_dependencies.sh --container'" - echo "::add-mask::bash -l -c './get_dependencies.sh --container'" \ No newline at end of file + OUTPUT=$(bash -l -c "./get_dependencies.sh --container") + echo "::add-mask::$OUTPUT" \ No newline at end of file From 0ece095816aef29fb08c5df53293bcf77e760cba Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 14:03:14 -0600 Subject: [PATCH 36/45] fix --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index c649be8a2660..7fc938b09928 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -41,5 +41,5 @@ jobs: - name: real world trilinos example working-directory: ./packages/framework run: | - OUTPUT=$(bash -l -c "./get_dependencies.sh --container") + bash -l -c "OUTPUT=$(./get_dependencies.sh --container)" echo "::add-mask::$OUTPUT" \ No newline at end of file From db6792546d10ad2a4707cbd6350accf104e620a3 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 14:36:29 -0600 Subject: [PATCH 37/45] debug --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 7fc938b09928..ba0b94c82801 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -41,5 +41,5 @@ jobs: - name: real world trilinos example working-directory: ./packages/framework run: | - bash -l -c "OUTPUT=$(./get_dependencies.sh --container)" + bash -l -c "OUTPUT=$(./get_dependencies.sh --container 2>&1)" echo "::add-mask::$OUTPUT" \ No newline at end of file From 1982d8c1c12f42d30ed455fdf986c51deb6c0909 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 14:44:59 -0600 Subject: [PATCH 38/45] fix --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index ba0b94c82801..c8b41538c356 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -41,5 +41,5 @@ jobs: - name: real world trilinos example working-directory: ./packages/framework run: | - bash -l -c "OUTPUT=$(./get_dependencies.sh --container 2>&1)" + OUTPUT=$(bash -l -c "./get_dependencies.sh --container" 2>&1) echo "::add-mask::$OUTPUT" \ No newline at end of file From d43a6405857f712798a9d313d8539083f66ebb22 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 14:51:37 -0600 Subject: [PATCH 39/45] try again --- .github/workflows/PrTests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index c8b41538c356..5ddfd4c71610 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -41,5 +41,6 @@ jobs: - name: real world trilinos example working-directory: ./packages/framework run: | - OUTPUT=$(bash -l -c "./get_dependencies.sh --container" 2>&1) - echo "::add-mask::$OUTPUT" \ No newline at end of file + OUTPUT_0=$(bash -l -c "OUTPUT_1=$(./get_dependencies.sh --container)" 2>&1) + echo "::add-mask::$OUTPUT_0" + echo "::add-mask::$OUTPUT_1" \ No newline at end of file From 6f28cd684457210ba524e22f04c6e9047760bc00 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 15:01:37 -0600 Subject: [PATCH 40/45] add tests --- .github/workflows/PrTests.yml | 6 ++++++ test-file-write.sh | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100755 test-file-write.sh diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 5ddfd4c71610..194e605d4158 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -38,6 +38,12 @@ jobs: run: | OUTPUT=$(./test-fail.sh) echo "::add-mask::$OUTPUT" + - name: file write test + continue-on-error: true + run: | + OUTPUT_0=$(bash -l -c "OUTPUT_1=$(./test-file-write.sh)" 2>&1) + echo "::add-mask::$OUTPUT" + ls -l - name: real world trilinos example working-directory: ./packages/framework run: | diff --git a/test-file-write.sh b/test-file-write.sh new file mode 100755 index 000000000000..8c608239971a --- /dev/null +++ b/test-file-write.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +echo "WRITING FILE" + +touch file.txt + +echo "WROTE FILE" + +exit 0 \ No newline at end of file From 4be6625e650f9d994e91ffdf0e82129cb55533d2 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 15:09:40 -0600 Subject: [PATCH 41/45] dsafg --- .github/workflows/PrTests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 194e605d4158..ee16f90c4654 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -41,12 +41,11 @@ jobs: - name: file write test continue-on-error: true run: | - OUTPUT_0=$(bash -l -c "OUTPUT_1=$(./test-file-write.sh)" 2>&1) + OUTPUT=$(./test-file-write.sh)" 2>&1 echo "::add-mask::$OUTPUT" ls -l - name: real world trilinos example - working-directory: ./packages/framework + working-directory: run: | - OUTPUT_0=$(bash -l -c "OUTPUT_1=$(./get_dependencies.sh --container)" 2>&1) - echo "::add-mask::$OUTPUT_0" - echo "::add-mask::$OUTPUT_1" \ No newline at end of file + OUTPUT=$(source ~/.bashrc && ./get_dependencies.sh --container 2>&1) + echo "::add-mask::$OUTPUT" \ No newline at end of file From b967e145d27d6cd28c9d0380e118a4504bcbd03d Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 15:17:42 -0600 Subject: [PATCH 42/45] asdf --- .github/workflows/PrTests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index ee16f90c4654..b9109a8914a4 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -41,11 +41,11 @@ jobs: - name: file write test continue-on-error: true run: | - OUTPUT=$(./test-file-write.sh)" 2>&1 + OUTPUT=$(./test-file-write.sh) 2>&1 echo "::add-mask::$OUTPUT" ls -l - name: real world trilinos example - working-directory: + working-directory: ./packages/framework run: | - OUTPUT=$(source ~/.bashrc && ./get_dependencies.sh --container 2>&1) + OUTPUT=$(source ~/.bash_profile && ./get_dependencies.sh --container 2>&1) echo "::add-mask::$OUTPUT" \ No newline at end of file From 4063c0ac9a5812c3dff6b75af08fe50c0e75cc34 Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 15:52:04 -0600 Subject: [PATCH 43/45] egsdgf --- .github/workflows/PrTests.yml | 13 ++++--------- test-fail.sh | 2 ++ test-pass.sh | 2 ++ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index b9109a8914a4..51f4e46d0dbe 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -31,21 +31,16 @@ jobs: ./test-fail.sh - name: mask output pass run: | - OUTPUT=$(./test-pass.sh) - echo "::add-mask::$OUTPUT" + ./test-pass.sh > /dev/null 2>&1 - name: mask output fail continue-on-error: true run: | - OUTPUT=$(./test-fail.sh) - echo "::add-mask::$OUTPUT" + ./test-fail.sh > /dev/null 2>&1 - name: file write test continue-on-error: true run: | - OUTPUT=$(./test-file-write.sh) 2>&1 - echo "::add-mask::$OUTPUT" - ls -l + ./test-file-write.sh) > /dev/null 2>&1 - name: real world trilinos example working-directory: ./packages/framework run: | - OUTPUT=$(source ~/.bash_profile && ./get_dependencies.sh --container 2>&1) - echo "::add-mask::$OUTPUT" \ No newline at end of file + source ~/.bash_profile && ./get_dependencies.sh --container > /dev/null 2>&1 \ No newline at end of file diff --git a/test-fail.sh b/test-fail.sh index 81340b745439..9ff19dd2b767 100755 --- a/test-fail.sh +++ b/test-fail.sh @@ -1,5 +1,7 @@ #!/bin/bash +echo "OUTPUT FAIL OUTPUT FAIL OUTPUT FAIL" +echo "OUTPUT FAIL OUTPUT FAIL OUTPUT FAIL" echo "OUTPUT FAIL OUTPUT FAIL OUTPUT FAIL" exit 1 \ No newline at end of file diff --git a/test-pass.sh b/test-pass.sh index 6e0d347f27b5..1820b3f5e36f 100755 --- a/test-pass.sh +++ b/test-pass.sh @@ -1,5 +1,7 @@ #!/bin/bash +echo "OUTPUT PASS OUTPUT PASS OUTPUT PASS" +echo "OUTPUT PASS OUTPUT PASS OUTPUT PASS" echo "OUTPUT PASS OUTPUT PASS OUTPUT PASS" exit 0 \ No newline at end of file From a446794f1ff4b384c5cf9dc13b960331090b2adf Mon Sep 17 00:00:00 2001 From: triple3567 Date: Mon, 29 Apr 2024 16:06:54 -0600 Subject: [PATCH 44/45] syntax error --- .github/workflows/PrTests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 51f4e46d0dbe..395571d76b53 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -39,7 +39,7 @@ jobs: - name: file write test continue-on-error: true run: | - ./test-file-write.sh) > /dev/null 2>&1 + ./test-file-write.sh > /dev/null 2>&1 - name: real world trilinos example working-directory: ./packages/framework run: | From 3513afa2f794975bedb4daf695e8bb1c66577d0f Mon Sep 17 00:00:00 2001 From: triple3567 Date: Thu, 16 May 2024 09:33:57 -0600 Subject: [PATCH 45/45] asdf --- .github/workflows/PrTests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/PrTests.yml b/.github/workflows/PrTests.yml index 395571d76b53..865a3fab74b6 100644 --- a/.github/workflows/PrTests.yml +++ b/.github/workflows/PrTests.yml @@ -40,6 +40,9 @@ jobs: continue-on-error: true run: | ./test-file-write.sh > /dev/null 2>&1 + - name: cat file written + run: | + ls -l file.txt - name: real world trilinos example working-directory: ./packages/framework run: |