This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 839cf3c Display filesystem and docker info for all jenkins runs
839cf3c is described below
commit 839cf3c09add5ed0c33980adbdfced3bb83bba4d
Author: karanmehta93 <[email protected]>
AuthorDate: Fri Jun 7 10:25:58 2019 -0500
Display filesystem and docker info for all jenkins runs
Descriptions of the changes in this PR:
Changes to shell commands in few scripts
### Motivation
It was difficult to reproduce jenkins test failures locally and the cause
might be due to differences in underlying file system. These commands will
output more information to spot the exact differences.
### Changes
Running `df` command with an additional `-T` parameter to output filesystem
information
Added `docker info` command to print docker details before every test run
Reviewers: Enrico Olivelli <[email protected]>, Sijie Guo
<[email protected]>
This closes #2107 from karanmehta93/master
---
.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy | 2 +-
.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy | 2 +-
.test-infra/jenkins/job_bookkeeper_precommit_java11.groovy | 2 +-
.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy | 2 +-
.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy | 2 +-
.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy | 2 +-
.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy | 2 +-
.../jenkins/job_bookkeeper_release_branch_47_integrationtests.groovy | 2 +-
.../jenkins/job_bookkeeper_release_branch_48_integrationtests.groovy | 2 +-
.test-infra/scripts/pre-docker-tests.sh | 3 ++-
10 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy
b/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy
index f25cdd5..a9f4ba0 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy
@@ -50,7 +50,7 @@ freeStyleJob('bookkeeper_precommit_bookie_tests') {
shell("id")
shell("ulimit -a")
shell("pwd")
- shell("df -h")
+ shell("df -Th")
shell("ps aux")
// Build everything
diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy
b/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy
index 03e2636..9c2c3fb 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy
@@ -50,7 +50,7 @@ freeStyleJob('bookkeeper_precommit_client_tests') {
shell("id")
shell("ulimit -a")
shell("pwd")
- shell("df -h")
+ shell("df -Th")
shell("ps aux")
// Build everything
diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_java11.groovy
b/.test-infra/jenkins/job_bookkeeper_precommit_java11.groovy
index 7089d49..cf0857c 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_java11.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_java11.groovy
@@ -30,7 +30,7 @@ mavenJob('bookkeeper_precommit_pullrequest_java11') {
shell("id")
shell("ulimit -a")
shell("pwd")
- shell("df -h")
+ shell("df -Th")
shell("ps aux")
}
diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy
b/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy
index 19b6b95..dcb07c5 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy
@@ -30,7 +30,7 @@ mavenJob('bookkeeper_precommit_pullrequest_java8') {
shell("id")
shell("ulimit -a")
shell("pwd")
- shell("df -h")
+ shell("df -Th")
shell("ps aux")
}
diff --git
a/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy
b/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy
index d713145..6e8bf4c 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy
@@ -54,7 +54,7 @@ freeStyleJob('bookkeeper_precommit_remaining_tests') {
shell("id")
shell("ulimit -a")
shell("pwd")
- shell("df -h")
+ shell("df -Th")
shell("ps aux")
// Build everything
diff --git
a/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy
b/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy
index 8d4a2ff..a9f356d 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy
@@ -50,7 +50,7 @@ freeStyleJob('bookkeeper_precommit_replication_tests') {
shell("id")
shell("ulimit -a")
shell("pwd")
- shell("df -h")
+ shell("df -Th")
shell("ps aux")
// Build everything
diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy
b/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy
index 071bd11..62549d5 100644
--- a/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy
+++ b/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy
@@ -50,7 +50,7 @@ freeStyleJob('bookkeeper_precommit_tls_tests') {
shell("id")
shell("ulimit -a")
shell("pwd")
- shell("df -h")
+ shell("df -Th")
shell("ps aux")
// Build everything
diff --git
a/.test-infra/jenkins/job_bookkeeper_release_branch_47_integrationtests.groovy
b/.test-infra/jenkins/job_bookkeeper_release_branch_47_integrationtests.groovy
index e6fe9be..b0433aa 100644
---
a/.test-infra/jenkins/job_bookkeeper_release_branch_47_integrationtests.groovy
+++
b/.test-infra/jenkins/job_bookkeeper_release_branch_47_integrationtests.groovy
@@ -40,7 +40,7 @@ freeStyleJob('bookkeeper_release_branch_47_integrationtests')
{
shell('id')
shell('ulimit -a')
shell('pwd')
- shell('df -h')
+ shell('df -Th')
shell('ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd')
shell('docker network prune -f --filter name=testnetwork_*') // clean
up any dangling networks from previous runs
shell('docker system events > docker.log & echo $! > docker-log.pid')
diff --git
a/.test-infra/jenkins/job_bookkeeper_release_branch_48_integrationtests.groovy
b/.test-infra/jenkins/job_bookkeeper_release_branch_48_integrationtests.groovy
index 0db8a88..daf4fbd 100644
---
a/.test-infra/jenkins/job_bookkeeper_release_branch_48_integrationtests.groovy
+++
b/.test-infra/jenkins/job_bookkeeper_release_branch_48_integrationtests.groovy
@@ -40,7 +40,7 @@ freeStyleJob('bookkeeper_release_branch_48_integrationtests')
{
shell('id')
shell('ulimit -a')
shell('pwd')
- shell('df -h')
+ shell('df -Th')
shell('ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd')
shell('docker network prune -f --filter name=testnetwork_*') // clean
up any dangling networks from previous runs
shell('docker system events > docker.log & echo $! > docker-log.pid')
diff --git a/.test-infra/scripts/pre-docker-tests.sh
b/.test-infra/scripts/pre-docker-tests.sh
index 1edb48c..65fac8a 100755
--- a/.test-infra/scripts/pre-docker-tests.sh
+++ b/.test-infra/scripts/pre-docker-tests.sh
@@ -23,8 +23,9 @@ set -ex
id
ulimit -a
pwd
-df -h
+df -Th
ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
+docker info
docker system prune -f
# clean up any dangling networks from previous runs
docker network prune -f --filter name=testnetwork_*