You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/01/09 23:56:40 UTC

[couchdb] branch jenkins-add-arm created (now 079d7de)

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

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


      at 079d7de  Enable arm64v8 builds on Jenkins

This branch includes the following new commits:

     new 079d7de  Enable arm64v8 builds on Jenkins

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.



[couchdb] 01/01: Enable arm64v8 builds on Jenkins

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

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

commit 079d7deba0f13fce81762fb5250ed8ef1549732d
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Thu Jan 9 15:56:23 2020 -0800

    Enable arm64v8 builds on Jenkins
---
 build-aux/Jenkinsfile.full | 57 +++++++++++++++++++++++++++++++++++++---------
 1 file changed, 46 insertions(+), 11 deletions(-)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 2472d78..61d8dc1 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -467,22 +467,57 @@ pipeline {
           } // post
         } // stage
 
+        stage('Debian Buster arm64v8') {
+          agent {
+            docker {
+              image 'couchdbdev/debian-buster-erlang-20.3.8.24-1:latest'
+              label 'arm64v8'
+              alwaysPull true
+              args "${DOCKER_ARGS}"
+            }
+          }
+          environment {
+            platform = 'buster'
+            sm_ver = '60'
+          }
+          stages {
+            stage('Build from tarball & test') {
+              steps {
+                unstash 'tarball'
+                sh( script: build_and_test )
+              }
+              post {
+                always {
+                  junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml'
+                }
+              }
+            }
+            stage('Build CouchDB packages') {
+              steps {
+                sh( script: make_packages )
+                sh( script: cleanup_and_save )
+              }
+              post {
+                success {
+                  archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
+                }
+              }
+            }
+          } // stages
+          post {
+            cleanup {
+              sh 'rm -rf ${WORKSPACE}/*'
+            }
+          } // post
+        } // stage
+
+
 	/*
-	 *
-	 * This is just taking too long to run. Right now, the khash tests are timing out
-	 * on the IBM servers:
-	 *
-         * [2019-12-31T20:58:48.704Z]   khash randomized test
-         * [2019-12-31T20:59:04.869Z]     khash_test:103: randomized_test_ (State matches dict implementation)...*timed out*
-	 *
-	 * So, this is DISABLED until we get an actual arm builder machine.
-	 *
-	 * ppc64le is actually slower to emulate than arm, so we're not even going to try that.
+	 * Example of how to do a qemu-based run, please leave here
 	 */
 
 /*
         stage('Debian Buster arm64v8') {
-          // once we have an arm64v8 node again, can restore this to original form that is less ugly
           // the process is convoluted to ensure we have the latest qemu static binaries on the node first
           // before trying to run a foreign docker container type. Alternately ensuring the `update_qemu`
           // container is run on every Jenkins agent *after every restart of the Docker daemon* would work.