You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2026/02/27 02:58:41 UTC
(skywalking-graalvm-distro) branch main updated: E2E: always dump OAP logs after test run
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git
The following commit(s) were added to refs/heads/main by this push:
new dfd8b8a E2E: always dump OAP logs after test run
dfd8b8a is described below
commit dfd8b8a392516aba71c7ea17667759af3d3ef334
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Feb 27 10:58:29 2026 +0800
E2E: always dump OAP logs after test run
---
.github/workflows/ci.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ebe0fef..80104b7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -238,6 +238,18 @@ jobs:
with:
e2e-file: $GITHUB_WORKSPACE/test/e2e/cases/${{ matrix.test.case }}/e2e.yaml
+ - name: Dump OAP logs
+ if: ${{ always() }}
+ run: |
+ echo "=== OAP Pod Logs ==="
+ for f in "${{ env.SW_INFRA_E2E_LOG_DIR }}"/pods/istio-system/skywalking-oap-*/*.log \
+ "${{ env.SW_INFRA_E2E_LOG_DIR }}"/containers/oap*/std*.log; do
+ [ -f "$f" ] || continue
+ echo "--- $f ---"
+ cat "$f"
+ echo ""
+ done
+
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v4