citusdata/valgrind-test-automation

Name: valgrind-test-automation

Owner: Citus Data

Description: Tools for automating Valgrind tests on Citus

Created: 2017-04-11 19:38:56.0

Updated: 2017-07-06 15:52:48.0

Pushed: 2017-07-06 16:47:01.0

Homepage:

Size: 4

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

valgrind-test-automation

Tools for automating Valgrind tests with Citus. This automation suite will open an instance in AWS and runs Citus with Valgrind. When tests are completed, it will send a mail to dev@citusdata.com with the valgrind logs. Logs will contain memory related problems and the call stack where each problem is found. If there are no problems, no report will be attached. Only a success message will be sent.

Usage

You first need to install and configure aws command line client. Refer here to see how to install aws command line client. After installation, configure it with aws configure command. Then to use aws instance for valgrind tests, run;

unch-test-instance.sh

This command will create a special key pair and start an m3.xlarge instance with that key pair. Created instance will be tagged with Name=ValgrindTest. Then, scripts will build PostgreSQL and Citus from source and runs Citus' regression tests with Valgrind. After tests are completed, valgrind logs will be sent to burak@citusdata.com and metin@citusdata.com for now and instance will terminate itself. It is expected that the tests will take about 5 hours to complete.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.