summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2021-05-19 11:21:43 +0300
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-20 12:54:47 +0000
commit1aa7519ccd8c2e0634d5d4ffc006ee973ceb3d74 (patch)
treecd7c7ddabae4c96316d93cab26f61d8a9797d0cc /etc
parent1256e8eaa108f56417d4e55ec5e29f6fdd19c44f (diff)
downloadmongo-1aa7519ccd8c2e0634d5d4ffc006ee973ceb3d74.tar.gz
SERVER-56916 Enable powercycle tasks on the mainline
(cherry picked from commit a3f6fd6950ce452ab72fb83d5de7c3a3fb7bd322)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml55
-rw-r--r--etc/expansions.default.yml1
2 files changed, 25 insertions, 31 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index dc5f5577c62..ac69a9a993a 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -864,7 +864,6 @@ functions:
workdir: ${workdir}
"generate powercycle tasks":
- - *set_task_expansion_macros
- *f_expansions_write
- *set_up_venv
- *upload_pip_requirements
@@ -901,7 +900,6 @@ functions:
- powercycle_tasks.json
"run powercycle sentinel":
- - *set_task_expansion_macros
- *f_expansions_write
- *set_up_venv
- *upload_pip_requirements
@@ -1552,10 +1550,11 @@ functions:
- *f_expansions_write
- command: subprocess.exec
+ type: setup
params:
binary: bash
args:
- - "./src/evergreen/powercycle_system_exit.sh"
+ - "./src/evergreen/powercycle_ssh_failure_exit.sh"
env:
workdir: ${workdir}
- command: subprocess.exec
@@ -6077,6 +6076,17 @@ tasks:
resmoke_args: --suites=json_schema --storageEngine=wiredTiger
resmoke_jobs_max: 1
+- name: powercycle_gen
+ commands:
+ - func: "generate powercycle tasks"
+ vars:
+ task_names: >-
+ powercycle
+ powercycle_kill_mongod
+ powercycle_replication_smalloplog
+ powercycle_syncdelay
+ num_tasks: 1
+
- name: powercycle_smoke_skip_compile_gen
commands:
- func: "generate powercycle tasks"
@@ -6098,6 +6108,7 @@ tasks:
- name: powercycle_smoke
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -6107,24 +6118,11 @@ tasks:
<<: *powercycle_remote_credentials
- func: "set up EC2 instance"
- func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
-
-- name: powercycle_kill_mongod_smoke
- exec_timeout_secs: 7200 # 2 hour timeout for the task overall
- depends_on:
- - name: archive_dist_test_debug
- commands:
- - func: "do setup"
- - func: "set up remote credentials"
- vars:
- <<: *powercycle_remote_credentials
- - func: "set up EC2 instance"
- - func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
- name: powercycle
tags: ["powercycle"]
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -6134,11 +6132,11 @@ tasks:
<<: *powercycle_remote_credentials
- func: "set up EC2 instance"
- func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
- name: powercycle_kill_mongod
tags: ["powercycle"]
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -6148,11 +6146,11 @@ tasks:
<<: *powercycle_remote_credentials
- func: "set up EC2 instance"
- func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
- name: powercycle_fcv4.4
tags: ["powercycle"]
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -6162,11 +6160,11 @@ tasks:
<<: *powercycle_remote_credentials
- func: "set up EC2 instance"
- func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
- name: powercycle_replication
tags: ["powercycle"]
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -6176,11 +6174,11 @@ tasks:
<<: *powercycle_remote_credentials
- func: "set up EC2 instance"
- func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
- name: powercycle_replication_smalloplog
tags: ["powercycle"]
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -6190,11 +6188,11 @@ tasks:
<<: *powercycle_remote_credentials
- func: "set up EC2 instance"
- func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
- name: powercycle_syncdelay
tags: ["powercycle"]
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -6204,11 +6202,11 @@ tasks:
<<: *powercycle_remote_credentials
- func: "set up EC2 instance"
- func: "run powercycle test"
- timeout_secs: 1800 # 30 minute timeout for no output
- name: powercycle_write_concern_majority
tags: ["powercycle"]
exec_timeout_secs: 7200 # 2 hour timeout for the task overall
+ timeout_secs: 1800 # 30 minute timeout for no output
depends_on:
- name: archive_dist_test_debug
commands:
@@ -7522,6 +7520,7 @@ buildvariants:
- name: libunwind_tests
- name: .logical_session_cache .one_sec
- name: multiversion_gen
+ - name: .powercycle
- name: replica_sets_gen
- name: replica_sets_jscore_passthrough
- name: .sharding .txns
@@ -7928,7 +7927,7 @@ buildvariants:
- name: .logical_session_cache .one_sec
- name: noPassthrough_gen
- name: noPassthroughWithMongod_gen
- - name: powercycle
+ - name: .powercycle
- name: .replica_sets .common
- name: sasl
- name: serial_run
@@ -8397,8 +8396,6 @@ buildvariants:
- name: mqlrun
- name: noPassthrough_gen
- name: noPassthroughWithMongod_gen
- - name: powercycle_kill_mongod_smoke
- - name: powercycle_smoke
- name: .replica_sets .common
- name: .replica_sets .multi_oplog
- name: replica_sets_ese_gen
@@ -8513,7 +8510,6 @@ buildvariants:
- name: .jstestfuzz !.initsync !.flow_control !.stepdowns
- name: multiversion_gen
- name: multiversion_auth_gen
- - name: powercycle_kill_mongod
- name: .query_fuzzer
- name: .read_write_concern
- name: replica_sets_gen
@@ -8577,7 +8573,7 @@ buildvariants:
- name: .jstestfuzz !.initsync !.flow_control !.stepdowns
- name: multiversion_gen
- name: multiversion_auth_gen
- - name: powercycle_kill_mongod
+ - name: powercycle_gen
- name: .query_fuzzer
- name: .read_write_concern
- name: replica_sets_gen
@@ -8985,6 +8981,7 @@ buildvariants:
- name: .multi_shard
- name: multi_stmt_txn_jscore_passthrough_with_migration_gen
- name: multiversion_gen
+ - name: powercycle_smoke
- name: .query_fuzzer
- name: .random_multiversion_ds
- name: .read_write_concern .large
@@ -9567,8 +9564,6 @@ buildvariants:
- name: replica_sets_auth_gen
- name: replica_sets_jscore_passthrough
- name: .replica_sets .multi_oplog
- - name: powercycle_kill_mongod_smoke
- - name: powercycle_smoke
- name: sasl
- name: search
- name: search_auth
diff --git a/etc/expansions.default.yml b/etc/expansions.default.yml
index e2a1abf5e1b..9361f8c5022 100644
--- a/etc/expansions.default.yml
+++ b/etc/expansions.default.yml
@@ -30,7 +30,6 @@ scons_cache_mode: nolinked
is_commit_queue: "false"
use_scons_cache: "false"
npm_command: jstestfuzz
-connection_attempts: "25"
tar: tar
cmake_path: /opt/cmake/bin/cmake
content_type: application/x-gzip