[OSTF] Add logging for tests statuses

Bug #1297958 reported by Tatyanka
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Sebastian Kalinowski

Bug Description

Please, add next info in logging
Test name, test start time and tests status(success, error, fail)
In case if test error or fail add fail messages

Tags: ostf
Changed in fuel:
milestone: none → 5.0
Changed in fuel:
milestone: 5.0 → 5.1
Revision history for this message
Dima Shulyak (dshulyak) wrote :

We can configure python logger to write to separate files with names like:

/var/log/ostf/smoke_1_10.log - where 1 is nailgun cluster id, and ostf 10 is test run id

Also human readable name for test can be added to logs, it is not a problem I think

Changed in fuel:
importance: Low → Medium
assignee: Tatyana (tatyana-leontovich) → Fuel Python Team (fuel-python)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Sebastian Kalinowski (prmtl)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/107937

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

Fix proposed to branch: master
Review: https://review.openstack.org/107938

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Sebastian Kalinowski (<email address hidden>) on branch: master
Review: https://review.openstack.org/107937
Reason: As suggested by Dima Shulyak, new dir will be created by puppet

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/108960

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/108960
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=9684cf5ff5155c1b1d18534a09c815616a0ff072
Submitter: Jenkins
Branch: master

commit 9684cf5ff5155c1b1d18534a09c815616a0ff072
Author: Sebastian Kalinowski <email address hidden>
Date: Wed Jul 23 13:35:43 2014 +0200

    Add dir for OSTF test result logs

    Change-Id: Ie512e1eb4d5d2b7b319d2e3f3122f68cf6e84eea
    Partial-Bug: #1297958

Changed in fuel:
milestone: 5.1 → 6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/107938
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=727cd3cc93e255635fef13c80baee649ced075be
Submitter: Jenkins
Branch: master

commit 727cd3cc93e255635fef13c80baee649ced075be
Author: Sebastian Kalinowski <email address hidden>
Date: Fri Jul 18 11:15:59 2014 +0200

    Add logging to file for OSTF tests

    After that change when performing a OSTF test its result will be
    logged to a file under /var/log/ostf directory.
    Each file has name in format cluseter_CLUSTER_ID_TESTSET.log,
    for example: cluster_1_smoke.log

    * added ResultsLogger for logging tests restuts
    * removed deprecation because of wrong import in models

    Change-Id: If69a4292fcc66565ba969396d591e38eddba92ce
    Closes-Bug: #1297958

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.