You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2019/08/06 18:15:13 UTC

[couchdb] branch jenkins-junit-reports-and-jenkins-env updated (f586087 -> 8ada0e9)

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

kocolosk pushed a change to branch jenkins-junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from f586087  Add timeout for couch_db_split_tests
     new b361618  Reactivate BSD tests
     new 753af88  Run the full suite
     new 8ada0e9  Fix the arm platform label

The 3 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:
 Jenkinsfile | 86 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 40 insertions(+), 46 deletions(-)


[couchdb] 01/03: Reactivate BSD tests

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch jenkins-junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit b361618d7483e14374033bb3a3ab0f75163ecf39
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Aug 6 14:01:02 2019 -0400

    Reactivate BSD tests
---
 Jenkinsfile | 81 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 38 insertions(+), 43 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 3d28084..e4477cb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -143,53 +143,47 @@ pipeline {
     // https://issues.jenkins-ci.org/browse/JENKINS-47962
     // https://issues.jenkins-ci.org/browse/JENKINS-48050
 
-    // The builddir stuff is to prevent all the builds from live syncing
-    // their build results to each other during the build, which ACTUALLY
-    // HAPPENS. Ugh.
-
     stage('Test and Package') {
 
       parallel {
 
-        // stage('FreeBSD') {
-        //   agent {
-        //     label 'couchdb && freebsd'
-        //   }
-        //   options {
-        //     skipDefaultCheckout()
-        //     timeout(time: 90, unit: "MINUTES")
-        //   }
-        //   steps {
-        //     // deleteDir is OK here because we're not inside of a Docker container!
-        //     deleteDir()
-        //     unstash 'tarball'
-        //     withEnv(['HOME='+pwd()]) {
-        //       sh '''
-        //         mkdir -p $COUCHDB_IO_LOG_DIR
-
-        //         # Build CouchDB from tarball & test
-        //         builddir=$(mktemp -d)
-        //         cd $builddir
-        //         tar -xf $WORKSPACE/apache-couchdb-*.tar.gz
-        //         cd apache-couchdb-*
-        //         ./configure --with-curl
-        //         gmake check || (build-aux/logfile-uploader.py && false)
-
-        //         # No package build for FreeBSD at this time
-        //         rm -rf $builddir $COUCHDB_IO_LOG_DIR
-        //       '''
-        //     } // withEnv
-        //   } // steps
-        //   post {
-        //     always {
-        //       junit '${BUILDDIR}/build/apache-couchdb-*/src/*/.eunit/*.xml'
-        //       junit '${BUILDDIR}/build/apache-couchdb-*/_build/*/lib/couchdbtest/*.xml'
-        //     }
-        //     cleanup {
-        //       sh 'rm -rf ${BUILDDIR} ${COUCHDB_IO_LOG_DIR}'
-        //     }
-        //   } // post
-        // } // stage FreeBSD
+        stage('FreeBSD') {
+          agent {
+            label 'couchdb && freebsd'
+          }
+          options {
+            skipDefaultCheckout()
+            timeout(time: 90, unit: "MINUTES")
+          }
+          steps {
+            // deleteDir is OK here because we're not inside of a Docker container!
+            deleteDir()
+            unstash 'tarball'
+            withEnv(['HOME='+pwd()]) {
+              sh '''
+                mkdir -p $COUCHDB_IO_LOG_DIR
+
+                # Build CouchDB from tarball & test
+                mkdir build
+                cd build
+                tar -xf $WORKSPACE/apache-couchdb-*.tar.gz
+                cd apache-couchdb-*
+                ./configure --with-curl
+                gmake check || (build-aux/logfile-uploader.py && false)
+
+                # No package build for FreeBSD at this time
+              '''
+            } // withEnv
+          } // steps
+          post {
+            always {
+              junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml'
+            }
+            cleanup {
+              sh 'rm -rf $COUCHDB_IO_LOG_DIR'
+            }
+          } // post
+        } // stage FreeBSD
 
         stage('CentOS 6') {
           agent {
@@ -197,6 +191,7 @@ pipeline {
               image 'couchdbdev/centos-6-erlang-19.3.6:latest'
               alwaysPull true
               label 'ubuntu'
+              // this keeps builds landing on the same host from clashing with each other
               customWorkspace pwd() + '/centos6'
             }
           }


[couchdb] 03/03: Fix the arm platform label

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch jenkins-junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 8ada0e9b426a271c0c56ed3c652d51fbe4a478b1
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Aug 6 14:14:47 2019 -0400

    Fix the arm platform label
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 3ab9bb2..12192aa 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -462,7 +462,7 @@ pipeline {
             timeout(time: 90, unit: "MINUTES")
           }
           environment {
-            platform = 'stretch'
+            platform = 'aarch64-debian-stretch'
           }
           stages {
             stage('Build from tarball & test') {


[couchdb] 02/03: Run the full suite

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch jenkins-junit-reports-and-jenkins-env
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 753af8852d2908b704e4b5f3972b9b7b2191238b
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Tue Aug 6 14:14:37 2019 -0400

    Run the full suite
---
 Jenkinsfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e4477cb..3ab9bb2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -23,8 +23,7 @@ cd build
 tar -xf ${WORKSPACE}/apache-couchdb-*.tar.gz
 cd apache-couchdb-*
 ./configure --with-curl
-make
-make eunit apps=couch || (build-aux/logfile-uploader.py && false)
+make check || (build-aux/logfile-uploader.py && false)
 '''
 
 make_packages = '''