summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2016-07-06I had a hanging done...Aric Gardner1-1/+0
Change-Id: I0cba3a8e4e85c22e5cebf3085b249c6ec8ebbbe0 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06gsutil was not in pathAric Gardner1-0/+2
Change-Id: Ieaf81a93e9b7a8a0e582f93e8a1bd7faa737af46 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06Initial commit of retention scriptAric Gardner1-0/+37
Includes job to kick off retention script Retention script will just list files, nothing is done at this time does not yet dive into the brahmaputra directories. Change-Id: I2e608262130326944880b9694fbb8d6a12c09be0 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06Testing signing artifactsAric Gardner1-0/+25
gpg agent does not work in non interactive mode. merging this so that I can reproduce and debug Change-Id: I641e8988885aa2d0acf794c9ec7592cb6c90a3e9 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06Merge "Add a put result method to modify trust_indicator"Morgan Richomme7-38/+150
2016-07-06Add a put result method to modify trust_indicatorSerenaFeng7-38/+150
update trust_indicator date model add update trust_indicator method add unittest add swagger information JIRA: FUNCTEST-309 Change-Id: Ibb05efbe008aa7fd4dccb27452d8f5dbf541b8f2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-06[functest] Upload the specified version of the directorymeimei1-1/+1
Change-Id: Ia185feab00336c35888e1e7b3ff6cd71077e30f8 Signed-off-by: meimei <meimei@huawei.com>
2016-07-05Merge "This will enable artifact signing for apex uploads"Aric Gardner1-0/+42
2016-07-05This will enable artifact signing for apex uploadsAric Gardner1-0/+42
sources gpg_import_key.sh which: -installs gpg2 -imports key -grabs proper key based on $NODE_NAME only tries to sign if the key is correctly imported otherwise it will skip signing and just do the upload Keys have only been created for lf intel and ericsson labs Keys are only unique per company Master pubkey has not been sent to the key server Or brought into the web of trust. Lets see that this works as I expected rather than having to go through the pain of revoking these keys. Change-Id: Ifa4bc4e11407c53f8174f6c64945949bf66d6535 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-05fix bug + introduction of blacklist for scenario scoringMorgan Richomme3-42/+71
Change-Id: Ib1a99cbeeb66d4c51eedb56d25d317b92602d51d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-05dockerize testAPISerenaFeng3-0/+72
running testAPI in a docker container JIRA: FUNCTEST-352 Change-Id: I93d7bae847da4c6527d9907611108b79cb0cc31b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-02using ProjectUpdateRequest when update projects record in testAPISerenaFeng1-2/+2
ProjectCreateRequest -> ProjectUpdateRequest JIRA: FUNCTEST-344 Change-Id: I714bef8bd6c2e98b82dfd37ee71dea56967e8552 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-01Merge "correct swagger description of last in testAPI"Morgan Richomme1-1/+1
2016-07-01Merge "Add huawei-pod2 and huawei virtual pod as CI POD"Morgan Richomme1-1/+1
2016-07-01correct swagger description of last in testAPISerenaFeng1-1/+1
last days => last records stored until now JIRA: FUNCTEST-341 Change-Id: I59e7b73e0a5c575d65cd0aced99fc53c13906709 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-30delete 'description' of 'Result' in testAPISerenaFeng1-3/+0
delete description assignments JIRA: FUNCTEST-339 Change-Id: I913baa8cd5bd692fa1edd74bb89c79d767374884 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-30Add check for Requiretty add timeoutAric Gardner1-2/+10
if tty is requried monit fails, this will alert the user of this issue if the wget takes to long monit panics and restart the process Change-Id: Idf40a6150d1c87ec1b4b6652ace85680c6edb4fc Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-06-30Add huawei-pod2 and huawei virtual pod as CI PODMorgan Richomme1-1/+1
Change-Id: Id1df2534811db42c40de6212113baabad6aa864d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-30add log info when publish json to elasticsearch failedSerenaFeng2-2/+9
add logger.info when publish failed JIRA: FUNCTEST-325 Change-Id: I353001c4305af31dd725e0977ced53d52ba79470 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-24change version to scenarioboucherv1-3/+4
Change-Id: I0942e9c8f23e886d6a6e344fa1fd1c24c1cd3f4b Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-24Merge "bugfix: correct the post response body of PODS in testAPI"Morgan Richomme2-1/+2
2016-06-24Merge "bugfix: correct the projects post response body in testAPI"Morgan Richomme1-1/+1
2016-06-24Merge "bugfix: correct the testcases post response body in testAPI"Morgan Richomme1-1/+1
2016-06-24Merge "bugfix: correct the results post response body in testAPI"Morgan Richomme1-1/+1
2016-06-23introduced fixes for changes in database for ColoradoJuraj Linkes4-100/+115
Change-Id: Ib6196d7da8701f9c799cabfaa0c57c97e2edb631 Signed-off-by: Juraj Linkes <jlinkes@cisco.com>
2016-06-21bugfix: correct the results post response body in testAPISerenaFeng1-1/+1
change response class from Result to CreateResponse JIRA: FUNCTEST: FUNCTEST-330 Change-Id: Ibc3ebdacaa7b85e4b4a53d459888440b47073d18 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the testcases post response body in testAPISerenaFeng1-1/+1
correct response class from Testcase to CreateResponse JIRA: FUNCTEST-329 Change-Id: I2496585d55df6f557ffafe11c594247d3947eb06 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the projects post response body in testAPISerenaFeng1-1/+1
change response class from Project to CreateResponse JIRA: FUNCTEST-328 Change-Id: I26d05b71251417b41701136d9c6bc786ba51393c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the post response body of PODS in testAPISerenaFeng2-1/+2
mark CreateResponse as a swagger.model change response class of post pods to L{CreateResponse} JIRA: FUNCTEST-326 Change-Id: I031350bb434e26e33d55c92ace548a2ae1c82f3e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-20Fix to correct IP address logic in previous changeStefan K. Berg1-1/+2
Commit 622002bea0a0eda42e9a76d14af4bdff47c692d6 is breaking the Fuel Yardstick testing, this is an emergency fix. The change introduced spaces in the controller_ip address, breaking later ssh and scp commands! Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> Change-Id: Ied329103a3568c523ec8ab16a7df5a4763ec14b3
2016-06-18Change IP parsing to not depend on spaces in namesStanislaw Kardach1-1/+1
Prior method of extracting the controller IP was relying on the fact that default node names have spaces in them and hence generate 9 fields before the IP address. This change proposes to change awk tokenizing to divide string by column separator in `fuel node` output. Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
2016-06-17Bug fix on test name after name alignementMorgan Richomme2-3/+2
JIRA: FUNCTEST-304 Change-Id: Ie854b677003350a65e90279222ceb281d2f5b18c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-17fiw bug: DB and config test name alignmentMorgan Richomme1-1/+1
JIRA: FUNCTEST-304 Change-Id: I84f16d1d9be5f4cfd603ce0a27a46c4450a273e8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-17bugfix: start test timeboucherv2-3/+3
Change-Id: Ie916cc77373cbfae6e189ffeb1153400b2cc6f67 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-17Merge "adapt mong_to_elasticsearch.py to testAPI"Morgan Richomme1-3/+3
2016-06-17bugfix: adapt mongorestore to work in mongodb 3.0 and aboveSerenaFeng1-1/+1
mongorestore --db db must be specified JIRA: FUNCTEST-322 Change-Id: Idfbc99f23735f8871f29bb0e5e0240d47a7877bb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-17Merge "bugfix: _convert_duration error when encounter ':00:00.078149'"Morgan Richomme1-0/+7
2016-06-17Merge "bugfix: parse testcase failed when encounter {u'result': u''}"Morgan Richomme1-6/+10
2016-06-17Merge "bugfix: wrong function call of publish_json in kibana scripts"Morgan Richomme1-1/+1
2016-06-17adapt mong_to_elasticsearch.py to testAPISerenaFeng1-3/+3
change test_results to results in the url JIRA: FUNCTEST-321 Change-Id: I5621ec48ac0cfd6239a07fcd0b83b5418a1ed5f4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>