You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2025/05/09 20:09:58 UTC
(pulsar) 08/14: [improve][ci] Disable detailed console logging for integration tests in CI (#24266)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 7cc2fe7b67327430e57d1bca575e1fd402e7d435
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Wed May 7 16:19:48 2025 +0300
[improve][ci] Disable detailed console logging for integration tests in CI (#24266)
(cherry picked from commit 03a106076453aa77da3bea39822e8d0686803ad1)
---
.github/workflows/pulsar-ci.yaml | 7 +++++--
build/run_integration_group.sh | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml
index fbf035a91f1..79963d653ab 100644
--- a/.github/workflows/pulsar-ci.yaml
+++ b/.github/workflows/pulsar-ci.yaml
@@ -486,18 +486,21 @@ jobs:
- name: Shade on Java 8
group: SHADE_RUN
+ upload_name: SHADE_RUN_8
runtime_jdk: 8
setup: ./build/run_integration_group.sh SHADE_BUILD
no_coverage: true
- name: Shade on Java 11
group: SHADE_RUN
+ upload_name: SHADE_RUN_11
runtime_jdk: 11
setup: ./build/run_integration_group.sh SHADE_BUILD
no_coverage: true
- name: Shade on Java 17
group: SHADE_RUN
+ upload_name: SHADE_RUN_17
setup: ./build/run_integration_group.sh SHADE_BUILD
no_coverage: true
@@ -594,7 +597,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
- name: Integration-${{ matrix.group }}-surefire-reports
+ name: Integration-${{ matrix.upload_name || matrix.group }}-surefire-reports
path: surefire-reports
retention-days: 7
@@ -603,7 +606,7 @@ jobs:
if: ${{ !success() }}
continue-on-error: true
with:
- name: Integration-${{ matrix.group }}-container-logs
+ name: Integration-${{ matrix.upload_name || matrix.group }}-container-logs
path: tests/integration/target/container-logs
retention-days: 7
diff --git a/build/run_integration_group.sh b/build/run_integration_group.sh
index 9372d1ecb93..a5753af83c0 100755
--- a/build/run_integration_group.sh
+++ b/build/run_integration_group.sh
@@ -99,7 +99,7 @@ mvn_run_integration_test() {
if [[ $build_only -ne 1 ]]; then
echo "::group::Run tests for " "$@"
# use "verify" instead of "test"
- mvn -B -ntp -pl "$modules" $failfast_args $coverage_args -DskipDocker -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true -DredirectTestOutputToFile=false $clean_arg verify "$@"
+ mvn -B -ntp -pl "$modules" $failfast_args $coverage_args -DskipDocker -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true $clean_arg verify "$@"
echo "::endgroup::"
set +x
"$SCRIPT_DIR/pulsar_ci_tool.sh" move_test_reports || true