You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ja...@apache.org on 2015/05/01 01:34:20 UTC
[2/2] trafficserver-qa git commit: Add info messages for build
start/complete
Add info messages for build start/complete
Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/9ba51c9a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/9ba51c9a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/9ba51c9a
Branch: refs/heads/master
Commit: 9ba51c9a2f0c64abf2cd617cb69963626c1e4835
Parents: 4baa3a0
Author: Thomas Jackson <ja...@apache.org>
Authored: Thu Apr 30 16:31:49 2015 -0700
Committer: Thomas Jackson <ja...@apache.org>
Committed: Thu Apr 30 16:31:49 2015 -0700
----------------------------------------------------------------------
tsqa/environment.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/9ba51c9a/tsqa/environment.py
----------------------------------------------------------------------
diff --git a/tsqa/environment.py b/tsqa/environment.py
index 7fff3ed..0e5c78d 100644
--- a/tsqa/environment.py
+++ b/tsqa/environment.py
@@ -160,8 +160,11 @@ class EnvironmentFactory(object):
}
if log.isEnabledFor(logging.DEBUG):
- kwargs.pop('stdout')
- kwargs.pop('stderr')
+ # if this is debug, lets not capture the output and let it go to
+ # stdout and stderr
+ kwargs['stdout'] = None
+ kwargs['stderr'] = None
+ log.info('Starting build ({0}): configure {1}'.format(key, configure))
# configure
args = [os.path.join(self.source_dir, 'configure'), '--prefix=/'] + tsqa.utils.configure_list(configure)
@@ -181,6 +184,7 @@ class EnvironmentFactory(object):
'configuration': args,
'env': env_key,
}
+ log.info('Build completed ({0}): configure {1}'.format(key, configure))
except Exception as e:
EnvironmentFactory.negative_cache[key] = e
raise