You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2021/12/12 05:55:57 UTC
[ozone] branch master updated: HDDS-6090. Collect output.log from acceptance tests (#2908)
This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 0bc100a HDDS-6090. Collect output.log from acceptance tests (#2908)
0bc100a is described below
commit 0bc100ac56b5dc976494101f037f68dea9dd2ce5
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Sun Dec 12 06:55:37 2021 +0100
HDDS-6090. Collect output.log from acceptance tests (#2908)
---
hadoop-ozone/dev-support/checks/acceptance.sh | 5 ++++-
hadoop-ozone/dev-support/checks/kubernetes.sh | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/hadoop-ozone/dev-support/checks/acceptance.sh b/hadoop-ozone/dev-support/checks/acceptance.sh
index d271f12..fbcdea6 100755
--- a/hadoop-ozone/dev-support/checks/acceptance.sh
+++ b/hadoop-ozone/dev-support/checks/acceptance.sh
@@ -13,6 +13,9 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+
+set -u -o pipefail
+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR/../../.." || exit 1
@@ -36,7 +39,7 @@ mkdir -p "$REPORT_DIR"
export OZONE_ACCEPTANCE_SUITE
cd "$DIST_DIR/compose" || exit 1
-./test-all.sh
+./test-all.sh | tee "${REPORT_DIR}/output.log"
RES=$?
cp result/* "$REPORT_DIR/"
cp "$REPORT_DIR/log.html" "$REPORT_DIR/summary.html"
diff --git a/hadoop-ozone/dev-support/checks/kubernetes.sh b/hadoop-ozone/dev-support/checks/kubernetes.sh
index 70105ee..731b188 100755
--- a/hadoop-ozone/dev-support/checks/kubernetes.sh
+++ b/hadoop-ozone/dev-support/checks/kubernetes.sh
@@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+set -u -o pipefail
+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR/../../.." || exit 1
@@ -45,7 +47,7 @@ fi
mkdir -p "$REPORT_DIR"
cd "$DIST_DIR/kubernetes/examples" || exit 1
-./test-all.sh
+./test-all.sh | tee "${REPORT_DIR}/output.log"
RES=$?
cp -r result/* "$REPORT_DIR/"
cp "$REPORT_DIR/log.html" "$REPORT_DIR/summary.html"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org