From 6d6005dd2801037256045bdc45cbac01b7546bed Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Tue, 24 Mar 2015 20:32:10 +1100 Subject: [PATCH] Move tempest log documentation into devstack-gate Copy the tempest documentation that is appended to apache footers into this project. This will help allow jobs to push up the documentation along with the logs. Change-Id: I8b26cc58c2ad6ca029726d227cf1d38d72465627 --- help/README | 2 + help/tempest-logs.html | 158 +++++++++++++++++++++++++++++++++++++ help/tempest-overview.html | 56 +++++++++++++ 3 files changed, 216 insertions(+) create mode 100644 help/README create mode 100644 help/tempest-logs.html create mode 100644 help/tempest-overview.html diff --git a/help/README b/help/README new file mode 100644 index 00000000..3353fdfc --- /dev/null +++ b/help/README @@ -0,0 +1,2 @@ +This directory contains help files on how to read the logs generated +by devstack-gate. These are usually uploaded along-side the logs. diff --git a/help/tempest-logs.html b/help/tempest-logs.html new file mode 100644 index 00000000..e669d224 --- /dev/null +++ b/help/tempest-logs.html @@ -0,0 +1,158 @@ +

Guide to Devstack Gate Logs

+

+ Above is a collection of log files from + the current tempest run. Within them + should be everything you need to get to the bottom of a test + failure. The screen-* logs will be your most valuable tools in this + process. Use the timestamp of the failed test in + the current tempest run. +

+

Types of logs

+

+

+

+

Nova Compute Fails

+

+ If there is a compute test failure, especially a server not getting + created correctly, or being in an unexpected state, the following is + typically the most fruitful order to look at things: +

+

Cinder Volume Fails

+

+ If there is a volume failure in the test, the following is typically + the most fruitful order to look at things: +

+

+

About this Help

+

+ This help file is part of the + + openstack-infra/devstack-gate + project, and can be found at + + help/tempest-logs.html + . + The file can be updated via the standard OpenStack Gerrit Review process. +

diff --git a/help/tempest-overview.html b/help/tempest-overview.html new file mode 100644 index 00000000..c1dc4623 --- /dev/null +++ b/help/tempest-overview.html @@ -0,0 +1,56 @@ +

Guide to Tempest Results Runs

+

+ You are looking at the full test results of a devstack setup and + tempest run for the OpenStack gate, as well as all the logs of all the + relevant services that were running during that tempest test run. From + them you should have enough information to debug. +

+

How To Debug - Quickstart

+

+

    +
  1. scroll to the end of console.html +
  2. work your way backwards until the first failing test +
  3. copy the timestamp of that failing test +
  4. go into logs directory and look at that time stamp in related + service logs for traces, failures, or other oddities +
+

+

File Overview

+

console.html

+This file contains the stdout/stderr console of the devstack-gate +job. The basic flow of the file goes as follows: + +

+ All the devstack setup is done under bash tracing, so + is extremely verbose. This is to ensure enough data is captured + so that you can debug failures in the gate with the information provided. +

+

+ The tempest tests are the last 1% of the console.html. When looking + at failures it is typical best to start at the end of the file and + work backwards. +

+

logs

+

+ The logs directory contains all the screen logs + from all the services during the devstack-gate run. +

+

About this Help

+

+ This help file is part of the + + openstack-infra/devstack-gate + project, and can be found at + + help/tempest-overview.html + . + The file can be updated via the standard OpenStack Gerrit Review process. +