This is an automated email from the ASF dual-hosted git repository. big-r81 pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 26724476458f457fa9a81697e2aa73363d25dc58 Author: Ronny Berndt <[email protected]> AuthorDate: Sun Nov 1 20:20:55 2026 +0100 ci: Enable FreeBSD workers Build and test Nouveau on workers too. --- build-aux/Jenkinsfile | 58 +++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/build-aux/Jenkinsfile b/build-aux/Jenkinsfile index 6202b2321..001c4cde7 100644 --- a/build-aux/Jenkinsfile +++ b/build-aux/Jenkinsfile @@ -231,31 +231,29 @@ meta = [ gnu_make_eunit_opts: "${DEFAULT_GNU_MAKE_EUNIT_OPTS}" ], - // Disable temporarily to not block PR merging. Worker unexpectedly went - // offline. - // 'freebsd-x86_64': [ - // name: 'FreeBSD x86_64', - // spidermonkey_vsn: '91', - // with_nouveau: false, - // with_clouseau: true, - // clouseau_java_home: '/usr/local/openjdk21', - // quickjs_test262: false, - // gnu_make: 'gmake', - // gnu_make_eunit_opts: "${DEFAULT_GNU_MAKE_EUNIT_OPTS}" - // ], + 'freebsd-x86_64': [ + name: 'FreeBSD x86_64', + spidermonkey_vsn: '91', + with_nouveau: true, + with_clouseau: true, + clouseau_java_home: '/usr/local/openjdk21', + quickjs_test262: false, + gnu_make: 'gmake', + gnu_make_eunit_opts: "${DEFAULT_GNU_MAKE_EUNIT_OPTS}" + ], // Spidermonkey 91 has issues on ARM64 FreeBSD // use QuickJS for now - // Temporarily disabled because on too slow a host - // 'freebsd-arm64': [ - // name: 'FreeBSD ARM64 QuickJS', - // disable_spidermonkey: true, - // with_clouseau: true, - // clouseau_java_home: '/usr/local/openjdk21', - // quickjs_test262: false, - // gnu_make: 'gmake', - // gnu_make_eunit_opts: "${DEFAULT_GNU_MAKE_EUNIT_OPTS}" - // ], + 'freebsd-arm64': [ + name: 'FreeBSD ARM64 QuickJS', + disable_spidermonkey: true, + with_nouveau: true, + with_clouseau: true, + clouseau_java_home: '/usr/local/openjdk21', + quickjs_test262: false, + gnu_make: 'gmake', + gnu_make_eunit_opts: "${DEFAULT_GNU_MAKE_EUNIT_OPTS}" + ], // Disable temporarily as it is running out of space and Jenkins // keeps auto-disabling it which blocks CI jobs @@ -361,15 +359,15 @@ def generateNativeStage(platform) { sh( script: "tar -xf apache-couchdb-*.tar.gz -C ${platform}/build --strip-components=1", label: 'Unpack release' ) dir( "${platform}/build" ) { sh "${configure(meta[platform])}" - sh '$MAKE' - sh '$MAKE xref' + sh "$MAKE" + sh "$MAKE xref" retry (3) {sh "$MAKE ${meta[platform].gnu_make_eunit_opts} eunit" } - if (meta[platform].quickjs_test262) {retry(3) {sh 'make quickjs-test262'}} - retry (3) {sh '$MAKE elixir'} - retry (3) {timeout(time: 5, unit: "MINUTES") {sh '$MAKE elixir-search ERLANG_COOKIE=crumbles'}} - retry (3) {timeout(time: 5, unit: "MINUTES") {sh '$MAKE mango-test ERLANG_COOKIE=crumbles'}} - retry (3) {sh '$MAKE weatherreport-test'} - retry (3) {sh '$MAKE nouveau-test'} + if (meta[platform].quickjs_test262) {retry(3) {sh "$MAKE quickjs-test262"}} + retry (3) {sh "$MAKE elixir"} + retry (3) {timeout(time: 5, unit: "MINUTES") {sh "$MAKE elixir-search ERLANG_COOKIE=crumbles"}} + retry (3) {timeout(time: 5, unit: "MINUTES") {sh "$MAKE mango-test ERLANG_COOKIE=crumbles"}} + retry (3) {sh "$MAKE weatherreport-test"} + retry (3) {sh "$MAKE nouveau-test"} } } }
