From 3935f6b3360702222f35c9056cbe72341fb0b747 Mon Sep 17 00:00:00 2001 From: Sourav Maji Date: Tue, 29 Oct 2024 18:50:14 -0700 Subject: [PATCH] [test] Add test reporter in E2E CI workflow --- .../rawWorkflows/gh-ci-parameterized-flow.txt | 2 + .github/workflows/VeniceCI-E2ETests.yml | 64 +++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/.github/rawWorkflows/gh-ci-parameterized-flow.txt b/.github/rawWorkflows/gh-ci-parameterized-flow.txt index fa055fa7d0..a1a62508a3 100644 --- a/.github/rawWorkflows/gh-ci-parameterized-flow.txt +++ b/.github/rawWorkflows/gh-ci-parameterized-flow.txt @@ -34,6 +34,8 @@ find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 diff --git a/.github/workflows/VeniceCI-E2ETests.yml b/.github/workflows/VeniceCI-E2ETests.yml index 579994818a..739807c2b7 100644 --- a/.github/workflows/VeniceCI-E2ETests.yml +++ b/.github/workflows/VeniceCI-E2ETests.yml @@ -47,6 +47,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -100,6 +102,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -153,6 +157,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -206,6 +212,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -259,6 +267,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -312,6 +322,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -365,6 +377,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -418,6 +432,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -471,6 +487,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -524,6 +542,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -577,6 +597,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -630,6 +652,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -683,6 +707,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -736,6 +762,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -789,6 +817,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -842,6 +872,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -895,6 +927,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -948,6 +982,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1001,6 +1037,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1054,6 +1092,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1107,6 +1147,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1160,6 +1202,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1213,6 +1257,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1266,6 +1312,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1319,6 +1367,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1372,6 +1422,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1425,6 +1477,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1478,6 +1532,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1531,6 +1587,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1584,6 +1642,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1637,6 +1697,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1 @@ -1691,6 +1753,8 @@ jobs: find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts + - name: Set Node.js Memory Limit + run: echo "NODE_OPTIONS=--max-old-space-size=8192" >> $GITHUB_ENV - name: Generate Test Reports if: success() || failure() uses: dorny/test-reporter@v1.9.1