Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
None
-
None
Description
MCS regression tests suite is run over failed System
Regression test suite starts with restating mcs system.On the next step however, Test cases are run over an unsuccessfully restarted system and apparently report fail results
expected : increase restart system timeout and escape the suite if mcs is not in Active State;
check the system status after each test and add the exit System status as second exit test criteria ;
check the system status before each test case and do not start the test if the system is not Active.
in addition 2 exec flows are possible to be implemented:
1. restart the system after each test
2. run all tests consecutively without restarting ; get failure point in case of system failure
and start recovering and continue with next test.
Below: restartSystem Failed : API Failure return in restartSystem API
but test000 was run over.
test test000 failed but the next test test001 is started over not Active mcs system and so on.
[root@cps alltest]# ./go.sh --testcases=test000
|
INSTALLDIR /usr/local/mariadb/columnstore
|
QUERYTSTER_P /usr/local/mariadb/columnstore/mysql
|
MYSQLCNF /usr/local/mariadb/columnstore/mysql/my.cnf
|
MYSQLCMD /usr/local/mariadb/columnstore/mysql/bin/mysql --defaults-file=/usr/local/mariadb/columnstore/mysql/my.cnf -u root
|
CPIMPORTCMD /usr/local/mariadb/columnstore/bin/cpimport
|
WINDOWS false
|
Updating Columnstore.xml settings.
|
restartsystem Wed Dec 12 15:02:59 2018
|
|
System being restarted now ...
|
**** restartSystem Failed : API Failure return in restartSystem API
|
Running test000.sh.
|
000 Create/Load Uncompressed Tables: Failed (Check test000.log for errors) <<<<<<<<<
|
Running test001.sh.
|
^C^Z
|
[1]+ Stopped ./go.sh --testcases=test000
|
|
|
[root@cps alltest]# mcsadmin getsystemi
|
getsysteminfo Wed Dec 12 15:07:21 2018
|
|
System columnstore-1
|
|
System and Module statuses
|
|
Component Status Last Status Change
|
------------ -------------------------- ------------------------
|
System MAN_OFFLINE SHUTDOWN PENDING Wed Dec 12 15:02:59 2018
|
|
Module pm1 MAN_INIT Wed Dec 12 15:02:59 2018
|
|
|
MariaDB ColumnStore Process statuses
|
|
Process Module Status Last Status Change Process ID
|
------------------ ------ --------------- ------------------------ ----------
|
ProcessMonitor pm1 ACTIVE Wed Dec 12 15:03:20 2018 1203
|
ProcessManager pm1 ACTIVE Wed Nov 28 14:36:18 2018 20607
|
DBRMControllerNode pm1 ACTIVE Wed Nov 28 14:47:33 2018 27152
|
ServerMonitor pm1 ACTIVE Wed Nov 28 14:47:35 2018 27176
|
DBRMWorkerNode pm1 ACTIVE Wed Nov 28 14:47:35 2018 27234
|
PrimProc pm1 ACTIVE Wed Nov 28 14:47:39 2018 27276
|
ExeMgr pm1 ACTIVE Wed Nov 28 14:47:43 2018 27380
|
WriteEngineServer pm1 SHUTDOWN_PENDING Wed Nov 28 14:47:47 2018 27449
|
DDLProc pm1 SHUTDOWN_PENDING Wed Nov 28 14:47:51 2018 27520
|
DMLProc pm1 SHUTDOWN_PENDING Wed Nov 28 14:47:55 2018 27598
|
mysqld pm1 ACTIVE Wed Nov 28 14:47:33 2018 27042
|
|
Active Alarm Counts: Critical = 1, Major = 0, Minor = 0, Warning = 0, Info = 0
|
[root@cps alltest]#
|
|