From 6e6cbc7128ebc845f968ae95be36be29a0a05ef8 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Mon, 05 Oct 2026 12:41:43 +0000
Subject: [PATCH] [#1160] Report what start-ds printed when the server fails to start, and dump the quicksetup test instance's logs on a failed build (#1169)
---
.github/workflows/build.yml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 97972d8..ecab9ef 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -437,12 +437,14 @@
# A test step that fails leaves its instances behind. The server-side story of a
# failed start lives in logs/server.out and logs/errors, and nothing else prints it
- # (setup only has the client-side view, see issue #1030).
+ # (setup only has the client-side view, see issue #1030). The quicksetup tests run
+ # their own instance under build/unit-tests/quicksetup (issue #1160).
- name: Dump the server logs of a failed test
if: failure()
shell: bash
run: |
- for f in opendj-server-legacy/target/package/opendj*/logs/server.out opendj-server-legacy/target/package/opendj*/logs/errors; do
+ for f in opendj-server-legacy/target/package/opendj*/logs/server.out opendj-server-legacy/target/package/opendj*/logs/errors \
+ opendj-server-legacy/build/unit-tests/quicksetup/OpenDS/logs/server.out opendj-server-legacy/build/unit-tests/quicksetup/OpenDS/logs/errors; do
[ -f "$f" ] || continue
echo "===== $f"
cat "$f"
--
Gitblit v1.10.0