From 5e1371451b2c2053bfad271cbd8618bb4e209632 Mon Sep 17 00:00:00 2001 From: Brian McCarthy Date: Sat, 12 Jan 2019 12:44:49 -0500 Subject: SERVER-37770 Platform Support: Add Community Ubuntu 18.04 ARM64 --- buildscripts/packager_enterprise.py | 2 +- etc/evergreen.yml | 134 ++++++++++++++++++++++++++++++++++++ etc/repo_config.yaml | 2 + 3 files changed, 137 insertions(+), 1 deletion(-) diff --git a/buildscripts/packager_enterprise.py b/buildscripts/packager_enterprise.py index 25c104376d3..cd925bd6acb 100755 --- a/buildscripts/packager_enterprise.py +++ b/buildscripts/packager_enterprise.py @@ -134,7 +134,7 @@ class EnterpriseDistro(packager.Distro): return [] if arch == "arm64": if self.dname == 'ubuntu': - return ["ubuntu1604"] + return ["ubuntu1604", "ubuntu1804"] return [] if re.search("(redhat|fedora|centos)", self.dname): diff --git a/etc/evergreen.yml b/etc/evergreen.yml index a7a61013da1..9cb1f4aff7d 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -8191,6 +8191,140 @@ buildvariants: distros: - ubuntu1604-test +- name: enterprise-ubuntu1804-arm64 + display_name: Enterprise Ubuntu 18.04 arm64 + modules: + - enterprise + run_on: + - ubuntu1804-arm64-build + batchtime: 1440 # 1 day + expansions: + push_path: linux + push_bucket: downloads.10gen.com + push_name: linux + push_arch: arm64-enterprise-ubuntu1804 + compile_flags: --ssl MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo) CCFLAGS="-march=armv8-a+crc -mtune=generic" --release --variables-files=etc/scons/mongodbtoolchain_gcc.vars + resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers + has_packages: true + packager_script: packager_enterprise.py + packager_arch: arm64 + packager_distro: ubuntu1804 + repo_edition: enterprise + tooltags: "ssl sasl" + build_mongoreplay: true + multiversion_platform: ubuntu1804 + multiversion_architecture: arm64 + multiversion_edition: enterprise + display_tasks: + - *dbtest + - *unittests + tasks: + - name: compile_all_run_unittests_TG + - name: aggregation + - name: aggregation_auth + - name: auth + - name: failpoints + - name: failpoints_auth + - name: gle_auth + - name: gle_auth_write_cmd + - name: gle_auth_basics_passthrough + - name: gle_auth_basics_passthrough_write_cmd + - name: sharding_gle_auth_basics_passthrough + - name: sharding_gle_auth_basics_passthrough_write_cmd + - name: jsCore + - name: jsCore_compatibility + - name: jsCore_decimal + - name: jsCore_txns + - name: causally_consistent_jscore_txns_passthrough + - name: aggregation_wildcard_fuzzer_gen + - name: jstestfuzz_gen + - name: jstestfuzz_concurrent_gen + - name: jstestfuzz_concurrent_replication_gen + - name: jstestfuzz_concurrent_sharded_gen + - name: jstestfuzz_replication_gen + - name: jstestfuzz_sharded_gen + - name: mongosTest + - name: noPassthrough + - name: noPassthroughWithMongod + - name: bulk_gle_passthrough + - name: parallel + - name: parallel_compatibility + - name: concurrency + - name: concurrency_replication + - name: concurrency_replication_causal_consistency + - name: concurrency_replication_multi_stmt_txn + - name: concurrency_sharded_replication + #- name: concurrency_sharded_replication_local_read_write_multi_stmt_txn # Removed until SERVER-38499 is resolved. + #- name: concurrency_sharded_replication_local_read_write_multi_stmt_txn_with_balancer # Removed until SERVER-38499 is resolved. + #- name: concurrency_sharded_replication_multi_stmt_txn # Removed until SERVER-38499 is resolved. + #- name: concurrency_sharded_replication_multi_stmt_txn_with_balancer # Removed until SERVER-38499 is resolved. + - name: concurrency_sharded_replication_with_balancer + - name: concurrency_simultaneous + - name: concurrency_simultaneous_replication + - name: logical_session_cache_replication_1sec_refresh_jscore_passthrough + - name: logical_session_cache_sharding_1sec_refresh_jscore_passthrough + - name: logical_session_cache_standalone_1sec_refresh_jscore_passthrough + - name: replica_sets + - name: replica_sets_auth + - name: replica_sets_jscore_passthrough + - name: sharding + - name: sharding_auth + - name: slow1 + - name: serial_run + - name: sharded_causally_consistent_jscore_txns_passthrough + - name: sharded_collections_causally_consistent_jscore_txns_passthrough + - name: sharded_jscore_txns + - name: sharded_jscore_txns_sharded_collections + - name: sharding_jscore_passthrough + - name: ssl + - name: sslSpecial + - name: stitch_support_lib_build_and_test + - name: stitch_support_lib_build_and_archive + - name: tool + - name: publish_packages + distros: + - ubuntu1804-test + - name: push + distros: + - ubuntu1804-test + +- name: ubuntu1804-arm64 + display_name: SSL Ubuntu 18.04 arm64 + run_on: + - ubuntu1804-arm64-build + batchtime: 1440 # 1 day + expansions: + push_path: linux + push_bucket: downloads.mongodb.org + push_name: linux + push_arch: arm64-ubuntu1804 + compile_flags: --ssl MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo) --release CCFLAGS="-march=armv8-a+crc -mtune=generic" --variables-files=etc/scons/mongodbtoolchain_gcc.vars + resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers + has_packages: true + packager_script: packager.py + packager_arch: arm64 + packager_distro: ubuntu1804 + repo_edition: org + tooltags: "ssl" + build_mongoreplay: true + multiversion_platform: ubuntu1804 + multiversion_architecture: arm64 + multiversion_edition: targeted + display_tasks: + - *dbtest + - *unittests + tasks: + - name: compile_all_run_unittests_TG + - name: free_monitoring + - name: jsCore + - name: replica_sets_jscore_passthrough + - name: publish_packages + distros: + - ubuntu1804-test + - name: push + distros: + - ubuntu1804-test + - name: enterprise-ubuntu1604-ppc64le display_name: Enterprise Ubuntu 16.04 PPC64LE modules: diff --git a/etc/repo_config.yaml b/etc/repo_config.yaml index e04d68b80b2..76a4edd0601 100644 --- a/etc/repo_config.yaml +++ b/etc/repo_config.yaml @@ -200,6 +200,7 @@ repos: - amd64 - i386 - s390x + - arm64 repos: - apt/ubuntu/dists/bionic/mongodb-org @@ -369,5 +370,6 @@ repos: - amd64 - i386 - s390x + - arm64 repos: - apt/ubuntu/dists/bionic/mongodb-enterprise -- cgit v1.2.1