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 2023/01/17 08:36:46 UTC

[pulsar] branch master updated: [improve][ci] Upload native crash dump files hs_err_*.log & core.* in CI unit tests (#19251)

This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 1bb7b31ae7a [improve][ci] Upload native crash dump files hs_err_*.log & core.* in CI unit tests (#19251)
1bb7b31ae7a is described below

commit 1bb7b31ae7a658f5020c4e7c1bfb6b09d2ac4557
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Tue Jan 17 10:36:40 2023 +0200

    [improve][ci] Upload native crash dump files hs_err_*.log & core.* in CI unit tests (#19251)
---
 .github/workflows/pulsar-ci.yaml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml
index 197e9edf43f..8e08c65d9a1 100644
--- a/.github/workflows/pulsar-ci.yaml
+++ b/.github/workflows/pulsar-ci.yaml
@@ -267,12 +267,15 @@ jobs:
           path: surefire-reports
           retention-days: 7
 
-      - name: Upload possible heap dump
+      - name: Upload possible heap dump, core dump or crash files
         uses: actions/upload-artifact@v3
         if: ${{ always() }}
         with:
-          name: Unit-${{ matrix.group }}-heapdump
-          path: /tmp/*.hprof
+          name: Unit-${{ matrix.group }}-dumps
+          path: |
+            /tmp/*.hprof
+            **/hs_err_*.log
+            **/core.*
           retention-days: 7
           if-no-files-found: ignore