You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/06/15 20:52:32 UTC

[couchdb] branch jenkins-pipeline updated: Debug OS process IO logs uploading

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

vatamane pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-pipeline by this push:
     new 5456e1b  Debug OS process IO logs uploading
5456e1b is described below

commit 5456e1b7fb8ecb139b11391e39884dd2df1cf7e8
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Thu Jun 15 16:48:44 2017 -0400

    Debug OS process IO logs uploading
---
 Jenkinsfile                   | 10 ++++++++++
 build-aux/logfile-uploader.py |  1 +
 2 files changed, 11 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index e06e457..26373bf 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -66,6 +66,7 @@ pipeline {
               sh 'docker pull couchdbdev/centos-6-erlang-18.3'
               withDockerContainer(image: 'couchdbdev/centos-6-erlang-18.3', args: '-e LD_LIBRARY_PATH=/usr/local/bin --user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -89,6 +90,7 @@ pipeline {
               sh 'docker pull couchdbdev/centos-7-erlang-default'
               withDockerContainer(image: 'couchdbdev/centos-7-erlang-default', args: '-e LD_LIBRARY_PATH=/usr/local/bin --user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -112,6 +114,7 @@ pipeline {
               sh 'docker pull couchdbdev/centos-7-erlang-18.3'
               withDockerContainer(image: 'couchdbdev/centos-7-erlang-18.3', args: '-e LD_LIBRARY_PATH=/usr/local/bin --user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -135,6 +138,7 @@ pipeline {
               sh 'docker pull couchdbdev/ubuntu-12.04-erlang-18.3'
               withDockerContainer(image: 'couchdbdev/ubuntu-12.04-erlang-18.3', args: '--user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -158,6 +162,7 @@ pipeline {
               sh 'docker pull couchdbdev/ubuntu-14.04-erlang-default'
               withDockerContainer(image: 'couchdbdev/ubuntu-14.04-erlang-default', args: '--user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -181,6 +186,7 @@ pipeline {
               sh 'docker pull couchdbdev/ubuntu-14.04-erlang-18.3'
               withDockerContainer(image: 'couchdbdev/ubuntu-14.04-erlang-18.3', args: '--user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -204,6 +210,7 @@ pipeline {
               sh 'docker pull couchdbdev/ubuntu-16.04-erlang-default'
               withDockerContainer(image: 'couchdbdev/ubuntu-16.04-erlang-default', args: '--user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -227,6 +234,7 @@ pipeline {
               sh 'docker pull couchdbdev/ubuntu-16.04-erlang-18.3'
               withDockerContainer(image: 'couchdbdev/ubuntu-16.04-erlang-18.3', args: '--user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -250,6 +258,7 @@ pipeline {
               sh 'docker pull couchdbdev/debian-8-erlang-default'
               withDockerContainer(image: 'couchdbdev/debian-8-erlang-default', args: '--user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
@@ -273,6 +282,7 @@ pipeline {
               sh 'docker pull couchdbdev/debian-8-erlang-18.3'
               withDockerContainer(image: 'couchdbdev/debian-8-erlang-18.3', args: '--user 0:0') {
                 sh '''
+                  echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
                   mkdir -p /tmp/couchjslogs
diff --git a/build-aux/logfile-uploader.py b/build-aux/logfile-uploader.py
index 742fc85..8de2b2a 100755
--- a/build-aux/logfile-uploader.py
+++ b/build-aux/logfile-uploader.py
@@ -43,6 +43,7 @@ def collect_logfiles():
         tb.add(log)
     # couchjs OS process IO logs
     for log in glob.glob('/tmp/couchjslogs/*'):
+        print ("Uploading OS process IO log", log)
         tb.add(log)
     tb.close()
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].