You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2018/12/06 05:53:50 UTC
[arrow] branch master updated: ARROW-3921: [GLib][CI] Log Homebrew
output
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 6c29f00 ARROW-3921: [GLib][CI] Log Homebrew output
6c29f00 is described below
commit 6c29f00f7da075aec3dd16fc77e9a01434daaba3
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Thu Dec 6 14:53:36 2018 +0900
ARROW-3921: [GLib][CI] Log Homebrew output
Homebrew stuck problem is still occurred: https://github.com/apache/arrow/pull/3095#issuecomment-444559301
This change starts logging Homebrew output to debug this case.
Author: Kouhei Sutou <ko...@clear-code.com>
Closes #3113 from kou/glib-ci-log-homebrew and squashes the following commits:
60856208 <Kouhei Sutou> Log Homebrew output
---
.travis.yml | 4 ++++
ci/travis_install_osx.sh | 14 ++++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b877e20..25a148f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -332,6 +332,10 @@ after_failure:
fi
ls -la ~/Library/Logs/DiagnosticReports/
cat ~/Library/Logs/DiagnosticReports/*.crash
+ if [[ -f brew.log ]]; then
+ echo "Homebrew log"
+ cat brew.log
+ fi
else
COREFILE=$(find . -maxdepth 2 -name "core*" | head -n 1)
if [[ -f "$COREFILE" ]]; then
diff --git a/ci/travis_install_osx.sh b/ci/travis_install_osx.sh
index 83ca4a7..859d854 100755
--- a/ci/travis_install_osx.sh
+++ b/ci/travis_install_osx.sh
@@ -20,8 +20,14 @@
set -e
if [ "$ARROW_CI_RUBY_AFFECTED" = "1" ]; then
- brew update
- brew upgrade python
- brew uninstall postgis
- brew bundle --file=$TRAVIS_BUILD_DIR/c_glib/Brewfile
+ brew_log_path=brew.log
+ function run_brew() {
+ echo brew "$@" >> ${brew_log_path}
+ brew "$@" >> ${brew_log_path} 2>&1
+ }
+ run_brew update
+ run_brew upgrade python
+ run_brew uninstall postgis
+ run_brew bundle --file=$TRAVIS_BUILD_DIR/c_glib/Brewfile --verbose
+ rm ${brew_log_path}
fi