[nailgun] Store nailgun logs locally

Bug #1334180 reported by Aleksandra Fedorova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Dima Shulyak

Bug Description

Nailgun logs are stored in /var/log/nailgun/

For better test handling we need to store logs locally. For example in a subfolder ./logs/ in the current working directory.

Then we'll be able to create build artifacts chosen by regexp "logs/**" and attach them to every build.

Evgeniy L (rustyrobot)
Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
Dima Shulyak (dshulyak)
Changed in fuel:
milestone: none → 5.1
importance: Medium → High
Dima Shulyak (dshulyak)
Changed in fuel:
importance: High → Medium
Dmitry Ilyin (idv1985)
summary: - Store nailgun logs locally
+ [nailgun] Store nailgun logs locally
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Dima Shulyak (dshulyak)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/104535
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=fa20798b6493c59657b9ed90eabe34e86e0e695b
Submitter: Jenkins
Branch: master

commit fa20798b6493c59657b9ed90eabe34e86e0e695b
Author: Dima Shulyak <email address hidden>
Date: Thu Jul 3 12:54:34 2014 +0300

    Separate configuration based on test environment

    Added:
    - ARTIFACTS variable to store all test artifacts
      under single directory
    - yaml config generation based on environment variables
    - NAILGUN_CONFIG variable in run_tests.sh and settings.py

    Commands used for testing:
      TEST_NAILGUN_DB=nailgun1 ARTIFACTS=/tmp/test_runs/1 \
      UI_SERVER_PORT=8011 FUELCLIENT_SERVER_PORT=8021 ./run_tests.sh

      TEST_NAILGUN_DB=nailgun2 ARTIFACTS=/tmp/test_runs/2 \
      UI_SERVER_PORT=8012 FUELCLIENT_SERVER_PORT=8022 ./run_tests.sh

    Change-Id: If03dddee9a8259a80b526a53fe61a79c544c72a4
    Closes-Bug: #1282565
    Closes-Bug: #1334180

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

Other bug subscribers

Remote bug watches

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