Ask Your Question
0

How to limit Tempest output ?

asked 2016-01-04 10:05:07 -0500

Vincent G gravatar image

Hi there,

I'm working with tempest to make a monitoring script of my IaaS I have some issues with the output of the tests that are run.

How can I limit/suppress any 'INFO' or 'WARNING' output within the API ? I know I can filter the output but It's not practical at all...

Some lines I would like to hide :

Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} (...)
2016-01-04 16:50:45.127 15986 INFO paramiko.transport [-] Connected (version 2.0, client dropbear_2012.55)
2016-01-04 16:50:45.567 15986 INFO paramiko.transport [-] Authentication (publickey) successful!
2016-01-04 16:51:08.721 15986 WARNING tempest_lib.common.ssh [-] Failed to establish authenticated ssh connection to cirros@172.16.117.70 ([Errno None] Unable to connect to port 22 on  or 172.16.117.70). Number attempts: 1. Retry after 2 seconds.

Maybe someone could help me with some sub-utilities (testr ?) in order to hide all/any of this ?

edit retag flag offensive close merge delete

Comments

Note : The line that I want to hide is :

running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} (...)

This line only appears when testr is discovering the tests.

Vincent G gravatar imageVincent G ( 2016-01-06 10:43:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-06 03:57:52 -0500

Vincent G gravatar image

updated 2016-01-06 04:00:04 -0500

In fact that was under my nose... in tempest.conf / [DEFAULT] / default_log_levels

You can add/remove/change any of the log levels by module used.

Thanks to clarkb on #openstack-dev :)

This is OK for the [INFO/WARN/...] messages, but NOT for the line beginning with "running=..." Any suggestion ?

edit flag offensive delete link more

Comments

And for the first line, just comment the "verbose" parameter in tempest.conf (was set to false in my case)

Vincent G gravatar imageVincent G ( 2016-01-06 04:01:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-04 10:05:07 -0500

Seen: 86 times

Last updated: Jan 06 '16