summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDavid Bradford <david.bradford@mongodb.com>2021-10-25 14:24:38 -0400
committerDavid Bradford <david.bradford@mongodb.com>2021-10-25 14:24:38 -0400
commit2673da685e9aa02b093c409750a605414dfd86bd (patch)
treeef93b87485c372cfb009283ef29db9978d428c70 /etc
parentce304da9ccc569b93b7631f7bb09b03be682ad0b (diff)
downloadmongo-2673da685e9aa02b093c409750a605414dfd86bd.tar.gz
SERVER-40486: Remove Test Lifecycle code
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml119
1 files changed, 0 insertions, 119 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 89c2469ea57..43a8185ce83 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -717,12 +717,6 @@ functions:
path_value="$path_value:${task_path_suffix}"
fi
- if [ "${is_patch|}" = "true" ]; then
- extra_args="$extra_args --tagFile=etc/test_lifecycle.yml --patchBuild"
- else
- extra_args="$extra_args --tagFile=etc/test_retrial.yml"
- fi
-
# The "resmoke_wrapper" expansion is used by the 'burn_in_tests' task to wrap the resmoke.py
# invocation. It doesn't set any environment variables and should therefore come last in
# this list of expansions.
@@ -1308,29 +1302,6 @@ functions:
kitchen destroy "${packager_distro}"\$ || true
test "$verified" = "true"
- "fetch test_lifecycle.yml":
- - command: shell.exec
- type: test
- params:
- working_dir: src
- script: |
- set -o verbose
-
- ${activate_virtualenv}
- $python buildscripts/fetch_test_lifecycle.py \
- --metadataRepo git@github.com:mongodb/mongo-test-metadata.git \
- --lifecycleFile etc/test_lifecycle.yml \
- --referencesFile references.yml \
- --destinationFile etc/test_lifecycle.yml \
- --revision ${revision} \
- ${project}
- exit_code=$?
- if [ ${fail_task_on_error|false} = true ]; then
- exit $exit_code
- else
- exit 0
- fi
-
"copy ec2 monitor files": &copy_ec2_monitor_files
command: shell.exec
params:
@@ -2479,26 +2450,6 @@ timeout:
# Tasks #
#######################################
-## The test_lifecycle_excluded_tasks are a list of tasks names which include:
-## - Non jstests, i.e., compile, unittests
-## - Non standard jstests, i.e., jstestfuzz
-## Note that the task name supports glob patterns.
-test_lifecycle_excluded_tasks:
-- burn_in_tests
-- compile*
-- dbtest*
-- idl_tests
-- integration*
-- jepsen*
-- jstestfuzz*
-- lint
-- mongos*
-- package
-- push
-- rollback_fuzzer*
-- unittests*
-- update_fuzzer*
-
tasks:
## compile - build all scons targets except unittests ##
@@ -2564,12 +2515,6 @@ tasks:
$python ../buildscripts/make_archive.py -o mongodb-shell.${ext|tgz} $(find mongodb-* -type f)
cd ..
- # Test lifecycle is temporarily disabled to reduce load on Evergreen API.
- # - func: "fetch test_lifecycle.yml"
- # vars:
- # # Do not fail the task if we fail to fetch the test_lifecycle.yml file
- # fail_task_on_error: false
-
- command: archive.targz_pack
params:
target: "artifacts.tgz"
@@ -2592,8 +2537,6 @@ tasks:
- "./**.msi"
- "./etc/*san.suppressions"
- "./etc/repo_config.yaml"
- - "./etc/test_lifecycle.yml"
- - "./etc/test_retrial.yml"
- "./build/integration_tests/**"
- "./build/integration_tests.txt"
- "./build/**.gcno"
@@ -5855,65 +5798,6 @@ tasks:
- {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}-${task_id}.${ext|tgz}.md5', 'bucket': 'build-push-testing'},
'destination': {'path': '${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.md5', 'bucket': '${push_bucket}'}}
-- name: fetch_test_lifecycle
- depends_on: []
- commands:
- - func: "git get project"
- - func: "fetch test_lifecycle.yml"
- vars:
- # This task is meant to fail if there is an error while fetching test_lifecycle.yml since
- # the compile task won't fail.
- fail_task_on_error: true
-
-- name: update_test_lifecycle
- exec_timeout_secs: 21600 # 6 hour timeout for the task overall
- depends_on: []
- commands:
- - func: "git get project"
- - command: shell.exec
- timeout_secs: 14400 # Timeout if there is no output for 4 hours
- type: test
- params:
- working_dir: src
- silent: true
- script: |
- set -o errexit
-
- # Set up the git ssh private key
- mkdir -p ~/.ssh
- echo -n "${testlifecycle_ssh_key}" > ~/.ssh/test_lifecycle.pem
- chmod 0600 ~/.ssh/test_lifecycle.pem
- export GIT_SSH_COMMAND="ssh -i ~/.ssh/test_lifecycle.pem"
-
- # Create the jira credentials configuration file
- cat > .jira.yml <<END_OF_CREDS
- server: "https://jira.mongodb.org"
- access_token: "${testlifecycle_jira_access_token}"
- access_token_secret: "${testlifecycle_jira_access_token_secret}"
- consumer_key: "${testlifecycle_jira_consumer_key}"
- key_cert: |
- $(echo "${testlifecycle_jira_key_certificate}" | sed 's/^/ /')
- END_OF_CREDS
-
- set -o verbose
-
- ${activate_virtualenv}
- # Install Python modules to support OAuth with pip until it is available in the toolchain.
- pip install cryptography==1.7.2 pyjwt==1.5.3
-
- # We use a small batch size to avoid hitting the load balancer timeout if the Evergreen
- # API query is not fast enough.
- $python buildscripts/update_test_lifecycle.py \
- --project ${project} \
- --requestBatchSize 20 \
- --commit \
- --resmokeTagFile "etc/test_lifecycle.yml" \
- --metadataRepo "git@github.com:mongodb/mongo-test-metadata" \
- --referencesFile "references.yml" \
- --gitUserName "Test Lifecycle" \
- --gitUserEmail "build+testlifecycle@mongodb.com" \
- --jiraConfig .jira.yml
-
#######################################
# Modules #
@@ -10372,9 +10256,6 @@ buildvariants:
batchtime: 1440 # 1 day
stepback: false
tasks:
-# Test lifecycle is temporarily disabled to reduce load on Evergreen API.
-# - name: update_test_lifecycle
- - name: fetch_test_lifecycle
- name: lint_fuzzer_sanity_all
- name: enterprise-rhel-62-64-bit-mmapv1