Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kvalobs:kvoss:system:qc2:test:slv32 [2010-09-26 22:46:30] paule |
kvalobs:kvoss:system:qc2:test:slv32 [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ====== Communication Tests ====== | ||
+ | |||
+ | Looking up object in CORBA nameservice: | ||
+ | Data input by kvQc2: | ||
+ | |||
+ | < | ||
+ | -- ProcessUnitT Writing Data -6.4 17850 2010-11-25 9:0:0 | ||
+ | </ | ||
+ | |||
+ | Corresponding signal in kvServiced.log | ||
+ | |||
+ | < | ||
+ | 20101125201847: | ||
+ | --------------- Closing the database connection! | ||
+ | 20101125202116: | ||
+ | --------------- New data from < | ||
+ | 20101125202116: | ||
+ | --------------- New database connection (PostgreSQL) created! | ||
+ | 20101125202116: | ||
+ | --------------- Created a new connection to the database! | ||
+ | 20101125202116: | ||
+ | --------------- DataReady received from <> (Unknown)! | ||
+ | 20101125202116: | ||
+ | --------------- CALL DataSubscribers: | ||
+ | 20101125202116: | ||
+ | --------------- called ... | ||
+ | 20101125202116: | ||
+ | --------------- isMaxClientReached: | ||
+ | 20101125202116: | ||
+ | --------------- New database connection (PostgreSQL) created! | ||
+ | 20101125202116: | ||
+ | --------------- next: called ... | ||
+ | 20101125202116: | ||
+ | --------------- stationid: 17850 currentEndTime: | ||
+ | 20101125202116: | ||
+ | --------------- select(17850, | ||
+ | 20101125202116: | ||
+ | --------------- data: nElements=77 | ||
+ | 20101125202116: | ||
+ | --------------- textData: nElements=0 | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[0].dataList.length()=9 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[1].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[2].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[3].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[4].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[5].dataList.length()=8 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[6].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[7].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[8].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[9].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[10].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList-> | ||
+ | 20101125202116: | ||
+ | --------------- text_data: | ||
+ | 20101125202116: | ||
+ | --------------- No < | ||
+ | 20101125202116: | ||
+ | --------------- next: called ... | ||
+ | 20101125202116: | ||
+ | --------------- stationid: 17850 currentEndTime: | ||
+ | 20101125202116: | ||
+ | --------------- select(17850, | ||
+ | 20101125202116: | ||
+ | --------------- data: nElements=52 | ||
+ | 20101125202116: | ||
+ | --------------- textData: nElements=0 | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[0].dataList.length()=10 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[1].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[2].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[3].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[4].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[5].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList[6].dataList.length()=6 | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList-> | ||
+ | 20101125202116: | ||
+ | --------------- text_data: | ||
+ | 20101125202116: | ||
+ | --------------- No < | ||
+ | 20101125202116: | ||
+ | --------------- next: called ... | ||
+ | 20101125202116: | ||
+ | --------------- stationid: 17850 currentEndTime: | ||
+ | 20101125202116: | ||
+ | --------------- select(17850, | ||
+ | 20101125202116: | ||
+ | --------------- data: nElements=0 | ||
+ | 20101125202116: | ||
+ | --------------- textData: nElements=0 | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- next: End of data reached (return false)! | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- called ... | ||
+ | 20101125202116: | ||
+ | --------------- isMaxClientReached: | ||
+ | 20101125202116: | ||
+ | --------------- New database connection (PostgreSQL) created! | ||
+ | 20101125202116: | ||
+ | --------------- next: called ... | ||
+ | 20101125202116: | ||
+ | --------------- stationid: 17850 currentEndTime: | ||
+ | 20101125202116: | ||
+ | --------------- select(17850, | ||
+ | 20101125202116: | ||
+ | --------------- data: nElements=6 | ||
+ | 20101125202116: | ||
+ | --------------- textData: nElements=0 | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- next: obsDataList-> | ||
+ | 20101125202116: | ||
+ | --------------- text_data: | ||
+ | 20101125202116: | ||
+ | --------------- No < | ||
+ | 20101125202116: | ||
+ | --------------- next: called ... | ||
+ | 20101125202116: | ||
+ | --------------- next: End of data reached (return false)! | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- DataIteratorImpl:: | ||
+ | 20101125202116: | ||
+ | --------------- called ... | ||
+ | 20101125202116: | ||
+ | --------------- isMaxClientReached: | ||
+ | 20101125202116: | ||
+ | --------------- New database connection (PostgreSQL) created! | ||
+ | 20101125202116: | ||
+ | --------------- next: called ... | ||
+ | 20101125202116: | ||
+ | --------------- stationid: 17850 currentEndTime: | ||
+ | 20101125202116: | ||
+ | --------------- select(17850, | ||
+ | 20101125202116: | ||
+ | --------------- data: nElements=6 | ||
+ | 20101125202116: | ||
+ | --------------- textData: nElements=0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
====== Test Case for Qc2 Single Linear ====== | ====== Test Case for Qc2 Single Linear ====== | ||
- | This test case is in reponse to version 3.2 of the ftime {{: | + | This test case is in reponse to version 3.2 of the ftime {{kvalobs: |
- | The following steps are performed on **dev-vm101**. The test data source file and algorithm configuration have been pre-loaded. When necessary the test data may be restored from this {{: | + | The following steps are performed on **dev-vm101**. The test data source file and algorithm configuration have been pre-loaded. When necessary the test data may be restored from this {{kvalobs: |
For shell commands the prefix " | For shell commands the prefix " | ||
Line 42: | Line 215: | ||
SELECT * FROM data WHERE stationid=87120 AND obstime BETWEEN ' | SELECT * FROM data WHERE stationid=87120 AND obstime BETWEEN ' | ||
</ | </ | ||
- | * Please see the [[: | + | * Please see the [[kvalobs: |
^Step 3^ | ^Step 3^ | ||
Line 655: | Line 828: | ||
(34 rows) | (34 rows) | ||
</ | </ | ||
+ | |||
+ | ====== Operations Testing ====== | ||
+ | |||
+ | Some results from the general inspection of the database on dev-vm101 after a few days testing: | ||
+ | |||
+ | < | ||
+ | kvalobs=# SELECT count(*) FROM data WHERE obstime BETWEEN ' | ||
+ | | ||
+ | ------- | ||
+ | 16 | ||
+ | (1 row) | ||
+ | |||
+ | kvalobs=# SELECT * FROM data WHERE obstime BETWEEN ' | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+---------------------------------- | ||
+ | 99754 | 2010-09-25 00:00:00 | | ||
+ | 99754 | 2010-09-25 00:00:00 | | ||
+ | 99754 | 2010-09-25 00:00:00 | | ||
+ | 99754 | 2010-09-25 00:00:00 | | ||
+ | 99754 | 2010-09-25 00:00:00 | | ||
+ | 49800 | 2010-09-25 15:00:00 | | ||
+ | 49800 | 2010-09-25 15:00:00 | | ||
+ | 49800 | 2010-09-25 15:00:00 | | ||
+ | 49800 | 2010-09-25 15:00:00 | | ||
+ | 49800 | 2010-09-25 15:00:00 | | ||
+ | 60990 | 2010-09-25 17:00:00 | -99.9 | 178 | 2010-09-25 16:53:18 | 311 | 0 | 0 | 1017.1 | 0700001100000000 | 5894900000000001 | QC1-1-178: | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | (16 rows) | ||
+ | |||
+ | kvalobs=# select * from data_history where obstime='' | ||
+ | kvalobs=# select * from data_history where obstime=' | ||
+ | | ||
+ | ----------+-----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+----------+---------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data_history where obstime=' | ||
+ | | ||
+ | ----------+-----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+----------+---------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data_history where obstime=' | ||
+ | | ||
+ | ----------+-----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+----------+---------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data_history where obstime=' | ||
+ | | ||
+ | ----------+-----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+----------+---------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data where obstime between ' | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+---------- | ||
+ | 49800 | 2010-09-25 14:00:00 | 64 | 262 | 2010-09-25 13:59:09 | 330 | 0 | 0 | 64 | 0100000000000000 | 7000000000000000 | | ||
+ | 49800 | 2010-09-25 15:00:00 | | ||
+ | 49800 | 2010-09-25 16:00:00 | 65 | 262 | 2010-09-25 17:00:23 | 330 | 0 | 0 | 65 | 0100000000000000 | 7100000400000000 | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# | ||
+ | kvalobs=# select * from data where obstime between ' | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+---------------------------------- | ||
+ | 60990 | 2010-09-25 16:00:00 | | ||
+ | 60990 | 2010-09-25 17:00:00 | -99.9 | 178 | 2010-09-25 16:53:18 | 311 | 0 | 0 | 1017.1 | 0700001100000000 | 5894900000000001 | QC1-1-178: | ||
+ | 60990 | 2010-09-25 18:00:00 | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data_history where obstime=' | ||
+ | | ||
+ | ----------+-----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+----------------------------------+---------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | (4 rows) | ||
+ | |||
+ | kvalobs=# select * from data_history where obstime=' | ||
+ | | ||
+ | ----------+-----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+----------+---------------------------- | ||
+ | | ||
+ | | ||
+ | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data where obstime between ' | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+---------- | ||
+ | 99754 | 2010-09-25 22:00:00 | 0 | 211 | 2010-09-25 22:01:51 | 330 | 0 | 0 | 0 | 0111000000000010 | 7000000000000000 | | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | 99754 | 2010-09-26 00:00:00 | -0.4 | 211 | 2010-09-26 00:01:55 | 330 | 0 | 0 | -0.4 | 0110000000100010 | 7000000000000000 | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data where obstime between ' | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+---------- | ||
+ | 99754 | 2010-09-25 22:00:00 | 0 | 213 | 2010-09-25 22:01:51 | 330 | 0 | 0 | 0 | 0111000000000010 | 7000000000000000 | | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | 99754 | 2010-09-26 00:00:00 | -0.4 | 213 | 2010-09-26 00:01:55 | 330 | 0 | 0 | -0.4 | 0110000000000010 | 7000000000000000 | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# select * from data where obstime between ' | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+---------- | ||
+ | 99754 | 2010-09-25 22:00:00 | 0.1 | 215 | 2010-09-25 22:01:51 | 330 | 0 | 0 | 0.1 | 0111000000000010 | 7000000000000000 | | ||
+ | 99754 | 2010-09-25 23:00:00 | | ||
+ | 99754 | 2010-09-26 00:00:00 | -0.3 | 215 | 2010-09-26 00:01:55 | 330 | 0 | 0 | -0.3 | 0110000000000010 | 7000000000000000 | | ||
+ | (3 rows) | ||
+ | |||
+ | kvalobs=# | ||
+ | |||
+ | </ | ||
+ |