[MCOL-2019] MCS regression tests suite is run over failed System Created: 2018-12-12  Updated: 2022-11-05  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: CI
Affects Version/s: None
Fix Version/s: Icebox

Type: Task Priority: Major
Reporter: Zdravelina Sokolovska (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: 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]#



 Comments   
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

Generated at Thu Feb 08 02:33:06 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.