summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2016-09-02Remove double slashes when generating the links of the logs in artifact repojose.lausuch1-2/+2
Change-Id: Ia9c3b5765872516640db451ad54f2efab9250082 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-02Generate and print link of the log files pushed to artifactsjose.lausuch1-2/+8
Also, avoid having twice the name of the branch. Change-Id: If6be5e742fa961b2a81015fe76f4ba5e52aeb0ab Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-08-30Merge "Add the function of yardstick testcase reporter"Morgan Richomme12-0/+304
2016-08-27Add the function of yardstick testcase reporterrexlee877612-0/+304
JIRA: YARDSTICK-324 Change-Id: I58969265f88d5c20f46f0b1097f5b0ccb1d9a40d Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-08-25Add colorado reporting for tempest and vimsMorgan Richomme6-180/+190
Change-Id: I978799cd1cd777b5033e55a0146c41865e9c2bf5 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-22adapt reportingMorgan Richomme5-2/+2
- no odl-SFC test reported to DB - add link to scenario scoring wiki page - add +x on executable python files Change-Id: I6724408e3ed5d6a2ba78aff40d80d692c1e0780b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Jenkins connection script needs to be run from $jenkinshomeAric Gardner1-0/+5
Exit if script is run from the wrong directory Change-Id: I693ab65b4439c5b4d3b609e95295fa43e8cd3a58 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-08-17Add parser in automatic reportingMorgan Richomme1-2/+4
Change-Id: I3d9c09b0da471e03647c09e96ca8b7ec89afb300 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Merge "update testapi only with one command"Morgan Richomme3-17/+113
2016-08-16Merge "[compass]:[merge after 18665]rename region name to be unified"mei mei1-1/+0
2016-08-15Merge "Add copper in reporting"Morgan Richomme2-3/+3
2016-08-15[compass]:[merge after 18665]rename region name to be unifiedMatthewLi1-1/+0
JIRA: COMPASS-457 please merge after https://gerrit.opnfv.org/gerrit/#/c/18665/ Change-Id: Ie73017dccc8e203fe14c75702e797cb63f20b462 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-08-15update testapi only with one commandSerenaFeng3-17/+113
when using ansible to do the update, we need to config ansible's hosts file/add ssh_key to ssh_agent/check the connectivity of ansible and playbook...etc, here playbook-update.sh will do all the job automatically JIRA: FUNCTEST-411 Change-Id: Ie635eb9eccd1f4e39a94a352f649e56268744091 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-14Merge "fix requiretty check, use 'sudo -l'"Ryota MIBU1-2/+2
2016-08-12Add copper in reportingMorgan Richomme2-3/+3
JIRA: FUNCTEST-67 Change-Id: I4881b2ba0c20a65567a59fb9fc7645c438a341ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-12Merge "support docker build image during updating testapi"Fatih Degirmenci3-1/+19
2016-08-11fix requiretty check, use 'sudo -l'Ryota MIBU1-2/+2
A normal user doesn't have a right to read /etc/sudoers, so current script won't work if executed by non-root users. This patch replacing the check by geeting config from 'sudo -l' command. Change-Id: I608edabb73761cea0f6199045f1cde2217a34bf3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-10Fix unknown projects in reportingMorgan Richomme3-10/+20
Change-Id: Ia3d21694b8bf5e7131110124a520ecc0b9234509 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-04Merge "[compass] change the cmd of getting endpoint because of ugly warnings"meimei1-4/+2
2016-08-03arm-pod1: Adding arm-pod1 to the list of CI podsPaul Vaduva1-0/+1
Adding arm-pod1 to a list of hardcoded pods, marking it as a CI pod. JIRA: ARMBAND-62 Change-Id: I549cd1a546d1021338922a027f173805a2a8e285 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-08-03[compass] change the cmd of getting endpoint because of ugly warningsmeimei1-4/+2
Change-Id: I5082a6fb3a2d27d17753cf42dc1555cbb3d8eb9a Signed-off-by: meimei <meimei@huawei.com>
2016-07-28support docker build image during updating testapiSerenaFeng3-1/+19
add rm_images.sh script modify README.md add build image operations in update.yml JIRA: FUNCTEST-395 Change-Id: Ia9bd6e8e6d1096b9b946cb5508f4cac5ea6e6e25 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-27update testapi server in testresults.opnfv.orgSerenaFeng3-27/+47
support body of post results carries no trust_indicator add unittest of no trust_indicator in post results body specify changes in db JIRA: FUNCTEST-391 Change-Id: Ic61a5edbad1bca7689d618761bca94ef69dea80b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-26Replace single by double quotes in fetch credentialsjose.lausuch1-1/+1
'fuel --env $env_id' fails because a variable in single quotes is not read, it is treated as a literal string. When using double quotes, the variable is replaced by its value Change-Id: I39e777ec27c547e012d6f4674bc24e20d421889c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-26Use head instead of tailDimitri Mazmanov1-1/+1
When retreiving an environment id use head to get the first available environment Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-07-25Merge "Enable delete for artifact retention script"Aric Gardner1-0/+2
2016-07-25Enable delete for artifact retention scriptAric Gardner1-0/+2
To see what will be deleted: https://build.opnfv.org/ci/view/All/job/artifact-cleanup-daily-master/18/console Checked with ovs team, and we are good to remove their varied rpms. No reponse from the apex, compas, armband or fuel leads, but nothing wierd being deleted there, just old isos Change-Id: If4e7592192dcc80388aa872633d1fcca6442186f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-25Make environment id dynamicDimitri Mazmanov1-1/+8
Removed hardcoded value of fuel environment. The value is now fetched from an environment variable FUEL_ENV. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: Iae8e5139f013ca7947e79a1a9a44efd82f48b95b
2016-07-25Always use controller from environment 1Dimitri Mazmanov1-1/+1
In case of multiregion fuel deployments (which is implemented using fuel environments), always use a controller from the first environment (RegionOne), as for multisite RegionOne is the master region. This fix will not affect single region deployments, because the -env 1 property will result in the same single output. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-07-22Redirect stdout to /dev/null when pushing results to artifactsjose.lausuch1-1/+1
Change-Id: Iafa37838337caf8c196b396f2e94c405629a0e2c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-21Don't fail the build if importing gpg key failsAric Gardner1-3/+3
I prefer that the build succeeds even if the siging fails. once we have the signing working on all pods I will revert this change. Change-Id: Icc5e0a158ccee6e09be9b275d403f5252a473430 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-21enable uploading log from huawei nodesmeimei1-2/+2
Change-Id: Ie69fa1f4493e806a8c357a4cff1f9c51bbfa591e Signed-off-by: meimei <meimei@huawei.com>
2016-07-21Implementation of testcase/pod declaration dashboard for adding tescasesraghavendracharik3-0/+297
JIRA: FUNCTEST-26 Change-Id: Iceb1c54ba8c245d43cc553533fdf4fd3284c7132 Signed-off-by: raghavendracharik <raghavendrachari.kamsali@hpe.com>
2016-07-21[compass] undo uploading test results untill got the credentialmeimei1-1/+3
Change-Id: I0352866f022b9f0ca71e5c6a21126983266d39a9 Signed-off-by: meimei <meimei@huawei.com>
2016-07-20Remove md5 hashes from OPNFV Artifact APITrevor Bramwell1-11/+0
These are not used and irrelevant Change-Id: I742b5c33087749804fb16d1df21b15e7dfe44c4d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-07-18Add support for ubuntu (keep support for centos)Aric Gardner1-7/+24
Compass signing was failing on ubuntu Change-Id: Ieda6cfd67c7b36045b0a30c01a0eb3f0e7165710 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-14Merge "Enable Artifact signing for Compass"Aric Gardner1-0/+1
2016-07-14Merge "fixes for docs-build.sh migration"Aric Gardner1-234/+0
2016-07-13Enable Artifact signing for CompassAric Gardner1-0/+1
The change to gpg_import_key is just so that I could +x it. Change-Id: I647d0586e7c5f653f6c1a479db2b1c75c4620064 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-12auto update of testAPI using ansible-playbookSerenaFeng9-58/+160
rename db related files write ansible file update README.md JIRA: FUNCTEST-360 Change-Id: Ib1a1a5ad846ed003cf90da770d94ceb7c011d39d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-07Need more coffee, I put in the pull path to the executableAric Gardner1-1/+1
Change-Id: I48eb7a57a3f08cb7e00569ab9d76e96a92709b20 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-07Add gsutil to pathAric Gardner1-0/+2
Change-Id: I8d59f267190f997e1d47e1d58c432d3c63337a06 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-07Script needs to be executableAric Gardner1-2/+2
Change-Id: I7559c654580c8131f6180e70475cec1ab12ffbcc Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-07Merge "Add check for Requiretty add timeout"Aric Gardner1-2/+10
2016-07-07Merge "Initial commit of retention script"Morgan Richomme1-0/+37
2016-07-07fixes for docs-build.sh migrationRyota MIBU1-234/+0
JIRA: RELENG-130 See also https://gerrit.opnfv.org/gerrit/16515 . Change-Id: I365ecc4efd6f361f76ec527b4b43fae643f8478b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-07Merge "minor bug fixes"Morgan Richomme2-21/+18
2016-07-07minor bug fixesMorgan Richomme2-21/+18
Change-Id: I8ea8b03559a27374cb387ed9a4f3b0b08364f7ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-07Merge "flake 8 fix + add logger"Morgan Richomme7-124/+208
2016-07-07flake 8 fix + add loggerMorgan Richomme7-124/+208
Change-Id: Ib8fbf0e784b57ea9be824e95fafe68e991b80aab Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>