This is an automated email from the ASF dual-hosted git repository. oxsean pushed a commit to branch split-unit-test in repository https://gitbox.apache.org/repos/asf/dubbo.git
commit 9f6ab9314876038600d7fea72d868fdc78464efa Author: Sean Yang <[email protected]> AuthorDate: Mon Sep 9 22:48:56 2024 +0800 test --- .github/workflows/build-and-test-scheduled-3.3.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-test-scheduled-3.3.yml b/.github/workflows/build-and-test-scheduled-3.3.yml index aca04d2402..eca9adca72 100644 --- a/.github/workflows/build-and-test-scheduled-3.3.yml +++ b/.github/workflows/build-and-test-scheduled-3.3.yml @@ -228,6 +228,14 @@ jobs: run: | set -o pipefail modules=$(cat test/jobs/test_modules_${{ matrix.job_id }}.txt) + while true; do + pid=$(jps | grep dubbo | awk '{print $1}') + if [ ! -z "$pid" ]; then + echo "Dumping threads for process $pid" + jstack $pid + fi + sleep 300 + done & ./mvnw ${{ env.MAVEN_ARGS }} clean test verify -Pjdk15ge-simple,'!jdk15ge','!demo',skip-spotless -pl "$modules" -DtrimStackTrace=false -Dmaven.test.skip=false -Drat.skip=false -Dflatten.skip=true -DembeddedZookeeperPath=${{ github.workspace }}/.tmp/zookeeper 2>&1 | tee >(grep -n -B 5 -A 200 "FAILURE! -- in" > test_errors.log) - name: Print test error log if: failure()
