summaryrefslogtreecommitdiffstats
path: root/doctor_tests/scenario
AgeCommit message (Collapse)AuthorFilesLines
2019-09-29use hostname without domain name & fix the `find` command in toxdongwenjuan1-1/+4
Change-Id: I719c46a8b5407b565cf0b6df4cd9b4c95a6a8ce5 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2019-04-09Handle the exception for running the profilerdongwenjuan1-0/+4
Congress as inspector, currently we can't get the vmdown time and hostdown time unless we get the log of congress and extract the times. Change-Id: Ie8b9dff6048040a1f834033c4873c168225e9d8c Signed-off-by: dongwenjuan <dongwenjuan1122@gmail.com>
2019-03-26Support Fenix as admin toolTomi Juvonen1-12/+29
If ADMIN_TOOL_TYPE=fenix we run maintenance testing using Fenix instead of sample implementation. Testing will build Fenix Docker container from latest master and make configuration according to controller host. JIRA: DOCTOR-131 Change-Id: I84c566b7afc3c4e488aeed63b5cf5c75046d1427 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-12-18Bug - Testing in Apex with OpenStack master failsTomi Juvonen2-5/+13
Support yet another path to find config files. Tune config changes to take effect properly for maintenance. transport_url parcing enhanced. Nova reset state to error takes well over 1 second these days and at the end it then sends notification that we use. Only reasonable thing is to send notification straight from the Inspector as it should have been done in the first place. Now we can do 200ms as total time, with just a few millisends actuallly spent on sending the notification. Further one could improve this by having node specific Inspector agent to react even in more Telco grade speed. Change-Id: I787f8e9dd6484842c6c568b15767018d11b36862 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-11-19Support Fenix and sample implementation accordinglyTomi Juvonen1-24/+44
Fenix has now same capability as our sample implementation. We can now support Fenix if manually installed on controllers. Sample implementation should be closer to Fenix as Fenix is the place to define the generic interfaces at the end. JIRA: DOCTOR-131 Change-Id: Ied58b8f469dbcc4bb5caa787e62c1831a211ecd6 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-10-25Merge "Support Apex with services in containers"Tomi Juvonen1-2/+2
2018-10-25Support Apex with services in containersTomi Juvonen1-2/+2
Upstream apex now works in containers, so if used, it needs to be supported JIRA: DOCTOR-130 Change-Id: I3d73a1699e4fee53b001f043f55d0eeefa7bfb7b Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-10-25fix the username to login undercloud in Apexdongwenjuan1-2/+5
Change-Id: I6d5325166db642b3481a0327f518ec821a8ab378 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-09-18run profile even the notification time is larger than 1Sdongwenjuan1-0/+4
Change-Id: Ide5ff5e1c894e3144ac07f14b76b7092539d39f6 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-08-09Add maintenance test codeTomi Juvonen1-7/+96
-Add sample admin_tool -Add sample app_manager -Modify sample inspector JIRA: DOCTOR-106 Change-Id: I52cffecaa88452ce5e7cc6487534c88fcfd378ad Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-08-09Add setup and cleanup for maintenance testTomi Juvonen1-0/+103
JIRA: DOCTOR-106 Change-Id: Idb95e1391e8f9094f68e2c7bc79fd2d7e01af9de Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-08-07enlarge the time of link downdongwenjuan1-1/+1
Change-Id: I063d7ba9b3eb8999cb2b08e7c6deca2644eb169e Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-04-12get 'test_case' option form environment variabledongwenjuan1-1/+4
Get 'test_case' option form environment variable. If no environment variable, use the default value so that we can specify the test case in doctor verify job. Change-Id: I1bc25d024ca56637d779006d685b57254af355a5 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-03-20optimize the fault notification testdongwenjuan3-110/+219
Change-Id: I47572b4515049c49f9aa04bf7984757779a605f3 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-15change test_case optionRyota MIBU1-2/+7
This patch changes the way to specify target test case to be run, 'test_fault_management' --> 'fault_management'. Also, the default is set to 'fault_management'. The reason to this is not to block any other on-going activities for Fraser release. Change-Id: I92305477a84ffa0e703c36d309fbdf97435782aa Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2018-01-12ability to run maintenance testTomi Juvonen1-0/+9
JIRA: DOCTOR-119 Change-Id: I98e556fba30eb7ba244cb9d0d88a9e95c39193ff Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-01-09support pep8 checkdongwenjuan1-14/+21
Change-Id: I3c4358694c57d27a207ae60712c44f717c8895f7 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-10-16fix the bug for consumer don't receive the notificationdongwenjuan1-2/+0
There is no 'sudo' command in functest container, so the stunnel is setup failed. Change-Id: I9e317c0643a370fb5b35d90363b0ff734a77c040 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-10-09fix to get logfiledongwenjuan1-4/+10
Change-Id: I44cc6c5108eb48191ca36cbcb44f787ea542f3ce Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-10-04fix the way to get log filenameRyota MIBU1-4/+1
Change-Id: I9ce494c408c99e1a76a6b485db29a72c3134e487 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-09-26fix the path of log filedongwenjuan1-2/+4
Change-Id: I823bdc453c32decb0160f0915d749af4ac664908 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-09-13fix package path and move files under doctor_testsRyota MIBU3-0/+108
Change-Id: Ibde6a36c43064e5fbea1a0b7a9b49349c343e42f Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>