• Home
  • History
  • Annotate
  • only in /external/autotest/frontend/client/src/
History log of /external/autotest/frontend/client/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a4b55dd2b1387e41544c64c4793992b906272234 28-Feb-2018 Keith Haddow <haddowk@chromium.org> [moblab] Change the persistent id for moblab from mac to serial.

As next gen moblab have two nics we can no longer use thei
ethernet device type to find a consistent mac address.

Use the device serial number in place of the mac address.

CQ-DEPEND=CL:944613
BUG=chromium:814891
TEST=build and tested on moblab

Change-Id: I76284984c287054146a336a8972e206f4fe6b224
Reviewed-on: https://chromium-review.googlesource.com/944807
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/rpc/VersionInfo.java
utotest/moblab/wizard/ConfigWizard.java
f5321f056459ea0073df92983a1daebe425875d4 24-Feb-2018 Matt Mallett <mattmallett@chromium.org> [moblab] Run dut ssh test in parallel

The Manage DUTs page becomes slow with many DUTs connected, as
it checks each connected DUT for SSH connectivity in sequence.
This change has the checks run in parallel subprocesses and
provides a good speedup.

Also updated some messaging on UI for DUTs that couldn't be
reached by SSH, to make it clear what the problem is.

BUG=chromium:815275,chromium:814425
TEST=Added unit test for parallel test execution logic, and tested
functionality on local device with 24 connected DUTs.

Change-Id: Id087f02e9a5bf20e06cd536642164c356c747b74
Reviewed-on: https://chromium-review.googlesource.com/935881
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/DutManagementView.java
c01e9167879b150e93919847d4000c42ba79f688 07-Feb-2018 Matt Mallett <mattmallett@chromium.org> [moblab] Add help text tooltip for boto key

BUG=chromium:630798
TEXT=test on local device

Change-Id: I8a93d4756a34d04442e0f651c1305bed6ca5e4da
Reviewed-on: https://chromium-review.googlesource.com/907544
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/wizard/CloudStorageCard.java
3b5a7067d8e5ef20ad3723236a724506e5675c98 05-Feb-2018 Matt Mallett <mattmallett@chromium.org> [moblab] Check if dut has test image by testing ssh connection

Attempt to SSH into connected duts. If SSH failed, it's likely the
DUT doesn't have a test image. Show a message on the UI to let users
know.

BUG=chromium:616373
TEST=local moblab with one test image DUT and one non-test image DUT

Change-Id: I3f9e82b04d7c47a19522f8fc627bcb06f28c7d02
Reviewed-on: https://chromium-review.googlesource.com/902166
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/DutManagementView.java
utotest/moblab/rpc/ConnectedDutInfo.java
c70f8d638d90c1c20aab7dd94b5b310589bff0bf 07-Feb-2018 Matt Mallett <mattmallett@chromium.org> [moblab] Remove faft tests from UI

BUG=chromium:809606
TEST=test on local device

Change-Id: I62636dfe55d107e670f52175b23bc95d4804f38f
Reviewed-on: https://chromium-review.googlesource.com/907183
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/SuiteRunnerView.java
b879766de2fe6fcc9beb9dc76587a20fe2c9499d 02-Feb-2018 Matt Mallett <mattmallett@chromium.org> [moblab] correctly display update progress on UI

Wait for the update engine to finish checking for an update before
returning from the RPC. Also improve messaging on the UI to make
update progress easy to follow.

BUG=chromium:613747
TEST=local moblab tested by updating from R64-10176.62.0 to
R64010176.65.0

Change-Id: I16910cc1365dc65980e269da7bbcabc28e28af43
Reviewed-on: https://chromium-review.googlesource.com/898254
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/rpc/VersionInfo.java
utotest/moblab/wizard/ConfigWizard.java
c223505b3ed3e90c57c5bd4fb98799c9e8fa0078 31-Jan-2018 Matt Mallett <mattmallett@chromium.org> [moblab] Use the is_reboot_needed value correctly

Use the return code from --is_reboot_needed correctly
to cause the moblab device to update when a new
version is downloaded and ready to install

BUG=chromium:613747
TEST=updated local moblab device from 10176.62.0 to 10176.65.0 via UI

Change-Id: I2204b3fcf2a2602b72350d380d3112a47a48a2ad
Reviewed-on: https://chromium-review.googlesource.com/895905
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/wizard/ConfigWizard.java
31c1eec1ffaa0aae641db219eedfe53e0dd9bd30 31-Jan-2018 Matt Mallett <mattmallett@chromium.org> [moblab] Select model in run_suite page

Users can select the model in the board dropdown, for cases where
model is different from board and we want to target a specific
model for testing

BUG=b:69108684
TEST=local moblab test with a bruce and veyron_minnie device

Change-Id: I0da0eee86c3a043258df28c12df0644a53c0c771
Reviewed-on: https://chromium-review.googlesource.com/894640
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/SuiteRunnerView.java
utotest/moblab/rpc/ConnectedBoard.java
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
b0f8dc76b36d2b04e08024e98add237597e59d35 26-Jan-2018 Matt Mallett <mattmallett@chromium.org> [moblab] Add update button

BUG=chromium:613747
TEST=Tested features on a local moblab

Change-Id: Id512a96e57c5449ace561b8a551b2570ab637468
Reviewed-on: https://chromium-review.googlesource.com/887794
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/moblab/rpc/VersionInfo.java
utotest/moblab/wizard/ConfigWizard.java
aec4a067cbdaf178ce3221da514d02e3fbafe38d 21-Dec-2017 Keith Haddow <haddowk@chromium.org> [moblab] Fix broken UI, deleted wrong suite name

BUG=chromium:772192
TEST=local build

Change-Id: I31eb909f14bfc64162dc3b27c606db1b7afe7b98
utotest/moblab/SuiteRunnerView.java
18f5649b7d5e1e6f173ceb5f793306a7c09d8099 14-Nov-2017 Shuhei Takahashi <nya@chromium.org> Add configs to support Stainless in autotest.

When Stainless related configs are set, it overrides wmatrix links.

BUG=b:69277911
TEST=AFE UI: Run AFE locally
TEST=run_suite: NOT TESTED

Change-Id: Ie002c8efa8487a0e69ea0830e959a7edcbd14029
utotest/afe/AfeClient.java
utotest/public/AfeClient.html
ea45e551aaa86cf172f2a5074e03679b12192ed9 10-Nov-2017 Keith Haddow <haddowk@chromium.org> [moblab] Remove obsolite test suites from the UI

CTS (M) and the precondition suite are no longer used, remove
from the UI

BUG=chromium:772192
TEST=trybot job

Change-Id: I8b13a4663baa2bae3bab797a593cbac7ad468b0a
Reviewed-on: https://chromium-review.googlesource.com/764467
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/SuiteRunnerView.java
1e3b52e60ea3e764af2281e43b8ab7e2b567103a 22-Sep-2017 Sida Liu <sidal@chromium.org> [moblab] Add support for avl process bug id and part id.

1) Add optional bug id textbox and part id text box in "Run Suite" view
when hardware_memoryqual or hardware_storagequal suite is selected.

2) Support two optional arguments in run_suite RPC call originalted from
moblab.

3) Modified control.hardware_memoryqual to write bug_id and part_id to
keyval file.

TEST=unittest and manual test on moblab

BUG=None

Change-Id: I284252ed792ee12f4a503bb089488fb76fdff3bb
Reviewed-on: https://chromium-review.googlesource.com/679257
Commit-Ready: Sida Liu <sidal@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Sida Liu <sidal@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/SuiteRunnerView.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/public/moblabsetup.css
f2becd326c01c09e09699e6f7394c91018ba1935 11-Sep-2017 Prathmesh Prabhu <pprabhu@chromium.org> autotest: ui: Drop support for editing control file for job.

BUG=chromium:753607
TEST=local AFE.

Change-Id: I3d2e89710150bb8920a4e8c5587d69e64fa46494
Reviewed-on: https://chromium-review.googlesource.com/660687
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
utotest/afe/create/CreateJobViewPresenter.java
db83fcee3fcb045508c0d9b7bcf6c19fddcdeda9 08-Sep-2017 Prathmesh Prabhu <pprabhu@chromium.org> autotest: ui: Fix glitch in default endDate on job list page

The default end date was being set to today - 6 days.

BUG=None
TEST=Local AFE.

Change-Id: Ifeb9c33c5d2b1124b35662c5b69f00e9ab9066ca
Reviewed-on: https://chromium-review.googlesource.com/657891
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Paul Hobbs <phobbs@google.com>
utotest/common/table/DatetimeSegmentFilter.java
a58c18bf8bd47c8ce525d3186d1f2f8bf6d59c89 27-Aug-2017 Paul Hobbs <phobbs@google.com> [autotest] ui: Add date constraint on page load

Add a 2-week constraint on the date range as soon
as the page loads, instead of only after the first
change to the endDate.

Factor out the value change handler code which
updates the start date constraint upon changing
the end date.

BUG=chromium:753394
TEST=tested manually on chromeos-autotest.hot

Change-Id: Id164aa623afa59560114b9a97365d4ff4a83aeb1
Reviewed-on: https://chromium-review.googlesource.com/636515
Reviewed-by: Paul Hobbs <phobbs@google.com>
Commit-Queue: Paul Hobbs <phobbs@google.com>
Tested-by: Paul Hobbs <phobbs@google.com>
utotest/common/table/DatetimeSegmentFilter.java
c4474c25e029e6359fe8b91953b1517e16fceba4 22-Aug-2017 Keith Haddow <haddowk@chromium.org> [moblab] Add new suite to support the USB camera qualification.

Add a new suite to the UI, to allow third party labs to easily
run the camera qualification tests.

BUG=chromium:757863
TEST=Manual test on moblab.

Change-Id: If7606fb6543dac2042b3d89a25d3687ff7b52820
Reviewed-on: https://chromium-review.googlesource.com/626939
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/SuiteRunnerView.java
4442d6fb2c7fa950a49aad4c38402003dc4eb484 17-Aug-2017 Paul Hobbs <phobbs@google.com> [autotest] Ui: Add 2 week date restriction.

Add a 2 week date restriction to the datetime-local input box for JobListView and HostDetailView.

WIP; Needs manual testing still.

BUG=chromium:753394
TEST=None

Change-Id: If4197c795687b0886cf167443c5a4dd35c8a7461
Reviewed-on: https://chromium-review.googlesource.com/617928
Commit-Ready: Paul Hobbs <phobbs@google.com>
Tested-by: Paul Hobbs <phobbs@google.com>
Reviewed-by: Paul Hobbs <phobbs@google.com>
utotest/common/table/DatetimeSegmentFilter.java
utotest/common/ui/DateTimeBox.java
94dd4622cdad3a271375d0a0d11d9ce162b44bb9 29-Jul-2017 Keith Haddow <haddowk@chromium.org> [moblab] Fix issue where wifi password could not be reset to None

If you set the password, then went back and tried to remove the
password it was never updated.

BUG=chromium:748702
TEST=local moblab testing

Change-Id: Id33e8c495ccff9395cf5037cf76246834a53ed20
Reviewed-on: https://chromium-review.googlesource.com/592850
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/rpc/WifiInfo.java
4544e330b7667ed71ed5c92d90831401b044f5a5 29-Jul-2017 Keith Haddow <haddowk@chromium.org> [moblab] Fix issue with pool checkbox not being enabled.

BUG=chromium:732505
TEST=local moblab test

Change-Id: I20cda7b73eca81a9d804122d1aa931f8cd3766ca
Reviewed-on: https://chromium-review.googlesource.com/592083
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/DutManagementView.java
5069755ba0d0b8ff58cbd80531fde69daf45d2fa 28-Jul-2017 Keith Haddow <haddowk@chromium.org> [moblab] Enable the precondition suite on the UI.

Add the precondition suite to the UI and also pass the wifi test
parameters along to all suite runs.

BUG=chromium:748702
TEST=local moblab testing

Change-Id: Id0cba8dbf5067fd5ef28d6057afa0e6663630524
Reviewed-on: https://chromium-review.googlesource.com/592072
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/SuiteRunnerView.java
utotest/moblab/wizard/WifiCard.java
bbc45d971e3442c58d230829fdb6734b4a619324 25-Jul-2017 Keith Haddow <haddowk@chromium.org> [moblab] Add UI option to specify AP name/password DUTs shouls use.

Certain CTS tests require the DUT to connect to a wifi AP.

During the setup of the moblab the user can specify the AP name
and password and that will be passed to all tests for it to
(optionally) connect to the wifi AP.

Example UI changes at http://100.96.59.141/moblab_setup

BUG=chromium:748702
TEST=local testing on moblab

Change-Id: I48d2b3e6790995e54adaad98ab6c3b1f64c06afd
Reviewed-on: https://chromium-review.googlesource.com/584861
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/ConfigWizardView.java
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/moblab/rpc/WifiInfo.java
utotest/moblab/wizard/WifiCard.java
49f089396b0ffbe152fb734cffb84f9de038c426 06-Jul-2017 Keith Haddow <haddowk@chromium.org> [moblab] Add UI functionality to Set/Update host attributes.

Ui demo at moblab 100.96.59.141

BUG=chromium:732505
TEST=unit test and local moblab testing.

Change-Id: Icdc3e532b50fbf9b1a2440f423a00bd74a1ac232
Reviewed-on: https://chromium-review.googlesource.com/583711
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/DutManagementView.java
utotest/moblab/rpc/MoblabRpcHelper.java
ae36b767aadf5aa7656aeb4f955da67564b920f9 01-Jul-2017 Paul Hobbs <phobbs@google.com> ui: Sort by created_on when filtering created_on

The JobStartingDatetimeFilter puts a constraint on created_on (even if not
specificed, because if blank, it still uses a setStartTimeToPlaceHolderValue()
regardless). When the query has uses ORDER BY id, the InnoDB query optimizer
uses the primary key index depsite having a constraint on created_on which may
cause it to scan through an unbounded number of rows before actually finding
rows that satisfy the created_on constraint. By switching to ORDER BY
created_on, the query optimizer switches to using the created_on index, as it
should.

BUG=chromium:685424
TEST=None

Change-Id: Id38e054170264d8697cecc5d8607c8f5ee61f761
Reviewed-on: https://chromium-review.googlesource.com/558669
Commit-Ready: Paul Hobbs <phobbs@google.com>
Tested-by: Paul Hobbs <phobbs@google.com>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
utotest/afe/JobTable.java
2ad43677bc8865a608375a653c4b32d805d2dbd9 28-Jun-2017 Keith Haddow <haddowk@chromium.org> [autotest] Remove the admin links from the UI

Admin pages have been removed from the code for a few weeks,
to avoid user confusion we should not have a link that goes to an
error page.

BUG=chromium:723867
TEST=Manual

Change-Id: I3d1715c9005caebc0181e2d19eba9f5952162ae8
Reviewed-on: https://chromium-review.googlesource.com/552748
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/public/AfeClient.html
utotest/public/TkoClient.html
9857f8754fddad14c578fc8f5615ff233c8612cc 24-May-2017 Keith Haddow <haddowk@chromium.org> [moblab] Add new featutre to run suite to limit the tests run.

When partners re-run a CTS suite they often just want to run a
subset of the jobs. The UI now lets you specify a list of test
names. The suite will only run the tests that are in the suite
and in the specified list.

Demo on http://100.107.3.16/moblab_setup

TEST=local moblab
BUG=chromium:725601

Change-Id: I7708d2f4765370bff130e224dd0d33854202f6fd
Reviewed-on: https://chromium-review.googlesource.com/514247
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinsong Mu <jinsong@google.com>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/SuiteRunnerView.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/public/moblabsetup.css
015e223b2f231ca059dc567d530f199a9e2c1ccf 12-May-2017 Aviv Keshet <akeshet@chromium.org> autotest: delete a bunch of graph-related tko gwt code

BUG=None
TEST=./utils/compile_gwt_clients -a succeeds

Change-Id: I376620eb724d3e45922ced2da46efb31de7f8b44
Reviewed-on: https://chromium-review.googlesource.com/505249
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/public/EmbeddedTkoClientTest.html
utotest/tko/DynamicGraphingFrontend.java
utotest/tko/EmbeddedTkoClient.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/GraphingFrontend.java
utotest/tko/GraphingView.java
utotest/tko/MachineQualHistogram.java
utotest/tko/MachineQualHistogramFrontend.java
utotest/tko/MetricsPlot.java
utotest/tko/MetricsPlotFrontend.java
utotest/tko/Plot.java
utotest/tko/TkoClient.java
920a2d1fb62a56abdfd58f90df1d7d457abbc55c 20-Mar-2017 Michael Tang <ntang@google.com> Revert "autotest: throw Auto Refresh checkbox into the abyss".

We will add the auto refresh back to Moblab environtment only.

This reverts commit 04ec30490d877f5eddfd1b747b507f754798c985.

BUG=chromium:700418
TEST=manually.

Change-Id: Ib6069e35da927f1d71cdc08abda183fbefd0c3b0
Reviewed-on: https://chromium-review.googlesource.com/456634
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/afe/AfeClient.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/TabView.java
utotest/moblab/MoblabSetupClient.java
bbffcbef0ef7d62f76b0f43edde91fdc57678ca4 05-Apr-2017 Prathmesh Prabhu <pprabhu@chromium.org> [autotest] Include jobs from today in lists

Both on the host detail view and the job list, we would like to see the
jobs from the current day. So, set the default end date to be tomorrow.

BUG=chromium:708243
TEST=Manually check UI on local AFE.

Change-Id: If9959c12fa01fac15ce026ba9ea0e31c95bad56f
Reviewed-on: https://chromium-review.googlesource.com/468387
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
utotest/common/table/DatetimeSegmentFilter.java
ab026ee3192440424f71b25cef1144a3698bc3c5 29-Mar-2017 Prathmesh Prabhu <pprabhu@chromium.org> ui: Add a job creation date filter to job list

We regularly get hammered by queries for jobs matching a certain name.
Almost no one wants to look at all jobs since the start of time. So, add
a job created filter that defaults to the last week.

BUG=chromium:685424
TEST=manual testing on local afe; verified that the resulting db queries
limit the job list search within the bounds given.

Change-Id: I5f2229b81e7511fb717409a7657d44f887b58fa2
Reviewed-on: https://chromium-review.googlesource.com/462120
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
utotest/afe/JobListView.java
utotest/public/AfeClient.html
cc430e2b9401f7f72440ce95bbcd1e920cf19982 29-Mar-2017 Prathmesh Prabhu <pprabhu@chromium.org> ui: Notify listeners when DateTimeSegmentFilter value changes

This is a bugfix. Nothing was depending on this notification being sent
yet, but a future CL adds a listener who wasn't getting notifications on
change.

BUG=chromium:685424
TEST=Manual testing on local afe.

Change-Id: I121b35bf742a5003b3105466a97e28e5fa9c5e51
Reviewed-on: https://chromium-review.googlesource.com/462119
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
utotest/common/table/DatetimeSegmentFilter.java
484217188039b02e25716a88901667b62a53653e 29-Mar-2017 Prathmesh Prabhu <pprabhu@chromium.org> ui: Change the default date range to be last week

In a future CL, this will let us use the default range for the initial
query.

BUG=chromium:685424
TEST=Local afe manual testing.

Change-Id: Ic589db689cce7e64240cd3a0612376cb73c50112
Reviewed-on: https://chromium-review.googlesource.com/461356
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
utotest/common/table/DatetimeSegmentFilter.java
a5ae9a5d1f39f495065c02a2202136182fd7b52c 20-Mar-2017 Keith Haddow <haddowk@chromium.org> [moblab] Add the CTS N suite into the suite runner UI

New suite for running the N version of CTS

TEST=None
BUG=chromium:702008

Change-Id: Ia4e3fbf16368d32de21d212008ae913181ae87c5
Reviewed-on: https://chromium-review.googlesource.com/457407
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinsong Mu <jinsong@google.com>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/SuiteRunnerView.java
5d84dc7f52f71992f4ac2719bc099d55f815c37f 17-Mar-2017 Aviv Keshet <akeshet@chromium.org> Revert "Adds the auto refresh checkbox back to the UI for moblab."

This reverts commit ed09d8e93668acfbe638d5a8c07879466ca82de6.

Change-Id: I8b35fa4e4ae31e25c986b5d26929dce3b9efc28a
Reviewed-on: https://chromium-review.googlesource.com/456594
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
utotest/afe/AfeClient.java
utotest/common/StaticDataRepository.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/TabView.java
utotest/tko/TkoClient.java
ed09d8e93668acfbe638d5a8c07879466ca82de6 11-Mar-2017 Michael Tang <ntang@google.com> Adds the auto refresh checkbox back to the UI for moblab.

We will allow autofresh for Moblab UI, and all existing autotest UI
except the Job List tab.

This partially reverts commit 04ec30490d877f5eddfd1b747b507f754798c985.

BUG=chromium:700418
TEST=manually.

Change-Id: I0ef9bf65520684ff857c8442081f04ddd1e0c824
Reviewed-on: https://chromium-review.googlesource.com/453276
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/afe/AfeClient.java
utotest/common/StaticDataRepository.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/TabView.java
utotest/tko/TkoClient.java
c6fd83859297c962536dac9e4330df0023ab2b2a 09-Mar-2017 Keith Haddow <haddowk@chromium.org> [moblab] Add moblab id and mac address to the UI

These details are required for the linking of account to devices.

TEST=None
BUG=chromium:679769

Change-Id: Id23294814be6c135c2dbbe3e3e480457c47f5894
Reviewed-on: https://chromium-review.googlesource.com/452002
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Stephen Lin <stephenlin@google.com>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/rpc/VersionInfo.java
utotest/moblab/wizard/ConfigWizard.java
04ec30490d877f5eddfd1b747b507f754798c985 09-Mar-2017 Aviv Keshet <akeshet@chromium.org> autotest: throw Auto Refresh checkbox into the abyss

BUG=chromium:700174
TEST=None

Change-Id: I39bd7d48f043f1504a2322ec4ce49c2812b74d2c
Reviewed-on: https://chromium-review.googlesource.com/452742
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/TabView.java
2a56e2ed79a5e737ce2e830807f8778d862e6585 07-Mar-2017 Richard Barnette <jrbarnette@chromium.org> [autotest] Remove UI dependencies on parameterized jobs.

This removes the (small) UI dependencies on the 'parameterized_jobs'
data field returned by the 'get_static_data' RPC.

BUG=chromium:679903
TEST=Test the 'Create Job' button in the AFE UI.

Change-Id: I859301f509ad32fd1a84fd4addd126383b591fd8
Reviewed-on: https://chromium-review.googlesource.com/450870
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/afe/create/CreateJobViewPresenter.java
541debad7b2f90f8add9b4ae69b1489ba6752a0d 02-Mar-2017 Aviv Keshet <akeshet@chromium.org> autotest: web front end (JobListView) ban "standalone" radio button

There's some evidence that the query for standalone jobs is particularly
expensive, often the source of forever-hung queries in prod.

Eliminate the UI element for it.

BUG=chromium:626198
TEST=None

Change-Id: I9d46e74201cf01585d320fa0be3b7fb8f4965fbd
Reviewed-on: https://chromium-review.googlesource.com/448703
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
utotest/afe/JobListView.java
672f40a930ed4d2c53f5584cf2ca47b77c2a100c 04-Feb-2017 xixuan <xixuan@chromium.org> autotest: Remove RPCs related to users & Remove UserPreferences page.

This CL:
1. Remove RPCs related to users, including add/delete/modify_user.
2. Remove UserPreferences page.

BUG=chromium:688622
TEST=Run local AFE, kick off a verify job.
Run frontend_unittest & rpc_interface_unittest.

Change-Id: Ifa048635418240d6d9145e1ebf4ab2b601483bd4
Reviewed-on: https://chromium-review.googlesource.com/437728
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@google.com>
utotest/afe/AfeClient.java
utotest/afe/UserPreferencesView.java
utotest/public/AfeClient.html
9d29c26beb33a13422479e98b3604b2a4eacf80b 01-Feb-2017 xixuan <xixuan@chromium.org> autotest: Remove Reinstall-related codes.

This CL removes all codes related to host 'Reinstall'.

BUG=chromium:615914
TEST=Run local afe, verify that there's no Reinstall on 'Host List' and
'View Host'. Kick off a verify job, and verify it runs well.

Change-Id: Id51a9ba5a7668a42cfdb2ccdd670c1f866f88526
Reviewed-on: https://chromium-review.googlesource.com/435487
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@google.com>
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/public/AfeClient.html
dfb4e30592ddeaceb270df3fbab3ff3faefa5396 02-Feb-2017 Richard Barnette <jrbarnette@chromium.org> [autotest] Correctly spell "specifying" in the AFE GWT code.

BUG=chromium:687710
TEST=Look at the AFE in a local Autotest instance

Change-Id: I3137bc6464c8b6012191e698f13139b384e0a083
Reviewed-on: https://chromium-review.googlesource.com/435892
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
utotest/afe/HostSelectorDisplay.java
0b469fc935dbca1f0fd3cfbcd477cb7b49cebde5 30-Jan-2017 Allen Li <ayatane@chromium.org> [autotest] [atomic] Remove atomic group from AFE frontend

BUG=chromium:681906
TEST=Run unittest suite

Change-Id: I59e231974d6a82ac6011206e21f0b791224a1162
Reviewed-on: https://chromium-review.googlesource.com/434095
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@google.com>
utotest/afe/AfeUtils.java
utotest/afe/HostSelector.java
utotest/afe/HostTableDecorator.java
51c7052e7caaef996d8d36682f9ee4a0234a54d5 30-Jan-2017 xixuan <xixuan@chromium.org> autotest: Remove frontend dead code about recurring jobs.

This CL removes frontend codes about recurring jobs.

BUG=chromium:681913
TEST=Run local AFE, verify that recurring tabs and buttons are removed.

Change-Id: Ifd9ba556eb3ddb84771fada5d374c09709fa2adc
Reviewed-on: https://chromium-review.googlesource.com/434109
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/afe/AfeClient.java
utotest/afe/JobDetailView.java
utotest/afe/RecurringTable.java
utotest/afe/RecurringView.java
utotest/public/AfeClient.html
be00dc8d039d47be84bb77d652245cbd5900e055 18-Nov-2016 Keith Haddow <haddowk@chromium.org> moblab: change link text from to just Moblab since we do more

TEST=manual
BUG=none

Change-Id: If15de56d3baaaad7ef4e928f2e0c49284edacf70
Reviewed-on: https://chromium-review.googlesource.com/412274
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinsong Mu <jinsong@google.com>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/public/AfeClient.html
e24cf0efc0f8fd1f8ec8af307508a5518e53e3b7 18-Nov-2016 Keith Haddow <haddowk@chromium.org> moblab: remove results option from the config wizard.

Most people can use the default /results directory easily, the
advanced config options allow people to change if neccesary.

TEST=manual
BUG=none

Change-Id: Ic078805825d9c3f5b94938194247b8eb2a5ff79f
Reviewed-on: https://chromium-review.googlesource.com/412865
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinsong Mu <jinsong@google.com>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/wizard/CloudStorageCard.java
510ec0b873c30c5a565065f4321a37ee39056d86 18-Nov-2016 Keith Haddow <haddowk@chromium.org> moblab: Add FAFT to the run suite options.

Add FAFT as an option for the run suite UI.

Improve the selection of builds returned from GCS to the
last 20 of the last three milestones.

Fix bug with bvt-inline shown twice.

BUG=chromium:659413
TEST=installed on a 56 build and manually tested.

Change-Id: I3f0637c7a1793df8e84d761c9520d357211e3e0b
Reviewed-on: https://chromium-review.googlesource.com/412352
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/SuiteRunnerView.java
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
7e2b0da6e67376e3176a14cdada317638bab609e 15-Nov-2016 Keith Haddow <haddowk@chromium.org> moblab: change suite runner UI to dropdown and fix bugs.

Fixed bug in the manage DUT page that caused extra whitespace on
every refresh.

Fixed issue where pool label was being applied by UI but not required
by the backend test runner.

Added RPC to get the list of pools and changed the suite running UI
to a drop down and use these pool labels.

TEST=manually deployed to local moblab on 56 and tested.
BUG=chromium:659416

Change-Id: Iedeafa522b192e8c22c0c7e6361f8236eec48308
Reviewed-on: https://chromium-review.googlesource.com/411368
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/DutManagementView.java
utotest/moblab/SuiteRunnerView.java
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
c7ab4aaa26de244b35a0bde8239fa9cab3040f67 11-Nov-2016 Keith Haddow <haddowk@chromium.org> Add gts suite to the suite runner list of options.

BUG=none
TEST=deployed on local test machine in R56 and manual test

Change-Id: I514baf3a99814bcfdb7c3212cd947c44c2efadc9
Reviewed-on: https://chromium-review.googlesource.com/410133
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/SuiteRunnerView.java
8ef84175d610e8e32128946f46a4e897d042445d 29-Oct-2016 Keith Haddow <haddowk@chromium.org> autotest: New simplified interface to run suites for moblab partners.

New UI available at http://100.96.58.155/moblab_setup/#tab_id=suite_run

BUG=chromium:656131
TEST=build local version, installed on local mobab, tested manually.

