summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2018-04-28 19:25:49 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-04-28 19:25:49 -0400
commit3297972c866276af77224d4a55ef524f476b111d (patch)
tree33c4dc5c1f31f03803095d26045a5988e44413c9 /etc
parentfc7f0709cf1c4a66b0f31774dab2cf9406e8f19e (diff)
downloadmongo-3297972c866276af77224d4a55ef524f476b111d.tar.gz
SERVER-34605 Move Jepsen tasks to Ubuntu 16.04 builders.
(cherry picked from commit e85ee4e1e4de3b11ab51dc3e8cc624e9e1dd02bb)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml102
1 files changed, 45 insertions, 57 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index fd3b3cff21c..fbe46d803db 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -720,11 +720,6 @@ functions:
${activate_virtualenv}
$python -c 'import socket; num_nodes = 5; print("\n".join(["%s:%d" % (socket.gethostname(), port) for port in range(20000, 20000 + num_nodes)]))' > nodes.txt
- if [ ${distro_id} = "ubuntu1404-jepsen" ]; then
- ${set_sudo}
- $sudo apt-get install -y --force-yes libc++-dev libsnmp-dev
- fi
-
"run jepsen test" :
- command: shell.exec
type: test
@@ -2117,21 +2112,14 @@ timeout:
script: |
set -o verbose
- # We run the hang_analyzer.py script with root privileges when running the Jepsen tests in
- # order to be able to attach to the mongod processes inside the LXC containers.
- sudo=
- if [ ${distro_id} = "ubuntu1404-jepsen" ]; then
- ${set_sudo}
- fi
-
hang_analyzer_option="-o file -o stdout -p ${hang_analyzer_processes|dbtest,java,mongo,mongod,mongos,python,_test} -g bsondump,mongodump,mongoexport,mongofiles,mongoimport,mongoreplay,mongorestore,mongostat,mongotop"
if [ ${hang_analyzer_dump_core|true} = true ]; then
hang_analyzer_option="-c $hang_analyzer_option"
fi
- echo "Calling the hang analyzer: PATH=\"/opt/mongodbtoolchain/gdb/bin:$PATH\" $sudo ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/hang_analyzer.py $hang_analyzer_option"
- PATH="/opt/mongodbtoolchain/gdb/bin:$PATH" $sudo ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/hang_analyzer.py $hang_analyzer_option
+ echo "Calling the hang analyzer: PATH=\"/opt/mongodbtoolchain/gdb/bin:$PATH\" ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/hang_analyzer.py $hang_analyzer_option"
+ PATH="/opt/mongodbtoolchain/gdb/bin:$PATH" ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/hang_analyzer.py $hang_analyzer_option
# Call hang_analyzer.py script for tasks that are running remote mongo processes
# The file ${aws_ec2_yml} will define the remote's ${ip_address}.
@@ -2163,7 +2151,7 @@ timeout:
--remoteDir $remote_dir
fi
- cmds="PATH=\"/opt/mongodbtoolchain/gdb/bin:\$PATH\" $sudo ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/hang_analyzer.py $hang_analyzer_option"
+ cmds="PATH=\"/opt/mongodbtoolchain/gdb/bin:\$PATH\" ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/hang_analyzer.py $hang_analyzer_option"
${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/remote_operations.py \
--verbose \
--userHost $USER@${ip_address} \
@@ -5641,27 +5629,6 @@ buildvariants:
- name: gle_auth_basics_passthrough_write_cmd_WT
- name: sharding_gle_auth_basics_passthrough_WT
- name: sharding_gle_auth_basics_passthrough_write_cmd_WT
- - name: jepsen_register_findAndModify_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_register_linearizableRead
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_register_linearizableRead_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_set_linearizableRead
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_set_linearizableRead_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_read-concern-majority_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_read-concern-majority_w1_WT
- distros:
- - ubuntu1404-jepsen
- name: jsCore # TODO SERVER-32036: Remove when jsCore_auth depends on jsCore_WT.
- name: jsCore_WT
- name: jsCore_auth
@@ -5755,6 +5722,27 @@ buildvariants:
- name: gle_auth_basics_passthrough_write_cmd_WT
- name: sharding_gle_auth_basics_passthrough_WT
- name: sharding_gle_auth_basics_passthrough_write_cmd_WT
+ - name: jepsen_register_findAndModify_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_register_linearizableRead
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_register_linearizableRead_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_set_linearizableRead
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_set_linearizableRead_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_read-concern-majority_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_read-concern-majority_w1_WT
+ distros:
+ - ubuntu1604-build
- name: jsCore
- name: jsCore_WT
- name: jsCore_auth
@@ -8002,27 +7990,6 @@ buildvariants:
- name: audit_WT
- name: dbtest_WT
- name: ese_WT
- - name: jepsen_register_findAndModify_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_register_linearizableRead
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_register_linearizableRead_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_set_linearizableRead
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_set_linearizableRead_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_read-concern-majority_WT
- distros:
- - ubuntu1404-jepsen
- - name: jepsen_read-concern-majority_w1_WT
- distros:
- - ubuntu1404-jepsen
- name: jsCore # TODO SERVER-32036: Replace with jsCore_WT when jsCore_auth depends on jsCore_WT.
- name: jsCore_auth
- name: aggregation_fuzzer_WT
@@ -8079,6 +8046,27 @@ buildvariants:
- name: audit_WT
- name: dbtest_WT
- name: ese_WT
+ - name: jepsen_register_findAndModify_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_register_linearizableRead
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_register_linearizableRead_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_set_linearizableRead
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_set_linearizableRead_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_read-concern-majority_WT
+ distros:
+ - ubuntu1604-build
+ - name: jepsen_read-concern-majority_w1_WT
+ distros:
+ - ubuntu1604-build
- name: jsCore # TODO SERVER-32036: Replace with jsCore_WT when jsCore_auth depends on jsCore_WT.
- name: jsCore_auth
- name: aggregation_fuzzer_WT