AgeCommit message (Collapse)Author replace WIFI AP info placeholdersHEADmasterYongqin Liu
add lines to replace the AP_SSID and AP_KEY placeholders in templates in test-plans repository Change-Id: Id2fbce43ddda45fa9bd664ca0cf62bb23bf02770 Signed-off-by: Yongqin Liu <>
2017-06-15add support for QA_REPORTS_TOKENMilosz Wasilewski
Change-Id: I0acaeab80588df631371f89bf05b832aff51bab9 Signed-off-by: Milosz Wasilewski <>
2017-05-26android: update cts test nameVishal Bhoj
Change-Id: I513f3d936bf52b90fd3d29c172a847511b76e2b1 Signed-off-by: Vishal Bhoj <>
2017-05-02replace REFERENCE_BUILD_URL keywordVishal Bhoj
We use prebuilt images for testing with kernel so we will rely on this param for job to submit prebuilt images Change-Id: I6b0a66f4b024633e9121a9cf9fb3a89f0e7c506c Signed-off-by: Vishal Bhoj <>
2017-04-13fix typo: find right gerrit variablesVishal Bhoj
Change-Id: I7d4399f2ca7990826affe970608fad6b29b696e1 Signed-off-by: Vishal Bhoj <> Provide empty string if no gerrit dataVishal Bhoj
Not all jobs are triggered by gerrit trigger, in such case we pass empty string to LAVA job Change-Id: I8a31662e25c0e78ff9cef254b137e3ee454729f1 Signed-off-by: Vishal Bhoj <>
2017-04-12provide right gerrit infoVishal Bhoj
Change-Id: I96803feb4fbdb2779d379a86b35935f183a63d97 Signed-off-by: Vishal Bhoj <>
2017-04-11android: pass gerrit info to LAVA jobVishal Bhoj
Change-Id: I93f65f955a97a8a074af98fcfb328bc68be95351 Signed-off-by: Vishal Bhoj <>
2017-04-07Add ARTIFACTORIAL_TOKEN for publishing with LAVA v2Vishal Bhoj
Change-Id: Ibd117b35b6b98de12099cd7833f5ca015acd2148 Signed-off-by: Vishal Bhoj <>
2017-04-04Inject ART_TOKEN after dumping the job to consoleVishal Bhoj
Change-Id: If1dfc3625bb7b4b783a343bc824d4064ef60c8b2 Signed-off-by: Vishal Bhoj <>
2017-04-04inject ART_TOKENVishal Bhoj
Change-Id: I552fcba8b0b7a54c93cd26d55e1d2c57f6f05fcb Signed-off-by: Vishal Bhoj <>
2016-11-13groovy: simplify lavaJobId extraction on multinode jobsFathi Boudra
Change-Id: I5839c2672ca68f909eb05651728cbc2831ea08b8 Signed-off-by: Fathi Boudra <>
2016-11-13groovy: fix handling of lava v2 jobs in yamlFathi Boudra
lava v2 jobs in yaml don't have a server string and cause the regex to fail. Since the previous regex has already captured the URL, re-use it. Change-Id: I1b62422d0529819b664ab0649f151292024f712e Signed-off-by: Fathi Boudra <>
2016-11-13Merge "post-build-lava: fix KeyError: 'sub_id'"Fathi Boudra
2016-11-13post-build-lava: fix KeyError: 'sub_id'Fathi Boudra
The mapping from sub_id to id must be done explicitly, not just by truncating the sub_id. There is an assumption that the definition is modified to insert the sub_id item. This is no longer possible for the .0 sub job as the "parent" part of the job id is not known at the time the definition is split. The fix for LAVA-765 is relevant to this change. The code prior to LAVA-765 was buggy and sometimes entered the wrong sub_id. The correct place to identify the sub_id is the database, not the generated definition. Sadly, the device role is not stored in the database directly. Once the jon is submitted, retrieve the job_details and parse it to get the lava sub jobs information that we want to display. The output format has slightly changed to show the id, sub_id and role of the sub jobs. e.g. LAVA Sub-Jobs: 1211593:1211593.0:host, 1211594:1211593.1:target Change-Id: I5c7e9dc0b9d18c1e5525b9f1097aab9574852452 Signed-off-by: Fathi Boudra <>
2016-11-03android: remove product map and device typeVishal Bhoj
Now we don't have generic job templates where we insert device type. Each device type has its own test plans so removing all the logic related to device mapping. We have been adding entries in the map recently but we don't use it at all. None of the current test plan templates have DUT_TYPE in them. Change-Id: I0de7ef500221dd84022da8b94e90caf8e3264329 Signed-off-by: Vishal Bhoj <>
2016-11-02Merge "Add x15 lava device type to product map"Fathi Boudra
2016-11-02Add x15 lava device type to product mapVishal Bhoj
Change-Id: I702ca850b8ee3ae8f306a54f01f56e320b817fb1 Signed-off-by: Vishal Bhoj <>
2016-06-16groovy: added missing ART_URL parameterMilosz Wasilewski
ART_URL is mandatory for post-build-reports and has to be set by source build. This patch allows to pass the parameter from source build to post-build-reports. Change-Id: I47629eef6fcadd2b7bc1faf1fa3bfa4808b146f9 Signed-off-by: Milosz Wasilewski <>
2016-06-09groovy: added support for calling post-build-reportsMilosz Wasilewski
The jenkins job needs to define boolean variable SKIP_REPORT that is by default set to true. In this case no other job will be called. The job also needs to add post build action of calling parametrized build in case the file post_build_reports_parameters exists. Change-Id: I0e09c097420b4e7fb97b2af02e7da167ff6052ff Signed-off-by: Milosz Wasilewski <>
2016-06-04post-build-lava: qdd support lava dispatcher v2 YAML jobsRiku Voipio
Support for YAML jobs using CUSTOM_YAML_URL variable. Change-Id: I7f13f432d5bb7fe4ba40d156ee8110cb68acd3eb Signed-off-by: Riku Voipio <>
2016-05-31android: add db410c to product mapVishal Bhoj
Change-Id: If2725f49fa93a8fdda8a9e12afd631ba68187805 Signed-off-by: Vishal Bhoj <>
2016-04-22Print sensible URL for multi-node jobsBernard Ogden
Change-Id: I83e7aaf9396e984d5046f5094448fe669a2e6cba
2016-04-22Fix lava job id value when lava sub jobs are availableFathi Boudra
Change-Id: I32980e1d3f760d9b6cf336005ae22d869bb3afb9 Signed-off-by: Fathi Boudra <>
2015-12-09fix typoVishal Bhoj
Change-Id: Ifc3b0a1881fec64984b210121276056c5b8d7c4c Signed-off-by: Vishal Bhoj <>
2015-12-09android: provide download url in parameters for 96boards jobsVishal Bhoj
Change-Id: I5566e702f66944cb3cbc10abd04f35e337d12b37 Signed-off-by: Vishal Bhoj <>
2015-12-09post-build-lava: android: check for compressed image extensionVishal Bhoj
Adding a parameter to find the right image extension in hikey's case it is .img.xz . Need this for now as android-build generates .img files and images from is .img.xz and we can't have this defined in the template Change-Id: I6e413a1e01ef5c4ac70cb98970b297285a058763 Signed-off-by: Vishal Bhoj <>
2015-11-19Map Hikey device on Android jobs.Vishal Bhoj
Change-Id: I450d852722e9b95b831c15e282fdf8347fc2af32 Signed-off-by: Daniel Díaz <>
2015-11-16Recognize Nexus 5X as a device on Android jobsDaniel Díaz
Change-Id: Iedb12da0702106a47ca594730ef5a9381f593cff Signed-off-by: Daniel Díaz <>
2015-11-16Substitute cache partitions on Android templates.Daniel Díaz
For this, %%ANDROID_CACHE%% will be replaced with the cache image. Change-Id: I0def07f3b4e00c0d7d2e95857d7c93077ee6fef3 Signed-off-by: Daniel Díaz <>
2015-11-16Merge "Add a .gitignore"Fathi Boudra
2015-11-05Add a .gitignoreBernard Ogden
Change-Id: I5165fb408696b46b622e002f12fc47bf0ca236dc
2015-11-05Use https in preference to httpBernard Ogden
Important for LAVA interactions that might transmit authentication or contain other secrets. Last time I checked, the main instance redirects http to https anyway, but that might not be true for all instances, or forever. Probably allows us to validate that we're on the expected server in other cases. Change-Id: I8c4d55c949062224b8eb4e0a2bb4d0f465ebb357
2015-10-08Add support for submitting Android jobsDaniel Díaz
With these changes, it should be possible to use post-build-lava to submit Android jobs as well. A functional change has been introuced: * Add FRONTEND_JOB_NAME env variable, which is used in the download URL. If not defined, it will use the job name as it did previously. Change-Id: I8136ef6f82b3785058dd47e0245f9d1739c58c84 Signed-off-by: Daniel Díaz <>
2015-10-08Dump roles of sub-jobs on multinode jobBernard Ogden
Change-Id: I2a4292d4f5934475e7ba18cd0eaefb196fb1233a Signed-off-by: Bernie Ogden <>
2015-08-21Add .gitreview file for gerritFathi Boudra
Change-Id: I8f5bbb8137de4492060e4f28c683d21c957dc2be Signed-off-by: Fathi Boudra <>
2015-05-09post-build-lava.groovy: support lava job id for multinodeFathi Boudra
Single node jobs are integers. If it isn't an integer, it's a multinode job. Remove non-numeric characters and last character to get the master job. e.g. "['343363.0'" -> "3433630" -> "343363" Signed-off-by: Fathi Boudra <>
2015-05-09post-build-lava.groovy: save build number in the poolFathi Boudra
save post-build-lava build number instead of lava job id. Signed-off-by: Fathi Boudra <>
2015-05-09post-build-lava.groovy: save lava server valueFathi Boudra
* set a default lava server to * save lava server value Signed-off-by: Fathi Boudra <>
2015-04-30post-build-lava.groovy: get lava server from the submitted jobFathi Boudra
some build jobs don't set LAVA_SERVER. Rely on a more deterministic approach: get it from the submitted job Signed-off-by: Fathi Boudra <>
2015-04-30post-build-lava.groovy: fix indentation (4 space)Fathi Boudra
Signed-off-by: Fathi Boudra <>
2015-04-30post-build-lava.groovy: fix hardcoded lava server and include 2 new featuresFathi Boudra
* lava server isn't hardcoded anymore since we submit jobs to: v.l.o, staging.v.l.o and openstack.v.l.o * add LAVA job id and build job url to the current job (needed by check lava status) * update a foreign parameter to store the lava jobs to monitor Signed-off-by: Fathi Boudra <>
2014-12-16Ensure json are orderedFathi Boudra
it's required for custom commands and customize feature. They are ordered. Signed-off-by: Fathi Boudra <>
2014-11-19Update rootfs naming scheme to utopicFathi Boudra
Signed-off-by: Fathi Boudra <>
2014-06-22Add a generic function to get the hwpack typeFathi Boudra
Signed-off-by: Fathi Boudra <>
2014-06-22jtreg: remove tests until we run on hardwareFathi Boudra
Signed-off-by: Fathi Boudra <>
2014-06-22Bump pwrmgmt timeout to 1200Fathi Boudra
Signed-off-by: Fathi Boudra <>
2014-06-22tests: add LTP in the default testsFathi Boudra
Signed-off-by: Fathi Boudra <>
2014-06-22Bump LTP timeout to 3hFathi Boudra
Signed-off-by: Fathi Boudra <>
2014-06-22default tests: re-order network testsFathi Boudra
Signed-off-by: Fathi Boudra <>