Change-Id: Ieac969295af2b01fa25bcda04c6f06d2e338be26
Reviewed-on: https://chromium-review.googlesource.com/404949
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/MoblabSetupClient.gwt.xml
utotest/moblab/MoblabSetupClient.java
utotest/moblab/SuiteRunnerView.java
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/public/MoblabSetupClient.html
utotest/public/moblabsetup.css
6a34cafd6e9b9d2609308a80a5292ca60e22611e 22-Oct-2016 Michael Tang <ntang@google.com> Adds UI to upload all Moblab credentials files.

BUG=chromium:658462
TEST=manual.

Change-Id: I53fff080f524c8cb793911227d18125e45da00fd
Reviewed-on: https://chromium-review.googlesource.com/401282
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
Commit-Queue: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Trybot-Ready: Michael Tang <ntang@chromium.org>
utotest/common/ui/ContextMenu.java
utotest/moblab/BotoKeyView.java
utotest/moblab/CredentialsUploadView.java
utotest/moblab/KeyUploadView.java
utotest/moblab/LaunchControlKeyView.java
utotest/moblab/MoblabSetupClient.java
utotest/public/MoblabSetupClient.html
c28d3955905faa1ac8585f35a46a29ce550b9c03 18-Oct-2016 Dan Shi <dshi@google.com> [autotest] Add Sponge url to AFE job view is available

BUG=chromium:642144
TEST=local AFE

Change-Id: I86268175e6329f2c446d0e2f1afb0a61c2059d7b
Reviewed-on: https://chromium-review.googlesource.com/400006
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/afe/AfeUtils.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
63cc4470e13cf7dab9edb7e18c0c39e9cd65ba47 07-Oct-2016 Keith Haddow <haddowk@chromium.org> Add new DUT Manage page to make it easier to add/remove/label DUT's

BUG=chromium:653727
TEST=local

Change-Id: Id554af22b672ecd1bb9f8eeb89bf9b0a4206a7a0
Reviewed-on: https://chromium-review.googlesource.com/396463
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/MoblabSetupClient.gwt.xml
utotest/moblab/DutManagementView.java
utotest/moblab/MoblabSetupClient.java
utotest/moblab/rpc/ConnectedDutInfo.java
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/public/MoblabSetupClient.html
utotest/public/moblabsetup.css
8345c081f3c63ee44c12e16fea1d773324d0007f 30-Sep-2016 Keith Haddow <haddowk@chromium.org> Change configuration commit to restart services, not reboot.

Rebooting the device is very intrusive and slow - just restart the
impacted services.

BUG=chromium:651877
TEST=local

Change-Id: Iff21d3da56dcc56e301226cc0cb3a48ed1e03b8e
Reviewed-on: https://chromium-review.googlesource.com/391043
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
utotest/moblab/ConfigSettingsView.java
utotest/moblab/wizard/ConfigEditMode.java
e6f2457c4a82285c9a6df5f624cc0ae6ba565409 29-Sep-2016 Keith Haddow <haddowk@chromium.org> mobab: Fix validation of the cloud config wizard.

Ensure that buckets end in /
trim whitespace from keys and buckets

BUG=chromium::631233
TEST=local

Change-Id: Iba21a1953fcabc1223c60f942732323d8ce17d18
Reviewed-on: https://chromium-review.googlesource.com/391213
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/rpc/CloudStorageInfo.java
utotest/moblab/wizard/CloudStorageCard.java
f127867fbdac97c8cafc34602a4db031e1cf8b44 29-Sep-2016 Keith Haddow <haddowk@chromium.org> moblab: Add version information to the setup place to aid support.

Knowing the version number is important to be able to support
partner issues when running moblab.

BUG=chromium:631233
TEST=local

Change-Id: I63f205fc02505e963988a5a5ae0eeb5441ead7df
Reviewed-on: https://chromium-review.googlesource.com/391131
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/moblab/rpc/VersionInfo.java
utotest/moblab/wizard/ConfigWizard.java
88d4de483f2edd6d2692de1fce8a1232e021b339 28-Sep-2016 Keith Haddow <haddowk@chromium.org> moblab: Fix typo in code

Fix spelling mistake

BUG=chromium:631233
TEST=local

Change-Id: I6b0716828d0b360fd6a69348cba432c82b043986
Reviewed-on: https://chromium-review.googlesource.com/390393
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/wizard/NetworkInfoCard.java
ca73e2d627469b8d01b78613fa28e5e2ccf53d5b 25-Jul-2016 Shuqian Zhao <shuqianz@chromium.org> [autotest] change the status.log link to root link of all test results

The status.log link is broken recently. Therefore, change it point to
the parent link of status.log, which is the link to all logs of a given
test.

BUG=chromium:629310
TEST=None

Change-Id: Ia12996e5178388efb5551bb330d9ea4ebbad0507
Reviewed-on: https://chromium-review.googlesource.com/362881
Commit-Ready: Shuqian Zhao <shuqianz@chromium.org>
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/afe/JobDetailView.java
78ae5c7d98752d93984b2091e892bc6b2591e252 22-Jul-2016 Michael Tang <ntang@google.com> Fixed the type "secrete".

BUG=chromium:630482
TEST=Manual.

Change-Id: I06071b08641334838e2cf17c8a3292b463ceef96
Reviewed-on: https://chromium-review.googlesource.com/362447
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/wizard/CloudStorageCard.java
0a30d467b58126b10589cad8be448ebe4f5a530b 27-Jun-2016 Michael Tang <ntang@google.com> Honor the results_storage_server parameter in moblab.

By default, the results_storage_server in global_config.ini is empty
now. Both lab and moblab could set the value and take effect. If not
set, the lab takes the original default value, and moblab takes the
image bucket uri.

BUG=chromium:621212
TEST=unit test.

Change-Id: Ifd712b53bcffa76af17db8cd4d87947323291b08
Reviewed-on: https://chromium-review.googlesource.com/356126
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/rpc/CloudStorageInfo.java
utotest/moblab/wizard/CloudStorageCard.java
utotest/public/afeclient.css
84a2ecf3422e6b7f52ffd4628e4a8d47dbe53b4e 08-Jun-2016 Michael Tang <ntang@google.com> Enabled create test job out of private test build.

We now allow user to have a test source build containing tests not
present in the moblab and its database. The user could fetch those tests
and select them to create jobs.

BUG=chromium:603774
TEST=manually tests and some unit test.

Change-Id: I4aecb922b006a0743ef4cb223f555fac7343c6c0
Reviewed-on: https://chromium-review.googlesource.com/351480
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
6dc174e9fc08f7ff6e9cd545bf20607d9a7ceb09 01-Jun-2016 Michael Tang <ntang@google.com> Shows the image when clone a suite job or its child job.

BUG=chromium:485813
TEST=unit test and manual test.

Change-Id: I044991928513cea2c06eb6db8b31eeba6ea29289
Reviewed-on: https://chromium-review.googlesource.com/348482
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/afe/AfeClient.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/afe/create/CreateJobViewTab.java
7560f33803b73b26555805a66a88822458cf6bc0 21-May-2016 Michael Tang <ntang@google.com> Open wmatrix and moblab links into new tabs.

BUG=chromium:613825
TEST=manually tested.

Change-Id: I34df82a8ed314c35fc337a5e58f4c62716707e42
Reviewed-on: https://chromium-review.googlesource.com/346580
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/public/AfeClient.html
e318d50bd515a25047b66c223ef8c20d24692c58 19-May-2016 Richard Barnette <jrbarnette@chromium.org> [autotest] Drop support for specifying kernel from AFE.

The AFE's create_job view included two fields for specifying a
kernel and kernel command line arguments. Neither of those fields
actually worked, and neither is relevant to Chrome OS test jobs.

This deletes the GWT code associated with displaying and processing
those fileds. The underlying RPC features for processing the data
will be removed in subsequent CLs.

BUG=None
TEST=Create a job in a local AFE

Change-Id: Ibe7e1ff8cbc8fcaa311feac27996a18229ec5f15
Reviewed-on: https://chromium-review.googlesource.com/346112
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
e5653cf6ce7fa70458eb2e5ddf4bd784a0240983 14-May-2016 Michael Tang <ntang@google.com> Fixed the moblab setup save.

BUG=chromium:611939
TEST=manual tested

Change-Id: If0f8d93463a1968f2d40e77d1990c61191c3bb43
Reviewed-on: https://chromium-review.googlesource.com/344638
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Stephen Lin <stephenlin@google.com>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/ConfigSettingsView.java
c05c9efcfdd6a720edd0dfeb6f92284e264b303f 25-Mar-2016 Michael Tang <ntang@google.com> Reboot the device after wizard configuration.

BUG=chromium:596536
TEST=Manually test.

Change-Id: I01e6e9fb31a77c0132f92620463d25bf363e0605
Reviewed-on: https://chromium-review.googlesource.com/335332
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/moblab/wizard/ConfigEditMode.java
utotest/moblab/wizard/ConfigWizard.java
340efe3d29035ecdb28c7c758489fc83b08d31fb 16-Apr-2016 Michael Tang <ntang@google.com> Adds a flag to ignore invalid test control files in test image.

BUG=chromium:603302
TEST=Manually test the case on device.

Change-Id: I1d2ac46283f45e2c701a8c569f20b6ffdcf114c1
Reviewed-on: https://chromium-review.googlesource.com/339360
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
a3322c7befae5c20da28ac30098838d8c893840f 30-Mar-2016 Kevin Cheng <kevcheng@chromium.org> [autotest] Fix up AFE to display tables correctly Chrome R50

BUG=chromium:597819
TEST=locally on moblab

Change-Id: Ibc645e2ce287c7a7860adfc2baee3ba838203912
Reviewed-on: https://chromium-review.googlesource.com/335635
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
utotest/public/afeclient.css
d27059144bb2f6339f5d5aa6c762574fd94200ca 21-Mar-2016 Michael Tang <ntang@google.com> Integrate the wizard into the Moblab UI.

Also adds updated based on some comments from change 334012.

BUG=chromium:596536
TEST=Manually test.

Change-Id: I70d04718bcec81c326ae9b2aab4550214e795558
Reviewed-on: https://chromium-review.googlesource.com/333993
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Stephen Lin <stephenlin@google.com>
Reviewed-by: Michael Tang <ntang@chromium.org>
utotest/common/Utils.java
utotest/moblab/ConfigSettingsView.java
utotest/moblab/ConfigWizardView.java
utotest/moblab/MoblabSetupClient.java
utotest/moblab/rpc/CloudStorageInfo.java
utotest/moblab/rpc/JsonRpcEntity.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/moblab/rpc/OperationStatus.java
utotest/public/MoblabSetupClient.html
159ca506308ec48cf31cfa7dbb908143ed58f071 21-Mar-2016 Michael Tang <ntang@google.com> Moblab configuration wizard UI widget.

BUG=chromium:596536
TEST=Unit Tests.

Change-Id: I5d31fd30876b32d40980bbce462764ef26da5520
Reviewed-on: https://chromium-review.googlesource.com/334012
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/common/Utils.java
utotest/moblab/rpc/CloudStorageInfo.java
utotest/moblab/rpc/JsonRpcEntity.java
utotest/moblab/rpc/MoblabRpcCallbacks.java
utotest/moblab/rpc/MoblabRpcHelper.java
utotest/moblab/rpc/NetworkInfo.java
utotest/moblab/rpc/OperationStatus.java
utotest/moblab/wizard/CloudStorageCard.java
utotest/moblab/wizard/ConfigEditMode.java
utotest/moblab/wizard/ConfigViewMode.java
utotest/moblab/wizard/ConfigWizard.java
utotest/moblab/wizard/FlexWizardCard.java
utotest/moblab/wizard/NetworkInfoCard.java
utotest/moblab/wizard/WizardCard.java
utotest/public/afeclient.css
8b0d65e134832b50b350c64c90f94db0b3dd11fc 12-Feb-2016 Michael Tang <ntang@google.com> Adds links to Google Cloud Storage for a few configuration parameters.

Remove white spaces at end of lines.

BUG=chromium:585140
TEST=Manually tested by pushing to moblab devices.

Change-Id: I46f09d4be824b40887a264c8eaad041c219f3cbc
Reviewed-on: https://chromium-review.googlesource.com/327374
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
utotest/moblab/ConfigSettingsView.java
aec9901aa25aecfc58d8e1c9b867c624109d7fe2 07-Jan-2016 Dan Shi <dshi@google.com> [autotest] Support uploading a service key file to moblab

Add RPC to accept an uploaded key file and save it to
/home/moblab/.launch_control_key
Add a new tab in moblab setup page to allow user to upload a service key file.

BUG=chromium:570705
TEST=verify with a local moblab build

Change-Id: Ib54a6b707cb93bb5220e29ed6feeb854f5f4abe8
Reviewed-on: https://chromium-review.googlesource.com/321140
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Simran Basi <sbasi@chromium.org>
utotest/moblab/BotoKeyView.java
utotest/moblab/KeyUploadView.java
utotest/moblab/LaunchControlKeyView.java
utotest/moblab/MoblabSetupClient.java
utotest/public/MoblabSetupClient.html
37df54d11d7598f6b7192b5a397d6e9ca05bf8e3 14-Dec-2015 Dan Shi <dshi@google.com> [autotest] Add a currently running job/task of a host on cautotest AFE

Add a new argument include_current_job in get_hosts RPC. If it's set to True,
include the currently running job/task info in the host details. It's default
to False, since the call is used for other callers, and the extra db query will
add unnecessary load to the caller, e.g., shard heartbeat.

BUG=chromium:549193
TEST=local verify
host with no running job/task: http://dshi.mtv/afe/#tab_id=view_host&object_id=1
host with running job/task: http://dshi.mtv/afe/#tab_id=view_host&object_id=8

DEPLOY=afe, apache

Change-Id: Ifc86db3486efafe9a2f3f17f00ea0640f3f1e0ba
Reviewed-on: https://chromium-review.googlesource.com/318260
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Fang Deng <fdeng@chromium.org>
utotest/afe/HostDetailView.java
utotest/common/table/RpcDataSource.java
utotest/public/AfeClient.html
c6645c5789a6c8e15290ccba0d643b7b8ad173d6 18-Nov-2015 Dan Shi <dshi@google.com> [autotest] Increase hostname input box's width for autotest web frontend

BUG=chromium:557468
TEST=local afe
DEPLOY=afe

Change-Id: Ieb3ce566effde13d119ca5cb9f7e83e42e258de7
Reviewed-on: https://chromium-review.googlesource.com/312989
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: danny chan <dchan@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
utotest/afe/HostDetailView.java
08cfdcd888a34f7bd0145e88ad7151a5e1e619c6 24-Sep-2015 Simran Basi <sbasi@google.com> autotest: Fix Create Job Test Source Build tooltip text.

BUG=None
TEST=None

Change-Id: I1e03214f165098c6943cc2e6d6586aee426996b0
Reviewed-on: https://chromium-review.googlesource.com/302157
Commit-Ready: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
utotest/afe/create/CreateJobViewDisplay.java
e1604a4a63be13492c1aaecab144799722837cee 24-Sep-2015 Dan Shi <dshi@chromium.org> [autotest] Update tooltip for "Require server-side packaging"

BUG=None
TEST=local afe

Change-Id: I71c11041148088af70928c8286e96e4fa921df62
Reviewed-on: https://chromium-review.googlesource.com/302401
Commit-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
utotest/afe/create/CreateJobViewDisplay.java
fdee1399893c2e84d7608a35d26da8535c7fe643 16-Sep-2015 Matthew Sartori <msartori@google.com> autotest: Mob* Monitor link in AFE.

This CL adds a link in the AFE to the Mob* Monitor.

BUG=None
TEST=Tested the link on a moblab and from different machines.

Change-Id: I089341504bccbff7aac9c33c31a652a5bdffeea2
Reviewed-on: https://chromium-review.googlesource.com/300100
Commit-Ready: Matthew Sartori <msartori@chromium.org>
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
utotest/afe/AfeClient.java
utotest/public/AfeClient.html
3b1134936931ffcf964d37c15484793f1f464aec 29-Aug-2015 Dan Shi <dshi@chromium.org> [autotest] Allow to clone a job created by suite job to run with SSP.

Job created by suite job does not have image associated, instead, it relies on
label dependency to force image installation. The clone of such job doesn't
have image attribute either, thus the clone can't run with SSP.

This CL adds some check on label dependency. If the job has a cros-version
label, allow the clone to run with SSP.

BUG=chromium:526279
TEST=local

DEPLOY=afe

Change-Id: I9a96871ef828dece4126d2933933cae356233f85
Reviewed-on: https://chromium-review.googlesource.com/296080
Commit-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Matthew Sartori <msartori@chromium.org>
utotest/afe/create/CreateJobViewPresenter.java
1043809018daa39812a64805c04456ce7b706d08 24-Jun-2015 Matthew Sartori <msartori@chromium.org> [autotest] Fixes for 'Create Job' page when using 'Fetch Tests from Build'

'Fetch Tests from Build' correctly populated the test selector with
the tests supported by the provided image, however, when communicating
with the backend, default test information from the database was being
used. This resulted in the wrong control file being used for the
selected test. In addition, the get_tests_by_build rpc reponse was
missing information required by certain AFE functions, this resulted
in the auto-selection for hostless jobs to break when fetching tests
for an image.

This CL makes it so that when tests are fetched for a particular image,
client state describing the control file is used to find/build
the control file rather than pulling from the default test database.
It also corrects the get_tests_by_build rpc so that the missing
attributes are provided.

BUG=chromium:503385,chromium:503731
DEPLOY=afe
TEST=Tested changes on a moblab.

Change-Id: I54739a4bb6e96cd2517ea59dc0a937d0d81cc000
Reviewed-on: https://chromium-review.googlesource.com/281760
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Matthew Sartori <msartori@chromium.org>
utotest/afe/TestSelector.java
utotest/afe/create/CreateJobViewPresenter.java
d215dbe17369b0781b1a0ceb4a70b25f120670fd 19-Jun-2015 Dan Shi <dshi@chromium.org> [autotest] Add more build option in autotest create_job tab for FAFT

Add an Advanced Build Options panel for user to specify:
firmware build (RW), firmware RO build, and test source build.

Then create a suite job from AFE to update both CrOS and firmware.

BUG=chromium:493429
TEST=local test
http://dshi.mtv/afe/#tab_id=create_job
1. check AFE shows the Advanced Build Options panel
2. Confirm the builds specified in the options are used in the sutie job run.
3. Confirm non-suite job can't be created with firmware image specified.
sample cros build: veyron_jerry-release/R45-7201.0.0
sample firmware build: veyron_jerry-firmware/R41-6588.106.0
DEPLOY=afe,apache

Change-Id: I81e1f5f81aaa9dfb5fe7b9f2f3677b8fb437130c
Reviewed-on: https://chromium-review.googlesource.com/281021
Trybot-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
d96fb9b34a65661008adab39b5ca998844ec7543 20-May-2015 Matthew Sartori <msartori@chromium.org> [autotest] Display only tests supported by build

The 'Create Job' tab was updated so that an 'Update Tests'
button was placed next to the entry for the image URL.

With this change, pressing the 'Update Tests' button when
a valid build is specified updates the test selection to
only contain tests that are specified in that image.

BUG=chromium:486221
DEPLOY=afe
TEST=Tested changes on a panther moblab.

Change-Id: I9817c3939c9454e7e2b558fa525496cc201fa03a
Reviewed-on: https://chromium-review.googlesource.com/272285
Reviewed-by: Dan Shi <dshi@chromium.org>
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
utotest/afe/TestSelector.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
67900ba0ac175e65461867f95321e2761cb7847c 15-May-2015 Simran Basi <sbasi@google.com> [autotest] Relabel "suite jobs" in the AFE to parent jobs.

The suite job radio button is really just displaying parent jobs.
Since sequences will also have parent jobs lets rename this.

BUG=None
TEST=local moblab.
DEPLOY=afe

Change-Id: Ibe89ae8736a0ad2a2d3a0d12e166e65fcc1caaa4
Reviewed-on: https://chromium-review.googlesource.com/271344
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
utotest/afe/JobListView.java
47656b155d1fe9532ff1335c1c9a4d7d1debac57 05-May-2015 Matthew Sartori <msartori@chromium.org> [autotest] Toggle display of 'Advanced Options' in 'Create Host' tab

The order of items on the Create Host tab has been reordered as
follows:

Job Name
Image URL/Build
test selection
advanced options
control file
host selector

The display of the advanced options can be toggled. The hostless
option under the advanced options panel is auto-selected if
the user chooses a test with name containing 'test_suites'.

BUG=chromium:483652
DEPLOY=afe
TEST=Tested by deploying changes to a moblab and verifying that
the advanced options display could be toggled and that the
hostless checkbox was auto-selected as desired.

Change-Id: I773c9189903e06b519f42a85464bdd2dc48554d2
Reviewed-on: https://chromium-review.googlesource.com/269259
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Matthew Sartori <msartori@chromium.org>
Tested-by: Matthew Sartori <msartori@chromium.org>
utotest/afe/HostSelectorDisplay.java
utotest/afe/TestSelectorDisplay.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
utotest/public/afeclient.css
0c1a37dd9b1237fe8d43c7f911ce601104806339 30-Apr-2015 MK Ryu <mkryu@google.com> [autotest] Support sharding for getting HQEs and special tasks

Following 2 RPCs that are used by AFE java client are improved
to support sharding.

get_host_queue_entries_and_special_tasks
get_num_host_queue_entries_and_special_tasks

BUG=chromium:462819
DEPLOY=afe,apache
TEST=puppylab. Get HQEs and special tasks for a lumpy host
which is sharded from the master AFE.

Change-Id: I68c0d1a70fb6b61034c755d3a2b7f26475994bb0
Reviewed-on: https://chromium-review.googlesource.com/268523
Reviewed-by: Mungyung Ryu <mkryu@google.com>
Commit-Queue: Mungyung Ryu <mkryu@google.com>
Tested-by: Mungyung Ryu <mkryu@google.com>
utotest/afe/HostDetailView.java
6818633834ad52c3de153235639ea9299a6e9a6d 28-Apr-2015 Matthew Sartori <msartori@chromium.org> [autotest] Require lock reason to lock device

When locking a device, a locking reason now must be provided.
This applies to both adding a new device, and modifying an
existing device from both the web frontend and the atest
command-line tool.

BUG=chromium:336805
DEPLOY=migrate
TEST=Tested adding locked/unlocked devices and locking/unlocking devices
from both the web frontend and using the 'atest host ...' command-line tools.

Change-Id: I3a8cd8891a2999f026dd709ae8a79e2b8cbc251a
Reviewed-on: https://chromium-review.googlesource.com/267595
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Matthew Sartori <msartori@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostTable.java
utotest/public/AfeClient.html
86a4758dc7a958fda9e8476d07a08804b763dc0c 20-Mar-2015 Dan Shi <dshi@chromium.org> [autotest] In AFE, default require_ssp to false if its value is NULL in afe_job

AFE is compiled from java code, it can't convert null to a proper boolean value.
For afe_job object with require_ssp set to NULL, we will default it to show as
false in AFE.

BUG=chromium:467075
TEST=create an afe_job entry with require_ssp set to NULL, view the job in AFE,
confirm Require server-side packaging showing as false. Try to clone the job,
confirm the "Require server-side packaging" setting in create job page is
unchecked.

Change-Id: I849d66382b233e5ffcfaf69d0214f29dbc9a3e40
Reviewed-on: https://chromium-review.googlesource.com/261360
Trybot-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
utotest/afe/JobDetailView.java
utotest/afe/create/CreateJobViewPresenter.java
c6e36907cbd16271d6cee207144b34d25b344068 05-Mar-2015 Dan Shi <dshi@chromium.org> [autotest] Add an option in frontend to force a new job requires server-side packaging

BUG=chromium:453624
TEST=rebuild AFE, try to create new jobs with require ssp enabled/disabled.
DEPLOY=afe
CQ-DEPEND=CL:249841

Change-Id: I1692c9af794b57fca976fd289fbd3606eb19e504
Reviewed-on: https://chromium-review.googlesource.com/256404
Reviewed-by: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
utotest/afe/JobDetailView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
8ea0dd3d328b6c0d7cba5e365cdf068938f7b839 05-Dec-2014 Dan Shi <dshi@chromium.org> [autotest] Include a link to the shard in job page on master AFE

BUG=chromium:431783
TEST=setup local cluster in vagrant, make the code change, rebuild afe, and
confirm the job page has the link to shard.
DEPLOY=apache

Change-Id: I85dc0e1d42a4e2425711509e224b6fe37eeb788f
Reviewed-on: https://chromium-review.googlesource.com/233600
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
Trybot-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
05e94c488c55bf764f27e9c112d1dda6f03d2d7d 10-Nov-2014 Prashanth Balasubramanian <beeps@google.com> [autotest] AFE modifications to show a link to the shard a host is on.

Directly embeds the url to the host on the shard, in the page for the
host on the master.

TEST=Ran afe.
BUG=chromium:423225,chromium:425347
DEPLOY=afe,apache

Change-Id: I0f6b0a350b375f78c616fe19cbc7699a5dfde0b9
Reviewed-on: https://chromium-review.googlesource.com/228747
Tested-by: Prashanth B <beeps@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Prashanth B <beeps@chromium.org>
utotest/afe/HostDetailView.java
utotest/public/AfeClient.html
193905e68043c4386ed1d3f21a74d88de4e9a9b7 26-Jul-2014 Dan Shi <dshi@chromium.org> [autotest] Add job history support.

Add a module to be used to collect job history. For example, all special tasks
executed before and after the test job.
Add an rpc get_job_history to afe to get dictionary of the job and its special
tasks' start/end time.

Update AFE to add a button to show job history.

BUG=chromium:394445
TEST=local setup
./site_utils/job_history.py --job_id=4113
http://dshi.mtv.corp.google.com/afe/#tab_id=view_job&object_id=4113

Change-Id: I0da2e77aaf7e2a38158efd6a64d4f924cf0c803d
Reviewed-on: https://chromium-review.googlesource.com/210091
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
71206ef92012e5a5c36bbd1ae47e9176be04036d 13-Aug-2014 Simran Basi <sbasi@chromium.org> [MobLab] Moblab Setup page.

* Adds a new page located at /moblab_setup
* 2 are on this page: 1 to upload a Boto Key and 1 to edit the config values.
* Link to /moblab_setup is visible only on a moblab system.
* RPC's that execute moblab_setup's actions are gated by a decorator that
limits them to only run on a moblab_system.
* Unittests for new RPC's.
* Editting the config values, writes the full config to shadow_config.ini and
reboots the system so changes takes effort.
* Resetting the config values, makes shadow_config.ini an empty file and
reboots the system so it is restored.
* Uploading the boto key uses shutil.copyfile to write in the new boto file's
contents to the boto file location.

BUG=chromium:396694
TEST=unittests, Uploaded a boto key and successfully ran a suite, editted
config and ensured changes were written into shadow_config, & reset config
and ensured that the default settings were restored.
DEPLOY=afe,apache
CQ-DEPEND=CL:212322
CQ-DEPEND=CL:212323
CQ-DEPEND=CL:212295

Change-Id: Ie354a2df310393045f3116e93004f58ea671de36
Reviewed-on: https://chromium-review.googlesource.com/209685
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
utotest/MoblabSetupClient.gwt.xml
utotest/afe/AfeClient.java
utotest/moblab/BotoKeyView.java
utotest/moblab/ConfigSettingsView.java
utotest/moblab/MoblabSetupClient.java
utotest/public/AfeClient.html
utotest/public/MoblabSetupClient.html
a393617fd0f5bf6c64356afd869732288330ab24 07-Aug-2014 J. Richard Barnette <jrbarnette@chromium.org> [autotest] Fix a typo in the AFE home page.

BUG=None
TEST=None
DEPLOY=apache

Change-Id: I7840bc516b90526db23ae54070881217856b78ae
Reviewed-on: https://chromium-review.googlesource.com/211432
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
utotest/public/AfeClient.html
57bc195c551d71c5268d7630aa6e872aaad242bf 23-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Add time segmented filter on job table on View Host page.

Modified the frontend to provide a start time and an end time with
datetime pickers. The place holder values are set to midnight "today".
Please note that the place holder values are not default values.
They are equivalent to empty strings, but exist to avoid making users
have to fill in all six segments (year, month, day, hour, minute, am/pm).

On the rpc side, added start_time and end_time parameters to
get_host_queue_entries, get_num_host_queue_entries,
get_host_queue_entries_and_special_tasks,
and get_num_host_queue_entries_and_special_tasks.

A helper function inject_start_end_time_to_dict is used to inject start_time
and end_time to filter_datas.

BUG=chromium:362240
TEST=ran afe, passed rpc_interface_unittest and frontend_unittest
DEPLOY=afe, apache

Change-Id: I44d59124cc104cf55d2ac3838be983286e270195
Reviewed-on: https://chromium-review.googlesource.com/209389
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/HostDetailView.java
utotest/common/table/DatetimeSegmentFilter.java
utotest/common/ui/DateTimeBox.java
9d1b6d100cc3f15094784dd5d015885a33924e6b 23-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Move RadioChooser from package common.ui to afe.

RadioChooser depends on IRadioChooser, which is in package afe.
This will have compilation error because compiling other gwt frontend
needs to rely on package common, but cannot rely on package afe.

Moving RadioChooser to package afe will solve this problem, since no other
gwt frontend other than afe is using it.

BUG=chromium:396694
TEST=ran afe, tko, moblab_setup
DEPLOY=afe,tko,apache

