Age | Commit message (Collapse) | Author | Files | Lines |
|
looking for the keyval itself.
Risk: Low
Visibility: Parsing multi-machine jobs with the standalone script will
work again.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2543 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
module, and add a similar pidfile option to the parser.
Risk: Low
Visibility: Adds an (opt-in) .parser_execute pidfile to the parser.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2538 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
nesting before you reach the actual job directories, it still
correctly parses them.
Risk: Low
Visibility: Only affects the "reparse entire results dir" mode of the
parse.py script.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2394 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
The original intention of the code was always to parse individual
machine directories when a .machines file exists.
Risk: Low
Visibility: Server-side sync jobs that are actually broken down into
individual machine jobs will now get their results parsed.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1727 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Jeremy Orlow <jorlow@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1712 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Visibility: Should eliminate missing results errors due to the final
reparse failing because of intermittent db issues.
Adds an autoretry to the transactions used for the final reparse.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1567 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
version, and modify parse.py to look up the status version number
in order to instantiate the correct parser version.
Basically, it's an implementation of the parser that follows
the spec as outlined in
http://test.kernel.org/autotest/DraftParserSpecification. I did that
by implementing the "version 1" parser, as opposed to the existing
"version 0" parser, and it also adds some code to autotest itself to
log the fact that the status logs being written out follow the
"version 1" specification, so that when re-parsing existing results
older logs will still be parsed using the old (rather ad-hoc and
difficult to follow) algorithm.
The implementation is fairly similar to the existing version 0
implementation; it still uses all the same files for gathering
results, but there are the core changes:
- instead of grabbing kernel information from build.log, it gets
embedded into the status logs associated with reboots
- if a group is lacking a proper "END" section it implicitly assumes
it was somehow aborted
- reboots are wrapped in a group
- a "JOB" result is logged even if nothing bad happens (rather than
only logging it when something bad happens)
- you can have arbitrarily large amounts of group nesting
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1511 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
re-organization of the existing code.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1447 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1377 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
events again.
From: <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1366 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
the parser to use it as a source of kernel version information.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1359 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
groups. Also, modify the parser to interpret the status of a group as
being the "worst" status message logged in that group, not just
whatever status is associated with the END message.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1299 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
treated a reboot line as a normal test instead of properly tracking
whether or not the machine is currently rebooting. This leads to
cases where the job is mistakenly reported as aborted because of a
failed reboot due to the reboot.verify line being misinterpreted.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1265 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
When we have tests on a kernel such as 2.6.24 and against 2.6.24+patch
they are lumped together in the same results row. This is not optimal
as commonly you are patching those kernels in order to fix a problem and
want to see those separately. Ideally we would have a row for the virgin
2.6.24 results and a separate row for each different patch combination.
The current structure simply displays the contents of the kernels table
'printable' field when displaying the matrix. That would necessitate
encoding the base name and all applied patches into this field.
Additionally if we desire to have tooltips, or links to individual patches
the HTML encoding for that would need to be packed into this field.
This is not desirable.
This patch set modifies the meaning of the kernels table printable field,
making it more of a "sortable" field. This field must be unique for all
kernels, and also approximatly sortable into "kernel release" order.
For kernels without patches, this is simply the base kernel version
as normal. For patched kernels it is the base kernel version plus the
kernel index number. This combination effectively allows the kernel to
be sorted by base release, then by date.
Now that the printable field is mearly a sortable identifier, it is no
longer suitable for display. Thus this patch also introduces a new map
abstraction for data fields. It supplies a mapper for the kernel field
which uses the sortable kernel identifier to locate the base kernel and
the full list of patches. For display purposes we want to see the kernel
version plus the names of all the patches, all without allowing making the
kernel column excessively wide. So the supplied mapper displays the base kernel
version, plus truncated patch names (but with tooltips for the full names).
Which ends up looking something like this:
2.6.24-mm1 p112
+add-new-string-functions-
+x86-amd-thermal-interrupt
This mapping does introduce a single additional query over the patches
table (which is pretty small) before the matrix can be produced, only
when the kernel field is displayed.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
git-svn-id: svn://test.kernel.org/autotest/trunk@1261 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Recently boot numbering was introduced. However, boot failures were
missed. These should also be reported against the current boot number.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
git-svn-id: svn://test.kernel.org/autotest/trunk@1256 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
when parsing test results. Also, add a test_finished_time field for
storing the timestamp in the database.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1248 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
modify the parsing code to find these timestamps in the job keyval
file and insert them into the db.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1246 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
names in the tko db.
Signed-off-by: Jeremy Orlow <jorlow@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1234 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
not to print STATUS
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1141 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1140 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
job block - we were catching the start, but not the end, and thinking
there was an unfinished reboot. Treat both the same
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1106 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1087 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Use the ALERT records (triggered by kernel BUG's etc) in the status file
to mark in progress tests as having triggered the alert.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
git-svn-id: svn://test.kernel.org/autotest/trunk@1070 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
then values before recording them.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
git-svn-id: svn://test.kernel.org/autotest/trunk@1016 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
do not run boot validation. Unless boot validation is run the boot is
not recorded in the test results; which only include the build.
Track the boot initiation and where the status file completes without
such an indication record a boot failure.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
git-svn-id: svn://test.kernel.org/autotest/trunk@1014 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1010 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1006 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@979 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
This avoids us getting tests that look like '----' in the results
pages
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@962 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@961 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
A better fix is slightly tricky, as we don't know easily which reboot
matches up to which test.
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@957 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
* added failtest for testing this (and anything else that needs a failing test
)
* Improved readability in parse script output
* Added getopt() for parse and added -m option for sending mail on failures
* pulled mail* functions in from mirror/mirror
* Get a realuser value in autoserv for run tests
* Fix jobkeyval value
From: David McMahon <djmm@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@910 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
the if clause
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@882 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: David McMahon <djmm@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@842 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: radha@google.com
git-svn-id: svn://test.kernel.org/autotest/trunk@813 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@722 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@691 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@679 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
git-svn-id: svn://test.kernel.org/autotest/trunk@669 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
git-svn-id: svn://test.kernel.org/autotest/trunk@667 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@664 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@663 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
git-svn-id: svn://test.kernel.org/autotest/trunk@661 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
When requesting a boot via a kernel generate a kernel identifier
for that kernel and a command line validator (the time). These
are then checked in a post boot validation stepper "step" which
is inserted before the users next step.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
git-svn-id: svn://test.kernel.org/autotest/trunk@657 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@655 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
This is identical to the patch for wait down on hosts. This causes
wait up to return more quickly when a machine comes back on. This
waits 10 seconds before retrying, the previous approach generally
waited the full length of timeout due to the delay required for ssh
connections to timeout.
Signed-off-by: Ryan Stutsman <stutsman@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@651 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@640 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@378 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
git-svn-id: svn://test.kernel.org/autotest/trunk@344 592f7852-d20e-0410-864c-8624ca9c26a4
|