storperf.git
9 years agoMax test duration 65/13965/3
Mark Beierl [Wed, 11 May 2016 21:38:26 +0000 (15:38 -0600)]
Max test duration

Add a maximum time limit for any one given test so
that silly mistakes like block size 512, queue depth 1
does not end up running for 2 days

JIRA: STORPERF-53

Change-Id: I1f3e5046e1dd346fc5b28a7b935df2ee9aa6ba3d
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoJob Run Metadata 43/13943/2
Mark Beierl [Wed, 11 May 2016 16:54:48 +0000 (10:54 -0600)]
Job Run Metadata

Add the ability to store arbitrary metadata about the job for
later reporting

Change-Id: If7f1d0a69111567d69db865baec6c20f9a1f494f
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoFix double loop bug 79/13879/1
Mark Beierl [Tue, 10 May 2016 23:15:54 +0000 (17:15 -0600)]
Fix double loop bug

Change-Id: I47f20dec309d7ab8402f40f6cf09828aa134e902
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoAuth timeout fix and VM image selection 63/13863/1
Mark Beierl [Tue, 10 May 2016 16:48:53 +0000 (10:48 -0600)]
Auth timeout fix and VM image selection

Fix the OpenStack client authentication timeout bug where we never
reauthenticate after authentication expires
Add the ability to specify what OS image from the Glance catalog
should be used for the Agent VM

Change-Id: I2ff8f5598b8d58ee2bf654b3572e9841b24cc9de
JIRA: STORPERF-42
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoAdd plots 39/13739/2
Mark Beierl [Sun, 8 May 2016 14:09:47 +0000 (10:09 -0400)]
Add plots

Adds matplotlib
Adds support for generating graphs showing performance results

Change-Id: Iba344baab89e35c0d5891a9d6b4c22c37666511e
JIRA: STORPERF-44
JIRA: STORPERF-50
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years ago Add Stats report and Swagger UI 27/13727/3
Mark Beierl [Thu, 5 May 2016 02:53:07 +0000 (22:53 -0400)]
Add Stats report and Swagger UI

    Add Swagger web ui at /swagger
    Add ability to fetch read/write latency status via ReST ui
    Can now delete where stack was removed from OpenStack but not from the
    storperf DB
    Change to use Floating IPs instead of private IP
    Fix delete bug where there was no dependency on resources in
    the resource group.

    JIRA: STORPERF-19
    JIRA: STORPERF-20

Change-Id: I1d9627d81f3c309b178a9b68cc306a4101c1a231
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years ago Add Stats report and Swagger UI 71/13671/4
Mark Beierl [Thu, 5 May 2016 02:53:07 +0000 (22:53 -0400)]
Add Stats report and Swagger UI

    Add Swagger web ui at /swagger
    Add ability to fetch read/write latency status via ReST ui
    Can now delete where stack was removed from OpenStack but not from the
    storperf DB
    Change to use Floating IPs instead of private IP
    Fix delete bug where there was no dependency on resources in
    the resource group.

    JIRA: STORPERF-19
    JIRA: STORPERF-20

Change-Id: I0a4b3386789c38d6745906ba896b8ff851dc122f
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoFix flake8 violations 87/12687/1
jose.lausuch [Tue, 26 Apr 2016 19:45:45 +0000 (21:45 +0200)]
Fix flake8 violations

Change-Id: Idd0f4bec503578c2f2031cbcdee97ea27d22ac14
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoCancel Job API 83/12683/2
Mark Beierl [Tue, 26 Apr 2016 17:18:23 +0000 (13:18 -0400)]
Cancel Job API

Add the ability to terminate a running job via the API

JIRA: STORPERF-20

Change-Id: I73a701cff9712207f5e14cfcc6b8fb7e0ab59aed
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoJob run lifecycle rework 37/12637/3
Mark Beierl [Mon, 25 Apr 2016 13:55:03 +0000 (09:55 -0400)]
Job run lifecycle rework

Change the way slave jobs are managed so that they are in step
with each other, and we can track the overall thread that is
running them.  This lays groundwork for STORPERF-20 and
STORPERF-44

JIRA: STORPERF-33 STORPERF-43

Change-Id: Iaff48a2823ba85d6512e9782fd9091a72639835c
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoTests in verify 63/12363/5
Mark Beierl [Fri, 15 Apr 2016 17:10:47 +0000 (13:10 -0400)]
Tests in verify

Run the tests in the verify command instead
of just merge so that way patches can be
rejected if tests fail

Change-Id: I8907618a324296460a71a51d087926f9089e0d21
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoTest Run Default Values 91/12091/1
Mark Beierl [Thu, 7 Apr 2016 20:54:23 +0000 (16:54 -0400)]
Test Run Default Values

Change test run to default to 64k blocks with 100% of attached storage
being tested.

JIRA: STORPERF-33

Change-Id: Id803d0493fb2c35691911ed79d226443a01503f3
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoGraphite module load fix - reopen 01/12001/1
Mark Beierl [Thu, 7 Apr 2016 14:17:53 +0000 (14:17 +0000)]
Graphite module load fix - reopen

Create symlinks for whisper so that Graphite
can find the modules at runtime. Needs to be
done after Graphite is installed

Change-Id: I383557138fa083d4ffeea307868465f72efaeb69
JIRA: STORPERF-41
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoIncorrect name 65/11965/1
Mark Beierl [Wed, 6 Apr 2016 20:15:22 +0000 (16:15 -0400)]
Incorrect name

StorPerf agent now uses storperf in ssh
HOT uses default name StorPerf Ubuntu 14.04

Change-Id: Ie87443955c73d1e81fb3a75b90e4a65a9ac6560b
JIRA: STORPERF-39
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoFixup initilization 83/11083/1
Mark Beierl [Wed, 9 Mar 2016 16:28:12 +0000 (11:28 -0500)]
Fixup initilization

Fetch the target from the correct field.
Initialize the workloads to a known value

Change-Id: Iadea5b580671fc2e4a1394248b800a446a37824a
JIRA: STORPERF-36 STORPERF-37
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoFIO needs sudo 69/11069/1
Mark Beierl [Wed, 9 Mar 2016 16:19:32 +0000 (11:19 -0500)]
FIO needs sudo

Use sudo for fio when profiling a device.

Change-Id: Ibbcbb15a2c33e1e58b7e340f9c3f6de5958f5636
JIRA: STORPERF-40
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoDeadlock in job_db 65/11065/1
Mark Beierl [Wed, 9 Mar 2016 15:27:35 +0000 (10:27 -0500)]
Deadlock in job_db

Change order of operation so that we do not attempt
to lock the same mutex twice in a row.

Change-Id: I1f874d720e2b66d9b272be0202482b22d24ef2b2
JIRA: STORPERF-42
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoMerge "Cinder fix"
Mark Beierl [Wed, 9 Mar 2016 14:55:49 +0000 (14:55 +0000)]
Merge "Cinder fix"

9 years agoCinder fix 31/11031/1
Mark Beierl [Tue, 8 Mar 2016 20:15:02 +0000 (15:15 -0500)]
Cinder fix

Fix so that Cinder will use Tenant ID instead of name

Change-Id: I2d30db61dffc4f381d64e8d99449a2c55c5928a9
JIRA: STORPERF-38
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoGraphite module load fix 29/11029/1
Mark Beierl [Tue, 8 Mar 2016 19:21:39 +0000 (14:21 -0500)]
Graphite module load fix

Create symlinks for whisper so that Graphite
can find the modules at runtime.

Change-Id: Ie0defb180a29ba430978be091d6683a6cf7d5891
JIRA: STORPERF-41
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoDB Access Mutex 47/10647/1
Mark Beierl [Wed, 24 Feb 2016 22:04:14 +0000 (23:04 +0100)]
DB Access Mutex

Addition of a mutex to prevent mutiple, simultaneous DB accesses as SQLite is single threaded

Change-Id: Iad2cd94015f7fb604dc6b60636db939099f52757
JIRA: STORPERF-32
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoDeveloper build process fix 99/9199/1
Mark Beierl [Wed, 3 Feb 2016 22:18:54 +0000 (17:18 -0500)]
Developer build process fix

Fix the installation os setuptools so that it
does not conflict with mock.

Change-Id: I7c497d36c80a795fc99b329da2d171a265e4eacc
JIRA: STORPERF-35
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoFixed typo 01/8701/1
Mark Beierl [Fri, 29 Jan 2016 22:19:25 +0000 (17:19 -0500)]
Fixed typo

SSHD failed to start due to typo in supervisord.conf

Change-Id: I23fd1452b83dd28d1c2c24760a5d428e01f90799
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoRemote slave agent workload 65/7365/4
Mark Beierl [Wed, 20 Jan 2016 01:58:35 +0000 (20:58 -0500)]
Remote slave agent workload

Add storperf master object to manage stack
lifecycle.
Add configuration db.
Creation of CLI vs. main so that ReST API
and CLI API can be kept clear.
Fixed License in files.
Changed DB objects to be thread safe.
Added ssh server to container if desired
for CLI.

Change-Id: Idfe84bfb7920e6ce19d27462593c21ea86e7b406
JIRA: STORPERF-29
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoSwitching merge job to virtualenv 15/5815/1
Mark Beierl [Thu, 7 Jan 2016 17:17:03 +0000 (12:17 -0500)]
Switching merge job to virtualenv

Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoWorkload reporting 77/4377/1
mbeierl [Fri, 11 Dec 2015 20:31:17 +0000 (15:31 -0500)]
Workload reporting

Use a local db to track start/end times of runs so we
can go back to the carbon db and summarize values
at reporting time based off the raw data.

Change-Id: Ie62afd339fd1c15d82bc56c93c7cba5bd4f90fe2
JIRA: STORPERF-29
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoAdditional FIO and development build support 31/4231/1
Mark Beierl [Thu, 10 Dec 2015 21:14:43 +0000 (16:14 -0500)]
Additional FIO and development build support

