[PATCHv2 0/3] Summary output format change

olichtne at redhat.com olichtne at redhat.com
Fri May 31 09:06:37 UTC 2013


From: Ondrej Lichtner <olichtne at redhat.com>

The bug with recipe result initialization is fixed in this version.
Previous message:

Hi everyone,

yesterday I posted an email containing the first version of how I am
reimplementing the summary output. Today I bring you the, hopefully, finished
version in the following patches.

The slightly changed format now looks like this:

2013-05-30 15:09:07|       (127.0.0.1)|    INFO: ========================================= SUMMARY =========================================
2013-05-30 15:09:07|       (127.0.0.1)|    INFO: recipes/smoke/tests/recipe-bond-bond.xml                                               PASS
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:     cmd_seq: 1
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:         test          IcmpPing bg_id: 1                                                PASS
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:         ctl_wait      5s                                                               PASS
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:         intr          id: 1                                                            PASS
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:     cmd_seq: 2
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:         exec          [ `ip -o link | grep t_bond0 | wc -l` -gt 0 ]                    PASS
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:     cmd_seq: 3
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:         test          IcmpPing                                                         PASS
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:     cmd_seq: 4
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:         system_config                                                                  PASS
2013-05-30 15:09:07|       (127.0.0.1)|    INFO:             /proc/sys/net/ipv4/igmp_max_memberships                 previous: 20 current: 8
2013-05-30 15:09:07|       (127.0.0.1)|    INFO: ===========================================================================================

Ondrej Lichtner (3):
  NetTestResultSerializer: add support for command_sequences
  NetTestResultSerializer: add method print_summary
  lnst-ctl: use the new print_summary method

 lnst-ctl                                   |  12 +--
 lnst/Controller/NetTestController.py       |   1 +
 lnst/Controller/NetTestResultSerializer.py | 167 ++++++++++++++++++++++++++++-
 3 files changed, 168 insertions(+), 12 deletions(-)

-- 
1.8.1.4



More information about the LNST-developers mailing list