Age | Commit message (Collapse) | Author | Files | Lines |
|
tko/compose_query.cgi.
This patch will fix error "Table 'tko.kernels' doesn't exist:" in 'Results
database' page.
Signed-off-by: Feng Yang <fyang@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@4172 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Duane Sand <duanes@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@3316 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Somewhat scary
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2640 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
and is not as you'll never run into a case where someone's __eq__ or __ne__
method do the wrong thing."
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2533 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2517 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
the afe now does a http request of the tko page and then injects
it directly into a div tag (thus all relative links become relative
from /afe/ not /tko/).
Risk: Low (should be easy to verify things are working)
Visibility: High
Signed-off-by: Jeremy Orlow <jorlow@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1722 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
- make sure that Set-Cookie statement printed out before opening html tag
- make sure query is recorded / replayed in case of proxy connection
- fixed hardcoded cookie key in unique_cookie.unique_id
- Formatting cleanup
Signed-off-by: Vladimir Samarskiy <vsamarsk@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1629 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
display only the main grid. Mouse hovering fuctionality stubbed in brief view
Signed-off-by: Vladimir Samarskiy <vsamarsk@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1628 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
a) Add to TKO UI a form containing button [SaveQuery] and edit control for
optional comments
b) On saveQuery request TKO make sure that user's cookies contain a unique
user's id
c) ... and then write into table query_history in TKO: time stamp, comment,
uid, url of the query
d) Make sure user can read saved queries back ( can read only own queries )
compose_query.cgi - added a form that supports user's request to save current qu
ery
save_query.cgi - saves the query
query_history.cgi - shows saved queries by this user
unique_cookie.py - common cookie related function: set/get user's unique id
006_add_table_query_history.py - database migration. New table introduced for qu
ery history.
Signed-off-by: Vladimir Samarskiy <vsamarsk@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1523 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
will give you the headers and the status.
From: Fa Yoeu <fayoeu@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1483 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
ambiguity with importing "frontend".
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1482 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Specifically, the page load time and sql access time for the
tko/compose_query.cgi page.
From: Fa Yoeu <fayoeu@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1481 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Svitlana Tumanova <stumanova@google.com>
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1478 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Real solution as was discussed by Jeremy/Martin is to reduce the number of
machine_group columns.
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1444 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1443 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Fa Yoeu <fayoeu@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1442 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
- reasons are retrieved from the database and displayed in cells only when
either columns or rows are grouped by status (because of performance reasons)
- reasons are displayed in cell below GOOD / TOTAL ratio and only if GOOD is
less then TOTAL i.e. when some problems occured
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1441 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
does not work properly
If you click on anything in this query the entire query gets screwed up. Row and column are both set to tag for no good reason, and the time condition is set equal to a particular second of the day. The time condition needs to be changed from
time_daily='2008-03-17 00:00:00'
to
time_daily<'2008-03-18 00:00:00'&time_daily>'2008-03-17 00:00:00'
time_daily should map to the SQL "DATE(whatever_the_time_column_is)". Also, the input to time_daily should have the time stripped off. I.e. it's not an acceptable solution for 'time_daily = some date' to map to 'time >= some date 00:00:00 & time <= some date 23:59:59"
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1440 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1439 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1437 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Vladimir Samarskiy <vsamarsk@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1364 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
- Fixed link to help file for condition control
- Included time attribute into drop down menu
- Allowed time and ID into condition control
- Fixed font width
- Improved data mining
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1311 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Scott Zawalski <scottz@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1275 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
We should be using the user specified prefix in compose_query.cgi,
not hardwiring to /results/.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
git-svn-id: svn://test.kernel.org/autotest/trunk@1262 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
|
|
1. Colors augmentation
2. fix insert_break_into_kernel_name
3. / to prevent line break just before or just after /
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1254 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
- clicking on the intersection of a job+test takes you to the results for that specific test
- use different colours to indicate the percentage of failures
- when looking at multiple results for the same test, display job_id/name on one axis and test_name on the other, instead of job_id on one axis and job_name on the other
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1249 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
I've pulled out the generic bits into frontend.py. There are way
too many things called "row" and "column" so I've changed the
matrix iterators to "x" and "y" to be less confusing
Removed all the old, specific query reports, in favour of the new, powerful
general one
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1166 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1149 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
had an & in it, clicking on a link would strip all but the first condition
off. This should fix this and other potential problems.
Signed-off-by: Jeremy Orlow <jorlow@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1109 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
git-svn-id: svn://test.kernel.org/autotest/trunk@1108 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Jeremy Orlow <jorlow@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1105 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
beginnings of a library for parsing a simple language (for expressing
conditionals) into SQL. Right now, the language only understands &'s, |'s, and
most operators sql understands. In the future, it'll understand ()'s, !'s, and
maybe others...but, given that the original compose_query.cgi only knew &'s and
='s, I didn't want to gate this patch for such support. In addition, high on
my todo list is the ability to drill down into results by clicking on rows,
columns, and cells.
Signed-off-by: Jeremy Orlow <jorlow@google.com>
NB. mbligh changed the set calls to use the builtin class. If that doesn't
work, it's my fault ;-)
git-svn-id: svn://test.kernel.org/autotest/trunk@1100 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1088 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Jeremy Orlow <jorlow@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@918 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
This looks like it changes lots of files, but really all the changes are in disp
lay.py. In the other files I just added display.print_main_header() so that all
pages have the common header now, which they should have anyway.
From: Steve Howard <showard@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@909 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
2. Modify the code to make only one sql query and then process the info than mak
e one sql query per xy in a table.
3. Add reporting clii.
4. Also move the common libraries used by the cli and web interface into query_l
ib.py.
From: Radha Ramachandran <radha@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@908 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Radha Ramachandran <radha@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@886 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
From: Radha Ramachandran <radha@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@880 592f7852-d20e-0410-864c-8624ca9c26a4
|