Functional tests display the logs of the services they started
Function tests fork out processes that run glance-{api,registry,etc}.
These services are started with a conf file that directs logging
to a different file. Unfortunately that logged information is not
recorded by the test frameworks that run these tests. This change
opens the log file and dumps it out to a logger created for that
service. In this way a developer can inspect the logs of all the
services created by a failed tests using the test frameworks interface
(like Jenkins web interface).
Reviewed: https:/ /review. openstack. org/25837 github. com/openstack/ glance/ commit/ 6ea699bb8431a63 f53c4ad7425916d 491d7d6517
Committed: http://
Submitter: Jenkins
Branch: master
commit 6ea699bb8431a63 f53c4ad7425916d 491d7d6517
Author: John Bresnahan <email address hidden>
Date: Mon Apr 1 10:24:12 2013 -1000
Functional tests display the logs of the services they started
Function tests fork out processes that run glance- {api,registry, etc}.
These services are started with a conf file that directs logging
to a different file. Unfortunately that logged information is not
recorded by the test frameworks that run these tests. This change
opens the log file and dumps it out to a logger created for that
service. In this way a developer can inspect the logs of all the
services created by a failed tests using the test frameworks interface
(like Jenkins web interface).
Fixes bug: 1162933
Change-Id: Ie699baaa376ca4 ec848a8600f9fc5 da6484b24f0