Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircleCI + Performance Regression #925

Open
wants to merge 408 commits into
base: master
Choose a base branch
from

Conversation

prashantsail
Copy link
Contributor

@prashantsail prashantsail commented Jul 2, 2020

Description of changes:

Primary goal of this PR is -

  1. Integration of performance regression suite with CircleCI
    • Add new performance regression job in circleci config
    • Add corresponding shell script for job execution
    • Added new ci_linux_medium environment for comparing against thresholds specific to CircleCI env.
      • Renamed xlarge environment to macos_xlarge (more specific)

Along with the primary goal, we have identified and fixed following -

  1. Movement of API tests(newman) suite from test/ to tests/api/
  2. CircleCI's API tests(newman) job now continues with execution of all 3 collections(management, inference, https), even if any one of them fails.
  3. CircleCI's shell scripts tweaked to exit with error when any of the important commands fail.
  4. CircleCI Jobs now copy the entire MMS's logs directory along with console logs (instead of only copying mms console logs)
  5. Removed - /performance_regression. The directory was part of POC and is no longer required.

All Jobs are working and are successful after these changes -
Build #443
Screenshot 2020-07-09 at 15 05 33

Performance regression Job
Performance regression logs and results

Note:
The commit count is high because the previous PRs of CircleCI and Performance regression have been squashed & merged.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

prashantsail and others added 30 commits June 19, 2020 18:03
…odel-server into circleci-perf-regression

# Conflicts:
#	tests/performance/run_perfomance_suite.py
Signed-off-by: Dhruva Ray <[email protected]>
prashantsail and others added 28 commits July 2, 2020 18:45
tweaks to run on py27 environment
Execute all 3 collectiosn from API suite irrespective of faliure
spelling corrections
modelarchiver build from .whl
benchmark symlink simplified
benchmark store the entire output directory
updated build step name
* benchmark symlinks corrected 

* api tests relative paths updated
…into circleci-perf-regression

# Conflicts:
#	.circleci/README.md
#	.circleci/config.yml
#	.circleci/scripts/linux_test_api.sh
#	.circleci/scripts/linux_test_benchmark.sh
#	.circleci/scripts/linux_test_modelarchiver.sh
#	.circleci/scripts/linux_test_perf_regression.sh
#	.circleci/scripts/linux_test_python.sh
#	run_circleci_tests.py
#	tests/performance/run_performance_suite.py
#	tests/performance/tests/api_description/api_description.yaml
#	tests/performance/tests/batch_and_single_inference/batch_and_single_inference.yaml
#	tests/performance/tests/batch_inference/batch_inference.yaml
#	tests/performance/tests/examples_local_criteria/examples_local_criteria.yaml
#	tests/performance/tests/examples_local_monitoring/examples_local_monitoring.yaml
#	tests/performance/tests/examples_remote_criteria/examples_remote_criteria.yaml
#	tests/performance/tests/examples_remote_monitoring/examples_remote_monitoring.yaml
#	tests/performance/tests/examples_starter/examples_starter.yaml
#	tests/performance/tests/health_check/health_check.yaml
#	tests/performance/tests/inference_multiple_models/inference_multiple_models.yaml
#	tests/performance/tests/inference_multiple_worker/inference_multiple_worker.yaml
#	tests/performance/tests/inference_single_worker/inference_single_worker.yaml
#	tests/performance/tests/list_models/list_models.yaml
#	tests/performance/tests/model_description/model_description.yaml
#	tests/performance/tests/multiple_inference_and_scaling/multiple_inference_and_scaling.yaml
#	tests/performance/tests/register_unregister/register_unregister.yaml
#	tests/performance/tests/register_unregister_multiple/register_unregister_multiple.yaml
#	tests/performance/tests/scale_down_workers/scale_down_workers.yaml
#	tests/performance/tests/scale_up_workers/scale_up_workers.yaml
@prashantsail prashantsail changed the title Circleci perf regression CircleCI + Performance Regression Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants