summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2017-01-27 12:44:07 -0500
committermbeierl <mark.beierl@dell.com>2017-01-27 12:44:07 -0500
commit77ece642cf214cd10abe0943280926b93e7c5442 (patch)
tree00a32119b012733a48fffb43ae6b52d1f7f63d54
parent3edd04b198d9db4b04ac5e81fc55c3f82eb3120f (diff)
Fixed line to long error
Fixes the version of requests to match what docker was already pulling in. Truncate log message to 512 characters. Change-Id: Idba9374c0f339c8b4cb6902c921c8b26fef573cc JIRA: STORPERF-103 Signed-off-by: mbeierl <mark.beierl@dell.com>
-rwxr-xr-xci/setup.py2
-rwxr-xr-xci/verify.sh2
-rw-r--r--docker/requirements.pip1
-rw-r--r--storperf/db/test_results_db.py2
4 files changed, 4 insertions, 3 deletions
diff --git a/ci/setup.py b/ci/setup.py
index 2a02276..d40ef9f 100755
--- a/ci/setup.py
+++ b/ci/setup.py
@@ -32,7 +32,7 @@ setup(
"python-neutronclient==2.6.0",
"python-novaclient==2.28.1",
"pyyaml==3.10",
- "requests==2.9.1",
+ "requests==2.13.0",
"six==1.10.0"
],
entry_points={
diff --git a/ci/verify.sh b/ci/verify.sh
index 2b3446c..0905ca2 100755
--- a/ci/verify.sh
+++ b/ci/verify.sh
@@ -41,7 +41,7 @@ pip install python-keystoneclient==1.6.0
pip install python-neutronclient==2.6.0
pip install python-novaclient==2.28.1
pip install pyyaml==3.10
-pip install requests==2.9.1
+pip install requests==2.13.0
pip install scp==0.10.2
pip install six==1.10.0
diff --git a/docker/requirements.pip b/docker/requirements.pip
index df5c339..b9336e8 100644
--- a/docker/requirements.pip
+++ b/docker/requirements.pip
@@ -13,4 +13,5 @@ flask-restful-swagger==0.19
flask-swagger==0.2.12
html2text==2016.1.8
paramiko==2.0.2
+requests==2.13.0
scp==0.10.2
diff --git a/storperf/db/test_results_db.py b/storperf/db/test_results_db.py
index 049b0b8..75cb05d 100644
--- a/storperf/db/test_results_db.py
+++ b/storperf/db/test_results_db.py
@@ -56,5 +56,5 @@ def push_results_to_db(db_url, project, case_name,
logger.error("Error [push_results_to_db('%s', '%s', '%s', " +
"'%s', '%s', '%s', '%s', '%s', '%s')]:" %
(db_url, project, case_name, pod_name, version,
- scenario, criteria, build_tag, payload), e)
+ scenario, criteria, build_tag, payload[:512]), e)
return False