Change-Id: I61a668988843ae8290cdfa585dfb0b535b551b2c
Reviewed-on: https://chromium-review.googlesource.com/209672
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/RadioChooser.java
utotest/afe/RadioChooserDisplay.java
utotest/afe/UserPreferencesView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/common/ui/RadioChooser.java
utotest/common/ui/RadioChooserDisplay.java
7a776a607e84e5101818142f67cae3d81c18dcd0 18-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Add ToolTips to AFE Job list, Create Job, and User Preference pages.

As part of the UI redesign, ToolTips are adopted to drop more explanations to
many unclear fields.

BUG=chromium:394145
TEST=ran afe
DEPLOY=afe,apache

Change-Id: Id72d3ba5160948d4e84e804306550d1ae7d92b14
Reviewed-on: https://chromium-review.googlesource.com/208956
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/JobListView.java
utotest/afe/TestSelectorDisplay.java
utotest/afe/UserPreferencesView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/common/ui/ToolTip.java
utotest/public/AfeClient.html
6c40be4575c9101d99027ce9a6ca71b7e4962f85 16-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Disable action menu items when no table item is selected.

It's confusing to have action menu items clickable but actually having
no effect.

BUG=chromium:394442
TEST=ran afe
DEPLOY=afe,apache

Change-Id: If8dabf66f8a38e2d6a671123235d22cc7eb306c5
Reviewed-on: https://chromium-review.googlesource.com/208484
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/RecurringView.java
utotest/common/ui/ContextMenu.java
d58f008bca8c2d70c3f36d93a9fc1f76f25b4d3f 18-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] New AFE UI migration.

Migrate AFE to the new UI design including:
* A sharper and more organized UI,
* Organize info on View Job and View Host pages into tables.

BUG=chromium:394145
TEST=ran afe
DEPLOY=afe,apache
Change-Id: I4deb61893888d06ed720e8eb19cdaa1de0270877
Reviewed-on: https://chromium-review.googlesource.com/208159
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/HostSelectorDisplay.java
utotest/afe/HostTable.java
utotest/afe/JobListView.java
utotest/afe/TestSelectorDisplay.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/common/table/DataTable.java
utotest/common/table/SearchFilter.java
utotest/common/table/TableDecorator.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/TableActionsPanel.java
utotest/public/AfeClient.html
utotest/public/Open+Sans:300.woff
utotest/public/Roboto+Bold:700.woff
utotest/public/Roboto+Light:300.woff
utotest/public/Roboto+Medium:500.woff
utotest/public/Roboto+Regular:400.woff
utotest/public/afeclient.css
d94d8dc25b6c3f7af965075474d1583cbd7e471e 16-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Make AFE remember the Autorefresh state of each tab.

If one checks the Autorefresh on AFE, instead of making the Autorefresh
global to every tab, the AFE will remember the state of each tab.

BUG=chromium:394189
TEST=ran afe
DEPLOY=afe,apache

Change-Id: Ib8f136ff229f92424a1623b2525de579c5662547
Reviewed-on: https://chromium-review.googlesource.com/208208
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/TabView.java
cb91d2eb70554b4f1e18ff5f5ec29a6b8cb3d9a8 30-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Abort special tasks through AFE.

On View Host page, after checking the show special tasks checkbox,
the job table becomes a mixing of special tasks and regular jobs.
But only regular jobs are able to be aborted before.

I made the special tasks selectable as well and made the Abort action
apply to both regular and special tasks.

On the GWT side, the selected entries will be divided into special tasks
and regular jobs. Two rpc calls will be made separately to abort them.

BUG=chromium:290476
TEST=ran afe, abort regular jobs and special tasks separately and together
DEPLOY=afe,apache

Change-Id: I0a861552e67602a9f9a5f6ee096104b745e9fc5f
Reviewed-on: https://chromium-review.googlesource.com/206068
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
15cbf37cebd87112bb493d12330e123d1b007c23 02-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] filter suite and individual jobs on AFE.

Modified rpc_interface get_jobs and get_num_jobs to take in three extra
filters, suite, sub, and standalone. Add a rpc_util to add a where clause
to SQL, and add a unittest accordingly.

On GWT, add a group of radiobuttons as filters.

BUG=chromium:390345
TEST=ran afe, ran Job List, use filters
DEPLOY=afe,apache

Change-Id: Ibce875b47bef7e89bcc94972e23261290f0ac0e0
Reviewed-on: https://chromium-review.googlesource.com/206415
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/JobListView.java
utotest/common/table/RadioButtonSetFilter.java
utotest/public/AfeClient.html
421608e2ae505cdb9d57bc1d5bbd198bdb9b6243 07-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] WMatrix link on AFE.

RPC get_static_data will get wmatrix_url from config file and send to frontend.
If wmatrix_url is not present or set to empty, the WMatrix link will not show
up on AFE. Otherwise, it will on the top-right corner.

BUG=chromium:391851
TEST=edit config files, ran afe
DEPLOY=afe,apache

Change-Id: I29948ec59d203ac84d60e68d2c5a9b612b9a4cbc
Reviewed-on: https://chromium-review.googlesource.com/206896
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/AfeClient.java
utotest/public/AfeClient.html
3bb15cfa61fd3f5ff766000ed1b84a27815875c8 01-Jul-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] get host by hostname through AFE url.

Originally hostname as id to fetch hosts and their jobs/special tasks on AFE.
HostId has been used instead as id to boost the speed fetching jobs
and special tasks (crbug.com/383589). This results in the lost of using
hostname as parameter in AFE url to fetch host.

I made Host View page to handle both hostname and hostid in its url.
One can use cautotest/afe/#tab_id=view_host&object_id=432 to fetch host by id
or use /afe/#tab_id=view_host&hostname=chromeos1-rack3-host3 to fetch host
by hostname. If both object_id and hostname is provided, hostname will be
neglected.

BUG=chromium:388014
TEST=ran afe, put a combination of view_host urls with object_id and hostname
DEPLOY=afe,apache

Change-Id: I60a6a1e0a5bb63f2c4326a7e73f05c1a05a6b4cb
Reviewed-on: https://chromium-review.googlesource.com/206171
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/HostDetailView.java
aac545784cea51dbe230c6c126b52987b7906fb5 04-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] AFE child jobs table on parent job.

Add a table to list all the child jobs of a parent job on Job View tab.
One can click on and navigate between child and parent.

BUG=chromium:379959
DEPLOY=afe,apache
TEST=ran afe, viewed a job, navigated between parent and child jobs

Change-Id: Id70c41c8f7cee40bd71a206e1f3e08a68efe054f
Reviewed-on: https://chromium-review.googlesource.com/202579
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/JobDetailView.java
utotest/afe/JobTable.java
utotest/common/StatusSummary.java
utotest/public/AfeClient.html
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/StatusSummary.java
utotest/tko/TableView.java
79ce642210e581dc2b5cc1df1876e98dae38b286 14-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Speed up jobs table on View Host tab on AFE.

AFE was using hostname as key to fetch host and related jobs, which is slow
since afe_host_queue_entries and afe_special_tasks tables are using host_id
instead of hostname as foreign key.

I changed to use host id instead, which largely reduced the latency.
Host table's click listeners on View Job and Host List tabs are also changed
to fetch host by id. The arguments of rpc interfaces
get_host_queue_entries_and_special_tasks and
get_num_host_queue_entries_and_special_tasks are also changed to accept host_id
instead of hostname.

BUG=chromium:383589
DEPLOY=afe,apache
TEST=ran afe, ran View Job and Host List tab and cliked host, ran View Host tab

Change-Id: I7e7d1dd195fec211b6eb867976397d1e643b91ce
Reviewed-on: https://chromium-review.googlesource.com/203843
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/AfeClient.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
90190c94bcf29f43601989f75b20cd228eef5428 18-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Be able to pass in args when creating job from the AFE.

A number of tests require args to run. I added a textbox which takes a list of
comma seperated args. The client side will split and trim the input and send
it to RPC. I added a optional argument "args" to the rpc interface
"create_job". To ensure the RPC interface backward compatible,
I added the argument at the end.

BUG=chromium:374918
DEPLOY=afe,apache
TEST=ran afe, create job and type in args

Change-Id: I59df10d4d03dd23181623afdda29c3a683d3685e
Reviewed-on: https://chromium-review.googlesource.com/203011
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
ad57645f1fd54b398a386fe184f5c47a91ddb1a3 10-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Add test name filter on Create Job Tab on AFE.

Based on user feedback from partners, finding a specific test to run
by scrolling is really troublesome. Hence I added a textbox on the top of
test table to filter the test name.

BUG=chromium:382344
DEPLOY=afe,apache
TEST=ran afe, ran Create Job tab, typed in some text in the filter

Change-Id: I9583bc0c738aa135bf01a7e66706920883aadf08
Reviewed-on: https://chromium-review.googlesource.com/203088
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/afe/ITextBox.java
utotest/afe/TestSelector.java
utotest/afe/TestSelectorDisplay.java
9e049285fcdf1a964708774f46b84aae5c09837a 05-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Allow autorefresh on AFE.

Add a checkbox (default unchecked) to autorefresh the current tab on AFE.
Particularly useful on View Job tab as users don't need to manully refresh
to see the result.

The autorefresh interval is set to 5 seconds. Refresh won't interfere with
any temporary form data from user.

BUG=chromium:359475
DEPLOY=afe,apache
TEST=ran afe, checked the checkbox and wait for five seconds

Change-Id: Icdd8e1c340ec985d2bae65455e30a46fd49c95de
Reviewed-on: https://chromium-review.googlesource.com/202626
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/common/ui/CustomTabPanel.java
8b7d7e13b97842c18bbdee696cd257b75c8a27c3 29-May-2014 Jiaxi Luo <jiaxiluo@chromium.org> [AFE] Optimize GWT to load Create Job and Host List tabs much faster.

Originally, the Create Job and Host List tabs take one minute to load.
This is due to sub-optimized GWT instead of any DB query latency.

Specificly, GWT by default is using a javascript method add(option, before)
to add options to `select` DOM element. This method runs in O(n) since
it will perform a linear search on the existing options to find `before`
and add the `option` after `before`.

Instead, I override it to make GWT using appendChild(option), which simply
add option at the end and runs in O(1).

BUG=chromium:378888
DEPLOY=afe
TEST=ran afe, create job on specific hosts

Change-Id: Ia6353074495fe04dd89f4c05bd4d919a322e3025
Reviewed-on: https://chromium-review.googlesource.com/202120
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/common/table/ListFilter.java
utotest/common/ui/ExtendedListBox.java
972d8a5f4958dad85a48589ec99dd23ebc1320d2 03-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] AFE opens Parent Job in the same window.

AFE used to open Parent Job in a new window, which takes an extra
five seconds to load. I change it to load the parent job in the
existing window by default. User can still open it in a new window
if they want in the way they open any other links in a new window.

BUG=chromium:379920
DEPLOY=afe
TEST=ran afe and clicked on Parent Job Id

Change-Id: I153128c1d3fab66016ba5a633c36f5263d672d53
Reviewed-on: https://chromium-review.googlesource.com/202432
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/public/AfeClient.html
40f5df9a2ab68518abe094d1173153bad8e88f76 28-May-2014 Jiaxi Luo <jiaxiluo@chromium.org> [Moblab] Apache conf of Moblab django directory.

Make apache points to the correct directory of django on Moblab,
which is /usr/lib64/python2.7/site-packages/django.

Also change the static link on the nav bar of AFE from WIKI to
Chromium OS Testing, which now points to
http://www.chromium.org/chromium-os/testing.

BUG=chromium:378044
TEST=Ran afe admin on Moblab and local
DEPLOY=afe, apache

Change-Id: I6a75ddfae999005fd0381643dbd39554eaae86b4
Reviewed-on: https://chromium-review.googlesource.com/201775
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/public/AfeClient.html
ad1841b1a07d40e3ca4110f9766b0bedee419c07 21-May-2014 Jiaxi Luo <jiaxiluo@chromium.org> [afe] "Job List" entry number not updated

On the "Job List" tab, when changing owners or changing from "All Jobs"
to "Running Jobs" etc., the number of jobs is not be updated.

TEST=Compile afe, ran frontend
BUG=chromium:375468
DEPOLY=afe

Change-Id: Ib4f8379740ca8df9854a25feb0054b9fef9c99e7
Reviewed-on: https://chromium-review.googlesource.com/200671
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
utotest/common/table/DynamicTable.java
b6ec8ae8b13902110f664cf51e3a1d9b43c9f8f3 23-Apr-2014 Simran Basi <sbasi@chromium.org> [autotest]: Run suites from AFE.

* Updated the AFE to allow for suite runs. When an image is provided
the create_job RPC will redirect to the create_suite_job RPC instead.

* Updated create_suite_job to allow for a control_file to be supplied.
create_suite_job will use this control file rather than what the
devserver stages when it creates the suite job.

* Removed the parameterized job code from create_job as it is not used
and broken.

* The create_job page now includes a 'Pool' text box to specify for
these jobs.

BUG=chromium:358579
TEST=Able to launch suite jobs from run_suite and AFE. And regular tests
kicked off via the AFE still work as well. rpc_interface and
site_rpc_interface unittests, suite_scheduler unittests.
DEPLOY=apache,afe,suite_scheduler

Change-Id: I53312419c32740e78fc07598babeb497c162ba81
Reviewed-on: https://chromium-review.googlesource.com/194349
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
7e60574f3baa0b3928623216a74a770f19d2c316 12-Nov-2013 Simran Basi <sbasi@chromium.org> Autotest: Update RPC, Scheduler and AFE to use timeout_mins.

Now that timeout_mins is in the database, we need to update the
infrastructure to display and utilize timeout_mins rather than
timeout.

The scheduler now aborts based off of timeout_mins.

The afe displays/creates jobs using timeout_mins rather than timeout.

The RPC's take in timeout and timeout_min depending on what is inputted
to the system. Note the value supplied for timeout_mins takes precedence
over timeout.

BUG=chromium:221264
TEST=Created job through AFE, run_suite with smoke suite, job_unittest
and rpc_unittests.
DEPLOY=apache, afe, scheduler

CQ-DEPEND=I09f8b6023a31dcef37e98c298dc0d63b37bc0a9e

Change-Id: I838cd1ff85a2ce6bd49fe96bf18fd82be608c758
Reviewed-on: https://chromium-review.googlesource.com/176605
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/JobDetailView.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
b020606be3158d0650a6e94da316373e8e58e245 08-Sep-2013 Alex Miller <milleral@chromium.org> [autotest] `Clone job` is currently broken on the AFE. This unbreaks.

