From 77ece642cf214cd10abe0943280926b93e7c5442 Mon Sep 17 00:00:00 2001 From: mbeierl Date: Fri, 27 Jan 2017 12:44:07 -0500 Subject: 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 --- ci/setup.py | 2 +- ci/verify.sh | 2 +- docker/requirements.pip | 1 + storperf/db/test_results_db.py | 2 +- 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 -- cgit 1.2.3-korg