This is an automated email from the ASF dual-hosted git repository.
suvasude pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gobblin.git
The following commit(s) were added to refs/heads/master by this push:
new 7ce0cf0 [GOBBLIN-1424] Github actions increase timeout, increase wait
time for retries, run on ubuntu 18.04 to address flakiness
7ce0cf0 is described below
commit 7ce0cf07843d09d6ee3a78cb97fe945347ce67ba
Author: William Lo <[email protected]>
AuthorDate: Wed Apr 14 20:07:19 2021 -0700
[GOBBLIN-1424] Github actions increase timeout, increase wait time for
retries, run on ubuntu 18.04 to address flakiness
Closes #3260 from Will-Lo/pipeline-improvements-
flaky
---
.github/workflows/build_and_test.yaml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build_and_test.yaml
b/.github/workflows/build_and_test.yaml
index 8c0bfe8..bde34af 100644
--- a/.github/workflows/build_and_test.yaml
+++ b/.github/workflows/build_and_test.yaml
@@ -103,7 +103,7 @@ jobs:
./gradlew --no-daemon -x javadoc findbugsMain checkstyleMain
checkstyleTest checkstyleJmh
run_tests:
- timeout-minutes: 60
+ timeout-minutes: 120
env:
GOBBLIN_GRADLE_OPTS: "--no-daemon
-Dgobblin.metastore.testing.embeddedMysqlEnabled=false
-PusePreinstalledMysql=true"
strategy:
@@ -130,6 +130,10 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
+ # Fix for bug where Github tests are failing port address binding.
+ - name: Add the current IP address, long hostname and short hostname
record to /etc/hosts file
+ run: |
+ echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' |
cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- name: Verify mysql connection
run: |
sudo apt-get install -y mysql-client
@@ -160,5 +164,5 @@ jobs:
else
exit 1
fi
- sleep 10
+ sleep 30
done