diff options
author | Mark Beierl <mark.beierl@emc.com> | 2016-04-25 09:55:03 -0400 |
---|---|---|
committer | Mark Beierl <mark.beierl@emc.com> | 2016-04-25 10:51:31 -0400 |
commit | 311eee3bec00d5acc32b6eba76a7ff0d1990f4b2 (patch) | |
tree | 9fe4ee0f33687ebaed1c82ff3bea0d569039cc78 /cli.py | |
parent | 07a375f25ee831100ecf21e7bb9c1bdcd3b960f5 (diff) |
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>
Diffstat (limited to 'cli.py')
-rw-r--r-- | cli.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -10,7 +10,6 @@ """ from storperf.storperf_master import StorPerfMaster -from storperf.test_executor import UnknownWorkload from threading import Thread import cPickle import getopt @@ -18,13 +17,10 @@ import json import logging import logging.config import logging.handlers -import os import socket import struct import sys -import time -import html2text import requests @@ -49,7 +45,7 @@ class LogRecordStreamHandler(object): while True: datagram = self.socket.recv(8192) chunk = datagram[0:4] - slen = struct.unpack(">L", chunk)[0] + struct.unpack(">L", chunk)[0] chunk = datagram[4:] obj = cPickle.loads(chunk) record = logging.makeLogRecord(obj) |