You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2021/02/03 01:02:18 UTC

[geode] branch support/1.12 updated: GEODE-8906: capture additional gradle log artifacts (#5992)

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

onichols pushed a commit to branch support/1.12
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.12 by this push:
     new c172c0c  GEODE-8906: capture additional gradle log artifacts (#5992)
c172c0c is described below

commit c172c0ce5f0989d2b36849ceca9229bbdef00f03
Author: Owen Nichols <34...@users.noreply.github.com>
AuthorDate: Tue Feb 2 16:46:51 2021 -0800

    GEODE-8906: capture additional gradle log artifacts (#5992)
    
    * capture additional crash artifacts (fix typo)
    * incorporate review suggestion to save gradle logs too
    * log dependencies cached by resolveDependencies
    
    (cherry picked from commit d6ec360f9205817b0797b8355eadabddafbeb1a6)
---
 ci/docker/cache_dependencies.sh                              | 2 +-
 ci/images/google-geode-builder/scripts/cache_dependencies.sh | 2 +-
 ci/scripts/shared_utilities.sh                               | 4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ci/docker/cache_dependencies.sh b/ci/docker/cache_dependencies.sh
index e9eba6a..a596939 100644
--- a/ci/docker/cache_dependencies.sh
+++ b/ci/docker/cache_dependencies.sh
@@ -23,7 +23,7 @@ pushd ${WORK_DIR}
   git clone -b support/1.12 --depth 1 https://github.com/apache/geode.git geode
 
   pushd geode
-    ./gradlew --no-daemon resolveDependencies
+    ./gradlew --no-daemon --console=plain --info resolveDependencies
   popd
 popd
 
diff --git a/ci/images/google-geode-builder/scripts/cache_dependencies.sh b/ci/images/google-geode-builder/scripts/cache_dependencies.sh
index 5071459..2f8cde6 100644
--- a/ci/images/google-geode-builder/scripts/cache_dependencies.sh
+++ b/ci/images/google-geode-builder/scripts/cache_dependencies.sh
@@ -31,7 +31,7 @@ pushd ${WORK_DIR}
   git clone -b support/1.12 --depth 1 https://github.com/apache/geode.git geode
 
   pushd geode
-    ./gradlew --no-daemon resolveDependencies
+    ./gradlew --no-daemon --console=plain --info resolveDependencies
   popd
 popd
 
diff --git a/ci/scripts/shared_utilities.sh b/ci/scripts/shared_utilities.sh
index 090401f..03b9233 100644
--- a/ci/scripts/shared_utilities.sh
+++ b/ci/scripts/shared_utilities.sh
@@ -23,8 +23,10 @@ find-here-test-reports() {
   find .  -type d -name "test-results" >> ${output_directories_file}
   (find . -type d -name "*Test" | grep "build/[^/]*Test$") >> ${output_directories_file}
   find . -name "*-progress*txt" >> ${output_directories_file}
-  find . -name "*.hprof" -o -name "hs_err*.log" -o -name "hreplay*.log" >> ${output_directories_file}
+  find . -name "*.hprof" -o -name "hs_err*.log" -o -name "replay*.log" >> ${output_directories_file}
   find . -type d -name "callstacks" >> ${output_directories_file}
+  mv ${HOME}/.gradle .gradle_logs
+  find .gradle_logs -name '*.log' >> ${output_directories_file}
   echo "Collecting the following artifacts..."
   cat ${output_directories_file}
   echo ""