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:19 UTC
[1/2] trafficserver-qa git commit: Correct debug output of builds
Repository: trafficserver-qa
Updated Branches:
refs/heads/master 12e3fa62b -> 9ba51c9a2
Correct debug output of builds
Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/4baa3a0a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/4baa3a0a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/4baa3a0a
Branch: refs/heads/master
Commit: 4baa3a0aaddc502960a6c1f69b16eae67037e1a9
Parents: 12e3fa6
Author: Thomas Jackson <ja...@apache.org>
Authored: Thu Apr 30 16:26:06 2015 -0700
Committer: Thomas Jackson <ja...@apache.org>
Committed: Thu Apr 30 16:26:06 2015 -0700
----------------------------------------------------------------------
tsqa/environment.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/4baa3a0a/tsqa/environment.py
----------------------------------------------------------------------
diff --git a/tsqa/environment.py b/tsqa/environment.py
index 513588c..7fff3ed 100644
--- a/tsqa/environment.py
+++ b/tsqa/environment.py
@@ -160,8 +160,8 @@ class EnvironmentFactory(object):
}
if log.isEnabledFor(logging.DEBUG):
- kwargs['stdout'] = sys.stdout.fileno()
- kwargs['stderr'] = sys.stderr.fileno()
+ kwargs.pop('stdout')
+ kwargs.pop('stderr')
# configure
args = [os.path.join(self.source_dir, 'configure'), '--prefix=/'] + tsqa.utils.configure_list(configure)
@@ -178,7 +178,8 @@ class EnvironmentFactory(object):
# stash the env
self.environment_stash[key] = {
'path': installdir,
- 'configuration': args
+ 'configuration': args,
+ 'env': env_key,
}
except Exception as e:
EnvironmentFactory.negative_cache[key] = e
[2/2] trafficserver-qa git commit: Add info messages for build
start/complete
Posted by ja...@apache.org.
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