f53d1269ad7321116eadcb0167d81dbea9bf4bef |
|
19-Jun-2017 |
Dan Shi <dshi@google.com> |
[autotest] Allow control file to specify maximum test results to collect Control file can set an attribute MAX_RESULT_SIZE_KB to specify the maximum test result size to collect. By default, it will be 20MB if `enable_result_throttling` is set to True in global config. BUG=chromium:716218 TEST=unittest, local run dummy tests Change-Id: Ia6b9a04d92ec91179ceb99466b5e9d6a5d1b3ef3 Reviewed-on: https://chromium-review.googlesource.com/540196 Commit-Ready: Dan Shi <dshi@google.com> Tested-by: Dan Shi <dshi@google.com> Reviewed-by: Dan Shi <dshi@google.com>
/external/autotest/client/common_lib/control_data.py
|
f20e17d334c502865757ae3d78c27e4216226bf1 |
|
04-Jan-2017 |
Allen Li <ayatane@chromium.org> |
[autotest] Move parse_tag to its rightful home The parse_tag() method interacts solely with ControlData, yet fate has given it a lonely life with the unloving Suite household to which parse_tag() has no familial connections whatsoever. At long last, parse_tag() is reunited with ControlData. BUG=None TEST=None Change-Id: I76d0a42740c858ceab536aadd1ef932c6efcdaa4 Reviewed-on: https://chromium-review.googlesource.com/424859 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
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>
/external/autotest/client/common_lib/control_data.py
|
cddad39309f750d75f0b08a205ddc02e63ca9b37 |
|
23-Mar-2016 |
Dan Shi <dshi@google.com> |
[autotest] Do not add empty items in set when parsing control file This change is to allow a control file with line: DEPENDENCIES = "" The empty dependency becomes a real dependency string and no host can match that. This change filters out empty items in the DEPENDENCIES setting in control files. BUG=None TEST=local run test ./site_utils/run_suite.py -b veyron_jerry \ -i veyron_jerry-release/R51-8099.0.0 -s hotrod Change-Id: Id65f995beb6182607a22b4f09f7b46eb985b72ec Reviewed-on: https://chromium-review.googlesource.com/334456 Commit-Ready: Dan Shi <dshi@google.com> Tested-by: Dan Shi <dshi@google.com> Reviewed-by: harpreet Grewal <harpreet@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
10439d8e98cd66a96c567031209d8aef7af8eb9d |
|
07-Mar-2016 |
Christopher Wiley <wiley@google.com> |
Pass control file path to ControlData.__init__ This is useful because ControlData uses this string to report warnings in its constructor. BUG=b:27519238 TEST=some scripts I'm writing consume this correctly. Change-Id: Ia5869f5cc62bc4c86e85ce3e4736ef2a938fc4c0 Reviewed-on: https://chromium-review.googlesource.com/331300 Commit-Ready: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
4a1405641c1d26097b1e33435964dd09a6d60487 |
|
08-Mar-2016 |
Christopher Wiley <wiley@google.com> |
Add unittest for merging SUITE and ATTRIBUTES We expect people to use ATTRIBUTES going forward, but we should try to prevent ourselves from unintentially breaking the logic to merge SUITE and ATTRIBUTES. This support allows us to run old snapshots of autotest found in old builds against new infrastructure. Force a stable suite name order to make this test stable. BUG=b:27519238 TEST=unittest passes Change-Id: I9d61310083dfd224c852eaaf6bfab178948b07f1 Reviewed-on: https://chromium-review.googlesource.com/331298 Commit-Ready: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
bfec5927e4bb87506b61cab5db17e501b65bafad |
|
07-Mar-2016 |
Christopher Wiley <wiley@google.com> |
Derive control file SUITES as the union of SUITE and ATTRIBUTES Control files in old builds of Chrome OS will not have an appropriate ATTRIBUTES field set. Therefor we have to merge the information from SUITE and ATTRIBUTES rather than dropping SUITE entirely. BUG=b:27434125 TEST=test_droid correctly runs a test by either of a suite listed only via SUITE or ATTRIBUTES. Change-Id: If68c73f43b7b46094aba23d75fcf73f55d27cfe8 Reviewed-on: https://chromium-review.googlesource.com/331181 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
6a8ac2d2ba35992a71e908ac268b6df24dee37f6 |
|
02-Mar-2016 |
Christopher Wiley <wiley@google.com> |
autotest: derive control file SUITES from ATTRIBUTES Previously, we supported listing test suites for a test in the SUITE variable of a control file. However, since ATTRIBUTES is strictly more useful than suites, use this instead. While here, refactor some validation code out of __init__ to make the function more readable. Once this has landed, we can go through the codebase and remove SUITE= lines, then add SUITE to the list of obsolete variables. BUG=b:27434125 TEST=test_droid correctly runs a test with a suite: attribute and no SUITE line. Change-Id: I5bf873716100460685a2c8239c695b3b58ca8873 Reviewed-on: https://chromium-review.googlesource.com/329980 Commit-Ready: Christopher Wiley <wiley@chromium.org> Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
9e6812115fcc52d762827002f525d0836b2c2003 |
|
19-Sep-2015 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] Tests which not specify any subsystem will have 'subsystem:default' Tests without any subsystem specified will have 'subsystem:default' when read into ControlData object. BUG=chromium:533659 TEST=unittest and test on local autotest with cmd site_utils/run_suite.py --board=peppy --build=peppy-paladin/LATEST --suite_name=suite_attr_wrapper --suite_args="{'attr_filter':'suite:network_nightly and subsystem:default'}" . Change-Id: Ia6e7e668d466e58cdd5e92704029f2d1761d86df Reviewed-on: https://chromium-review.googlesource.com/300732 Commit-Ready: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Dan Shi <dshi@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
13248c5b1b6978647bc8ae040db6b221f488a7e0 |
|
27-Mar-2015 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] Modify control_data.py to parse ATTRIBUTES from control files Modify control_data.py to parse ATTRIBUTES list from control files. Also, add unittest for it. BUG=chromium:470015 TEST=Test on moblab Change-Id: I18c59fed948b76d86b5bde8e22c1a73e5faf93d2 Reviewed-on: https://chromium-review.googlesource.com/262931 Reviewed-by: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org> Commit-Queue: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
ec1d47d85cc83f30631518d8fbb6406036a3ac39 |
|
13-Feb-2015 |
Dan Shi <dshi@chromium.org> |
[autotest] Add support for scheduler to honor require_ssp attribute in control file This CL adds changes to pipe require_ssp attribute in control file to autoserv command. Following are the work flow: 1. The control file parser stores require_ssp attribute value in afe_jobs table. 2. QueueTask compiles command line list, --require-ssp option will be added to the command line list if following conditions are met: a. AUTOSERV/enable_ssp_container in global config is True b. The test is a server-side test c. require_ssp for the job entry is None or True. 3. When agent_task tries to call run method to run the command, it will check if there is any drone supporting server-side packaging first. If no drone is found, the agent task will will run the command in a drone without using server-side packaging. A warning will be posted in the autoserv log. 4. If a drone without SSP supported is assigned to a test requires SSP, the test will be run without ssp. BUG=chromium:453624 TEST=unittest, local test: set AUTOSERV/enable_ssp_container to True in shadow config; Create a job for dummy_PassServer in AFE, check require SSP, confirm the job succeeds but with a warning in the autoserv log. Create a job for dummy_PassServer_nossp in AFE, uncheck require SSP, confirm the job passes without warning in the autoserv log. set AUTOSERV/enable_ssp_container to False in shadow config, restart scheduler. Create a job for dummy_PassServer in AFE, check require SSP, confirm the job succeeds without warning in the autoserv log. also run test_that in local chroot to make sure test_that is not affected. DEPLOY=apache,scheduler, db migrate must be done before push this CL to prod. Change-Id: I02f3d137186676ae570e8380d975a1bcd9ffbb94 Reviewed-on: https://chromium-review.googlesource.com/249841 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>
/external/autotest/client/common_lib/control_data.py
|
4238478cce8e1c0ddd29748be570abba5b6e9fc6 |
|
09-May-2014 |
J. Richard Barnette <jrbarnette@chromium.org> |
Remove support for EXPERIMENTAL tests. With this change, setting EXPERIMENTAL in a control file typically causes an error message. Additionally, the presubmit hook for control files will fail if there is a setting for EXPERIMENTAL. BUG=None TEST=Run dummy suite, test upload with an experimental test Change-Id: Ie83c59321dcc19e51725c79a57799c751ac8f328 Reviewed-on: https://chromium-review.googlesource.com/200112 Tested-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: Dan Shi <dshi@chromium.org> Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
8e4231ad6e828363fc554c7f87c94a27705a3687 |
|
13-May-2014 |
Richard Barnette <jrbarnette@chromium.org> |
Revert "Remove support for EXPERIMENTAL tests." This reverts commit d16217ee78da7f0ffcf5b6fb5e67fdaccfd25264. This change will break testing in prod until we remove references to EXPERIMENTAL from all branch builds. So, we need to go merge to branches before we make this change. Change-Id: Icde22ded9fbb32a7b25b43bae94a079ea609c653 Reviewed-on: https://chromium-review.googlesource.com/199416 Commit-Queue: Richard Barnette <jrbarnette@chromium.org> Tested-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
d16217ee78da7f0ffcf5b6fb5e67fdaccfd25264 |
|
09-May-2014 |
J. Richard Barnette <jrbarnette@chromium.org> |
Remove support for EXPERIMENTAL tests. With this change, setting EXPERIMENTAL in a control file typically causes an error message. Additionally, the presubmit hook for control files will fail if there is a setting for EXPERIMENTAL. BUG=None TEST=Run dummy suite, test upload with an experimental test Change-Id: I328f8416eb84b1b09d848bfc93a2816018f649d9 Reviewed-on: https://chromium-review.googlesource.com/199059 Reviewed-by: Dan Shi <dshi@chromium.org> Tested-by: Richard Barnette <jrbarnette@chromium.org> Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
e3bc24b7b77480d4bb0b1562bb30ea79eff85626 |
|
17-Mar-2014 |
Fang Deng <fdeng@chromium.org> |
[autotest] Dyanamic suite schedule retries Make dynamic schedule a new job for a test that requires retry if the original job failed. Maximum times of retry can be speicified in control file. No retry will be scheduled if a) Job is aborted before it starts. b) Job is not scheduled because dependencies are not satisfied. Major changes: 1) Add a new field 'job_retries' in ControlData 2) Add RetryHandler in suite.py which handles retry state. 3) Suite.wait schedules retry job if necessary. 4) job_status.wait_for_children and wait_for_results are modified so that they can handle newly added jobs properly. 6) Retry feature can be enabled/disabled at suite level by passing job_retry=True/False to dynamic_suite.reimage_and_run. 7) Added unittests for job retry. This is a part of the implemenation of test retry. CQ-DEPEND=CL:191002 TEST=unittests; dummy_suite runs ok with both run_suite and test_that. And integration test as following 1) cherry-pick cl 188365, 191002 2) Add "JOB_RETRIES=2" to dummy_Fail/control and dummy_Pass/control. Create a trybot image that has the change. 3) run_suite.py -b lumpy -s dummy -i trybot-lumpy-release/R35-5653.0.0-b1948 4) Observe that dummy_Fail is retried twice, and 'invalid' and 'invalidates_job_id' are properly set in tko_tests. Observe that dummy_Pass is not retried. 5) Test the same flow but dependencies are not satisfied Observed no retry was scheduled 6) Test the same flow but abandon dummy_Fail from frontend before the job started. Observed no retry was scheduled. And test for bug filing: 1) Test bug is filed as normal when no retry is needed 2) Test bug is filed for the last retry job if retry is needed BUG=chromium:348677 Change-Id: I80878ce959948ae51b759c2c58632f9de4d8b035 Reviewed-on: https://chromium-review.googlesource.com/190585 Reviewed-by: Fang Deng <fdeng@chromium.org> Commit-Queue: Fang Deng <fdeng@chromium.org> Tested-by: Fang Deng <fdeng@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
ee70731b31f66ecf8043b9fa6d1f86a52753a22f |
|
31-Mar-2014 |
Prashanth B <beeps@google.com> |
[autotet] Pipe bug_template through control data. Teach the control file parser to understand a new type of control file variable, the bug template. BUG=chromium:310859 TEST=Ran a suite and verified that control_data is available in dynamic_suites. Change-Id: I91be1ff9b7f9771ec26f734f70386e7f7f8a3c2c Reviewed-on: https://chromium-review.googlesource.com/192534 Tested-by: Prashanth B <beeps@chromium.org> Reviewed-by: Dan Shi <dshi@chromium.org> Reviewed-by: Alex Miller <milleral@chromium.org> Commit-Queue: Prashanth B <beeps@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
89d5d21ec72e55ca0ca9e50d488210e2c5bb34e7 |
|
21-May-2013 |
J. Richard Barnette <jrbarnette@chromium.org> |
Suppress deprecation warnings from control_data.py. The control_data module imports the deprecated `compiler` module. Although by default Python doesn't report deprecation warnings, Autotest explicitly chooses to log all warnings, including DeprecationWarning exceptions. The warning is spamming multiple logs, and also shows up on the output of various autotest command-line tools (e.g. `atest`). This is a point fix to suppress the warning; it doesn't address the underlying issue. BUG=chromium:243906 TEST=run 'atest' on a local autotest instance Change-Id: I7e1eed2f84ea506f96b8f7894f07519bdaad9d51 Reviewed-on: https://gerrit.chromium.org/gerrit/56090 Reviewed-by: Richard Barnette <jrbarnette@chromium.org> Tested-by: Richard Barnette <jrbarnette@chromium.org> Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
3dd8beb386f7298ffe84d7410d00cce26973e170 |
|
14-May-2013 |
Aviv Keshet <akeshet@chromium.org> |
[autotest] make a consistent CONTROL_TYPE enum across the codebase Prior to this CL, there were a multitude of duplicate defitions of the two control files types (Client or Server), incluiding a difference between the afe Job model (1 = Server) and the afe Test model (1 = Client). This CL introduces enums CONTROL_TYPE and CONTROL_TYPE_NAMES to control_data, to act as the central and consistent defition across the codebase. In order to avoid needing to mangle the running Jobs table, we have adopted the existing Job model convention (1 = Server); the Test table will be re-written with the new consistent convention during test import. BUG=chromium:240643 TEST=All existing unit tests pass; In local autotest without this patch applied, started a suite. Halfway through suite, applied this patch, ran test importer, restarted apache, and restarted scheduler. Suite finished successfully. Verified manually that Client/Server type control files show up correctly in afe Create Job view. DEPLOY=scheduler DEPLOY=apache DEPLOY=test_importer Change-Id: Ia5b2573e1d08d96b3826f2837903ef407dcae303 Reviewed-on: https://gerrit.chromium.org/gerrit/51191 Commit-Queue: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org> Tested-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
6f455262ded933c1699fea410a9ddaf967df6330 |
|
02-Mar-2013 |
Aviv Keshet <akeshet@chromium.org> |
[autotest] Parse RETRIES from control files Parse the RETRIES variable from control files and insert into job/test databased entry. This happens in suite.py before creation of suite sub-jobs, and in test_importer when importing new tests into afe_autotests database. BUG=chromium-os:37158 TEST=unit. Ran utils/test_importer.py and verified that 2 tests name flaky_test both had test_retry imported correctly with value 2 (in afe_autotests table). Kicked off a dummyflake suite and verified that its sub jobs were created with test_retry=2. Change-Id: I93eb0f4581120082a82c46b2be98286ede248c94 Reviewed-on: https://gerrit.chromium.org/gerrit/44435 Tested-by: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Alex Miller <milleral@chromium.org> Commit-Queue: Scott Zawalski <scottz@chromium.org> Reviewed-by: Scott Zawalski <scottz@chromium.org> Tested-by: Scott Zawalski <scottz@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
ef5b53f9c7fe279a7b89f9e9c731e7c1ea523d92 |
|
22-Jan-2013 |
Dan Shi <dshi@google.com> |
[Autotest] Schedule tests with a longer TIME first in dynamic_suite Order tests based on the Time setting in control file to schedule test with longer TIME setting, e.g. LENGTHY, to run first. BUG=chromium-os:33307 TEST=run unit test control_data_unittest.py and suite_unittest.py, run_suite on 'graphics' suite. Change-Id: I07fed6fccd9baff8f7655259cedde97b6892f8a0 Reviewed-on: https://gerrit.chromium.org/gerrit/41766 Commit-Queue: Dan Shi <dshi@chromium.org> Reviewed-by: Dan Shi <dshi@chromium.org> Tested-by: Dan Shi <dshi@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
cbf1b78a34dd2ae12faee3595870af80ef1da28b |
|
26-Nov-2012 |
Scott Zawalski <scottz@google.com> |
Add fast and lengthy to control_data.py for the TIME variable. In the Autotest Best Practices doc we added two new TIME options, fast and lenghty, with this change we no longer mark them as invalid options. BUG=None TEST=control_data_unittest.py Change-Id: I68545c7c30a0ded6badc4480bbdf62d38cb4c17b Reviewed-on: https://gerrit.chromium.org/gerrit/38649 Tested-by: Scott Zawalski <scottz@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Ready: Scott Zawalski <scottz@chromium.org> Reviewed-by: Scott Zawalski <scottz@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
8ad52b6b61905f9f6b05af76e9607cdd29c038d0 |
|
29-Oct-2012 |
Scott Zawalski <scottz@google.com> |
Make TEST_CLASS and TEST_CATEGORY Optional. TEST=control_data_unittest.py/actual import. BUG=None Change-Id: Ib75498f650d43b2c0a3caddf50fe0d903b3677dc Reviewed-on: https://gerrit.chromium.org/gerrit/36774 Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Ready: Scott Zawalski <scottz@chromium.org> Reviewed-by: Scott Zawalski <scottz@chromium.org> Tested-by: Scott Zawalski <scottz@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
6fed646ae4c833b537ea24b6161b81e0f50c0e32 |
|
21-Oct-2011 |
Chris Masone <cmasone@chromium.org> |
[autotest] Create a dynamic bvt suite control file Adds the dynamic_suite module, uses it to create a dynamic bvt suite. BUG=chromium-os:21953 TEST=./server/autoserv test_suites/control.dummy TEST=./server/autoserv test_suites/control.bvt Change-Id: Ib6713a5f382665c3e51e54a8c290cb1d1669e258 Reviewed-on: https://gerrit.chromium.org/gerrit/10454 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Scott Zawalski <scottz@chromium.org> Commit-Ready: Chris Masone <cmasone@chromium.org>
/external/autotest/client/common_lib/control_data.py
|
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
/external/autotest/client/common_lib/control_data.py
|
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
/external/autotest/client/common_lib/control_data.py
|
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
/external/autotest/client/common_lib/control_data.py
|
d3e8a3bf27615ef88c80efdf7b3dcbf52c30f071 |
|
23-Dec-2010 |
Eric Li <ericli@google.com> |
Add support to import in parameterized test. Also add a dummy parameterized test case for future reference. Change-Id: Ib71ee181d38300bd39d8e40022ba6bcc9b9b8583 BUG= TEST=run utils/site_test_importer.sh, then login to database select * from afe_test_parameters; Review URL: http://codereview.chromium.org/6033003
/external/autotest/client/common_lib/control_data.py
|
3abbceee9421805bed8f5c2c6c6abb9299b32cbf |
|
11-Jul-2009 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
For files that won't be directly executed, the #! is unneccessary and can confuse some tools that attempt to detect what the file is. Best to just not have them there. Signed-off-by: Jesse Keating <jkeating@redhat.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3407 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/control_data.py
|
4b5c31e1821307b880b57a41f6d8ea21948fc9e8 |
|
11-Jul-2009 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
* update documentation in test_importer * ensure test_importer always works with absolute paths. this is important since it uses paths to identify tests in the DB. * fix control_data.parse_control() to raise an exception instead of sys.exit()ing upon SyntaxError Signed-off-by: Steve Howard <showard@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3404 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/control_data.py
|
d7cd983031fc77a247d022aef67b481892681ddc |
|
02-Oct-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Update control_data to be more verbose about which file it failed to parse Added syntax error check that prints file and line when an error is found Risk: Low Visibility: Errors that just said 'Your control file don't have the proper variables' now actually specifies which file is at fault Signed-off-by: Scott Zawalski <scottz@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@2223 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/control_data.py
|
187f6a5a7f46ee59e88442ab881a111c566cf1cb |
|
24-Jul-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Get rid of a debug print statement. Signed-off-by: Jeremy Orlow <jorlow@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1886 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/control_data.py
|
93f4209487841147d8fae40ce28beb310663b77a |
|
18-Jul-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Make control_data handle int's and other types. This feature saves us from editing lots of control files that are currently broken...and is nicer anyway. Risk: Low Visibility: Low Signed-off-by: Jeremy Orlow <jorlow@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1872 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/control_data.py
|
99c2c6f54e962fe4e7701cd9aaa645fdabacd203 |
|
11-Jul-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
These files go into client/common_lib/ Signed-off-by: Jeremy Orlow <jorlow@google.com> Add a library for parsing control file variables (those things in all caps at the top of all control files). This library will soon be used for populating the web front end. git-svn-id: http://test.kernel.org/svn/autotest/trunk@1817 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/control_data.py
|