Fixed line to long error 81/27681/1
authormbeierl <mark.beierl@dell.com>
Fri, 27 Jan 2017 17:44:07 +0000 (12:44 -0500)
committermbeierl <mark.beierl@dell.com>
Fri, 27 Jan 2017 17:44:07 +0000 (12:44 -0500)
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>
ci/setup.py
ci/verify.sh
docker/requirements.pip
storperf/db/test_results_db.py

index 2a02276..d40ef9f 100755 (executable)
@@ -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={
index 2b3446c..0905ca2 100755 (executable)
@@ -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
 
index df5c339..b9336e8 100644 (file)
@@ -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
index 049b0b8..75cb05d 100644 (file)
@@ -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