I missed a case where priority was still expected to be a string. :(

There's also a fix in here that if you clone a job with a higher
priority than what you're allowed to schedule, it's automatically bumped
down to the maximum of what you can schedule.

BUG=None
DEPLOY=afe
TEST=cloned job

Change-Id: Ie00531ea478379b753c6a3b3bbbb1cac82da040e
Reviewed-on: https://chromium-review.googlesource.com/168560
Reviewed-by: Alex Miller <milleral@chromium.org>
Commit-Queue: Alex Miller <milleral@chromium.org>
Tested-by: Alex Miller <milleral@chromium.org>
utotest/afe/create/CreateJobViewPresenter.java
7d658cf6bade565c1098fd7b47075e96e7b542ca 05-Sep-2013 Alex Miller <milleral@chromium.org> [autotest] Thread priority from create_suite_job through to create_job.

This schedules a suite job itself at the same priority level of its
tests, and also injects the priority value into the suite control files.

The change to thread priority through from dynamic_suite into create_job
needs to happen concurrently, because the type of `priority` is changing
from a string to an int. This also means everything that passes in a
priority gets fixed up in this CL.

suite_scheduler has also been tweaked to schedule all tests at the
PostBuild priority (for now...).

This also does all of the work to get priority to show up by name
instead of by integral value. In the create_job pane, we disallow
anyone to schedule a job at a priority that would preempt major build
processes (anything coming from a waterfall). However, all old jobs are
shown at the integral value, because showing two seperate priority
scales at the same time would be incredibly confusing. (Especially
since URGENT would be incredibly low priority)

BUG=chromium:250583
DEPLOY=afe, apache, suite_scheduler
TEST=unit, run_suite with a priority level

Change-Id: I9ecf5ceed5c58bd8ee0815c6d15f4aba300082fe
Reviewed-on: https://chromium-review.googlesource.com/168143
Reviewed-by: Alex Miller <milleral@chromium.org>
Tested-by: Alex Miller <milleral@chromium.org>
Commit-Queue: Alex Miller <milleral@chromium.org>
utotest/afe/JobDetailView.java
utotest/afe/JobTable.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/common/StaticDataRepository.java
1d2826b7cd5fea3bee9ac90b2b7a095816c6c1c5 13-Aug-2013 Simran Basi <sbasi@chromium.org> Autotest: Make parent job id clickable.

Creates a url to point to the parent id that will link you directly
to the parent id page.

Includes a special easter egg for jobs with no parent job id.

BUG=chromium:221584
TEST=viewed jobs locally.
DEPLOY=utils/compile_gwt_clients.py and restart apache.

Change-Id: I8e8b019fce2b184d610d2a400b8e4eb081aea66e
Reviewed-on: https://gerrit.chromium.org/gerrit/65642
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
07e09aff0baf871b33e5479e337e5e3e0523b729 12-Apr-2013 Dan Shi <dshi@chromium.org> [Autotest] merge cleanup and verify

The objective of this CL is to merge cleanup and verify into a single job to
reduce run time of each test. In existing design, by default, a cleanup job is
scheduled after a test is finished, and a verify job is scheduled before a
test is started. By merging these two jobs together, we are seeing the total
run time of these two jobs is reduced from about 47s to 37s, around 10s saving.
That does not include the saving on scheduler to schedule two jobs, which may
take another 5-10s.

The design is to create a new special task, reset, which runs at the beginning
of a job by default. Verify task is changed to not to run by default before a
job starts. Cleanup job will only be run if a job is scheduled to reboot and
any test failed in that job.

BUG=chromium:220679
TEST=tested with run_suite in local machine
DEPLOY=afe,apache,scheduler,change all users' preference on reboot_after to
Never, sql: |update chromeos_autotest_db.afe_users set reboot_after=0|

Change-Id: Ia38baf6b73897b7e09fdf635eadedc752b5eba2f
Reviewed-on: https://gerrit.chromium.org/gerrit/48685
Commit-Queue: Dan Shi <dshi@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
utotest/afe/HostDetailView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
a86253c63422f7b970e1fad1c20ad704a6910741 13-Jun-2013 Dan Shi <dshi@chromium.org> [Autotest] User Preferences failed to be saved when drone set is disabled

This CL fixed the bug when saving User Preferences failed due to drone set is
disabled.

BUG=chromium:242317
TEST=tested in local workstation
DEPLOY=afe

Change-Id: I23facc9c461930397357caec1549e649ee6ffc7f
Reviewed-on: https://gerrit.chromium.org/gerrit/58569
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
utotest/afe/UserPreferencesView.java
eadbf7098c7cf810aaaf88791b1d59b786407e9f 14-Mar-2013 Scott Zawalski <scottz@google.com> Modify our support of --image to work with our devservers.

Add a pathway to the --image code in site_host to stage anything that
is passed to it via --image that does not start with http://.

Added code to properly update job_repo_url in site_host rather
than in the try-jobs we spawn off. This makes it so that repaired
images as well as installs via --install have the proper job_repo_url
if they exist in the AFE.

Updated AfeClient.html to show examples of what can be specified in
Image Url.

Update old way of setting REPO URL in site_autotest.py to only be
used if someone is specifying a HTTP URL themselves, otherwise use the
AFE.

TEST=ran autoserv:
./autoserv --image=stumpy-release/R27-3836.0.0 -m scottz-stumpy1 -s
tests/sleeptest/control
and
./autoserv
--image=http://172.22.50.205:8082/update/stumpy-paladin/R27-3837.0.0-rc2
-m scottz-stumpy1 -s tests/sleeptest/control
and with a bad image which fails after a short while with an error about
the build path.
./autoserv --image=x86-mario-release/R27-3834.dd0.0 -m scottz-mario1 -s
tests/sleeptest/control
Test on a non-afe host:
./autoserv --image=x86-mario-release/R27-3834.0.0 -m 172.29.151.133 -s
tests/sleeptest/control
Tested repair update as well just to make sure I didn't break anything.
./autoserv -R -m scottz-mario1 # with a modification to make verify
fail always.
Ran tests through the frontend.
BUG=chromium-os:38653

Change-Id: I4b620a4332c695f4c972a8f8c112b4bf1dd6ba9a
Reviewed-on: https://gerrit.chromium.org/gerrit/45419
Tested-by: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Commit-Queue: Scott Zawalski <scottz@chromium.org>
utotest/public/AfeClient.html
ce46fa588d89bdfa44d630991201c3d821c688be 14-Mar-2013 Aviv Keshet <akeshet@chromium.org> [autotest] allow 0 test retries in create_job view

This CL fixes a parsing bug which was preventing jobs from being created
in the autotest afe create_job when the value 0 was specified for
test_retries.

Also, Java is verbose.

BUG=chromium:196247
TEST=compile frontend with utils/compile_gwt_clients.py. Then restart
apache. Then verify that able to create jobs with test_retry field set
to zero, and that leading or trailing spaces are ignored.

Change-Id: I46e4fc1d0e6cef8581a2941a6f9a343e4335aa6d
Reviewed-on: https://gerrit.chromium.org/gerrit/45439
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
utotest/afe/create/CreateJobViewPresenter.java
08a52c77f812036bc1ec58f172a4048c15d64322 05-Mar-2013 Aviv Keshet <akeshet@chromium.org> [autotest] add retries field to create job view

A job created in the afe's create job tab can now have its test_retry
value specified. If the field in the afe is left blank, the number of
retries used is taken from the RETRIES value that was parsed from the
control file at test-import time (or the maximum of this value ot
over all the selected jobs, if multiple jobs are selected).

BUG=chromium-os:37158
TEST=Ran './utils/compile_gwt_clients.py -c autotest.AfeClient' to
recompile frontend. Then, 'sudo /etc/init.d/apache2 restart'. Verified
that the above behavior holds, and that the clone job button populates the
retry field with the value from the job to be cloned.

Change-Id: I6f28a0d9e1eb8a39fae0d1669bef846c65c99198
Reviewed-on: https://gerrit.chromium.org/gerrit/45164
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
0a419fe9a703c2ff31ea8fc1393f668e3efcde4c 02-Mar-2013 Aviv Keshet <akeshet@chromium.org> [autotest] Add test_retry view to autotest frontend job detail

BUG=chromium-os:37158
TEST=Ran './utils/compile_gwt_clients.py -c autotest.AfeClient' to
recompile frontend. Then, 'sudo /etc/init.d/apache2 restart'. Then set
the retry field manually for some job, and saw that this change was
visible as the value in job detail.

Change-Id: Ie5589356b5ab846ca75cefd11dbcf41bc718cef2
Reviewed-on: https://gerrit.chromium.org/gerrit/44428
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Scott Zawalski <scottz@chromium.org>
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
73dae55766b9c8b6922194901e334c4e52f67d14 25-Feb-2013 Simran Basi <sbasi@chromium.org> Autotest AFE: Replace Reinstall button with Repair.

It is sometimes useful to kick off a repair job from the AFE, added
a new repair button to the host info page.

BUG=chromium:39213
TEST=compiled locally and verified that when I click repair a repair
job is kicked off. Also added a new unittest and ensured the old
ones still worked.

Change-Id: I71533987eb353e52b2b7fd32725adf00df017bc9
Reviewed-on: https://gerrit.chromium.org/gerrit/43975
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
utotest/public/AfeClient.html
89c44dd685440cfe70ffeb4b0ef4357a51da2521 26-Feb-2013 Scott Zawalski <scottz@google.com> Fix auto repair and the reinstall button from the AFE.

Set up an autorepair feature by way of the autoupdate test that will
automatically use a CROS.stable_repair_version from the global_config
to stage and install a particular version of Chrome OS.

This should recover ~10% of our repair failed devices a day.

Add code to automatically start update_engine IFF we are in repairing
mode.

BUG=chromium-os:39212,chromium-os:38151,chromium-os:34446,chromium-os:39213
TEST=local runs of control.repair and complete end to end runs from the
frontend. Tested reinstall with a device missing python and libc
problems.
Filled stateful on a DUT and ran repair end to end
server/autoserv -m scottz-mario1 -R

Change-Id: I18f428b4022cdb29040c3a0366c7e7b069229225
Reviewed-on: https://gerrit.chromium.org/gerrit/44053
Tested-by: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Queue: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
utotest/afe/AfeUtils.java
ec19f934f095d47d8800e478f5e0f270d409af8d 07-Feb-2013 Aviv Keshet <akeshet@chromium.org> [autotest] Add parent_job_id view to autotest frontend job detail

Adds a item to job detail views in autotest displaying the parent_job_id
for the job under study. Shows <null> as the parent id for jobs with no
parent.

BUG=None
TEST=Ran './utils/compile_gwt_clients.py -c autotest.AfeClient' to
recompile frontend. Then manually updated one job's parent id to an
integer value. For that job, the parent id is correctly displayed in job
detail view (under http://localhost/). For other parentless jobs, job id
displays as <null>

Change-Id: I51dbb02517e0b6d63c249e4afa23166aa791d471
Reviewed-on: https://gerrit.chromium.org/gerrit/42802
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
34217022229b755bc1ee52f83665acba76bd5044 06-Nov-2012 Simran Basi <sbasi@chromium.org> Autotest: Increase run timeout granularity

This CL modifies all references to max_runtime_hrs to instead be
max_runtime_mins. This includes the django models, rpc interfaces, the
cleanup timeout code, and the frontend java views.

The frontend java code will need to be recompiled once this commits to
prevent the frontend from breaking.

The cleanup timeout pathway has been adjusted to find all timedout jobs
by minute, and has been changed to run every 5 minutes vs every hour as
before.

BUG=chromium-os:36067
TEST=Ran on my local afe, ensure that jobs can still be created correctly,
and jobs with short timeouts do indeed get aborted when expected.

Change-Id: Idfdeb3f1d4947d6b2e6b48127a31db535704e972
Reviewed-on: https://gerrit.chromium.org/gerrit/37827
Tested-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Ready: Simran Basi <sbasi@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/JobDetailView.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
a8a0d75c2591ab872f695d7b8f22f2ca10493dab 08-Nov-2012 Scott Zawalski <scottz@chromium.org> Revert "Autotest: Increase run timeout granularity"

This causes autoupdate problems, see bug crosbug.com/36183

This reverts commit daffa57a6738c2a80caee1f311a527313ece1207

Change-Id: Iad65be9bf1b0ea329866bfdc764b0089c4f9b2a5
Reviewed-on: https://gerrit.chromium.org/gerrit/37657
Commit-Ready: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Scott Zawalski <scottz@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/JobDetailView.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
daffa57a6738c2a80caee1f311a527313ece1207 06-Nov-2012 Simran Basi <sbasi@chromium.org> Autotest: Increase run timeout granularity

This CL modifies all references to max_runtime_hrs to instead be
max_runtime_mins. This includes the django models, rpc interfaces, the
cleanup timeout code, and the frontend java views.

The frontend java code will need to be recompiled once this commits to
prevent the frontend from breaking.

The cleanup timeout pathway has been adjusted to find all timedout jobs
by minute, and has been changed to run every 5 minutes vs every hour as
before.

BUG=chromium-os:36067
TEST=Ran on my local afe, ensure that jobs can still be created correctly,
and jobs with short timeouts do indeed get aborted when expected.

Change-Id: Id7668bbd05a9b02c22e7c549fac232fae02fc728
Reviewed-on: https://gerrit.chromium.org/gerrit/37479
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Commit-Ready: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
utotest/afe/AfeUtils.java
utotest/afe/JobDetailView.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
353f538b7b38f8bb1f8f6ca1961912e7a137529a 18-Oct-2012 Scott Zawalski <scottz@google.com> Update Results Database link to point to /new_tko.

The /tko results database has been deprecated since before Chrome OS started
using Autotest. However, When you click on the link it spins forever and
never returns for the user but on the backend it kicks off a query that
hits the database pretty hard (See referenced bug).

BUG=chromium-os:34706
TEST=utils/compile_gwt_clients.py -a and checked the webpage.

Change-Id: Iae765de2391530b38a13427bfcff0ff327a4fd25
Reviewed-on: https://gerrit.chromium.org/gerrit/35980
Tested-by: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Ready: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
utotest/public/AfeClient.html
utotest/public/TkoClient.html
456d3c115952bf1ae984770e226c5a50676b31c0 19-Jul-2011 Dale Curtis <dalecurtis@chromium.org> Upstream Autotest merge.

Merged from d9d64b855363d214996b187380532d4cc9991d29.

BUG=none
TEST=emerge autotest-tests, local server, run_remote_tests.

Change-Id: Id8cf1ef930bc0cd80347d77f2de65561be2a12a4
Reviewed-on: http://gerrit.chromium.org/gerrit/4664
Reviewed-by: Mike Truty <truty@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Dale Curtis <dalecurtis@chromium.org>
utotest/afe/create/CreateJobViewPresenter.java
74a314b490ff542c4dd2ae4aa0d11c6394d92960 23-Jun-2011 Dale Curtis <dalecurtis@chromium.org> Upstream Autotest merge.

As titled, a merge up to 93fc426ca133e775eb495f34d138fc57d92fb55e.

- Removes a bunch of deprecated code.
- Moves several private utilities into the private repo.
- Couple changes ported upstream and resynced.

BUG=None
TEST=In progress... will spin up new Autotest server and use
run_remote_tests for bvt, regression, smoke.

Change-Id: Id3e2ad529bb7b05f148e5d98aea46bb9ea828200
Reviewed-on: http://gerrit.chromium.org/gerrit/3350
Tested-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
utotest/TestPlannerClient.gwt.xml
utotest/common/JsonRpcProxy.java
utotest/planner/AutoprocessedTab.java
utotest/planner/AutoprocessedTabDisplay.java
utotest/planner/HistoryTab.java
utotest/planner/HistoryTabDisplay.java
utotest/planner/TestPlanSelector.java
utotest/planner/TestPlanSelectorDisplay.java
utotest/planner/TestPlannerClient.java
utotest/planner/TestPlannerDisplay.java
utotest/planner/TestPlannerPresenter.java
utotest/planner/TestPlannerTab.java
utotest/planner/TestPlannerTableDisplay.java
utotest/planner/TestPlannerTableImpl.java
utotest/planner/TestPlannerUtils.java
utotest/planner/TestViewTab.java
utotest/planner/TestViewTabDisplay.java
utotest/planner/machine/MachineViewDisplay.java
utotest/planner/machine/MachineViewPresenter.java
utotest/planner/machine/MachineViewTab.java
utotest/planner/machine/MachineViewTable.java
utotest/planner/machine/MachineViewTableDisplay.java
utotest/planner/machine/StatusSummary.java
utotest/planner/overview/OverviewTab.java
utotest/planner/overview/OverviewTabDisplay.java
utotest/planner/overview/OverviewTabPresenter.java
utotest/planner/overview/OverviewTable.java
utotest/planner/overview/OverviewTableDisplay.java
utotest/planner/resources/PlannerClientBundle.java
utotest/planner/resources/close.png
utotest/planner/test/TestViewDisplay.java
utotest/planner/test/TestViewPresenter.java
utotest/planner/test/TestViewTab.java
utotest/planner/test/TestViewTable.java
utotest/planner/triage/FailureTable.java
utotest/planner/triage/FailureTableDisplay.java
utotest/planner/triage/TriagePopup.java
utotest/planner/triage/TriagePopupDisplay.java
utotest/planner/triage/TriageViewDisplay.java
utotest/planner/triage/TriageViewPresenter.java
utotest/planner/triage/TriageViewTab.java
utotest/public/TestPlannerClient.html
utotest/public/header.png
d656d56473f50b9c1a9f5e2b2f5a9472181ee342 20-Apr-2011 Eric Li <ericli@chromium.org> Merge remote branch 'autotest-upstream/master' into autotest-merge

Merged to autotest upstream @5317.

BUG=none
TEST=
1. utils/unittest_suite.py
2. utils/packager.py --all upload -r /tmp/pkgs
3. utils/compile_gwt_clients.py

enter_chroot
emerge-x86-generic autotest-*
emerge-arm-generic autotest-*

run_remote_test suite_Smoke
run_remote_test bvt

Review URL: http://codereview.chromium.org/6883035

Change-Id: I03240d8652ffdfde4d6c8fbf474e2fad7f3cda10
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
dd8a3833bf770dbdbd4544586656d9958774299b 19-Mar-2011 Eric Li <ericli@chromium.org> Add dashboard link from autotest afe ui.

Change-Id: I74dd11202e4209d38010a389a0afe5aa3fa67a90

BUG=
TEST=

Review URL: http://codereview.chromium.org/6688042
utotest/public/AfeClient.html
d23bc19b7d23b3bde3d5bc43447445ca118bf786 09-Feb-2011 Eric Li <ericli@chromium.org> Add --image support for autotest web frontend.

An easy extension based on Paul's dean recent work.

Change-Id: I1117f779297b6f12a8abd3688718a0480548ccf2

BUG=none
TEST=Tested with the frontend web gui.
1. Create Job w/o image update url.
2. View Job details w/o image update url.
3. Clone Job w/o image update url.

Verified job with image parameter was properly saved in db.

What else I missed?

Review URL: http://codereview.chromium.org/6460003
utotest/afe/JobDetailView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/public/AfeClient.html
861b2d54aec24228cdb3895dbc40062cb40cb2ad 04-Feb-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into master

Merged to upstream autotest @4749~@5215.

The entire change list description is too big to enlist here. Please refer to upstream (http://autotest.kernel.org/browser) for more details.

BUG=
TEST=emerged both x86 and arm build.
Tested emerged x86 build bvt against a chromeos device.

Review URL: http://codereview.chromium.org/6246035

Change-Id: I8455f2135c87c321c6efc232e2869dc8f675395e
utotest/EmbeddedTkoClient.gwt.xml
bdaab795cffa33f9a37995bb283047cb03699272 07-Jan-2011 Kenneth Waters <kwaters@chromium.org> Revert "Merge remote branch 'cros/upstream' into autotest-rebase"

This reverts commit 7edb30498d75a29a3287fe07070f2b51a116c5d4.

TEST=Built for tegra2_seaboard
BUG=10756

Review URL: http://codereview.chromium.org/6124004

Change-Id: Ifcd1a2279f5a62b99552a8f961c1430889a3a928
utotest/EmbeddedTkoClient.gwt.xml
7edb30498d75a29a3287fe07070f2b51a116c5d4 07-Jan-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into autotest-rebase

Merged to upstream trunk@5066, from trunk@4749.

There is no way I could enlist each individual CL from the upstream here since it will blow up the changelist description field.

BUG=
TEST=
Had patched this CL into a fresh cut client to avoid any side effect.
run_remote_test bvt from both emerged location and third_party/autotest/file.

Both test passed!

We should also keep any eye on this to see how it gets propagated into cautotest server.
TBR=dalecurtis

Change-Id: I72f2bc7a9de530178484aea1bfb5ace68bcad029
utotest/EmbeddedTkoClient.gwt.xml
6f27d4f22a1ba5063968b8c322fa0845f3279ade 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch3

Merge to trunk@4817

BUG=
TEST=

Review URL: http://codereview.chromium.org/3554003

Change-Id: I83376bc7d28104ec2678e157eadbe7df7c05c0e0
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/CheckBoxPanel.java
utotest/afe/CheckBoxPanelDisplay.java
utotest/afe/ClassFactory.java
utotest/afe/ControlTypeSelect.java
utotest/afe/ControlTypeSelectDisplay.java
utotest/afe/CreateJobView.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/IButton.java
utotest/afe/ICheckBox.java
utotest/afe/IRadioButton.java
utotest/afe/ITextArea.java
utotest/afe/ITextBox.java
utotest/afe/TestSelector.java
utotest/afe/TestSelectorDisplay.java
utotest/afe/UserPreferencesView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/afe/create/CreateJobViewTab.java
utotest/common/table/DynamicTable.java
utotest/common/ui/MultiListSelectPresenter.java
utotest/common/ui/RadioChooser.java
utotest/common/ui/RadioChooserDisplay.java
utotest/common/ui/SimplifiedList.java
517d95a1ef4edb04da427763f86068a447d45ec7 29-Sep-2010 Benson Leung <bleung@chromium.org> Revert "Merge remote branch 'cros/upstream' into tempbranch2"

This reverts commit 25fc6d1f28e54c46689f12d3b93c2540ef45323a.

TBR=ericli@chromium.org

Review URL: http://codereview.chromium.org/3541002

Change-Id: Ib0165b19bfdf02264f8a6a74ddf3ae74c8c0f7df
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/CheckBoxPanel.java
utotest/afe/CheckBoxPanelDisplay.java
utotest/afe/ClassFactory.java
utotest/afe/ControlTypeSelect.java
utotest/afe/ControlTypeSelectDisplay.java
utotest/afe/CreateJobView.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/IButton.java
utotest/afe/ICheckBox.java
utotest/afe/IRadioButton.java
utotest/afe/ITextArea.java
utotest/afe/ITextBox.java
utotest/afe/TestSelector.java
utotest/afe/TestSelectorDisplay.java
utotest/afe/UserPreferencesView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/afe/create/CreateJobViewTab.java
utotest/common/table/DynamicTable.java
utotest/common/ui/MultiListSelectPresenter.java
utotest/common/ui/RadioChooser.java
utotest/common/ui/RadioChooserDisplay.java
utotest/common/ui/SimplifiedList.java
25fc6d1f28e54c46689f12d3b93c2540ef45323a 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch2

Merged to trunk@4816.

BUG=
TEST=we will build a new autotest server instance, and keep cautotest running and then later do a cname switch.

Review URL: http://codereview.chromium.org/3511003

Change-Id: Iee5f52f45f28f84927d6c6f9a74edc370d40288a
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/CheckBoxPanel.java
utotest/afe/CheckBoxPanelDisplay.java
utotest/afe/ClassFactory.java
utotest/afe/ControlTypeSelect.java
utotest/afe/ControlTypeSelectDisplay.java
utotest/afe/CreateJobView.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/IButton.java
utotest/afe/ICheckBox.java
utotest/afe/IRadioButton.java
utotest/afe/ITextArea.java
utotest/afe/ITextBox.java
utotest/afe/TestSelector.java
utotest/afe/TestSelectorDisplay.java
utotest/afe/UserPreferencesView.java
utotest/afe/create/CreateJobViewDisplay.java
utotest/afe/create/CreateJobViewPresenter.java
utotest/afe/create/CreateJobViewTab.java
utotest/common/table/DynamicTable.java
utotest/common/ui/MultiListSelectPresenter.java
utotest/common/ui/RadioChooser.java
utotest/common/ui/RadioChooserDisplay.java
utotest/common/ui/SimplifiedList.java
26dd6aa23eb2771acefa611c029c06f6ee6f1b11 17-Jul-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Prevent NullPointerException when clicking on a test in Create Job.

No functional effect, just keeps the exception from showing up in DevMode.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4721 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/DataTable.java
4a41e0145c2ede3605d19cdfacb779ca6aca1ccc 17-Jul-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Begin adding support for parameterized jobs.

This will allow test developers to specify certain parameters that a test
control file may take, so that users can then easily set those parameters
on job create. Enabling this feature removes the ability to edit the
control file directly on job creation.

Feature is currently INCOMPLETE. Do not attempt to use. This feature will
be committed in small pieces for the sake of having smaller code reviews.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4720 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
d3b0c8c8c65d36943e721b7f4d0d45f76809e101 12-Jul-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> This file was missing from the patch.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4719 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TestSet.java
e0ca68330b56a5fff67008d7226f784bbd0dc911 11-Jun-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Have embedded spreadsheets follow the passive view design pattern

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4607 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/EmbeddedSpreadsheetClient.gwt.xml
utotest/tko/EmbeddedSpreadsheetClient.java
utotest/tko/HeaderField.java
utotest/tko/TestGroupDataSource.java
utotest/tko/embedded_spreadsheet/EmbeddedSpreadsheetClient.java
utotest/tko/embedded_spreadsheet/EmbeddedSpreadsheetDisplay.java
utotest/tko/embedded_spreadsheet/EmbeddedSpreadsheetPresenter.java
a397e604073b2c8d77aab5b97fe8966dcfd40a24 11-Jun-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add a listener to the embedded spreadsheet, to open the full TKO results
interface upon click.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4596 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/EmbeddedSpreadsheetClient.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/TkoSpreadsheetUtils.java
2ae97ccd4b63399e7b6ccecec84a6dcbb523c119 02-Jun-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Fix a race condition in new embedded spreadsheets. Also render a nicer page when
no results exist.
The problem occurred when the parent window finished loading and sends the
postMessage before the embedded frame finishes setting up its listener. The
message is then lost, and the frame remains blank. This way passes the job down
as part of the URL, so it's always available in the embedded page.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4575 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/tko/EmbeddedSpreadsheetClient.java
e84f1fab8c04cdcfc992f1c122e0c08c65843657 01-Jun-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Create embeddable spreadsheets, and use that on the AFE Job Detail tab.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4570 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/EmbeddedSpreadsheetClient.gwt.xml
utotest/afe/JobDetailView.java
utotest/common/Utils.java
utotest/public/EmbeddedSpreadsheetClient.html
utotest/public/afeclient.css
utotest/tko/EmbeddedSpreadsheetClient.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/TestGroupDataSource.java
589cc78019a41fa293d7583a3c1b6dfca42da41b 28-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Code cleanup
Whitespace fixes, and addition of newlines at end of some files.
Use StringBuilder.append() rather than String += in loops.
Add equals() and hashCode() for class that implements Comparable.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4567 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/HostDataSource.java
utotest/afe/JobStatusDataSource.java
utotest/common/table/CheckboxFilter.java
utotest/common/table/FieldFilter.java
utotest/common/table/Filter.java
utotest/common/table/JSONObjectComparator.java
utotest/common/table/JSONObjectSet.java
utotest/common/table/ListFilter.java
utotest/common/ui/SimpleDialog.java
utotest/tko/StatusSummary.java
06e59f14d08f614c659331bb03a352bf488a7cfc 24-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Initial implementation of Test Planner Test View.

Trying again because generated patch was malformed.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4556 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/JsonManipulator.java
utotest/common/Utils.java
utotest/planner/TestPlannerClient.java
utotest/planner/TestPlannerTableDisplay.java
utotest/planner/TestPlannerTableImpl.java
utotest/planner/TestViewTab.java
utotest/planner/TestViewTabDisplay.java
utotest/planner/machine/MachineViewDisplay.java
utotest/planner/machine/MachineViewPresenter.java
utotest/planner/machine/MachineViewTable.java
utotest/planner/machine/MachineViewTableDisplay.java
utotest/planner/overview/OverviewTable.java
utotest/planner/test/TestViewDisplay.java
utotest/planner/test/TestViewPresenter.java
utotest/planner/test/TestViewTab.java
utotest/planner/test/TestViewTable.java
utotest/public/TestPlannerClient.html
fefab4aeaf1cc8ae9837a860c8502b001eec0c99 18-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add filter on locked_by user on AFE host lists

Trying again, so that there isn't a huge quoted patch in the patch notes.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4504 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostTableDecorator.java
utotest/common/table/BooleanFilter.java
utotest/common/table/ListFilter.java
2e48bcb728e151f5744d73f0eb8a274ee59fc461 18-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Initial implementation of Test Planner Overview tab

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4503 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/TestPlannerClient.gwt.xml
utotest/common/JsonManipulator.java
utotest/planner/OverviewTab.java
utotest/planner/OverviewTabDisplay.java
utotest/planner/TestPlanSelector.java
utotest/planner/TestPlannerClient.java
utotest/planner/TestPlannerTab.java
utotest/planner/overview/OverviewTab.java
utotest/planner/overview/OverviewTabDisplay.java
utotest/planner/overview/OverviewTabPresenter.java
utotest/planner/overview/OverviewTable.java
utotest/planner/overview/OverviewTableDisplay.java
utotest/public/TestPlannerClient.html
utotest/public/testplannerclient.css
55fc38afc375e326656f121770305376b6239659 07-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add coloring to Test Planner machine view table cells.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4485 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/AbstractStatusSummary.java
utotest/common/spreadsheet/Spreadsheet.java
utotest/common/table/TableRenderer.java
utotest/planner/machine/MachineViewTable.java
utotest/planner/machine/MachineViewTableDisplay.java
utotest/planner/machine/StatusSummary.java
utotest/public/common.css
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/StatusSummary.java
utotest/tko/TableView.java
8d3963567c33b24e78e1c8a2656fbb247aeaf167 06-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Handle missing 'content' parameter in TKO Spreadsheet View

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4481 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/ContentSelect.java
8a7f36583afe076a7198d1b34fe109aa491dc277 06-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Remove SimpleHyperlink and replace with Anchor, which is a built-in class that
does the same thing.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4480 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostSelector.java
utotest/common/ui/Paginator.java
utotest/common/ui/SimpleHyperlink.java
utotest/common/ui/TableActionsPanel.java
utotest/common/ui/TableSelectionPanel.java
utotest/common/ui/ToggleLink.java
utotest/tko/CommonPanel.java
utotest/tko/ContentSelect.java
utotest/tko/DynamicGraphingFrontend.java
utotest/tko/FilterSelector.java
utotest/tko/FilterStringViewer.java
utotest/tko/GraphingFrontend.java
utotest/tko/MetricsPlot.java
utotest/tko/ParameterizedFieldListDisplay.java
utotest/tko/SeriesSelector.java
utotest/tko/SpreadsheetView.java
utotest/tko/TestLabelManager.java
utotest/tko/WidgetList.java
9af703ae5afb1c21370200f95e4474aeafd13c9b 06-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Initial implementation of Test Planner Machine View. No coloring or
drilldowns yet.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4479 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/planner/MachineViewTab.java
utotest/planner/MachineViewTabDisplay.java
utotest/planner/TestPlannerClient.java
utotest/planner/TestPlannerUtils.java
utotest/planner/machine/MachineViewDisplay.java
utotest/planner/machine/MachineViewPresenter.java
utotest/planner/machine/MachineViewTab.java
utotest/planner/machine/MachineViewTable.java
utotest/planner/machine/MachineViewTableDisplay.java
utotest/planner/triage/FailureTable.java
utotest/planner/triage/FailureTableDisplay.java
utotest/planner/triage/TriageViewDisplay.java
utotest/planner/triage/TriageViewPresenter.java
utotest/public/TestPlannerClient.html
0c82cd6a562c9414076108073b8645a919ccebf8 06-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Remove usage of ImageBundle (deprecated in GWT 2.0)

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4471 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/TestPlannerClient.gwt.xml
utotest/planner/resources/PlannerClientBundle.java
utotest/planner/resources/PlannerImageBundle.java
utotest/planner/triage/TriagePopupDisplay.java
6181f3eb0b96142ccf6b62cb514cd60161358dff 05-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Fix some Planner Triage View styling. Add "glass" behind the Triage
popup, which grays out the rest of the page until the user closes the
popup.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4465 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/planner/triage/TriagePopupDisplay.java
utotest/planner/triage/TriageViewDisplay.java
utotest/public/standard.css
4b7efc77814c0af1f35dd6fbb5619fcf472a1ca2 03-May-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Refactor Test Planner GWT code. Factoring out common functionality in
presenter, display, and tab classes for reuse with other Test Planner
tabs.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4459 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/planner/TestPlannerDisplay.java
utotest/planner/TestPlannerPresenter.java
utotest/planner/TestPlannerTab.java
utotest/planner/triage/TriageViewDisplay.java
utotest/planner/triage/TriageViewPresenter.java
utotest/planner/triage/TriageViewTab.java
012d0325b33deeb81f06fa11f5498d2bc8146f57 30-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Move to GWT 2.0.3. Drop in new gwt-incubator to match.

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4452 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/TestPlannerClient.gwt.xml
utotest/common/PaddedJsonRpcProxy.java
utotest/planner/triage/FailureTableDisplay.java
eaaacf0fbe4e6c1d4f642f2c15c30c0ebe0a6864 28-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Fix iteration attribute custom field on TKO

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4451 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/IterationAttributeField.java
6275824bd8458253d3ba30beb0f224bc24529158 28-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Change Triage View's tables to ScrollTable, and implement bulk triage

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4450 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/TestPlannerClient.gwt.xml
utotest/common/Utils.java
utotest/planner/triage/FailureTable.java
utotest/planner/triage/FailureTableDisplay.java
utotest/planner/triage/TriagePopup.java
utotest/planner/triage/TriageViewDisplay.java
utotest/planner/triage/TriageViewPresenter.java
utotest/public/TestPlannerClient.html
utotest/public/scrolltable.css
76fcf19ec42d5c7580d2e7891e4610e5fe725286 21-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add ability to associate drone sets with jobs. This restricts a job to
running on a specified set of drones.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4439 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/afe/UserPreferencesView.java
utotest/public/AfeClient.html
758bd7c5b61a6e29853cfd97383ba1fce43f17f2 12-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Fix display of metahost jobs

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4406 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobStatusDataSource.java
2275ef1f0f92093cd9bb406acf5c3fbc0bd47b6b 12-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Implement creation and cloning of hostless jobs from AFE Create Job tab

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4405 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
e5dd765d4900a6a826356075906ed552c59d6427 12-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add listeners to the TestPlanSelector, and have Triage View refresh on
entering a test plan.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4403 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/HasTabVisible.java
utotest/common/ui/TabView.java
utotest/planner/TestPlanSelector.java
utotest/planner/triage/TriageViewPresenter.java
utotest/planner/triage/TriageViewTab.java
9497a0972f9e18f623d1aa8ffe926d4e0ecbc097 12-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add some spacing to the Triage View tables

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4402 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/planner/triage/TriageViewDisplay.java
fb5df1a221e3e091bf9d9891cd667f5b0e0e93f3 12-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Don't render a Test Planner triage failure table if it's empty

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4398 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/planner/triage/FailureTable.java
ea3b3bed4739807f65ce69ee5a9f244acca6bf06 09-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Fix display of hostless jobs on AFE View Job tab

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4390 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobStatusDataSource.java
4be631f3f1d88231dbfbfd946ef396165511f58a 09-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Add Planner triage actions


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4389 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/planner/resources/PlannerImageBundle.java
utotest/planner/resources/close.png
utotest/planner/triage/FailureTable.java
utotest/planner/triage/FailureTableDisplay.java
utotest/planner/triage/TriagePopup.java
utotest/planner/triage/TriagePopupDisplay.java
b852bce914dc3ae05b26f3655bfb437ffed001be 07-Apr-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Adding the GWT framework for the Test Planner.

This adds a new application to the GWT frontend, but does not link to it
from the other frontends yet. I don't anticipate anyone to be using this
just yet. Once the project reaches the point where I can release a working
prototype, I will create user documentation for it and send an announcement.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4378 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/DomUtils.java
utotest/common/JsonRpcProxy.java
utotest/common/spreadsheet/Spreadsheet.java
utotest/common/spreadsheet/SpreadsheetSelectionManager.java
utotest/common/table/FragmentedTable.java
utotest/common/table/TableRenderer.java
utotest/planner/AutoprocessedTab.java
utotest/planner/AutoprocessedTabDisplay.java
utotest/planner/HistoryTab.java
utotest/planner/HistoryTabDisplay.java
utotest/planner/MachineViewTab.java
utotest/planner/MachineViewTabDisplay.java
utotest/planner/OverviewTab.java
utotest/planner/OverviewTabDisplay.java
utotest/planner/TestPlanSelector.java
utotest/planner/TestPlanSelectorDisplay.java
utotest/planner/TestPlannerClient.java
utotest/planner/TestViewTab.java
utotest/planner/TestViewTabDisplay.java
utotest/planner/triage/FailureTable.java
utotest/planner/triage/FailureTableDisplay.java
utotest/planner/triage/TriageViewDisplay.java
utotest/planner/triage/TriageViewPresenter.java
utotest/planner/triage/TriageViewTab.java
utotest/public/TestPlannerClient.html
utotest/tko/FragmentedTable.java
utotest/tko/Spreadsheet.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetSelectionManager.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableRenderer.java
utotest/tko/TkoUtils.java
708f1c00df025e899c0ee8080fa4e81f71b8fa4c 31-Mar-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Support job keyvals and iteration attributes in the query_results CLI

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4359 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
utotest/tko/IterationAttributeField.java
utotest/tko/IterationResultField.java
utotest/tko/JobKeyvalField.java
utotest/tko/ParameterizedField.java
utotest/tko/TestAttributeField.java
utotest/tko/TestLabelField.java
3386534fd1e2d354cf983efb3a3ae9d9b4cd4540 12-Feb-2010 jamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4> Change the "exclude only if needed labels" selector in AFE host tables to "exclude atomic groups". The "only if needed" labels feature is entirely deprecated, and there's demand for this new atomic groups filter.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4234 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
utotest/afe/HostTableDecorator.java
ed62e48ffbf9f4959c5352efa5d518c58b7accc5 03-Feb-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a comment and a TODO about a hard-coded URL path

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4194 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
85284636658da64563868be4a6106fc61b94d388 22-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix Triage Failures link

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4158 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
39637e34a99ac712366b15c80bd2110cc453c9c8 20-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> In TKO, don't quote fields involving SQL functions. This was causing a bug when drilling down on function fields, introduced with recent changes to quote all fields when constructing the WHERE clause.

This approach is a bit of a hack, but doing a proper fix would be a lot of effort, and hopefully the whole mechanism of passing direct SQL conditions will be obsolete soon enough, making this whole thing moot.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4154 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/HeaderField.java
3adac3671a998be8421238d3a08a7ffd2c3cbe1c 13-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Display the text required for filtering on custom fields in the TKO UI.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4113 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/DataTable.java
utotest/public/afeclient.css
utotest/tko/AttributeField.java
utotest/tko/LabelField.java
utotest/tko/ParameterizedField.java
utotest/tko/ParameterizedFieldListDisplay.java
utotest/tko/ParameterizedFieldListPresenter.java
1c4d2394fbe949fef83661a25cfe9a32bf8569aa 12-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Slightly more useful drilldown ordering for spreadsheet view. This avoids an "infinite loop" case where there's more than one result of the same test name in a single job tag.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4104 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/SpreadsheetView.java
669624aad9c77060f706fde7c8e717cb636f9be8 12-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix rendering of empty cells in Job Details host table

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4097 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/DataTable.java
8b0ea2285c1327a686ff0b6ab245915e7fd20094 23-Dec-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Overhaul how we deal with related data in TKO -- test labels, test attributes, machine labels, and iteration results.

This has proven one of the trickiest areas of TKO. The first foray into this area was machine label headers, an early feature request implemented in a pretty ad-hoc manner in spreadsheet view which allowed them to be used as header fields. (Ironically, this was closest to the right approach on the server side, but I didn't appreciate it at the time. The original client-side implementation was a mess.) Next was filtering on test attributes and test labels, implemented with the include_labels, exclude_labels, include_attributes_where, and exclude_attributes_where options. This server-side implementation supported filtering but not viewing, grouping or sorting at all. Furthermore, even the filtering support was weak -- it only supporting ORing of inclusion requests and ANDing of exclusion requests. The client-side implementation was still pretty messy but was moving towards correctness. Finally, support was recently added for viewing iteration results in table view, but
grouping and filtering were excluded since they would've been very difficult to fit into the design. This was again a limited server-side approach, though the client-side implementation continued improving, albeit still using the trouble "generator items" in the mutliple list selector widget.

When I started working on support for test iterations and attributes in TKO table view, I finally hit upon the right server-side approach: specify the attributes that you're interested in, have the server perform a separate JOIN for each one, so that there's now a new column for each one, NULL if the attribute didn't exist and having the attribute's value if it did. Once it's created as a normal column, the user can do selection, grouping, sorting and filtering using the regular mechanisms. Everything just works. (For labels, it's slightly different, since whether or not a label is attached to a test is a boolean value. I opted to have the column's value be either NULL or the name of the label.)

Well, not quite perfectly. MySQL lets us define column aliases in a SELECT which are then usable in GROUP BY and ORDER BY. They aren't however, usable in the WHERE clause, because certain select expressions may not exist at the time the WHERE is applied. (Our expressions happen to be fine, but MySQL will have none of it.) There's absolutely no way I can see to define aliases for use in the WHERE clause. And unfortunately, our current interface allows users to provide a WHERE clause directly, so we can't perform translations or substitutions. As a result, filtering must be performed a little differently for these fields. You can't just say <field_name> = "<value>", like you can for most fields. For test attributes and iteration results, you say <field_name>.value = "<value>". For test labels and machine labels, you say <field_name>.id IS [NOT] NULL.

The first part of this CL is changing the server to use this new approach. get_test_views() now accepts test_label_fields, test_attribute_fields, machine_label_fields, and iteration_result_fields parameters, which allow the user to add extra fields based on these data types.

At the same time, I've changed how the TKO web clients deals with these data types in a way that mirrors the new way of handling these features on the server. There is now a global widget for adding custom fields based on any of the four data types. Once one is created, it can be used just like any other field in spreadsheet view, table view, and the global condition. This vastly simplifies most pieces of the code that previously dealt with these features, and it greatly expands the available space of features. Where we formerly had spreadsheet grouping/filtering on machine labels, table viewing of iteration results, and limited filtering on test labels and attributes, we now have viewing, grouping sorting, and filtering on all four.

High-level changes involved:

Server side
* added code to TestViewManager to handle the new options for creating fields, documented them, and documented that these options are supported and the rest are deprecated (we can probably delete them but we should check, they might be in use)
* added thorough unit tests for all of the above. on a side note, i discovered a neat feature of SQLite where you can add any function you've defined at a callable function from SQL statements. I used this to add some functions emulating MySQL-only functions. This could be used to good effect elsewhere, but this CL is big enough :)
* got rid of now-obsolete code for machine_label_headers option and iteration views

Client side:
* made HeaderFields immutable. Mutable HeaderFields turned out to be way too much of a nightmare. Users can specify values for ParameterizedFields at creation time, and if they want to modify them, they can delete and add.
* made all parts of the application (namely SpreadsheetView (both header selectors), TableView, and CommonPanel) use a single global HeaderFieldCollection
* changed ParameterizedFieldListPresenter to handle the new job of allowing creation and deletion of any kind of ParameterizedField. This new widget replaces the label/attribute filtering widget in the CommonPanel -- I got rid of all the code for that widget.
* removed the now-obsolete code for "generator items" in the MultiListSelectPresenter.
* finally made TableView use HeaderSelect. Since HeaderSelect plays a more significant role and it's role is more unified, it made sense to finally do this (TableView was previously duplicating logic from HeaderSelect, which was only used in SpreadsheetView). Since the HeaderSelect used in TableView is much simpler than the one used in SpreadsheetView, I extracted a new class SpreadsheetHeaderSelect, using composition rather than inheritance (it didn't really follow an is-a relationship).

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4049 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/SimpleChangeListener.java
utotest/common/SimpleChangeListenerCollection.java
utotest/common/Utils.java
utotest/common/table/DataTable.java
utotest/common/ui/MultiListSelectPresenter.java
utotest/public/tkoclient.css
utotest/tko/AttributeField.java
utotest/tko/CommonPanel.java
utotest/tko/ContentSelect.java
utotest/tko/HeaderField.java
utotest/tko/HeaderFieldCollection.java
utotest/tko/HeaderSelect.java
utotest/tko/HeaderSelectorView.java
utotest/tko/IterationDataSource.java
utotest/tko/IterationResultField.java
utotest/tko/LabelField.java
utotest/tko/MachineLabelField.java
utotest/tko/ParameterizedField.java
utotest/tko/ParameterizedFieldListDisplay.java
utotest/tko/ParameterizedFieldListPresenter.java
utotest/tko/SimpleHeaderField.java
utotest/tko/SpreadsheetHeaderSelect.java
utotest/tko/SpreadsheetHeaderSelectorView.java
utotest/tko/SpreadsheetView.java
utotest/tko/StringParameterizedField.java
utotest/tko/TableView.java
utotest/tko/TestAttributeField.java
utotest/tko/TestLabelField.java
eab66ce582bfe05076ff096c3a044d8f0497bbca 23-Dec-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Rename the tables in the databases, by prefixing the app name. This is
in preparation for merging the two databases and the two Django
projects into one.

Note that this renames *all* standard Autotest DB tables in both the
autotest_web and tko databases. If you have scripts written directly
against these databases, *they will break*. If your scripts access
the RPC interfaces, they should continue to work.

Another patch will be along within the next few weeks to actually move
the TKO tables into the autotest_web database.

From: James Ren <jamesren@google.com>
Signed-off-by: Steve Howard <showard@google.com>

Rename the tables in the databases, by prefixing the app name. This is
in preparation for merging the two databases and the two Django projects
into one.

Note that this renames *all* standard Autotest DB tables in both the autotest_web and tko databases. If you have scripts written directly against these databases, *they will break*. If your scripts access the RPC interfaces, they should continue to work.

From: James Ren <jamesren@google.com>
Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4040 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/EmbeddedTkoClientTest.html
utotest/tko/DBColumnSelector.java
utotest/tko/MachineQualHistogramFrontend.java
utotest/tko/MetricsPlotFrontend.java
e299d4603ca85fb3fea2bfbac52c16c66475ac1f 23-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Do not allow empty global filter in Spreadsheet view or Table view.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3970 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
utotest/tko/ConditionTabView.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
3f2110914421a50e509e619e6e876e0af096144c 19-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix the "swap" link in TKO spreadsheet view, at least partially. It was completely broken and now it works except when machine label headers are active. I did it in a way that moves towards a more correct design, by introducing a State class for the HeaderSelect presenter, which sort of acts as a model class. Nonetheless, I performed a minimal refactoring necessary to accomplish the goal cleanly. Possible next steps would be:
* introduce a State object for the ParameterizedFieldListPresenter, and make HeaderSelect.State include an instance of that state. This, if done properly, would fix the above-mentioned remaining bug with swapping.
* move functionality to the State object that belongs there. addHistoryArguments() and handleHistoryArguments are two examples. It could also use accessors/mutators for its fields.
* change the interface of HeaderSelect to get rid of all the state accessors/mutators. Rather, there should be one pair of getter/setter for the saved state. Clients should perform other actions on the State object itself.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3958 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/HeaderSelect.java
utotest/tko/SpreadsheetView.java
1651fda92951af1d75634d95edb6dced07fce0bd 19-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Improved job owner filtering making it easier to select "all users". Replaced the simple list box with a pair of radio buttons, one to select "all users" and the other to select from a list.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3957 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/JobListView.java
utotest/afe/JobOwnerFilter.java
utotest/afe/RecurringView.java
utotest/public/AfeClient.html
3696d5b67f34edbcdd4b2dd2596d96f5a9b0b9ac 13-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> File got left out of rev 3943.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3947 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/models/Host.java
4879914c122f4ed97eae3b08c5af1930fd75b39d 13-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix a bug where hosts in a cloned job weren't removed when deselecting the host from the "browse hosts" table. This again turned out to be a relatively large change for the size of the problem, because I chose to make some refactorings to attack some of the design problems the were behind the issue in the first place.

The core issue was that the ArrayDataSource was using a plain SortedSet<JSONObject> to hold the selected hosts. This is good because we want to keep them sorted, but it's bad because it uses the default object equality for JSONObjects, but we want to use a special equality based on ID or hostname. We normally accomplish that with JSONObjectSet, but that doesn't get us the sorting. JSONObjectSet is sort of a hack in the first place; the proper solution is to use custom objects that override equality.

As a first step towards that approach, I created a Host class under the models autotest.afe.models package. In order to minimize the scope of this change, I made it override JSONObject, so that we can move incrementally. I made it override equality and made HostDataSource convert the results to Host objects before returning them.

Unfortunately, I ran into a second problem. DataSource passes back results in a JSONArray. Since JSONArrays use native JS objects for storage, the objects you get out of them are always real JSONObjects, constructed on the fly -- not just declared type, but actual type. Even if you put Hosts in, they'll effectively be converted back to plain JSONObjects when you take them out. This is a reflection of a second design problem -- we shouldn't use JSONArrays to pass data around within the program. So I changed DataSource to convert results to List<JSONObject> and pass the data back that way. This required minor changes across many files, but nothing drastic anywhere.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3943 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDataSource.java
utotest/afe/HostDetailView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/afe/JobStatusDataSource.java
utotest/common/Utils.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/DataSource.java
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
utotest/common/table/DynamicTableSelectionManager.java
utotest/common/table/RpcDataSource.java
utotest/tko/IterationDataSource.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/TestDetailView.java
utotest/tko/TestGroupDataSource.java
utotest/tko/TestViewDataSource.java
b5611a81e109472e81e983da636d9580c3022b24 13-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> In HostDetailView, move code that fills in "type" on host queue entries to the data source itself, so that the objects always have the variable. Without this, the select all link was broken because it'd fetch items outside of the table but then expect this attribute to be present.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3942 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
b9c6617bdc063b3b4aa760a0a45190ee069139fd 13-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Modify DynamicTableSelectionListener so that when select "none" is clicked, only deselect items matching the current filters. This turned out to be considerably trickier than i thought, because in order to do this properly and efficiently, it has to work like this: when "none" is clicked, make an RPC call for all the currently filtered items that fall within the currently selected set. We do this by making a new request to the table's active DataSource with the current filtering params plus a list of selected item IDs. There are two problems here:

1) Not all tables show DB objects -- in particular, the host detail view table when "show verifies/repairs/cleanups" is selected, and the TKO table view when grouping is active. For these tables, there's no way to filter on selected items by ID. Fortunately, these tables also happen to not be prone to the original issue, because they can't be filtered. So I added some code to only apply this new logic to tables that have active user-controlled filters. This is pretty ugly from a design point of view, but I had to take a practical approach -- it works, the code is clean, and I couldn't think of any workable alternatives.

2) The DataSource interface was poorly designed such that an RpcDataSource was stateful (and mutated every time a new request was made), so there was no way to make a new request on a DataSource without messing up its state and therefore potentially messing up the table using it. To get around this, I redesigned the interface to use a separate Query objects. Now, both the DataSource and the Query objects are immutable, and making a separate query for the "select none" operation is easy. (This actually also encouraged a change to DynamicTable to be much more efficient by avoiding many unnecessary get_num_*() calls.)

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3941 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/afe/HostSelector.java
utotest/common/JSONArrayList.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/DataSource.java
utotest/common/table/DynamicTable.java
utotest/common/table/DynamicTableSelectionManager.java
utotest/common/table/Filter.java
utotest/common/table/JSONObjectSet.java
utotest/common/table/RpcDataSource.java
utotest/common/table/SelectionManager.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestGroupDataSource.java
utotest/tko/TkoUtils.java
b584458d8d4c8df052dddb02fae033611a80c03d 10-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Removed uses of deprecated method ListBox.setMultipleSelect()

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3924 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/ListFilter.java
utotest/common/table/MultipleListFilter.java
utotest/tko/ExistingGraphsFrontend.java
d2ef40969bbfff6ed5803aec4dd39688f70c654c 10-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Removed use of deprecated method Event.cancelBubble()

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3923 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/FilterStringViewer.java
f541a0ae5e2fdb7e4f32422eb005ac2296bb8323 04-Nov-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove uses of deprecated class HistoryListener

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3897 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/CustomHistory.java
42d4d6221bed50117da283d7ad8917b5eaf414e3 28-Oct-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Expose locked_by and lock_time on AFE host detail page.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3889 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
d2b0c883cf9a8f98751d9bad684072cea85f2606 19-Oct-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add almost everything necessary for UI support for including test attributes in table view.

This was almost straightforward. The one roadblock came with grouping support. I didn't bother including that for iteration results, but I did try to make it work here. Grouping is fine; unfortunately, grouping implies drilldown, and drilldown implies arbitrary filtering on test attributes, which requires a bit more sophisticated handling of which attribute fields we're requesting in each query (it's not just the ones we're viewing, but also any fields used in filtering). This isn't a terribly hard problem to solve, but doing it right will require some design changes, notably separating the fields in the view from the fields used in actual query, which will probably require making HeaderFields immutable to be done properly. I need to verify that this feature is high-enough priority to justify getting into all that, but I'd like to check in what I've got so far so I don't lose it.

To be clear, this doesn't actually add any user-visible changes yet.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3866 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/HeaderField.java
utotest/tko/IterationResultField.java
utotest/tko/ParameterizedField.java
utotest/tko/SimpleHeaderField.java
utotest/tko/StringParameterizedField.java
utotest/tko/TestAttributeField.java
d8bfa2880587a3e638ba512951a8b843e1eca533 14-Oct-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a control on the Create Job tab for the new profile_only option that jadmanski added to generate_control_file(). I opted to phrase it in the reverse -- "Run each test without profilers first", defaulting to true.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3850 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/public/AfeClient.html
4cd4763a855d8eb7d25fd4963babc432eb4d25e6 12-Oct-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove deprecated uses of TableListener, and implement proper
oncontextmenu handling

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3828 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/RecurringView.java
utotest/afe/TestSelector.java
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
utotest/common/table/TableDecorator.java
utotest/common/ui/RightClickTable.java
utotest/tko/FragmentedTable.java
utotest/tko/Spreadsheet.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
16ab5250da1e2e5fb1549774063a8099ce4fdbb8 29-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Bugfix to ensure generated items are added to the MultiListSelectPresenter when necessary. Since there's no nice way in general for the clients to know if they've already added a generated item, made MultiListSelectPresenter allow multiple additions of a generated item. This ugliness should go away with the refactoring to formally separate state from presenter (mentioned in a previous change). Also, this change fixes an immediate bug where "Triage failures" wouldn't work (fixed by the change to TableView), but I made a parallel change to HeaderSelect, bringing similar code bits more in line to eventually (soon?) be consolidated.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3771 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/MultiListSelectPresenter.java
utotest/tko/HeaderSelect.java
utotest/tko/TableView.java
14444e7ca7923ead8fc52ae98cdb9dee416ab6c5 23-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Minor updates to new Create Job host selection UI
* make Browse Hosts the default view
* under Specify hostnames, add a checkbox "Allow hosts not in Autotest" to explicitly enable one-time hosts, deselected by default

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3762 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostSelector.java
utotest/afe/HostSelectorDisplay.java
cb6ae7dca0f7eff64e3c9e413f0c30e008a2a6ae 23-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added ability to view iteration results in TKO Table View. The primary changes towards this end were:
* add IterationResultField, a ParameterizedField subclass for iteration results, and make TableView capable of generating and handling these fields
* add an IterationDataSource to make requests to get_iteration_views(), made TableView use this when iterations are selected
The feature is somewhat crude -- the name of the field is always something like "Iteration result 0" when it should really be something like "Iteration result: throughput" -- but I think it's a very functional first pass.

Unfortunately a lot of other changes were required, some quite ugly. This was due to two problems. First, TableView and HeaderSelect duplicate a lot of logic, but in slightly different ways. Unifying them will fix a lot of things. Second, there's a generally misguided use pattern field "names" and field "SQL names" in the code. That needs to be thought through and fixed.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3761 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/HeaderField.java
utotest/tko/HeaderFieldCollection.java
utotest/tko/HeaderSelect.java
utotest/tko/IterationDataSource.java
utotest/tko/IterationResultField.java
utotest/tko/MachineLabelField.java
utotest/tko/ParameterizedField.java
utotest/tko/ParameterizedFieldListPresenter.java
utotest/tko/TableView.java
227a7a1d0484dcfa4c6d996a1c10e95437d059ef 18-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> OK, one more refactoring -- this time, make TableView use HeaderFields (something I've wanted to do for a long time, there has been a TODO at the top of TableView for ages) and consolidate a lot more logic. Part of this was in the introduction of a new HeaderFieldCollection class, the rest was simple consolidation due to common use of HeaderField.

TableView and HeaderSelect still duplicate a lot of logic, sadly, although it's not immediately obvious from the code at this point. Eventually I'll fully consolidate those, but at this point I think I'm ready to implement the iteration view feature that I've been working towards the whole time.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3753 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/MultiListSelectPresenter.java
utotest/tko/ConditionTestSet.java
utotest/tko/HeaderField.java
utotest/tko/HeaderFieldCollection.java
utotest/tko/HeaderSelect.java
utotest/tko/ParameterizedField.java
utotest/tko/ParameterizedFieldListPresenter.java
utotest/tko/SimpleHeaderField.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
7f2b0e15c5928ea2914d078e385ca717d078c6d5 17-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Removed deprecated uses of isChecked/setChecked.

(Depends on [PATCH] Removed deprecated ChangeListener uses.)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3738 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostDetailView.java
utotest/afe/UserPreferencesView.java
utotest/common/table/CheckboxFilter.java
utotest/common/table/SelectionManager.java
utotest/common/ui/RadioChooser.java
utotest/tko/CommonPanel.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/FilterSelector.java
utotest/tko/MetricsPlotFrontend.java
utotest/tko/SeriesSelector.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
0d92da0fe19a095fc5678c4159e6a1756df65e48 17-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Removed deprecated ChangeListener uses.

(Depends on [PATCH] Removed the uses of some deprecated classes)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3737 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/JobListView.java
utotest/afe/LabelFilter.java
utotest/afe/TestSelector.java
utotest/common/table/DynamicTable.java
utotest/common/table/Filter.java
utotest/common/table/ListFilter.java
utotest/common/ui/Paginator.java
utotest/tko/ContentSelect.java
utotest/tko/FilterSelector.java
utotest/tko/FilterStringViewer.java
utotest/tko/GraphingView.java
utotest/tko/MetricsPlotFrontend.java
utotest/tko/PreconfigSelector.java
utotest/tko/SavedQueriesControl.java
utotest/tko/SeriesSelector.java
utotest/tko/SpreadsheetView.java
5f0ca29fe6e34b4e5c256f6331e6767ab2b67c16 17-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix URL encoding of CSV export link.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3736 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TkoUtils.java
79a7b0d387aac103fc1d125353eefa361030452a 17-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Removed the uses of the following deprecated classes:

DisclosureEvent
DisclosureHandler
FocusListener
KeyboardListener
TabListener
PopupListener
SuggestionEvent
SuggestionHandler
ScrollListener
WindowResizeListener

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3735 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/common/table/LinkSetFilter.java
utotest/common/table/SearchFilter.java
utotest/common/ui/ContextMenu.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DetailView.java
utotest/common/ui/TableActionsPanel.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/FilterStringViewer.java
utotest/tko/Spreadsheet.java
utotest/tko/SpreadsheetView.java
utotest/tko/TestDetailView.java
8aa84fcb18489265208f291a7fc3c33799696eae 16-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> make invalid hosts viewable in the AFE view host tab

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3729 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
a29e963afc9de0ab086b5b2bea2e43ff68d81038 14-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix a ConcurrentModificationException bug in MultiListSelectPresenter than appears when drilling down after a machine label field was selected, and remove an obsolete comment.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3714 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/MultiListSelectPresenter.java
2b50af17e5fa602821a8917bbb9fa1ddb1176ee3 14-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Refactoring to extract and generalize all logic used for machine label headers. All the UI and presentation logic was tied closely to HeaderSelect, but the forthcoming feature to view iterations in table view will require the exact same logic in a different context. So in this change I extracted a generic superclass for MachineLabelField, ParameterizedField, and extracted all the relevant UI logic from HeaderSelect to a separate presenter, ParameterizedFieldListPresenter.

This is hopefully the last refactoring necessary before actually implementing the iteration view feature. And ideally, the test attribute view feature will follow on easily from that.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3712 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/HeaderField.java
utotest/tko/HeaderSelect.java
utotest/tko/HeaderSelectorView.java
utotest/tko/MachineLabelField.java
utotest/tko/ParameterizedField.java
utotest/tko/ParameterizedFieldListDisplay.java
utotest/tko/ParameterizedFieldListPresenter.java
a5e4d84c9616b0a987e904d3b1d1d3fd9ca1be86 11-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Removed deprecated ClickListener uses.

Mostly trivial changes. The only significant change was in
autotest.common.ui.SimpleHyperlink.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3709 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AbortSynchronousDialog.java
utotest/afe/CreateJobView.java
utotest/afe/HostDetailView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/afe/RecurringView.java
utotest/afe/UserPreferencesView.java
utotest/common/table/CheckboxFilter.java
utotest/common/table/SearchFilter.java
utotest/common/table/TableClickWidget.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DetailView.java
utotest/common/ui/Paginator.java
utotest/common/ui/SimpleDialog.java
utotest/common/ui/SimpleHyperlink.java
utotest/common/ui/TableActionsPanel.java
utotest/common/ui/TableSelectionPanel.java
utotest/common/ui/ToggleLink.java
utotest/tko/CommonPanel.java
utotest/tko/ContentSelect.java
utotest/tko/DynamicGraphingFrontend.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/FilterSelector.java
utotest/tko/FilterStringViewer.java
utotest/tko/GraphingFrontend.java
utotest/tko/MetricsPlot.java
utotest/tko/MetricsPlotFrontend.java
utotest/tko/SavedQueriesControl.java
utotest/tko/SeriesSelector.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestLabelManager.java
utotest/tko/WidgetList.java
02ed4bd47471fe77270e5507a7f9759955b3753c 09-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Reorganization of the host selection UI in the AFE create job view.
* refactor HostSelector into view/presenter (except for tables, which will need to be separately refactored)
* reorganize view into a tabbed format with a unified hostname input tab, a metahost tab and a browse hosts tab, with the selected hosts table alongside as before

Minor changes:
* extracted SimplifiedList interface from MultiListSelectPresenter to a top-level entity
* made ExtendedListBox implement the SimplifiedList interface and got rid of the SimplifiedListWrapper decorator class
* rewrote ArrayDataSource to use a TreeSet so it's actually efficient. this should speed up working with large host selections.
* edited JSONObjectComparator to be consistent with equals() for safety when using with TreeSet
* small change to how widths get set on TabPanels in AFE. rather than setting 100% width on all tab panels' contents using CSS, set it explicitly in CustomTabPanel. there's a quirk with browser layout where a 100% width div inside a table cell will have it's width set larger than the cell containing it. it happens on IE6, FF3 and Chrome so it's probably not something that's going to change. It does go away with the "border box" model, which can be enabled with nonstandard CSS attributes, but it's easy enough to work around here that that's not worth it.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3673 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostSelector.java
utotest/afe/HostSelectorDisplay.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/JSONObjectComparator.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DoubleListSelector.java
utotest/common/ui/ExtendedListBox.java
utotest/common/ui/MultiListSelectPresenter.java
utotest/common/ui/SimplifiedList.java
utotest/public/AfeClient.html
utotest/public/common.css
utotest/tko/HeaderSelectorView.java
e463a8a926964673c2517bfef5ac394206b106c6 08-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add default drilldown behavior. Drilldown from new fields (like job queued day) was broken because they weren't added to the drilldown map; it's best to just have a default and not allow things to break like that.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3669 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/SpreadsheetView.java
d9e04c1a7950691cc348e70fa2470f8c414ae94f 08-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Refactor code related to double list selecting widgets used in both SpreadsheetView and TableView. This will facilitate code reuse and extension for the feature to include test iterations/attributes in table view. It will also make unit testing possible and provides cleaner organization of the code.

The major effort here is to refactor the DoubleListSelector and HeaderSelect classes according to the Passive View pattern. There are passive view classes for the double list itself (DoubleListSelector, which will be renamed in a future CL to DoubleListSelectDisplay) and for the spreadsheet header selection UI (HeaderSelectorView, which I think I'll also rename to HeaderSelectorDisplay). There is a new class, MultiListSelectPresenter, which incorporates the presentation logic from DoubleListSelector as well as some of the logic from HeaderSelect related to switch between a single and double list. The remaining code in HeaderSelect was modified to use a MultiListSelectPresenter as much as possible, retaining only the code specific to the spreadsheet header selection (and the management of machine label headers will likely be extracted and generalized too, since that sort of thing will be necessary for test attributes/iterations). Finally, small modifications to Spreadsheet
View and TableView were required to have them use the new interfaces.

This change also introduces the ToggleLink widget, consolidating logic that had been applied in multiple places previously.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3667 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/DoubleListSelector.java
utotest/common/ui/MultiListSelectPresenter.java
utotest/common/ui/ToggleControl.java
utotest/common/ui/ToggleLink.java
utotest/tko/HeaderSelect.java
utotest/tko/HeaderSelectorView.java
utotest/tko/MachineLabelField.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
c1c1caf3a47c8659218aeaf92c07598d591ea39b 08-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added afe_job_id column to the jobs table in TKO. Changed link in AFE
View Job tab to use afe_job_id instead of job_tag.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3665 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
6aaab2e8cd8428456959b1aeeb1eebccb4908048 03-Sep-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed frontend and CLI for space delimited multiple kernel versions.

Signed-off-by: Mihai Rusu <dizzy@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3643 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
f13f498e7d63595d0dffe2301d186c4845d6f411 31-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> diff --git a/frontend/client/src/autotest/public/afeclient.css b/frontend/client/src/autotest/public/afeclient.css
index dc4d377..4025568 100644


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3633 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/afeclient.css
utotest/public/common.css
utotest/public/standard.css
utotest/public/tkoclient.css
9e494cc00c53f9dd0fabec3ef675cb874a9130ad 31-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change how we construct the basic page layout in AFE and TKO. The TabView class was sneaking around with RootPanels and DOM elements, effectively doing what HTMLPanel was intended to do in a naughty way. GWT 1.5 was naive enough to let that go on behind its back (although it wasn't safe), but GWT 1.6 won't have any of it (read: assertion errors). So change TabView to use an HTMLPanel properly, and change all the views to construct their layouts the new, nice way.

More info, in an old email from Joel Webber: http://markmail.org/message/xliklhgn5vvuibm4#query:%22A%20widget%20that%20has%20an%20existing%20parent%20widget%20may%20not%20be%20added%20to%20the%20detach%20list%22+page:1+mid:xliklhgn5vvuibm4+state:results

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3630 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/RecurringView.java
utotest/afe/UserPreferencesView.java
utotest/common/Utils.java
utotest/common/ui/DetailView.java
utotest/common/ui/TabView.java
utotest/tko/CommonPanel.java
utotest/tko/GraphingView.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestDetailView.java
c9b6d11c55bc266d684e10abd0eb151213d538c4 25-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> fix logo

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3619 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/header.png
0d9b58fcab62475b297a67d42457b522df29b824 25-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> New logo image.

Signed-off-by: Lucas Meneghel Rodrigues



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3618 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/header.png
01d6329ddd2b854a2531d432d6083a59c85f9358 25-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Update spinner gif.

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3616 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/NotifyManager.java
utotest/public/mbligh_spinner.gif
utotest/public/spinner.gif
a3c58d20be69a292bdfafbea735c7503f4995b4c 25-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Added support to specify cmdline for the booted kernels for both the CLI
and the frontend. For the CLI there is a new "--kernel-cmdline" option
that will be used for all the kernels configured to be booted with the
"-k" parameter. For the frontend there's a new textbox under the kernel
version one where cmdline can be provided.

Signed-off-by: Mihai Rusu <dizzy@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3599 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/public/AfeClient.html
1fe34c4612727e711818f1414072149f685e364e 21-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add options to reinstall hosts from the Host List tab and the View Host
tab in AFE.

To use this feature, you must implement the machine_install() function of the
Host class in <autotest>/server/hosts/base_classes.py. Also, you must add the
test in <autotest>/server/tests/reinstall/control to the frontend with the name
"Re-install Machine".

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3576 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/public/AfeClient.html
8177fbc25a28881eb25fe0d5acd906ecb33f6f72 21-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a "(triage failures)" link to the AFE Job Details tab.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3567 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
eb0fd4c76ee70e68d907e542423ae249489552c2 21-Aug-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Clicking any part of the row in the hosts table in AFE View Job tab
should take us to the AFE View Host tab. Previously, the right side of
the row would do nothing upon click if the "Status Log" and "Debug Log"
links were not present.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3566 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/common/table/DataTable.java
2a61b4ec31c4ced4e592aa20627e9997dfdd2c02 28-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Some fixes to history handling of label and attribute filters in CommonPanel. The separation between state and view wasn't being properly handled.

I think the whole state/view refactoring is moving slowly towards this model-view-presenter thingy I saw at Google I/O. When the need arises we should go ahead and make that a clean cut to avoid issues like this. Increased open-in-new-window support will probably be the feature to drive that change (it was the motivation behind the original separation).

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3460 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
9e8ac0dd59c7bc2e5200643e1f841d8643e49d95 28-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove the "View Status/Debug Logs" link from the AFE View Host tab, as
it is no longer required with the new Cleanup/Verify/Repair tracking.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3458 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/public/AfeClient.html
a5288b4bb2b09aafe914d0b7d5aab79a7e433eaf 28-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Upgrade from Django 0.96 to Django 1.0.2.

Risk: high (framework change)
Visibility: medium

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3457 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/afe/HostTableDecorator.java
752383196594a228f95384e11b8e5b669ba682ee 28-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Make paginators left-aligned instead of center-aligned in AFE and TKO. Center-alignment was annoying sometimes because tables could be really wide or could vary in width with each page.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3456 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/TableDecorator.java
907f2159b2605a4b330ee76dbafc99c8bda4bca0 28-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> AFE Create Job now runs tests in the order in which they were selected.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3455 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/TestSelector.java
f60b136cacbc62927100280b00c6fcde764d14d5 16-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix "Graph" button on graphing frontend. Was disabling and not
re-enabling after submitting a query with no global filter.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3421 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/DynamicGraphingFrontend.java
aa3c687e0c87cd7323054fbb1064b448728da7e7 16-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Access special task logs through retrieve_logs.cgi so it'll redirect to drones if necessary.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3420 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
c0ac3a79cceec87873257a8b6d41d19c9fb02ec6 08-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> add the option to include verify/repair/cleanups in the job table on the host detail page.
* added RPC get_host_queue_entries_and_special_tasks, which returns both HQEs and SpecialTasks for a host in a carefully interleaved manner.
* added appropriate frontend unit tests
* added support to HostDetailView to include these entries, but have them not be selectable. this required changes to SelectionManager. I also added a utility method to Utils for opening a new window, and changed all sites that do that to call the new method.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3385 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/common/Utils.java
utotest/common/table/DynamicTable.java
utotest/common/table/SelectionManager.java
utotest/common/table/SimpleFilter.java
utotest/common/table/TableDecorator.java
utotest/common/ui/TabView.java
utotest/tko/EmbeddedTkoClient.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/TkoUtils.java
0228f1407cce41f6567b7200a4fed7be6f4b5511 08-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add (atomic group) to the displayed text of any atomic group label in
selectors within the GUI.

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3383 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
3ed34fd6fa69b0d1faba7b67ab32225b63b64781 06-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Expand the test name column in the AFE Create Job tests list to fit the
table, if the test names are all too short to reach the end of the table
column.

Risk: low
Visibility: medium (UI bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3371 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/TestSelector.java
utotest/common/table/DataTable.java
b4c1dfea53be3b10694cb1a10a13dc4c8719e39a 06-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change control file font to fixed-width on the AFE Job Details view.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3370 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/public/common.css
6cff4ad7aa317bab05ab9dc1249dbea652944750 30-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix FindBugs flags

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3327 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/JsonRpcProxy.java
utotest/common/table/JSONObjectComparator.java
cb881ae6105a841389d8239e12c23561cc762e29 30-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Currently, the 'view all logs' link is less usable as it is pointing to the /results/JOB/HOST/ directory while the
Test Details view refers to specific test.
Adding a new link - 'view test logs' - pointing to the specific test result dir (e.g. /results/JOB/HOST/TEST/).

Signed-off-by: Dror Russo <drusso@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3323 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TestDetailView.java
f6853c0cbbbff801306dac5299f5ffd86fd11ade 22-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix collapsable control file in AFE Job Detail view. Element was
duplicating on refresh.

Risk: low
Visibility: medium (UI bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3304 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
130ba9e35163d5b5e1fc5767b3b0975d40bc0a6f 19-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> point drop-down test log viewers to newly named logs, and tweak the name of the autoserv logs to be a bit more accurate

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3300 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TestDetailView.java
4cfdce15cca1bc4988ee4531e49f3da4d18848ea 15-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> change client-side logging to split files by severity and move them to the debug dir. this is quite a bit more involved than the server-side change because of some buggy directory clearing code and various places that depended on the old configuration.

This also changes the TKO autoserv log viewers to point to the new .DEBUG and .ERROR autoserv logs.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3266 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TestDetailView.java
f77862cb4c75fb91ec06db14f9fe68aac5368e4b 15-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Moved the notification box to the top-center of the browser, and changed
the background color to yellow (a la Gmail). Also removed the DOCTYPE
strings from the HTML files, as they were causing problems with GWT
hosted mode.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3263 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/NotifyManager.java
utotest/public/AfeClient.html
utotest/public/TkoClient.html
utotest/public/afeclient.css
42572b5d1971839c55de92367c1443fda2dd8562 15-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Make control file hidden by default on the AFE Job Detail view.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3262 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
utotest/public/common.css
557419494536e8820706979298b6f6cde427e902 09-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Show host protection level in host detail view.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3229 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/public/AfeClient.html
194a59d6976a5dbd5b464fb2b14ceb089f91c050 09-Jun-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Modify TKO Spreadsheet View's "Export to CSV" function to handle
selection of cell content. Also fixed history token handling to handle
content value customization.

Additionally, fixed history token handling of the "latest only latest
test per cell" checkbox in the TKO Spreadsheet View.

Risk: low
Visibility: medium (functionality change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3228 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/ContentSelect.java
utotest/tko/SpreadsheetView.java
51f73a242561febf5a47365528d787ab8894677d 08-Jun-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Who knew how much damage a little bang could do :)

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3206 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
d9642c07837d093b13bc5c32132874f8ecce5d5d 29-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Allow hosts to be reverified from the AFE Host Details view.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3181 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/public/AfeClient.html
77401f351bd4ef6b6af99e46a9f905b161062574 26-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Allow all TestView fields to be displayed in cell contents in
Spreadsheet View.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>

http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3175 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
utotest/public/TkoClient.html
utotest/tko/ContentSelect.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/StatusSummary.java
utotest/tko/TableView.java
e529d0fe5667f9796c7a6d607322fbfdf6a85cd2 26-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add ability to lock/unlock a host from the AFE View Host tab.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3172 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/public/AfeClient.html
30680e4190269a00dd7aaa888f9379e3b0af5088 26-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added DOCTYPE declarations to HTML files. Using HTML 5 because the GWT
history support iframe requires the id to start with an underscore.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3169 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/AfeClient.html
utotest/public/TkoClient.html
c2ba43512fd68695f26e3729fe5d11b631f12e29 20-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Failing to distinguish between Types of Filters in CommonPanel.handleHistoryArguments().

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3151 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
276f9443bbfc12c781d86f51dab5d8988e2090f5 20-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added ability to lock/unlock machines from the AFE Host List view

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3150 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/HostListView.java
69ec4b9133094caa9c1f80a0794ee2eb23efe4b8 16-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change color of message of the day in AFE and TKO.

Signed-off-by: Travis Miller <raphtee@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3146 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/afeclient.css
60a833bc9fd2c7fce2f84287b55c7d1829616771 16-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed FindBugs warning: unchecked cast

risk: low
visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3145 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/WidgetList.java
a965cef89e47cf2ceb5742ce8948d4f4f5e759ba 16-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added ability to clone jobs on all failed hosts.

Risk: low
Visbility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3144 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
1ff7b2e88ae7a382f85ab76e786a471134e8a6a0 16-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add ability to reverify a host from the Host List.

Risk: low
Visilibity: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3143 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/HostListView.java
utotest/afe/HostTable.java
12f3e3212795a539d95973f893ac570e669e3a22 13-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add job maximum runtime, a new per-job timeout that counts time since the job actually started.
* added started_on field to host_queue_entries, so that we could actually compute this timeout
* added max_runtime_hrs to jobs, with default in global config, and added option to create_job() RPC
* added the usual controls to AFE and the CLI for the new job option
* added new max runtime timeout method to
* added migration to add new fields and set a safe default max runtime for existing jobs

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3132 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
a1e74b3e9d68792fae0c926f89b6de1736b1fe21 12-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add job option for whether or not to parse failed repair results as part of a job, with a default value in global_config. Since the number of options associated with a job is getting out of hand, I packaged them up into a dict in the RPC entry point and passed them around that way from then on.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3110 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
4b63b74f6ef31649a26f8f6d8667ab297b73115b 08-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add the ability to filter based on test labels.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3101 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
utotest/tko/WidgetList.java
4d07756ac199e75f9303eb32fdade43277bc8848 08-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added ability to clone a job on specific hosts.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3100 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
fc5b779418b0f578a867386a2f09e12248c8c25b 08-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed compiler warnings: unused imports and unread field.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3097 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobTable.java
utotest/afe/RecurringTable.java
utotest/afe/RecurringView.java
37059dfb50063124bce014d3217e3610499d917f 08-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> CSV support for TKO table view.
* make RpcDataSource record the last RPC call params, since that's much easier than reconstructing it as I was doing for SpreadsheetVIew
* make TableDecorator support an Export CSV link, and make TableView use it
* add onExportCsv to Table View, plus some minor refactorings there that happened along the way
* generalize CSV code from SpreadsheetView and extract to TkoUtils
* add new CsvEncoder classes for table view
* change logic to decide which CsvEncoder to use -- simply dispatching off of method name isn't good enough, since both spreadsheet and table views use get_status_counts
* add new unit tests for the three kinds of table view

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3096 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/RpcDataSource.java
utotest/common/table/TableDecorator.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestGroupDataSource.java
utotest/tko/TkoUtils.java
8748ed29ef2a3a73c18cb387765d595db452256c 05-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed FindBugs warnings: changed some inner classes to static inner classes.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3092 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/common/XhrJsonRpcProxy.java
utotest/tko/HeaderSelect.java
f6348c999bc60ee048510c8e28f74f944a32d97c 05-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> When the user performs a whole-table action in TKO spreadsheet view, make sure we obey the "show only latest test per cell" checkbox. This isn't an issue for actions on particular cells, because we already use the test IDs since the cells are single-test cells. But whole table actions use a different code path.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3090 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/ConditionTestSet.java
utotest/tko/SpreadsheetView.java
1a6d3f3be1e3dca752e087645ea4b3db3906259c 05-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Improved embedded graphing sample -- use more generic, more interesting queries.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3088 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/EmbeddedTkoClientTest.html
3d6ae118f69717e68bc15b9aed7b6a6c7dd9bab0 02-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Export CSV support for spreadsheet view.
* new Django view, handle_csv(), with a new URLconf, /new_tko/server/csv/
* new module csv_encoder with logic to encode the results of an RPC call into CSV format
* logic in csv_encoder to convert results of get_status_counts() (or get_latest_tests()) into CSV, when called from spreadsheet view
* added optional "Export to CSV" link to TableActionsPanel, and made SpreadsheetView use it with a handler to call the /csv/ entry point with the current query info

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3086 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/JsonRpcProxy.java
utotest/common/table/RpcDataSource.java
utotest/common/ui/TableActionsPanel.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/TestGroupDataSource.java
6d845a7ecbd6d25dfb456cc38472bc916c2db7b6 01-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> increase timeout for JSON-P queries to 60s

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3074 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/PaddedJsonRpcProxy.java
29f7cd27e51add2648fb62ab2a0c588f9acb1ec4 29-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Here is a patch, which extends the autotest system with recurring job
executions. When you create a new recurring job, you can specify:
- start time (on server)
- loop count (0 means infinite): how many times it will executed
- loop period: how many time will wait between two execution

Added features:
- Create job: can create Template job.
- View job: added "Create recurring job"
- New tab "Recurring job"
- list of recurring jobs
- can click on it to view the executed job
- selection support
- Action -> remove
- creation panel (can be accessible thru "Create recurring job")
- submit/create
- reset
- data validity check

From: Zoltan Sogor <weth@inf.u-szeged.hu>
Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3064 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/JobTable.java
utotest/afe/RecurringTable.java
utotest/afe/RecurringView.java
utotest/public/AfeClient.html
b4df82db72b3c2c3737b4f12c485fc3267866dbc 29-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> add @Override tag to overriding method in CommonClassFactory.java

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3062 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/CommonClassFactory.java
fbdab0b28c8084441225523a68db7f0ef63f5ca0 29-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Support multiple embedded graph widgets on the same page. This required two changes to avoid collisions with shared global resources:
* Make each plot generate a unique drilldown callback name for itself. These need to be unique because they all get stuck into as global methods. This also required passing the callback name to the server and having the server use it when generating callback code.
* Make the server generate a unique name for the image map, when generating HTML to return to the client. These image maps all sit in the document and thus must have unique names. It generates the map name from the passed-in drilldown name.

Since this change required passing around yet another piece of information to describe a plot in graphing_utils.py, I gathered all the parameters describing a plot into new parameter object classes, MetricsPlot and QualificationHistogram, rather than just extending the method signature of a bunch of methods. As usual, the natural next step is to move functionality into the classes, which would make graphing_utils much cleaner I believe. But I'm leaving that for later.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3061 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/EmbeddedTkoClientTest.html
utotest/tko/EmbeddedTkoClient.java
utotest/tko/MachineQualHistogram.java
utotest/tko/MetricsPlot.java
utotest/tko/Plot.java
d04b4b6cdb0a22b0f7b2c1b150c6834f065d76c7 27-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Changed get_hosts() rpc call to return the acls to which the hosts
belong as well. This info is then used to display the ACLS to
which a host belongs in the HostDetailView tab in AFE.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3041 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDataSource.java
utotest/afe/HostDetailView.java
utotest/public/AfeClient.html
b7a52fd2431275381b3ecab7d631a135fb613866 27-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> globalInitialize() starts a timer and every 10 minutes requests
the motd again and sets the string in the dom.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3040 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/CommonClassFactory.java
9f4500a294eea35dce003cee41c558fcde3eb09f 27-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Last few changes necessary to make first embeddable graphs work
* add EmbeddedTkoClient GWT entry point + associated scripts, GWT XML, launch configuration, apache config
* added EmbeddedTkoClientTest.html, a simple demonstration/test of using embedded widgets
* modify TabView to no longer be a Composite, but instead have a getWidget element. this allows us to defer any DOM manipulation to initialize() and therefore avoid executing it at all in the embedded case. the introduction of code to TabView.initialize() (it was previous abstract) required adding a super.initalize() call to *all* subclasses, and there are a lot, hence the large number of files in this change.
* added Plot.getNativeProxy(), generating a native JS object that acts as a proxy to the GWT Plot object
* extend JsonRpcProxy to allow use of PaddedJsonRpcProxys
* remove debug prints from PaddedJsonRpcProxy
* fix a little bug where a return statement was missing from Plot.showDrilldown()

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3039 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/EmbeddedTkoClient.gwt.xml
utotest/afe/CreateJobView.java
utotest/afe/HostListView.java
utotest/afe/JobListView.java
utotest/afe/UserPreferencesView.java
utotest/common/JsonRpcProxy.java
utotest/common/PaddedJsonRpcProxy.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DetailView.java
utotest/common/ui/TabView.java
utotest/public/EmbeddedTkoClientTest.html
utotest/tko/EmbeddedTkoClient.java
utotest/tko/GraphingView.java
utotest/tko/Plot.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
d3dc199703bfb8784a2f8f072d0514532c86c0a9 22-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add support to the scheduler to run autoserv --collect_crashinfo after a job finishes or is aborted.
* added new state "Gathering" for when we're running collect_crashinfo and copying logs to the results repository
* added new GatherLogsTask to the scheduler to perform these two tasks, and made it get run either after a job finishes or after a job is aborted. this task shares a lot with FinalReparseTask, so extracted common code into a new PostJobTask.
* made changes to scheduler/drone code to support generic monitoring and recovery of processes via pidfiles, since we need to be able to recover the collect_crashinfo processes too. this will also made the scheduler recover parse processes instead of just killing them as it does now, which is nice.
* changed abort logic significantly. since we now need to put aborted jobs through the gathering and parsing stages, but then know to put them into "aborted" afterwards, we can't depend on the old path of abort -> aborting -> aborted statuses. instead, we need to add an "aborted" flag to the HQE DB table and use that. this actually makes things generally cleaner in my opinion -- for one, we can get rid of the "Abort" and "Aborting" statuses altogether. added a migration to add this flag, edited model and relevant logic appropriately, including changing how job statuses are reported for aborted entries.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3031 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
4d35724705fb82094fdd27b0396f70fe6a163e31 16-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Provide the ability to Re-validate results that had been
previously marked as invalid.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2996 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TestContextMenu.java
utotest/tko/TestLabelManager.java
edd589779be93badb9f9dc546bad538db5a0318d 16-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Allow display of the message of the day in tko as well as afe.
refactored as common code in CommonClassFactory.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2991 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/common/CommonClassFactory.java
utotest/public/TkoClient.html
3b2b93007ba7ca0a8ace90f2ac0c2263ccbcbdf8 15-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> * extract code for displaying graphs and managing graph drilldowns from *Frontend classes (which also manage the graph setup UI) into separate Plot classes (a Plot class and two subclasses, MetricsPlot and MachineQualHistogram). eventually, these plot classes will be usable as embedded widgets in other pages.
* made some changes to graphing_utils.py to support the new design, including encoding drilldown information with JSONEncoder
* extract GraphingDialog class to a generic, top-level SimpleDialog class, so that it'll be usable from embedded widgets without including all the frontend code
* fix a bug in FilterSelector.isEmpty() (it would always return false previously)
* fix a bug in TableView where no column would be sorted on in some cases

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2990 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/SimpleDialog.java
utotest/tko/DynamicGraphingFrontend.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/FilterSelector.java
utotest/tko/GraphingFrontend.java
utotest/tko/MachineQualHistogram.java
utotest/tko/MachineQualHistogramFrontend.java
utotest/tko/MetricsPlot.java
utotest/tko/MetricsPlotFrontend.java
utotest/tko/Plot.java
utotest/tko/TableView.java
a901ba9a627c31238bd1b674a532d2e860a1a348 07-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add more infrastructure for common (between AFE & TKO) site-specific features, and various UI widget enhancements.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2965 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/common/CommonClassFactory.java
utotest/common/SiteCommonClassFactory.java
utotest/common/ui/ContextMenu.java
utotest/common/ui/SimpleHyperlink.java
utotest/public/common.css
utotest/tko/TkoClient.java
264ce291285e40d734e6aa53daca43860d1f7d78 07-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Only show "Status log" and "Debug logs" links when a host queue entry's execution_subdir is nonempty. With the way things work now, execution_subdir should be nonempty iff results of some kind have been generated. This simplified the surrounding logic a bit.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2964 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
89e7a1205ac482a0f57d7d5e0e87d62c57afe6dd 07-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix log viewers sizing in FF3. Apparently elements with overflow: auto (or scroll or hidden) don't do percentage widths properly in FF3. So to workaround it, shrink the scrolling div to zero width, let the parent assume the correct size, then dynamically grab that width in pixels and set the scroller to that exact width. Also listen for and respond to window resize events, since we're setting explicit widths.

Also had to change styles of the outermost tab frame to ensure the logs would expand to fit the window, and while i was at it, started a new common.css file for such things.

This still doesn't work in Chrome. I'm convinced it's a Chrome bug, but I'll have to wait till I have more free time later next week to investigate. Sorry Chrome users.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2962 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/AfeClient.gwt.xml
utotest/TkoClient.gwt.xml
utotest/public/afeclient.css
utotest/public/common.css
utotest/tko/TestDetailView.java
191452dea8e80dee8428f1b7b4c70cd09eb81a8f 01-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> * rewrite CreateJobView.cloneJob() to call selectObjects() once instead of selectObject() within a loop. The former is much more efficient, as it postpones UI updates until after all selections have been made. This makes job cloning much quicker for large jobs and should help avoid the slow script warning.
* simplify the code by using a JSONArrayList

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2946 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
ef6fe028fcc667366e8ac30fe63ba314a4b1d745 27-Mar-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> generic JSON-RPC implementation using JSONP (JSON with Padding). the central part of this change consists of:
* refactored JsonRpcProxy to extract all XmlHttpRequest-specific logic into a new XhrHttpRequest subclass, and made JsonRpcProxy abstract
* introduced new PaddedJsonRpcProxy subclass of XmlHttpRequest that uses JSONP instead of XHR
* added new handle_jsonp_rpc_request() method to rpc_handler.py, to handle JSONP requests on the server side

This enables the entire frontend (either AFE or TKO) to operate via JSONP instead of XHR. I didn't make them do that now, since there's no reason, but it will be critical when we go to make components embeddable in other pages (on other domains). Other changes here include:

* made TestDetailView use PaddedJsonRpcProxy (it previous had its own custom JSONP logic, which was all moved into PaddedJsonRpcProxy).
* made retrieve_logs.cgi and jsonp_fetcher.cgi support JSONP requests, so that log fetching requests could go through the shared JsonRpcProxy codepath. retrieve_logs.cgi still supports the old GET params interface for backwards compatibility (at least old TKO still uses it, and possible other scripts).

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2943 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/common/JsonRpcCallback.java
utotest/common/JsonRpcProxy.java
utotest/common/PaddedJsonRpcProxy.java
utotest/common/Utils.java
utotest/common/XhrJsonRpcProxy.java
utotest/tko/TestDetailView.java
de9c3303091fc2ec7aaffa2f3ba7915ab328e4c8 21-Mar-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> columnNames must always be a mutable List. this was breaking querying
after doing a drilldown or loading a page from history.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2921 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TableView.java
3af93f9e93f65dad8d8e5b808d67320c2da958d5 21-Mar-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> fix some unused code eclipse warnings that had been disabled but should've been enabled

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2920 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/common/ui/TabView.java
utotest/tko/SeriesSelector.java
utotest/tko/TkoUtils.java
6315df674f86f719e816ea5689768ef0944e9f51 21-Mar-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -support command-click for macs, since control-click is overridden on macs to get context menu behavior. i forgot about that.
-fix a style issue i forgot to include in the original patch.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2919 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/TabView.java
utotest/tko/CommonPanel.java
c674d3ea684f75f3e05f5834b598050eb1c8856d 12-Mar-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Support opening drilldown results in a new tab/window from spreadsheet and table views. When drilling down in spreadsheet and table views, either into a group or into test details for a single test, the user can open the resulting page in a new tab/window by control-clicking. I included what I believe is the proper code to support middle-clicking as well, but I could not see any browser support. I tried the GWT hosted mode browser and FF2 on linux, and FF3 and windows. I changed the cell selection combo to shift-click (I don't think anyone uses that feature anyway :-/).

The main technical challenge here was this: state is spread throughout a number of classes that make up the UI for spreadsheet and table views. Code for generating the history tokens is spread throughout those classes as well, using the state in each class. In order to open results in a new tab, the code needs to generate the history token for the new state while leaving the current UI unmodified. It would do this by calling functions to modify application state appropriately, then generate the new history token, and then revert to the previous application state before opening the new token in a new tab. However, since the UI widgets and state variables were all intertwined and spread throughout the code, this was impossible to do as the code was -- when we made calls to setup the new application state, the displayed UI would be modified.

To solve this, I modified a number of classes to implement updateStateFromView() and updateViewFromState() methods, making the separation between state and view more well-defined and explicitly controlled. I ensured that all state-modifying functions don't modify the view at all, and I made sure the history-generating functions only use state variables. Then I was able to make the code setup a new state, generate the new history token, and restore the old state without any visible changes in the UI.

I also modified CustomHistory and clients so that history tokens passing into and out of CustomHistory are dictionaries instead of strings. I find this a bit cleaner and (more importantly) it allows CustomHistory to safely check for token equality (checking strings is unsafe because ordering could change while content remains the same, thanks to the nondeterminism of iterating over a Map).

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2876 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobListView.java
utotest/common/CustomHistory.java
utotest/common/Utils.java
utotest/common/ui/DetailView.java
utotest/common/ui/TabView.java
utotest/tko/CommonPanel.java
utotest/tko/ConditionTabView.java
utotest/tko/GraphingFrontend.java
utotest/tko/GraphingView.java
utotest/tko/HeaderSelect.java
utotest/tko/SavedQueriesControl.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestSelectionListener.java
utotest/tko/TkoClient.java
313ab769319f56b940a2784cc0cbdebd005c5799 25-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Make the "Triage failures" button obey the "show only latest test per cell" filter. This is a bit of a tricky issue because the table view doesn't have a concept of cells, so the option can't carry directly over. I've made it simply add a big SQL filter "AND test_idx IN (...)" where ... is a giant list of all the test IDs displayed in the spreadsheet. I don't think it's ideal but it should work well, at least for now.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2818 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/Spreadsheet.java
utotest/tko/SpreadsheetView.java
9cd2711280fcf6506bf2d4682c471c5fd3744813 17-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Mention the profile_only=True flag for users to disable the first iteration.

Signed-off-by: Gregory Smith <gps@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2814 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/AfeClient.html
aac13a7fbd2d380e98f088b89fb57cb4fa3cf853 17-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> When clicking "Triage failures", only include failed results.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2812 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
utotest/tko/SpreadsheetView.java
e5ae165c706c465f08a732a361ea0aa5d75075ea 12-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Widespread cleanup of graphing code, based on notes I took during the original review of the code that never got implemented.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2781 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobListView.java
utotest/common/Utils.java
utotest/tko/DBColumnSelector.java
utotest/tko/DynamicGraphingFrontend.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/FilterSelector.java
utotest/tko/FilterStringViewer.java
utotest/tko/GraphingFrontend.java
utotest/tko/GraphingView.java
utotest/tko/MachineQualHistogramFrontend.java
utotest/tko/MetricsPlotFrontend.java
utotest/tko/PreconfigSelector.java
utotest/tko/SeriesSelector.java
utotest/tko/TkoUtils.java
529cdf3a9bd5d6c8f29d18a00ce3229880b9e4c2 07-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix two typos, one just a UI typo and one an actual bug due to an incorrect field name that was breaking the test selector.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2767 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/TestSelector.java
d9ac445a60d6d11537f566503164344e09527917 07-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove the old acl_groups_users and acl_groups_hosts many2many pivot
table column name hack.

Renames acl_group_id -> aclgroup_id.

Adds a migration script and updates the one piece of code that actually
depended upon the old name.

This is needed for my upcoming change that ports autotest to Django
1.0.x but seems worth cleaning up as a change of its own.

Signed-off-by: Gregory Smith <gps@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2764 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostTableDecorator.java
35120fef9a1b56fd419ec9794ebb5985754aee98 03-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -changes to TableView to more transparently treat "special" columns (group count, pass rate) more like normal columns.
-make TableView keep track of currently visible column names, instead of field names. This is better for tracking "special" columns because they don't necessarily have field names (e.g. pass rate uses the special widget column "field name").
-since TRIAGE_GROUP_COLUMNS now includes the count column, put it on the left of reason.
-for part of the change, it ended up being easier to stop using the whole "readonly item" thing in DoubleListSelector, so got rid of that and made TableView handle when "special" columns are removed through the DoubleListSelector.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2736 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/DoubleListSelector.java
utotest/tko/TableView.java
77618197b903dbf95d26314478b742497e482359 26-Jan-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Wrap the TKO drop-down log viewers with scroll panels, so that when FF3 cuts them off, you can still scroll over to see their contents. Also limit the max height, since there's a scroller now.

This is far from perfect in FF3 (works beautifully in FF2) but I think it's an improvement, and I don't have time at the moment to mess around with FF's quirky layout mechanisms.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2691 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/tkoclient.css
utotest/tko/TestDetailView.java
d94f4db2fb1a88cb1de25e9a8a81cd59177ea0c8 26-Jan-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add job name search feature to AFE job list tab.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2690 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostTableDecorator.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/common/table/SearchFilter.java
utotest/public/AfeClient.html
748b23f40bacb4a98c2c5762ec76e05f032748f1 23-Jan-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove three unused imports added by someone's previous change. Grr.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2678 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
8fbae65f091151643460b14a1fd0c933b7090d43 21-Jan-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> First pass at an implementation of a message of the day. Decided
that storing the motd in a file called motd.txt in the same dir
as rpc_interface.py was the simplest solution.

Signed-off-by: Travis Miller <raphtee@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2659 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/public/AfeClient.html
utotest/public/afeclient.css
9484c31ad1021c2e3b0ae796c31b220b5c057436 07-Jan-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change drop-down log viewers in TKO to use JSONP instead of XmlHttpRequests so they can handle direction to other servers. If you're curious what the hell JSONP is, check out http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=Article_UsingGWTForJSONMashups.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2607 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
utotest/tko/TestDetailView.java
2e9415ff78190fcc6f1c6c9cb6ca5529316b7248 05-Dec-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Preparation for adding a widget to edit job dependencies in the create job view in AFE. I haven't quite finalized how to add the widget so it's not there yet, but this puts the piece in place, and also fixes a bug with job cloning and dependencies.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2547 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/common/ui/DoubleListSelector.java
8ae7d3a68b34bb2791f4206d3b41b1fcc50a0d00 03-Dec-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Add profiler support to the server-side control file generation.

Risk: Low
Visibility: You can use the frontend control file generation for
profilers even with server-side jobs.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2539 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
869806f6a6063d4c5d83eed04ee63419d9ad8226 19-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> When reading machine label values from history, ensure they get stored correctly and used.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2449 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/HeaderSelect.java
e42e0cdf153b5dd47866566cbca3b08771dbad56 14-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix job detail tab to point to the right place for status and debug log links for single-host results.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2420 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
74354f734a1c54c25cddd1c15bf7115d539c51f3 13-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Use quotes instead of underscores in the UI because underscores are ugly.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2412 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostTableDecorator.java
97db5ba6cdee21d706dff3d1a85c354c8bfae6f9 12-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a user preference for showing experimental tests, disabled by default, and add code to obey it in TestSelector.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2406 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/TestSelector.java
utotest/afe/UserPreferencesView.java
43a3d26e49662d06e145ed94a0c2dfb2b455126f 12-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a checkbox 'exclude "only if needed" labels' to host lists in AFE, checked by default in the create job view.
-add exclude_only_if_needed_labels argument to get_hosts() and get_num_hosts() RPCs
-move some code from tko.models.TestViewManager up into model_logic, since AFE now needs it to create a custom join for doing many-valued exclusion



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2405 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
utotest/afe/HostTableDecorator.java
utotest/common/table/CheckboxFilter.java
2bab8f45adedeacbf2d62d37b90255581adc3c7d 12-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Implement sync_count. The primary change here is replacing the job.synch_type field with a synch_count field. There is no longer just a distinction between synchronous and asynchronous jobs. Instead, every job as a synch_count, with synch_count = 1 corresponding to the old concept of synchronous jobs. This required:
-changes to the job creation RPC and corresponding client code in AFE and the CLI
-massive changes to the scheduler to schedule all jobs in groups based on synch_count (this unified the old synch and async code paths)
-changed results directory structure to accomodate synchronous groups, as documented at http://autotest.kernel.org/wiki/SchedulerSpecification, including widespread changes to monitor_db and a change in AFE
-changes to AFE abort code to handle synchronous groups instead of just synchronous jobs
-also got rid of the "synchronizing" field in the jobs table, since I was changing the table anyway and it seems very likely now that that field will never be used

other changes included:
-add some logging to afe/models.py to match what the scheduler code does, since the scheduler is starting to use the models more
-added checks for aborts of synchronous groups to abort_host_queue_entries RPC



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2402 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AbortSynchronousDialog.java
utotest/afe/AfeUtils.java
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/afe/TestSelector.java
utotest/public/AfeClient.html
utotest/public/afeclient.css
51eb7f2424fb18ee15ff8eef8372d2d6a4d5b1e5 11-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Disable test type selector when "edit control file" mode is entered.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2400 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/TestSelector.java
38c7ba581b25be4ceb36105029a295ea05d784a4 27-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Ensure MachineLabelField never has a null labels list.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2340 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/MachineLabelField.java
291476fb2561cbd02d465d763e39686cf4c7a611 27-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Handle null values properly in updateObject(). When it's called from TestGroupDataSource.updateData(), source may be null.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2339 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
0fb9335593fed571e94b9242e4afdaf298153dfe 27-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix two bugs with machine label fields.
-ensure they get completely removed from data structures when they're removed.
-make the swap link work correctly by making selectItems handle MachineLabelHeaders.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2338 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/HeaderSelect.java
71a3c720d13be42da2f35a298fce05bfa560725e 27-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add help link to create job tab and make it stand out.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2336 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/AfeClient.html
f248952e42ea33c34e41a49817e50f98c65c2716 24-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add feature to make spreadsheet header fields from combinations of machine labels. The user can create as many different machine-label-based fields as she wishes. For each field, she can enter a list of labels to be included. The field will then group on each combination of those labels.

-added new HeaderField abstract class with two implementations - SimpleHeaderField for normal fields and MachineLabelField for the new machine label fields
-made HeaderSelect capable of creating MachineLabelFields. In single header mode, selecting "Machine labels..." creates one, and deselecting it destroys it. In multiple header mode, each time "Machine labels..." is selected a new machine labels field is created, and deselecting one destroys it.
-made HeaderSelect display text boxes for each MachineLabelField for the user to input the label list.
-created HeaderSelect.addQueryParameters, moved fixed value logic into it (from SpreadsheetView.java), and put logic for machine label header in it.
-made TestGroupDataSource accept raw query parameters, and updated SpreadsheetDataProcessor to pass it through.
-modified SpreadsheetView to use HeaderFields throughout. Eventually other code (such as TableView) should be made to use them.
-added capability for ConditionTestSet to accept raw condition pieces. Eventually it will only work this way and I'll get rid of the field setting logic, since that's been moved to SimpleHeaderField.
-added ExtendedListBox class containing a bunch of utilities for ListBoxes that I've wanted for a long time. Several other parts of the code (DoubleListSelector, some of the graphing stuff) should be changes to use these utilities eventually.
-added ChangeListener support to DoubleListSelector
-made rpc interface accept a new "machine_label_headers" parameters, and added logic to tko_rpc_utils.py to construct SQL for machine label headers
-modified TestView manager to support a join into host labels



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2331 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
utotest/common/Utils.java
utotest/common/ui/DoubleListSelector.java
utotest/common/ui/ExtendedListBox.java
utotest/tko/ConditionTestSet.java
utotest/tko/HeaderField.java
utotest/tko/HeaderSelect.java
utotest/tko/MachineLabelField.java
utotest/tko/SimpleHeaderField.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestGroupDataSource.java
utotest/tko/TkoUtils.java
0fc3830f17d644bab74bfe38556299f5e58bc0fa 23-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add user preferences for reboot options, including simple user preferences tab which could later be expanded to include more options.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2330 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/CreateJobView.java
utotest/afe/HostTableDecorator.java
utotest/afe/JobListView.java
utotest/afe/UserPreferencesView.java
utotest/common/StaticDataRepository.java
utotest/public/AfeClient.html
utotest/tko/SavedQueriesControl.java
1a9eaa51c52c10953e3d296a7b529126eab2862e 23-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix the test selector in AFE create job view.
-make TestSelector handle null DB values more gracefully
-include a previous change from number -> boolean that got left behind


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2329 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/TestSelector.java
e78760cb696ef36fd1c58fd21a80282255a8ca95 23-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> TableDecorator needs to create a DynamicTableSelectionManager for "select all" to work correctly.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2328 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/SelectionManager.java
utotest/common/table/TableDecorator.java
21baa459ea14f96e06212f1f35fcddab9442b3fc 21-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add options to control reboots before and after a job.

-add reboot_before and reboot_after fields to Job, along with enums for each
-add options to create_job RPC for reboot_before and reboot_after
-add options to job create CLI for these fields, and made job stat -v display them
-add widgets to job create page in AFE for these fields and made job detail view display them

-add dirty field to Hosts, defaulting to True, and set to True when a host is locked
-made scheduler set this field when a job runs and clear it when a host is rebooted

-updated scheduler's PidfileRunMonitor to read a new three-line .autoserv_execute format, where the third line contains the number of tests that failed
-made scheduler Job.run() include a RebootTask before the verify task according to the reboot_before option
-made QueueTask.epilog() launch a RebootTask for each host according to the reboot_after option

-updated autoserv to write out a third line to .autoserv_execute containing the number of failed tests.

Other changes:
-added support for displaying Job.run_verify in the CLI (job stat -v) and job detail page on AFE
-updated ModelExtensions to convert BooleanField values to actual booleans. The MySQL Django backend just leaves them as ints (as they are represented in the DB), and it's stupid and annoying (Yes, bool is a subclass of int, so it's often not a problem. But yes, it can be.).
-get rid of use of Job.synch_count since we don't actually support it. I think this was meant for inclusion in a previous change and got left out.
-made the scheduler use the new setup_django_environment stuff to import and use the django models. It doesn't *really* use the models yet -- it just uses the Job.Reboot{Before,After} enum objects -- but this shows we could easily start using the models, and that's definitely the direction I want to go long term.
-refactored PidfileRunMonitor generally and made it a bit more robust by having it email errors for corrupt pidfiles and continue gracefully, instead of just crashing the scheduler
-changed the way Agent.tick() works. now, it basically runs through as much work as it can in a single call. for example, if there's a RebootTask and a VerifyTask, and the RebootTask has just finished, in a single call it will finish up the RebootTask and start the VerifyTask. this used to take two cycles and that was problematic for cases like this one -- the RebootTask would like to set host.status=Ready, but then the host could get snatched up on the next scheduling round, before the VerifyTask got started. This was sort of solved previously by keeping the HostQueueEntry active, and we could apply that approach here by making a new status for HostQueueEntries like "Rebooting". But I prefer this approach as I think it's more efficient, more powerful and easier to work with.

Risk: extremely high
Visibility: new reboot options for jobs, skip verify now displayed in AFE + CLI

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2308 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/afe/JobStatusDataSource.java
utotest/common/ui/RadioChooser.java
utotest/public/AfeClient.html
utotest/public/afeclient.css
9dbdcda5104991cbf344ea5cba1aa58e1af444f3 14-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add feature to abort individual host queue entries the job detail and host detail pages. Performed a few other cleanups along the way.
-refactor TableActionsPanel, extract separate TableSelectionPanel
-make TableDecorator support a SelectionManager and a TableActionsPanel (or selection panel or other such control) just above the paginator. this makes it really easy to add selection capability, selection checkboxes, and an actions menu to any table.
-refactor TableDecorator in general since it kinda sucked
-change all existing code that does table selection to use the new TableDecorator support. this include job list view, the create job host selector (which now uses the common selection links instead of its old buttons), and tko.TableView.
-add selection support + a bulk abort action to the tables in job detail view and host detail view. this itself was easy given the above refactorings.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2283 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AbortSynchronousDialog.java
utotest/afe/AfeUtils.java
utotest/afe/HostDetailView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/JobStatusDataSource.java
utotest/afe/JobTable.java
utotest/common/table/JSONObjectSet.java
utotest/common/table/SelectionManager.java
utotest/common/table/TableDecorator.java
utotest/common/ui/TableActionsPanel.java
utotest/common/ui/TableSelectionPanel.java
utotest/public/AfeClient.html
utotest/public/TkoClient.html
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
f213eb27c9f5ce24cd60e1f7598624fcd71daa75 08-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix a bug with preserving ordering of group count/status count columns when restoring from history. The old code would always reset these columns to the end of the column list.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2256 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TableView.java
7c199df48dbc7a8200c8a80a163be4613c405cb8 03-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix a couple of little bugs in TKO.
-make sure selected fields get properly referenced by their table to avoid ambiguity errors
-centralize functionality for escaping user SQL - I did this because I was messing around with the code, but ended up leaving it unmodified. But it's better centralized.
-change the way extra_select_fields are passed, to use a dictionary mapping alias to SQL instead of just passing the plain SQL with AS included. This is how Django does it, and it's more safe and correct (in this case, it helps us automatically quote field names properly).
-clean up SQL for completed test count a bit
-replace "escapeQuotes" on client with "escapeSqlValue", which actually does the right thing, and get rid of TODO to this effect. This was causing a bug when trying to drilldown on complex values (like long reasons)



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2235 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/ConditionTestSet.java
8a6eb0cf5777dded2354408e8007d9223e813c92 01-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> add support for showing only the latest test run per cell in spreadsheet mode. this involved some extensive refactorings on both the client and server which then made the actual change quite simple.

Refactorings:
-refactored group querying code in TempManager to be much more general (it's no longer oriented around fetching COUNT(*)). it also now returns dicts instead of raw rows.
-refactored much of the logic from the group-related RPCs into GroupDataProcessor, which now handles almost all the work, again in a more general fashion
-made group RPCs always return a sample test index with each group; this allows the client to drill down to single-test groups without having to make an extra query to get the test index (it also makes the latest test feature easier to implement)
-refactor TestSet to support a new getTestIndex method for single test sets
-added new SingleTestSet class for single test sets, and made TestSet creation code use this instead of ConditionTestSet
-made ConditionTestSet always be for multiple tests
-changed drilldown code to use TestSet.getTestIndex() to avoid making an extra RPC call (in both spreadsheet and table views)
-got rid fo TkoUtils.getTestId, which is no longer needed since test IDs are passed down with the groups

New features:
-added get_latest_tests RPC to get the latest test per group, but still return information in the same format as get_status_counts
-added "show only latest test per cell" to spreadsheet view, made it control the RPC that gets called, and added history support for it

About the get_latest_tests RPC - it uses two rather simple SQL queries and some processing in Python. I tried six different ways of computing this information, some using a single SQL query to do everything and some doing everything in Python, and this approach was by far the fastest.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2216 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CompositeTestSet.java
utotest/tko/ConditionTestSet.java
utotest/tko/SingleTestSet.java
utotest/tko/Spreadsheet.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestContextMenu.java
utotest/tko/TestGroupDataSource.java
utotest/tko/TestSet.java
utotest/tko/TkoUtils.java
989f25dcbb6361218f0f84d1c8404761b4c39d96 01-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> two new major features:

(1) added test and job dependencies
-added M2M relationship between tests and labels and between jobs and labels, for tracking the labels on which a test/job depends
-modified test_importer to read the DEPENDENCIES field and create the right M2M relationships
-modified generate_control_file() RPC to compute and return the union of test dependencies. since generate_control_file now returns four pieces of information, i converted its return type from tuple to dict, and changed clients accordingly.
-modified job creation clients (GWT and CLI) to pass this dependency list to the create_job() RPC
-modified the create_job() RPC to check that hosts satisfy job dependencies, and to create M2M relationships
-modified the scheduler to check dependencies when scheduling jobs
-modified JobDetailView to show a job's dependencies

(2) added "only_if_needed" bit to labels; if true, a machine with this label can only be used if the label is requested (either by job dependencies or by the metahost label)
-added boolean field to Labels
-modified CLI label creation/viewing to support this new field
-made create_job() RPC and scheduler check for hosts with such a label that was not requested, and reject such hosts

also did some slight refactoring of other code in create_job() to simplify it while I was changing things there.

a couple notes:
-an only_if_needed label can be used if either the job depends on the label or it's a metahost for that label. we assume that if the user specifically requests the label in a metahost, then it's OK, even if the job doesn't depend on that label.
-one-time-hosts are assumed to satisfy job dependencies.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2215 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
751f55016802ec9995a3bad3b60d5d017e35dbde 30-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Forgot to add this file, as part of the test attributes filtering patch



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2205 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/WidgetList.java
8c9b839c2f5073a755952a8a865a04db3b2d4547 30-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> add primitive support for fixed header values. fixed headers can be given as a comma- or whitespace-separated list of values. they will serve to both limit to results to the given values (something that could just as well be done with the WHERE clause, but I figured people would want this behavior) + force all given values to be included, even if it causes empty rows.
* add support to GroupDataProcessor + relevant RPCs in Django to support fixed header values, but *only* for single headers (i.e. no composite header support)
* add text box to GWT spreadsheet UI, accessible only in single-header mode. box accepts comma- or whitespace-separated list of values.
* add necessary code to process fixed headers + pass them to server, and to store in history URL



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2204 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
utotest/common/Utils.java
utotest/tko/HeaderSelect.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/TestGroupDataSource.java
11bd063f741c3bcfc59cadfed4abc65686df10ef 30-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> add test attributes to test detail view, in an expandable box


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2202 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/TkoClient.html
utotest/public/tkoclient.css
utotest/tko/TestDetailView.java
e732ee7d450b11261c82df0950fde8e02f839b26 23-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -added capability to have site-specific urlconfs in TKO Django server
-added ClassFactory and SiteClassFactory to autotest.tko package to allow site-specific modifications to TKO. made some changes to the AFE [Site]ClassFactory files (reducing visibility)
-added get_detailed_test_views RPC which includes information about labels and attributes associated with a test
-made changes to model_logic.py to make fewer assumptions about models. these were basically bugs in model_logic.py that weren't exposed until i started doing fancier queries on TKO models.
-made list_objects capable of accepting a field list
-changed JsonRpcProxy to contain base URLs instead of full RPC urls; this way, other components (graphing, jlog) can use them (and i made graphing use this URL, which fixes a bug in the embedded URL generation)
-added RealHyperlink widget to common.ui package, representing a plain old hyperlink to another page (as opposed to Hyperlink and SimpleHyperlink, which are intended to be handling by the GWT code). this eases dynamic updates of the link href and allows setting visibility, styles, and all the other good stuff that comes along with using Widgets.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2191 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/ClassFactory.java
utotest/afe/SiteClassFactory.java
utotest/common/JsonRpcProxy.java
utotest/common/Utils.java
utotest/common/ui/RealHyperlink.java
utotest/public/TkoClient.html
utotest/tko/ClassFactory.java
utotest/tko/GraphingFrontend.java
utotest/tko/SiteClassFactory.java
utotest/tko/SpreadsheetView.java
utotest/tko/TestDetailView.java
utotest/tko/TkoClient.java
utotest/tko/TkoUtils.java
6b5a72c12b84e0e8f15839c641bbc718fe52cbd7 22-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> The new code for building condition strings was potentially buggy when using multiple selection.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2181 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/TkoUtils.java
6e745dbb056debdcc78bd1172644d8081eb4bfbb 22-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Update wiki links to point to new trac thingy.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2179 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/TkoClient.html
64aeecdec485192241e5377b3fa5ac7cf57a0c12 19-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -add feature to filter on test attributes in TKO
-new server arguments "include_attributes_where" and "exclude_attributes_where" for filtering on test attributes
-refactor joining code in TKO models.py to support test attributes joining
-add new UI to CommonPanel.java to filter on test attributes. some of the UI code was written in a general way so that in the future it could be merged with some of the graphing UI code.
-modified TestSets and code that uses them to fix two bugs - first, TestSets didn't contain all the relevant filtering information (only the SQL clause), and second, the SQL clause would build up incorrectly during drilldown



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2177 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
utotest/tko/CommonPanel.java
utotest/tko/CompositeTestSet.java
utotest/tko/ConditionTestSet.java
utotest/tko/MachineQualHistogramFrontend.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestContextMenu.java
utotest/tko/TestLabelManager.java
utotest/tko/TestSet.java
utotest/tko/TkoClient.java
utotest/tko/TkoUtils.java
542e840486b02b5025d26da16f98fed97898a601 19-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added email_list field to front end. On job completion emails on this
list will be notified of the completion. Also the function send_email
in manage_db.py adds the ability to put a delimited email list in
global_settings.py rather than just a single email.

Signed-off-by: Bryce Boe <bboe@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2173 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
ce12f55f4530950f7fc6ddc73d1867ebb954d356 19-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Attached is a large patch for a powerful and flexible new graphing system for new TKO. This system subsumes all the previous kernel graphing scripts under the tko/ directory and is capable of much more. These wiki pages document usage of the new system and give an idea of what it's capable of:

http://autotest.kernel.org/wiki/MetricsPlot
http://autotest.kernel.org/wiki/MachineQualHistograms

Feel free to try it out and please let us know if you run into any trouble.

This system is the work of our summer intern James Ren. Thank you for all your fantastic work, James!

From: James Ren <jamesren@stanford.edu>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2171 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/TkoClient.html
utotest/tko/DBColumnSelector.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/FilterSelector.java
utotest/tko/FilterStringViewer.java
utotest/tko/GraphingFrontend.java
utotest/tko/GraphingView.java
utotest/tko/MachineQualHistogramFrontend.java
utotest/tko/MetricsPlotFrontend.java
utotest/tko/PreconfigSelector.java
utotest/tko/SeriesSelector.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TkoClient.java
f484b97027f3ce357b4f1ae6dbbc98eaebd692da 09-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change the "Wiki" links to point to the new trac page.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2117 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/AfeClient.html
utotest/public/TkoClient.html
d50ffb4b0ef514fb969d53b82e23ab41d4d3812e 04-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -add easy invalidation functionality
-add "show invalidated tests" option to common panel, disabled by default
-made client submit "exclude_labels" option to exclude invalid tests. this required somewhat widespread changes because it means the global condition is no longer just a SQL string but now a collection of parameters
-add "invalidate tests" option to spreadsheet/table context menu, and button to test detail view. it's really just a shortcut to add the "invalidated" label.
-added logic to the server to handle "exclude_labels" option. it was done in this generic way because in the future i plan to add a UI to exclude any label or labels.
-force test label names to be unique
-fix a bug in logic to determine all labels assigned to a set of tests
-got rid of auto-refresh when changing between spreadsheet and table after the condition had changed

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2099 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/SimpleFilter.java
utotest/public/TkoClient.html
utotest/tko/CommonPanel.java
utotest/tko/ConditionTabView.java
utotest/tko/ConditionTestSet.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TestContextMenu.java
utotest/tko/TestLabelManager.java
utotest/tko/TkoUtils.java
945072fbd2a19409649de3afe2074c3f09fe8e0a 03-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change the Clone Job button to show options to keep the specific
metahost assignments.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2090 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
a77e26761e00d50b5dedf1b63fed0c3706f0ddc7 03-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Changed some tabs to spaces in TkoClient.html.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2088 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/TkoClient.html
5b3439bc1bdd2cce58bef49bd2575559b1835275 03-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed copying the control file for a cloned job. A listener was
unexpectedly firing and causing a new (empty) control file to be
generated.

Also changed the order that AfeClient.java clones a job and shows it,
so that the transition appears smoother (does not show the old job, and
then quickly flip to the cloned one).

Risk: low
Visibility: medium (UI bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2087 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/CreateJobView.java
0dc911ab62ab6cca016ad5c28b0c35e86895f588 03-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Prevent adding of blank one-time host. Blank entry or entry preceded
with whitespace will no longer add an empty one-time host.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2086 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
3b8563acf345e8327fb3f0cb4b96869ce55f5080 03-Sep-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change mouse selection events to include ctrl-click and meta-click (which is command-click on the mac and windows-click on windows, but the former is the important one).



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2085 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/ConditionTabView.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
0281350135d1216c722e1d6fb85044f505c2319b 20-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -rewrite most of the label management code to be much more efficient
-ensure label modifications always act on the right set of tests, by ensuring the GWT client uses the right SQL condition



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2017 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/SpreadsheetView.java
21085f22a3c616ff12bf80b997187a00e44f851b 19-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -fix bug with drilldown on null headers
-make spreadsheet view ignore TEST_NA entries

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2012 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
utotest/tko/ConditionTestSet.java
utotest/tko/SpreadsheetView.java
3c0f07d0127913043c2c704a6a374e20b62f6b30 19-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Several small TKO-related bugfixes/improvements:
-include show_incomplete option in afe "new results interface" link
-escape single quotes in history URLs
-reset table view to default when using "view in table" feature from spreadsheet



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2011 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/common/Utils.java
utotest/tko/TableView.java
utotest/tko/TkoClient.java
8579ea343f8d4c74b44d5b5cb2df3ef7552b2f6e 18-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Snazzy new interface for select tests in Create Job view. Tests are now presented in a scrollable table, with descriptions displayed in a resizable pane on the right.
-new TestSelector widget displays table + description
-move some basic input handling from DynamicTable into DataTable, so that plain DataTables can handle clicks
-make DataTable capable of refreshing the widgets in a table without refreshing the entire table - this is useful for updating selections
-pull out the one bit of SelectionManager that depends on DynamicTable (as opposed to DataTable). This is now in DynamicTableSelectionManager, and the orignal SelectionManager can work with a plain DataTable.
-make SelectionManager capable of acting as the TableWidgetFactory for producing row selection checkboxes
-fix a couple minor bugs in (Site)CreateJobView, where some controls (skip verify, custom tests) would not be disabled when they should be
-pull out ArrayDataSource.JSONObjectComparator into a top-level class, so it could be used elsewhere to sort JSONObjects



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2004 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/JobListView.java
utotest/afe/TestSelector.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
utotest/common/table/DynamicTableSelectionManager.java
utotest/common/table/JSONObjectComparator.java
utotest/common/table/SelectionManager.java
utotest/public/AfeClient.html
utotest/public/afeclient.css
bad4f2df9af76d1fb9dafe832fd48b500b71e60e 15-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed removing hosts from a cloned job. Hosts can now be removed correctly.
Also cleaned up some code in the RPC interface method for job cloning.

Risk: low
Visibility: medium (bug fix on Create Job tab)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1997 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
109c915cd87db289bb100559793c72902832815c 15-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -fix bug in spreadsheet view where columns would be misaligned in certain cases. We need to fill the window before matching column widths, because in Firefox filling the window can cause columns to change width.
-fix bug in TKO condition building that would cause a lot of duplication in the condition



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1996 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/CommonPanel.java
utotest/tko/ConditionTestSet.java
utotest/tko/Spreadsheet.java
115fe720d4226d734fb3b7b4ecdc7547c5676ef2 15-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Some AFE/TKO page layout changes:
-shrink the logo and put all links on one line, to reduce wasted space at top of page
-make the set of links the same on both AFE and TKO
-reduce the links to normal-sized font
Also fix the admin interface link from new TKO.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1994 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/public/AfeClient.html
utotest/public/TkoClient.html
utotest/public/afeclient.css
utotest/public/header.png
cc0def989c9154f3ae0b5cfda16aa18c03490683 13-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Make popup stay fixed position, and cleanup related styles


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1980 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/NotifyManager.java
utotest/public/afeclient.css
eb3805f0a7b5c55b9c9d9d2f976966be0bfb23c0 13-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added a hint to the benchmark control in the TKO graphing tab. Hint
instructs user to select a host before the allowed benchmarks will
appear.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1979 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/ExistingGraphsFrontend.java
a3e21058a3d3fabc50dc0e0573a868a644169dc9 12-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Minor performance change. Changing an inner class to be static.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1974 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/tko/SpreadsheetDataProcessor.java
fb0762ed9e6e20c987d0613ffdf4859d14bd720a 08-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> add spinner image during AFE/TKO loading

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1967 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/NotifyManager.java
utotest/public/mbligh_spinner.gif
0c31bc5ef2ecdf8edf19468e1a373520110f5bc6 08-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Make query controls collapsible in spreadsheet and table views. This should help enable better use of screen real estate, especially in spreadsheet view.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1965 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/ElementWidget.java
utotest/common/ui/SimpleHyperlink.java
utotest/common/ui/TabView.java
utotest/public/TkoClient.html
utotest/public/afeclient.css
utotest/tko/CommonPanel.java
utotest/tko/ConditionTabView.java
utotest/tko/SpreadsheetView.java
utotest/tko/TableView.java
utotest/tko/TkoUtils.java
76d9739461e614e04120383294974cc300fafa9d 08-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixing removing metahosts from the selected hosts in Create Job.
Removing metahosts should now work properly.

Risk: low
Visibility: medium (UI bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1961 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostSelector.java
utotest/common/table/ArrayDataSource.java
35444864c7b6f49865a7e17aa0052987b72e4728 08-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Initial checkin of new TKO interface.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1959 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/TkoClient.gwt.xml
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
utotest/public/TkoClient.html
utotest/public/tkoclient.css
utotest/tko/CommonPanel.java
utotest/tko/CompositeTestSet.java
utotest/tko/ConditionTabView.java
utotest/tko/ConditionTestSet.java
utotest/tko/ExistingGraphsFrontend.java
utotest/tko/FragmentedTable.java
utotest/tko/GraphingView.java
utotest/tko/HeaderSelect.java
utotest/tko/SavedQueriesControl.java
utotest/tko/Spreadsheet.java
utotest/tko/SpreadsheetDataProcessor.java
utotest/tko/SpreadsheetSelectionManager.java
utotest/tko/SpreadsheetView.java
utotest/tko/StatusSummary.java
utotest/tko/TableRenderer.java
utotest/tko/TableView.java
utotest/tko/TestContextMenu.java
utotest/tko/TestDetailView.java
utotest/tko/TestGroupDataSource.java
utotest/tko/TestLabelManager.java
utotest/tko/TestSelectionListener.java
utotest/tko/TestSet.java
utotest/tko/TestViewDataSource.java
utotest/tko/TkoClient.java
utotest/tko/TkoUtils.java
f0d4c570c1cf47af108bfc1236112a344ecc9c98 01-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Don't call preventDefault() on normal click events. This was breaking links in tables.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1944 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/RightClickTable.java
091d19411105375c39acae752b698e9feb658e2d 01-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> fix minor bug where detail views would refresh twice in a row


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1943 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/JobDetailView.java
utotest/common/ui/DetailView.java
utotest/common/ui/TabView.java
6a4e444d7b53d4171c0fbf50d442256e56959c55 01-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -add support for "read only" items to DoubleListSelector, to support new TKO features


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1942 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/DoubleListSelector.java
76ce410967787f0a834b1cb85fc4aec9261ac8bc 31-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> refactor RightClickTable to support some work on new TKO



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1940 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/RightClickTable.java
5e2c70db8586bcd4c47fe6e5173357539c84cc57 31-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> couple of changes needed for new TKO:
-make NotifyManager support direct logging
-make DataSource support an onError method



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1938 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/common/table/DataSource.java
utotest/common/table/DynamicTable.java
utotest/common/table/RpcDataSource.java
utotest/common/table/SelectionManager.java
utotest/common/ui/NotifyManager.java
d9992fe7281bdcd9c99f85b1fc89c65131b49c45 31-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Cloning a job now also clones the one-time hosts correctly.

Risk: low
Visibility: medium (UI bug fix)

Signed-off-by: James Ren <jamesren@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1937 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
2f3facb29e220f88cf7b4c4d75f8e272967c21e7 31-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> One-time host control in Create Job now supports comma- and whitespace-
separated lists of hosts.

Risk: low
Visibility: medium (UI functionality change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1936 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
utotest/public/AfeClient.html
6fc841f2c9cb4caf2cf7552950c9ea278b65aea2 31-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed copying the "Skip verify" option when cloning a job.

Risk: low
Visibility: medium (UI bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1935 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
3d9899a76a88cd4dea4cb819b8b9eb2165ede4e0 31-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Provides a mechanism in the UI to choose to skip the verification stage.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1934 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/public/AfeClient.html
1d2ff01b31f1918575a8ba3df30f7e79b97036d3 31-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Changed Select All on Job List tab to select all jobs across all pages.
Added a Select Visible link on Job List tab to select only visible
jobs.

Risk: low
Visibility: medium (UI change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1931 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobListView.java
utotest/common/ui/TableActionsPanel.java
c3afc99304e4d6ada6eaaaa0a1513e408ecca6eb 28-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -move "select visible" logic into SelectionManager from HostSelector
-make JobListView "select all" link only select visible



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1918 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
utotest/afe/JobListView.java
utotest/common/table/SelectionManager.java
a62866be14da66b1d3f061837617eeea8a192aa7 28-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -add test_view_2 with more sensible field names, for use by new TKO. this is intended to replace test_view, but I don't want to modify test_view until old TKO is phased out.
-ensure "loading" popup doesn't get closed too early, especially on initial load
-extend logic for RPC serialization for new TKO



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1916 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/NotifyManager.java
8f5a6fbeb7b7ec58424f0cf0bdbcca0e084e3e34 28-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> use replace instead of replaceAll in common.Utils, since we don't actually need regexps

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1915 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
103690a0d2ebc312711f44882bfa82cba7d97839 25-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> make CustomHistory more robust (and simpler as it turns out)

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1902 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/CustomHistory.java
d7f7ddd04afef56d22ebefc9a13acace4b4f99d6 25-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added a reset button to Create Job. Also reverted the behavior of
refresh on Create Job to original behavior (does not reset form
fields).

Risk: low
Visbility: medium (added UI element)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1901 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/public/AfeClient.html
237ba463f5d03aa26ae88df2c6c265fb1d8b447a 24-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> display timeout in the AFE job details tab

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1892 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/common/ui/DetailView.java
utotest/public/AfeClient.html
353923be210e4c452ecd4e23ccd4e2d1fbebb490 24-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> more changes to history handling needed for new TKO. adds a utility for setting default values in maps, and avoids passing history arguments to TabViews if there is no actual information contained.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1891 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
utotest/common/ui/CustomTabPanel.java
a4c0c00c258e59e5d49552f82d4f25d9e535ed26 24-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Create Job view now resets when refresh is clicked, or user navigates to
it from a different tab.

Risk: low
Visibility: medium (UI behavior change)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1890 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/CreateJobView.java
6eefdea631039525bd76ddda605ccd3a4cb97c5f 24-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed bug in Create Job that did not allow user to deselect a one-time
host after it had been added to the host list.

Risk: low
Visbility: medium (bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1889 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
585c2abb80648f80e7cb649b06dc9f6a8690a790 23-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -fix query_count to support flexible filtering like everything else
-ensure DataTable always escapes HTML in contents, and use whitespace: pre so that newlines can still be included (i.e. in JobTable)




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1882 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobTable.java
utotest/common/table/DataTable.java
utotest/public/afeclient.css
b2f591d75a6739f5d4efdbba0806e88507864b8e 21-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> minor improvement to common.Utils needed for new TKO



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1876 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
ef37eccb66c415fdb6a8fe63244fe8545463719f 21-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> support real right-click events. GWT doesn't support this but will in the next 1.5 RC, but until then, we'll need this hackery to make it work. this is also definitely not cross-browser compatible, but it could be made so if necessary.




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1874 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/DataTable.java
utotest/common/ui/RightClickTable.java
5524adf7fc9d923ac3b6f7e7fa72158a5625460b 21-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -unified code for table actions (select all/none and table-wide actions menu) between AFE and new TKO
-extracted non-TKO-specific code for ContextMenu into common.ui.ContextMenu
-moved TableActionsPanel to common.ui
-made JobListView use TableActionsPanel instead of its old private version of it
-made AfeClient module use standard.css stylesheet, since TableActionsPanel depends on it
-added checkbox to host tables to enable/disable filtering on ACL-accessible hosts, and got rid of now-unnecessary RpcHostTable class



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1873 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/AfeClient.gwt.xml
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/HostTableDecorator.java
utotest/afe/JobListView.java
utotest/afe/RpcHostTable.java
utotest/common/table/FieldFilter.java
utotest/common/ui/ContextMenu.java
utotest/common/ui/TableActionsPanel.java
utotest/public/AfeClient.html
utotest/public/standard.css
8ac29b478ab364b28573791e5f22c73830dda95a 17-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add code to perform a translation on the status field to provide a more informative string for the UI.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1863 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobStatusDataSource.java
9865997a354f669584c1cc3ef210efbdefb9a508 17-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -fixed url redirection for /tko URLs in debug server, to ease development pain
-changed links in job details table a bit (added status log link and changed text)
-change rpc_utils.py to handle datetime.date objects
-various minor changes needed for new TKO



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1861 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/common/Utils.java
utotest/common/table/DataSource.java
utotest/common/table/RpcDataSource.java
utotest/common/ui/SimpleHyperlink.java
77f95db6250c71693f4775bb7b6f8876cb536000 17-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -move log file URL logic to common.Utils
-make retrieve_logs.cgi use Location header instead of Refresh; this works with XmlHttpRequests
-small fix to JsonRpcProxy to show better error data in some cases



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1860 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/common/JsonRpcProxy.java
utotest/common/Utils.java
35dbd8414c0e7022a6a4b54f7ef16b5ff51ae53b 16-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> introduced distinction between clickable and non-clickable widgets in DataTable; this allows read-only widgets that will still generate a row click event when clicked. this was necessary for new TKO development.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1839 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
utotest/afe/JobTable.java
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
14213ec4f4773cec2b2cbd75b0d9516633556ae3 14-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Adding links from each host queue entry on the Job Details page to the
host's debug log.

Risk: low
Visbility: medium (adding links to a page)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1831 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobDetailView.java
9f8a27b21824eb4a0f1c977ead46aea269b66e53 14-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> change DataSource (and subclasses) and DynamicTable to support multi-level sorting (sorting on multiple fields)


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1830 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/afe/HostSelector.java
utotest/afe/JobTable.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/DataSource.java
utotest/common/table/DynamicTable.java
utotest/common/table/RpcDataSource.java
utotest/common/table/SelectionManager.java
3fa9db8b343151474035d7d199c318694d687c4f 11-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> improved selection support for AFE tables


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1813 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/SelectionManager.java
12fbfde376d7748085be73f9f45e46f7d3433590 11-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix some issues from findbugs.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1812 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobListView.java
utotest/afe/JobTable.java
utotest/common/ui/DoubleListSelector.java
6f1593c98487664a6c330a638e6645dc39b4aca3 11-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> some changes to support saved queries for new TKO
-migration to add saved_queries table. this is different from the existing query_history table. this feature is incompatible with the old one and I didn't want to interfere with the old one.
-various modifications to history handling across the board to allow better support for saved queries (the url will show up as just "saved_query=123", without all the extra crap)
-refactoring of apache_auth.py to allow new TKO to use it without using all the Django auth crap


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1810 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/common/CustomHistory.java
utotest/common/ui/CustomTabPanel.java
9d821ab7d97c677a63589e6d71ee3c9da46f7077 11-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Made use of the new Widget functionality in DataTable and added checkboxes to
JobTable. JobListView now makes use of the SelectionManager and its checkboxes
to allow mulitple persistent selection of entries. This required some small
change to the behvavior of SelectionManager -- namely that it no longer
subscribes to the table itsef. This required some change to HostSelector which
acts on HostTable (it now does the listening to the table and calls the
SelectionManager methods directly). Added hyperlinks for "Select All" "DeSelect
All" and "Abort Selected" to the JobListView. Added a new rpc call "abort_jobs"
which takes a list of ids of jobs to abort.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1809 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostSelector.java
utotest/afe/JobListView.java
utotest/afe/JobTable.java
utotest/common/table/DataTable.java
utotest/common/table/SelectionManager.java
utotest/common/table/TableClickWidget.java
utotest/public/AfeClient.html
ca67229c5d9d3d6d5a94164338cedb1db6fc49ca 11-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> rewrite history handling code to support generic storage of keyvals in the history token
-added support to Utils for encoding and decoding keyvals as GET args
-modify TabView and CustomTabPanel to use it for history token handling
-modify existing views that use history to use keyvals instead of the old ad-hoc format


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1807 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobListView.java
utotest/common/Utils.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DetailView.java
utotest/common/ui/TabView.java
1e935f132c1a1d2aad7bad28bfa9d030f5d9393d 11-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -modify django-directives to support multiple Django servers
-modify JsonRpcProxy to support multiple proxies to different URLs
-add AFE RPC get_hqe_percentage_complete to get percentage of HQE's matching some filter that are complete
-ensure user-supplied WHERE conditions have %'s escaped


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1806 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/common/JsonRpcProxy.java
a334a8b203268d4a53dd39130add56874eabd012 11-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> some changes to CustomTabPanel to support a common area between tabs, and a new DoubleListSelector widget. both are used by the new TKO interface.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1805 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DoubleListSelector.java
be751d919fcbcb8ea0aad5e13e6e9485da1c707d 10-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed the behavior of the Create Job page. After creating a job, the
tests checkboxes are now properly reset.

Risk: low
Visibility: medium (changing the behavior of a page)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1800 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
fd875cce6b75d140a62e3b3e257849ca25565ef9 10-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added a link from the Host Detail page to the Verify/Repair logs for
that host.

Risk: low
Visibility: medium (adding a new link)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1799 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/public/AfeClient.html
affe09b5a82a1ec1a6c8f19571e07bb9f901abe0 10-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Narrowing the access modifiers on mutable static fields, to protect
against accidental or intentional modification of the fields' contents.

Note: Apply the "Some additions to autotest.common.Utils..." patch before
applying this one.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1796 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/HostDetailView.java
utotest/afe/HostTable.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/JobTable.java
utotest/common/Utils.java
utotest/common/table/BooleanFilter.java
94b698cacab819b42104ce0db68aa63b68f4d1d1 08-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added the ability to insert widgets into a column of DataTable.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1778 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
utotest/common/table/TableClickWidget.java
a7c7a582e9774aa24a9f608fbb1dfcfb9e59bb0d 08-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Some additions to autotest.common.Utils made during new TKO development


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1777 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/Utils.java
utotest/common/table/SelectionManager.java
7f69e4383fa7be06c28fe54d1a0c834fa1de313a 08-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> small change to StaticDataRepository needed for new TKO development


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1774 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/StaticDataRepository.java
58ea6ae3d686ead56eb0459eadafb6f32a39487a 03-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Small performance tweak. Replaced a keySet iterator followed by a
Map.get with an entrySet iterator.

Risk: low
Visibility: low


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1770 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/JobStatusDataSource.java
b8471e33ed22512001ec4cec8c33fdf01f32eb62 03-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Added a new input that allows used to specify a one-time host when
creating a job. The job will be run against that host once, and the
host will not appear in the "Available hosts" selector.

Risk: medium (deleting records from database)
Visibility: medium (adding an input field)


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1768 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/afe/HostSelector.java
utotest/public/AfeClient.html
a8709c5d47fa6a2dfed0604c187afe86a72587a0 03-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Changing the Requeue Job button to redirect and populate the Create Job
interface so that the user can modify the cloned job.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1766 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/CreateJobView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/public/AfeClient.html
3bb499f74c04acec1f802a531cdfcba8f5ac0164 03-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Adding a timeout field to the "Create Job" tab, modified the create_job
RPC to handle a "timeout" argument, and added a "timeout" column to the
AUTOTEST_WEB database. Sets how long a job should run until it is
automatically aborted.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1765 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/public/AfeClient.html
6bc47015cce0ebc2fc255d3950bfeaf4851f36fd 03-Jul-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Refactoring to eliminate warnings and (slightly) improve performance.
Added @Override annotations, and added parameterizations for generic
collections. Made small performance tweaks.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1761 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/CreateJobView.java
utotest/afe/HostDataSource.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/JobStatusDataSource.java
utotest/afe/JobTable.java
utotest/afe/LabelFilter.java
utotest/common/CustomHistory.java
utotest/common/JSONArrayList.java
utotest/common/JsonRpcProxy.java
utotest/common/StaticDataRepository.java
utotest/common/UnmodifiableSublistView.java
utotest/common/Utils.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/BooleanFilter.java
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
utotest/common/table/FieldFilter.java
utotest/common/table/Filter.java
utotest/common/table/LinkSetFilter.java
utotest/common/table/ListFilter.java
utotest/common/table/MultipleListFilter.java
utotest/common/table/RpcDataSource.java
utotest/common/table/SearchFilter.java
utotest/common/table/SelectionManager.java
utotest/common/table/SimpleFilter.java
utotest/common/ui/DetailView.java
utotest/common/ui/NotifyManager.java
utotest/common/ui/Paginator.java
utotest/common/ui/SimpleHyperlink.java
utotest/common/ui/TabView.java
c9d462b1b48a8cd109308453dd5eb610dd7108cb 28-Jun-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Separating the Labels input field in the Create Job interface;
platforms and other labels are now separate. User can select zero or
one platform, and an unlimited number of other labels.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1748 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeUtils.java
utotest/afe/HostTableDecorator.java
utotest/afe/LabelFilter.java
utotest/common/table/TableDecorator.java
9b53349896f215b44ee0d39e9002da0a4c260554 28-Jun-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> some slight fixes to page refresh logic to make sure history works correctly (ran into issues during new TKO development)



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1747 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/common/table/LinkSetFilter.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/TabView.java
2b9a88bcd336233fa483490892338e29f0a5fa67 13-Jun-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -allow users to select profilers in the create job view
-create profilers table + model
-create RPCs for managing profilers
-modify control file generation code to accept profilers
-modify create job view
-some refactoring to create job view to allow code sharing and do things more cleanly with some sweet generics
-get rid of rpc_utils.sorted. who knew there was a builtin?


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1703 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/CreateJobView.java
utotest/public/AfeClient.html
acdbe3535529a24555d874a8038993c62fd690c2 06-Jun-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -moved StaticDataRepository to autotest.common so new TKO can use it
-moved most logic from AfeClient into CustomTabPanel so new TKO can share it
-converted JsonRpcProxy to use new RequestBuilder in place of deprecated HTTPRequest
-converted JSONArrayList to use generics
-few more leftover changes from GWT reorganization

This CL introduces dependency on GWT 1.5 so you'll need to upgrade before using this. It's a painless upgrade.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1623 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/CreateJobView.java
utotest/afe/HostTableDecorator.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/RpcHostTable.java
utotest/afe/StaticDataRepository.java
utotest/common/JSONArrayList.java
utotest/common/JsonRpcProxy.java
utotest/common/StaticDataRepository.java
utotest/common/ui/CustomTabPanel.java
utotest/public/AfeClient.html
e3f6868dac3b4c4714637d12b93d97823011a35c 05-Jun-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> GWT reorg part 3


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1614 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/AfeClient.gwt.xml
utotest/afe/AfeClient.java
utotest/afe/ClassFactory.java
utotest/afe/CreateJobView.java
utotest/afe/HostDataSource.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/HostTable.java
utotest/afe/HostTableDecorator.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/JobStatusDataSource.java
utotest/afe/JobTable.java
utotest/afe/LabelFilter.java
utotest/afe/RpcHostTable.java
utotest/afe/SiteClassFactory.java
utotest/afe/StaticDataRepository.java
utotest/common/CustomHistory.java
utotest/common/JSONArrayList.java
utotest/common/JsonRpcCallback.java
utotest/common/JsonRpcProxy.java
utotest/common/SimpleCallback.java
utotest/common/UnmodifiableSublistView.java
utotest/common/Utils.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/BooleanFilter.java
utotest/common/table/DataSource.java
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
utotest/common/table/FieldFilter.java
utotest/common/table/Filter.java
utotest/common/table/LinkSetFilter.java
utotest/common/table/ListFilter.java
utotest/common/table/MultipleListFilter.java
utotest/common/table/RpcDataSource.java
utotest/common/table/SearchFilter.java
utotest/common/table/SelectionManager.java
utotest/common/table/SimpleFilter.java
utotest/common/table/TableDecorator.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DetailView.java
utotest/common/ui/ElementWidget.java
utotest/common/ui/NotifyManager.java
utotest/common/ui/Paginator.java
utotest/common/ui/SimpleHyperlink.java
utotest/common/ui/TabView.java
utotest/public/AfeClient.html
utotest/public/ClientMain.html
a2216e7e327b464ac03932b4add2983e9052bc79 05-Jun-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> GWT reorg part 2


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1613 592f7852-d20e-0410-864c-8624ca9c26a4
utotest/afe/AfeClient.java
utotest/afe/AfeUtils.java
utotest/afe/ClientMain.java
utotest/afe/CustomHistory.java
utotest/afe/CustomTabPanel.java
utotest/afe/DetailView.java
utotest/afe/ElementWidget.java
utotest/afe/JSONArrayList.java
utotest/afe/JsonRpcCallback.java
utotest/afe/JsonRpcProxy.java
utotest/afe/NotifyManager.java
utotest/afe/Paginator.java
utotest/afe/SimpleCallback.java
utotest/afe/SimpleHyperlink.java
utotest/afe/TabView.java
utotest/afe/UnmodifiableSublistView.java
utotest/afe/Utils.java
utotest/common/CustomHistory.java
utotest/common/JSONArrayList.java
utotest/common/JsonRpcCallback.java
utotest/common/JsonRpcProxy.java
utotest/common/SimpleCallback.java
utotest/common/UnmodifiableSublistView.java
utotest/common/Utils.java
utotest/common/ui/CustomTabPanel.java
utotest/common/ui/DetailView.java
utotest/common/ui/ElementWidget.java
utotest/common/ui/NotifyManager.java
utotest/common/ui/Paginator.java
utotest/common/ui/SimpleHyperlink.java
utotest/common/ui/TabView.java
ee4baa6495590c14c933f1fafa37d1843bbee996 05-Jun-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> GWT reorg step 1. This is just too difficult to do in one step. This temporarily breaks GWT but we'll just have to accept that. It'll be fixed soon.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1612 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/ClientMain.gwt.xml
feclient/client/ClassFactory.java
feclient/client/ClientMain.java
feclient/client/CreateJobView.java
feclient/client/CustomHistory.java
feclient/client/CustomTabPanel.java
feclient/client/DetailView.java
feclient/client/ElementWidget.java
feclient/client/HostDataSource.java
feclient/client/HostDetailView.java
feclient/client/HostListView.java
feclient/client/HostSelector.java
feclient/client/HostTable.java
feclient/client/HostTableDecorator.java
feclient/client/JSONArrayList.java
feclient/client/JobDetailView.java
feclient/client/JobListView.java
feclient/client/JobStatusDataSource.java
feclient/client/JobTable.java
feclient/client/JsonRpcCallback.java
feclient/client/JsonRpcProxy.java
feclient/client/LabelFilter.java
feclient/client/NotifyManager.java
feclient/client/Paginator.java
feclient/client/RpcHostTable.java
feclient/client/SimpleCallback.java
feclient/client/SimpleHyperlink.java
feclient/client/SiteClassFactory.java
feclient/client/StaticDataRepository.java
feclient/client/TabView.java
feclient/client/UnmodifiableSublistView.java
feclient/client/Utils.java
feclient/client/table/ArrayDataSource.java
feclient/client/table/BooleanFilter.java
feclient/client/table/DataSource.java
feclient/client/table/DataTable.java
feclient/client/table/DynamicTable.java
feclient/client/table/FieldFilter.java
feclient/client/table/Filter.java
feclient/client/table/LinkSetFilter.java
feclient/client/table/ListFilter.java
feclient/client/table/MultipleListFilter.java
feclient/client/table/RpcDataSource.java
feclient/client/table/SearchFilter.java
feclient/client/table/SelectionManager.java
feclient/client/table/SimpleFilter.java
feclient/client/table/TableDecorator.java
feclient/public/ClientMain.html
feclient/public/afeclient.css
feclient/public/arrow_down.png
feclient/public/arrow_up.png
feclient/public/header.png
utotest/AfeClient.gwt.xml
utotest/afe/ClassFactory.java
utotest/afe/ClientMain.java
utotest/afe/CreateJobView.java
utotest/afe/CustomHistory.java
utotest/afe/CustomTabPanel.java
utotest/afe/DetailView.java
utotest/afe/ElementWidget.java
utotest/afe/HostDataSource.java
utotest/afe/HostDetailView.java
utotest/afe/HostListView.java
utotest/afe/HostSelector.java
utotest/afe/HostTable.java
utotest/afe/HostTableDecorator.java
utotest/afe/JSONArrayList.java
utotest/afe/JobDetailView.java
utotest/afe/JobListView.java
utotest/afe/JobStatusDataSource.java
utotest/afe/JobTable.java
utotest/afe/JsonRpcCallback.java
utotest/afe/JsonRpcProxy.java
utotest/afe/LabelFilter.java
utotest/afe/NotifyManager.java
utotest/afe/Paginator.java
utotest/afe/RpcHostTable.java
utotest/afe/SimpleCallback.java
utotest/afe/SimpleHyperlink.java
utotest/afe/SiteClassFactory.java
utotest/afe/StaticDataRepository.java
utotest/afe/TabView.java
utotest/afe/UnmodifiableSublistView.java
utotest/afe/Utils.java
utotest/common/table/ArrayDataSource.java
utotest/common/table/BooleanFilter.java
utotest/common/table/DataSource.java
utotest/common/table/DataTable.java
utotest/common/table/DynamicTable.java
utotest/common/table/FieldFilter.java
utotest/common/table/Filter.java
utotest/common/table/LinkSetFilter.java
utotest/common/table/ListFilter.java
utotest/common/table/MultipleListFilter.java
utotest/common/table/RpcDataSource.java
utotest/common/table/SearchFilter.java
utotest/common/table/SelectionManager.java
utotest/common/table/SimpleFilter.java
utotest/common/table/TableDecorator.java
utotest/public/ClientMain.html
utotest/public/afeclient.css
utotest/public/arrow_down.png
utotest/public/arrow_up.png
utotest/public/header.png
ec82655bfbad989929ac69098b5b8aefaa57ddbf 29-May-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Use Vlad's new brief mode to embed the TKO table into a scrollable panel instead of using an iframe.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1562 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/JobDetailView.java
feclient/public/ClientMain.html
feclient/public/afeclient.css
b22dce9f01eab0caba5ce0bb43bc03c519ea1035 08-May-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> When a user clicks "edit control file", don't actually allow control file editing until we've finished retrieving the new control file. Otherwise, if getting the control file takes time, the user's edits may be overwritten.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1497 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/CreateJobView.java
38e9d78d2a8465973c2e4e07fcdc2b35d87ad27d 01-May-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Provide support for lazily retrieving job logs from an external storage source.

From: Svitlana Tumanova <stumanova@google.com>
Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1478 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/ClientMain.gwt.xml
feclient/client/JobDetailView.java
b8d3424d02cfdc6c3eeda788e3527c5ec50ad8f9 25-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -make get_host_queue_entries return full info on related objects (host + job)
-display said info in job detail + host detail pages



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1469 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/ClientMain.java
feclient/client/HostDataSource.java
feclient/client/HostDetailView.java
feclient/client/HostListView.java
feclient/client/HostTable.java
feclient/client/JobDetailView.java
feclient/client/JobStatusDataSource.java
feclient/client/RpcHostTable.java
feclient/client/Utils.java
feclient/client/table/DataTable.java
feclient/public/ClientMain.html
1c390f85167cfd1c14f9500bb20b05a9e677c0ea 25-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a host detail page showing the job queue for a host.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1468 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/ClientMain.java
feclient/client/DetailView.java
feclient/client/HostDetailView.java
feclient/client/JobDetailView.java
feclient/client/JobHostsTable.java
feclient/client/JobStatusDataSource.java
feclient/client/RpcHostTable.java
feclient/client/Utils.java
feclient/client/table/SimpleFilter.java
feclient/public/ClientMain.html
34dc5fa61c425389f9b931d3970c7556baf44dca 24-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -instead of that stupid job_status RPC, just provide get_host_queue_entries directly.
-improve reporting of metahost entries in web frontend
-fix bugs in models code which didn't surface until I started querying host queue entries
-fix bug with job detail page refreshing



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1464 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/JobDetailView.java
feclient/client/JobHostsTable.java
feclient/client/JobStatusDataSource.java
5fdf7ceb5454af9cc57ffc5463be3614723360b3 24-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> fix host selection UI, which was apparently always broken :(


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1463 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/HostSelector.java
b91c3b91c2629d2408b26d99c3cdd2d8afe20b7d 23-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add support for completed/failed jobs RSS feeds.
From: Ian Lawrence <ext-ian.lawrence@nokia.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1460 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/public/ClientMain.html
48d9020f137f9f161c0a2ecbe4df8fb713baee8b 15-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -some fixes to history handling to fix bug where history wasn't updated on job requeue


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1430 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/ClientMain.java
feclient/client/CustomHistory.java
feclient/client/JobDetailView.java
feclient/client/TabView.java
7f080f62bfe6abf42cb20396f1fce11f0a7b0592 15-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Move some frontend client kernel code for job creation.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1427 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/CreateJobView.java
b5bd2df9c8fd8368601e3508ffcfdc9d15814cdf 10-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Forgot to add files.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1420 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/CustomHistory.java
feclient/client/LabelFilter.java
feclient/client/table/MultipleListFilter.java
8e3aa5e027e28d8fdcb12083e0b30a80767a35cf 08-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -support filtering on multiple labels
-fix problem mostly related to history handling that was causing unnecessary RPCs to be executed



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1414 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/ClientMain.java
feclient/client/HostSelector.java
feclient/client/HostTableDecorator.java
feclient/client/JobListView.java
feclient/client/TabView.java
feclient/client/Utils.java
feclient/client/table/BooleanFilter.java
feclient/client/table/DynamicTable.java
feclient/client/table/FieldFilter.java
feclient/client/table/LinkSetFilter.java
feclient/client/table/ListFilter.java
feclient/client/table/RpcDataSource.java
feclient/client/table/SearchFilter.java
feclient/public/afeclient.css
1c8c2215e525de8813c375e796354f8ffb811a08 03-Apr-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Change all tables to be server-side. This required a lot of work, but I think I ended up cleaning up the frontend code a lot and providing room for more powerful features to be added in the future. It is a huge change though.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1396 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/ClientMain.java
feclient/client/CreateJobView.java
feclient/client/CustomTabPanel.java
feclient/client/DataTable.java
feclient/client/DynamicTable.java
feclient/client/HostListView.java
feclient/client/HostSelector.java
feclient/client/HostTable.java
feclient/client/HostTableDecorator.java
feclient/client/JSONArrayList.java
feclient/client/JobDetailView.java
feclient/client/JobHostsTable.java
feclient/client/JobListView.java
feclient/client/JobStatusDataSource.java
feclient/client/JobTable.java
feclient/client/JsonRpcCallback.java
feclient/client/Paginator.java
feclient/client/RpcHostTable.java
feclient/client/SimpleCallback.java
feclient/client/TabView.java
feclient/client/UnmodifiableSublistView.java
feclient/client/Utils.java
feclient/client/table/ArrayDataSource.java
feclient/client/table/BooleanFilter.java
feclient/client/table/DataSource.java
feclient/client/table/DataTable.java
feclient/client/table/DynamicTable.java
feclient/client/table/FieldFilter.java
feclient/client/table/Filter.java
feclient/client/table/LinkSetFilter.java
feclient/client/table/ListFilter.java
feclient/client/table/RpcDataSource.java
feclient/client/table/SearchFilter.java
feclient/client/table/SelectionManager.java
feclient/client/table/TableDecorator.java
feclient/public/ClientMain.html
feclient/public/afeclient.css
05fb6997f37ad8f62142be3092fc10ddb36433fb 25-Mar-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -On the server, when exceptions occur, pass back a traceback along with the other info
-On the client, added an expandable "error log" box at the bottom. When non-JSON responses are received, show the full response in the log. When exceptions are received, show the traceback in the log.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1361 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/ClientMain.java
feclient/client/JsonRpcCallback.java
feclient/client/JsonRpcProxy.java
feclient/client/NotifyManager.java
feclient/public/ClientMain.html
feclient/public/afeclient.css
c0ddd726e9dc42b17ff740951d394fc0af09194b 13-Mar-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Display and allow filtering on non-platform labels.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1346 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/ClientMain.java
feclient/client/DynamicTable.java
feclient/client/HostTable.java
feclient/client/Utils.java
1385b161fa9391242a2121027878e4943ce3c81f 13-Mar-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> On the frontend, only show hosts to which this user has ACL access.


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1343 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/HostTable.java
1d445e9d9bc140b685b10a9fdd53cb5e92c0883e 12-Mar-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Support kernel install for server-side control files


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1338 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/CreateJobView.java
8fd5824df1310058af6b8b503b800d575ddd3787 10-Mar-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> -associate a synch type with each test in the DB (defaults to asynchronous for all)
-make frontend default to synch type for selected tests, and disable selecting tests of different synch types
-allow synchronous client-side tests


git-svn-id: http://test.kernel.org/svn/autotest/trunk@1322 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/CreateJobView.java
45c64e425d3a785b5e15928e86c1eb57d4c2a2de 07-Mar-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> HostSelector is the widget used in (and only in) CreateJobView to show the HostTable.
We set the default filter for "Locked" status to "No" as we want to run tests on available machines.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1313 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/HostSelector.java
3cab4a71760ef833f9549778f09197d1ffbe724c 06-Mar-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Requeue support for the frontend. Requeue creates and enqueues a copy of the job. Added support to Job model, new RPC method, and new button to job detail page.

Also fixing a little bug involving the is_dead() method.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1305 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/JobDetailView.java
feclient/public/ClientMain.html
d5c95802c1045ca9fa84da18758bd9d44a7e04bf 05-Mar-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Implemented abort functionality in scheduler.

From: Svitlana Tumanova <stumanova@google.com>
Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1293 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/client/JobDetailView.java
e8819cdf80ca0e0602d22551a50f970aa68e108d 15-Feb-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add frontend and scheduler for Autotest

The attached tarball includes the new Autotest web frontend for creating
and monitoring jobs and the new scheduler for executing jobs. We've
been working hard to get these complete and stabilized, and although
they still have a long, long way to go in terms of features, we believe
they are now stable and powerful enough to be useful.

The frontend consists of two parts, the server and the client. The
server is implemented in Python using the Django web framework, and is
contained under frontend/ and frontend/afe. The client is implemented
using Google Web Toolkit and is contained under frontend/client. We
tried to use Dojo initially, as was generally agreed on, but it proved
to be too young and poorly documented of a framework, and developing in
it was just too inefficient.

The scheduler is contained entirely in the scheduler/monitor_db Python
file. It looks at the database used by the web frontend and spawns
autoserv processes to run jobs, monitoring them and recording status.
The scheduler was developed by Paul Turner, who will be sending out some
detailed documentation of it soon.

I've also included the DB migrations code for which I recently submitted
a patch to the mailing list. I've included this code because it is
necessary to create the frontend DB, but it will (hopefully) soon be
part of the SVN repository.

Lastly, there is an apache directory containing configuration files for
running the web server through Apache.

I've put instructions for installing a full Autotest server, including
the web frontend, the scheduler, and the existing "tko" results backend,
at http://test.kernel.org/autotest/AutotestServerInstall. I've also
created a brief guide to using the web frontend, with plenty of
screenshots, at http://test.kernel.org/autotest/WebFrontendHowTo.
Please let me know if you find any problems with either of these pages.

Take a look, try it out, send me comments, complaints, and bugs, and I
hope you find it useful!

Steve Howard, and the rest of the Google Autotest team

From: Steve Howard <showard@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1242 592f7852-d20e-0410-864c-8624ca9c26a4
feclient/ClientMain.gwt.xml
feclient/client/ClassFactory.java
feclient/client/ClientMain.java
feclient/client/CreateJobView.java
feclient/client/DataTable.java
feclient/client/DynamicTable.java
feclient/client/ElementWidget.java
feclient/client/HostListView.java
feclient/client/HostSelector.java
feclient/client/HostTable.java
feclient/client/JobDetailView.java
feclient/client/JobHostsTable.java
feclient/client/JobListView.java
feclient/client/JobTable.java
feclient/client/JsonRpcCallback.java
feclient/client/JsonRpcProxy.java
feclient/client/NotifyManager.java
feclient/client/Paginator.java
feclient/client/SimpleCallback.java
feclient/client/SimpleHyperlink.java
feclient/client/SiteClassFactory.java
feclient/client/StaticDataRepository.java
feclient/client/TabView.java
feclient/client/Utils.java
feclient/public/ClientMain.html
feclient/public/afeclient.css
feclient/public/arrow_down.png
feclient/public/arrow_up.png
feclient/public/header.png