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/19 19:55:27 UTC

[couchdb] branch jenkins-pipeline updated (ed6f082 -> 260738d)

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

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


 discard ed6f082  Show memory environment from test runner in the logs
     new 260738d  Adjust some timeouts

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (ed6f082)
            \
             N -- N -- N   refs/heads/jenkins-pipeline (260738d)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

[couchdb] 01/01: Adjust some timeouts

Posted by va...@apache.org.
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

commit 260738ddf6b1a844c34dc953cc788637583028b8
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Mon Jun 19 15:55:21 2017 -0400

    Adjust some timeouts
---
 Jenkinsfile | 10 ++++++++++
 Makefile    |  8 ++++++++
 dev/run     |  4 ++--
 3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 411177d..a02063c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -65,6 +65,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 '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /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 '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -113,6 +115,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 '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -137,6 +140,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 '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -161,6 +165,7 @@ pipeline {
               sh 'docker pull couchdbdev/ubuntu-14.04-erlang-default'
               withDockerContainer(image: 'couchdbdev/ubuntu-14.04-erlang-default', args: '--user 0:0') {
                 sh '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -185,6 +190,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 '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -209,6 +215,7 @@ pipeline {
               sh 'docker pull couchdbdev/ubuntu-16.04-erlang-default'
               withDockerContainer(image: 'couchdbdev/ubuntu-16.04-erlang-default', args: '--user 0:0') {
                 sh '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -233,6 +240,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 '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -257,6 +265,7 @@ pipeline {
               sh 'docker pull couchdbdev/debian-8-erlang-default'
               withDockerContainer(image: 'couchdbdev/debian-8-erlang-default', args: '--user 0:0') {
                 sh '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
@@ -281,6 +290,7 @@ pipeline {
               sh 'docker pull couchdbdev/debian-8-erlang-18.3'
               withDockerContainer(image: 'couchdbdev/debian-8-erlang-18.3', args: '--user 0:0') {
                 sh '''
+                  ulimit -c unlimited
                   echo "***** COUCHDB_IO_LOG_DIR: ${COUCHDB_IO_LOG_DIR}"
                   cwd=$(pwd)
                   rm -rf /tmp/couchjslogs
diff --git a/Makefile b/Makefile
index f6084c4..7b70f4c 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,11 @@ fauxton: share/www
 .PHONY: check
 # target: check - Test everything
 check: all
+	@echo "********* environment info ******** "
+	@cat /proc/meminfo
+	@free -m
+	@sh -c 'ulimit -a'
+	@echo "******** environment info end ***** "
 	@$(MAKE) eunit
 	@$(MAKE) javascript
 #	@$(MAKE) build-test
@@ -116,6 +121,9 @@ endif
 	@rm -rf dev/lib
 	@dev/run -n 1 -q --with-admin-party-please \
             -c 'startup_jitter=0' \
+            -c 'os_process_limit=8' \
+            -c 'os_process_soft_limit=8' \
+            -c 'os_process_timeout=30000' \
             test/javascript/run $(suites)
 
 
diff --git a/dev/run b/dev/run
index 8af3ac4..cd78d3c 100755
--- a/dev/run
+++ b/dev/run
@@ -265,10 +265,10 @@ def hack_default_ini(ctx, node, contents):
     mainjs = os.path.join(ctx['rootdir'], "share", "server", "main.js")
     coffeejs = os.path.join(ctx['rootdir'], "share", "server", "main-coffee.js")
 
-    repl = toposixpath("javascript = %s %s" % (couchjs, mainjs))
+    repl = toposixpath("javascript = %s -S 8388608  %s" % (couchjs, mainjs))
     contents = re.sub("(?m)^javascript.*$", repl, contents)
 
-    repl = toposixpath("coffeescript = %s %s" % (couchjs, coffeejs))
+    repl = toposixpath("coffeescript = %s -S 8388608 %s" % (couchjs, coffeejs))
     contents = re.sub("(?m)^coffeescript.*$", repl, contents)
 
     return contents

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