Add async IO development package so that FIO can
take advantage of that in order to drive queue
depth up.
Add supervisord to container so graphite and
carbon can start automatically
Add a developer build script so we can create
a container based on current state of local
repo

Change-Id: Ibd57f484b2fa41aa48a1c4fb06217e7d6e1c0b3a
JIRA: STORPERF-15
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoAdding Jose Lausuch as commiter 07/4207/1
Mark Beierl [Thu, 10 Dec 2015 16:49:51 +0000 (11:49 -0500)]
Adding Jose Lausuch as commiter

Change-Id: I22c24e2bfd8f08ce4ff7f18794280582f564b8f0
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoCreate dockerfile to build the storperf image 91/4191/6
jose.lausuch [Thu, 10 Dec 2015 13:50:56 +0000 (14:50 +0100)]
Create dockerfile to build the storperf image

JIRA: STORPERF-15

Change-Id: I1e35694e8b091caa3718c341f9f95217e5b0b609
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoThis should not be under source code control 89/4189/2
Mark Beierl [Thu, 10 Dec 2015 13:37:54 +0000 (08:37 -0500)]
This should not be under source code control

Change-Id: Ia4f84fef338401604a704cd5b690b7bddd968886
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
9 years agoAdding workload modules 47/3547/2
mbeierl [Mon, 23 Nov 2015 16:23:47 +0000 (08:23 -0800)]
Adding workload modules

Adding the ablity to define workloads in modules which can be
referenced from the API.  Breaking out the test execution into
its own class so it will be easier to support ReST or other
interfaces.

Added flake8 and code coverage reports where possible to
merge and verify jobs

Change-Id: Ieb51e4e7e1e989288a6f81f4757709669914a196
JIRA: STORPERF-21
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoAdding Heat template for staging StorPerf master node 89/3089/1
mbeierl [Fri, 6 Nov 2015 02:22:54 +0000 (21:22 -0500)]
Adding Heat template for staging StorPerf master node

Change-Id: I1e55290013f31272952f23869a02d68ca08cd4a7
JIRA: STORPERF-12
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoIntegration with Releng 05/2605/1
Mark Beierl [Fri, 16 Oct 2015 20:42:10 +0000 (16:42 -0400)]
Integration with Releng

Added verify, merge and daily jobs that will be
called automatically by Gerrit/LF Jenkins on
workflow change

Change-Id: I3ae85593b6aeac4a1a7abb51354b9cc6fa1fd813
JIRA: RELENG-41
Signed-off-by: Mark Beierl <mark@jemms.net>
9 years agoLogging and timestamp 63/2563/4
mbeierl [Thu, 15 Oct 2015 14:48:58 +0000 (10:48 -0400)]
Logging and timestamp

Added logging and fixed issue if fio does not produce the current timestamp
in its output

JIRA: STORPERF-4

Change-Id: Ifd0dbc4e17d984907e63089ebfae1d0e9e749dcc
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoMain and fio interaction 63/2363/5
mbeierl [Thu, 8 Oct 2015 02:20:05 +0000 (19:20 -0700)]
Main and fio interaction

JIRA: STORPERF-4

Change-Id: I60efb773848459f994662db8f050174ab9c86bd0
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoCreation of converters 61/2361/4
mbeierl [Thu, 8 Oct 2015 02:19:22 +0000 (19:19 -0700)]
Creation of converters

JIRA: STORPERF-6

Change-Id: Id81a129807a984ad4af669e3f0f84c1e7ced5552
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoCreation of emitters 59/2359/4
mbeierl [Thu, 8 Oct 2015 02:19:11 +0000 (19:19 -0700)]
Creation of emitters

JIRA: STORPERF-7

Change-Id: I0a34af62ef850c9fc3e117b5c53283fc8d17561f
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoCreated converters 57/2357/4
mbeierl [Thu, 8 Oct 2015 02:18:19 +0000 (19:18 -0700)]
Created converters

JIRA: STORPERF-6

Change-Id: Idba1718a8ad8243872ca100ed10b1c457221d147
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoAdded PyDev projects 55/2355/4
mbeierl [Thu, 8 Oct 2015 02:14:29 +0000 (19:14 -0700)]
Added PyDev projects

JIRA: STORPERF-1

Change-Id: I1bf9ff0d7f512d3441ac23795fbe80b4884795dd
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoAdded Jenkins scripts 53/2353/3
mbeierl [Thu, 8 Oct 2015 02:12:20 +0000 (19:12 -0700)]
Added Jenkins scripts
JIRA: STORPERF-12
JIRA: STORPERF-1

Change-Id: I222381a690c89324058c8b6510b33a94c0ce0052
Signed-off-by: mbeierl <mark.beierl@emc.com>
9 years agoAdding INFO and LICENSE for review 97/1597/1
Aric Gardner [Tue, 15 Sep 2015 16:57:39 +0000 (12:57 -0400)]
Adding INFO and LICENSE for review

Change-Id: Ic565f117347ed80a5aee703254224c6f4b57b80e
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
9 years agoInitial empty repository
Aric Gardner [Tue, 15 Sep 2015 16:57:31 +0000 (16:57 +0000)]
Initial empty repository