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:acceptance:qc2opelog [2010-03-25 23:08:42] paule |
kvalobs:kvoss:system:qc2:test:acceptance:qc2opelog [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
^Step ^Direction ^Expected Result ^Pass/Fail Criteria or Comment ^ | ^Step ^Direction ^Expected Result ^Pass/Fail Criteria or Comment ^ | ||
- | |001 | Locate the Qc2 log file in $KVALOBS/var/log and remove all entries: | -- | -- | | + | |001 | Locate the Qc2 log file in $PREFIX/var/log/ |
- | | |rm Qc2.log Qc2.log.? | -- | -- | | + | | |$ cd $PREFIX/ |
- | | | | -- | -- | | + | | |$ rm Qc2.log Qc2.log.? | | -- | |
- | |002 |start kvQc2 (either standalone or with $KVALOBS/bin/kvQc2 e.g. see QC2-OPE-CFG) | -- | -- | | + | | | NB the "?" |
- | | |ls $KVALOBS/var/log |The Qc2.log file has been created (e.g. see below) | + | |002 |start kvQc2 (either standalone or with ~/bin/kvQc2 e.g. see QC2-OPE-CFG) | -- | -- | |
+ | | |$ ls $PREFIX/var/log/ | ||
< | < | ||
- | kvalobs@pak: | + | kvalobs@pak: |
postgresql | postgresql | ||
kvalobs@pak: | kvalobs@pak: | ||
Line 27: | Line 28: | ||
| |Hint: the logfiles rotate and tail -f will stall when a rotation occurs. Just cancel and restart the command. | -- | -- | | | |Hint: the logfiles rotate and tail -f will stall when a rotation occurs. Just cancel and restart the command. | -- | -- | | ||
|004 |Unpack the following config files to the Qc2Config directory: | -- | -- | | |004 |Unpack the following config files to the Qc2Config directory: | -- | -- | | ||
- | | |{{: | + | | |{{kvalobs: |
- | | |{{: | + | | |{{kvalobs: |
| |The test database must contain corresponding data, e.g. see ALG001 and ALG004 | -- | --| | | |The test database must contain corresponding data, e.g. see ALG001 and ALG004 | -- | --| | ||
| | **It is assumed that kvQc2 is still up and running! ** ||| | | | **It is assumed that kvQc2 is still up and running! ** ||| | ||
Line 60: | Line 61: | ||
**ALG004-LogFile-Output** | **ALG004-LogFile-Output** | ||
< | < | ||
+ | 20100326001754: | ||
+ | --------------- Case 4: ProcessUnitT | ||
+ | 20100326001754: | ||
+ | --------------- ProcessUnitT | ||
+ | 20100326001811: | ||
+ | --------------- ProcessUnitT Writing Data -6.3 98790 2024-3-30 4:0:0 | ||
+ | 20100326001829: | ||
+ | --------------- ProcessUnitT Writing Data -4.7 84700 2024-3-27 18:0:0 | ||
+ | 20100326001831: | ||
+ | --------------- ProcessUnitT Writing Data -3.7 84700 2024-3-27 13:0:0 | ||
+ | 20100326001836: | ||
+ | --------------- ProcessUnitT Writing Data -9.8 84700 2024-3-27 3:0:0 | ||
+ | 20100326001838: | ||
+ | --------------- ProcessUnitT Writing Data -2.1 98790 2024-3-26 22:0:0 | ||
+ | 20100326001857: | ||
+ | --------------- ProcessUnitT Writing Data -11.5 84700 2024-3-25 2:0:0 | ||
+ | 20100326001859: | ||
+ | --------------- ProcessUnitT Writing Data -4.1 98790 2024-3-24 23:0:0 | ||
+ | 20100326001903: | ||
+ | --------------- ProcessUnitT Writing Data -2.7 98790 2024-3-24 15:0:0 | ||
+ | 20100326001908: | ||
+ | --------------- ProcessUnitT Writing Data -32767 95350 2024-3-24 6:0:0 | ||
+ | </ | ||
+ | **__!!!!__** Look ... something to follow up: | ||
+ | < | ||
+ | 20100326001908: | ||
+ | --------------- ProcessUnitT Writing Data -32767 95350 2024-3-24 6:0:0 | ||
+ | </ | ||
+ | |||
+ | **FIXED** | ||
+ | < | ||
+ | kvalobs=# | ||
+ | | ||
+ | -----------+---------------------+----------+---------+---------------------+--------+--------+-------+-----------+------------------+------------------+------------------------------------------------------------ | ||
+ | 95350 | 2024-03-24 05:00:00 | -7.2 | 211 | 2024-03-24 04:49:35 | 311 | 0 | 0 | -7.2 | 1111200000000012 | 30000000000000C1 | QC1-4-211: | ||
+ | 95350 | 2024-03-24 06:00:00 | | ||
+ | 95350 | 2024-03-24 07:00:00 | -7.3 | 211 | 2024-03-24 11:50:47 | 311 | 0 | 0 | -7.3 | 1110200000000012 | 31000004000000C1 | QC1-4-211: | ||
+ | (3 rows) | ||
+ | </ | ||
+ | In the example output the old corrected value was written to the logfile and not the new interpolated value. This has been corrected. This demonstrates the power of testing! | ||
+ | |||
+ | ===== Added the following as a reminder to discuss! ===== | ||
+ | |||
+ | The are algorithms that will terminate Qc2, e.g. see below. These can all be blocked for an operational release so that even if one writes the corresponding configuration file they will never run (until tested and released). However, only deploying the correct configuration files will also control this. | ||
+ | |||
+ | Here is an example. | ||
+ | |||
+ | Log file: | ||
+ | < | ||
+ | 20100326000825: | ||
+ | --------------- Redistribute Precipitation Writing Data 2.1 53730 2027-12-30 6:0:0 | ||
+ | 20100326000825: | ||
+ | --------------- Redistribute Precipitation Writing Data 5.7 53730 2027-12-31 6:0:0 | ||
+ | 20100326000825: | ||
+ | --------------- Can't contact CORBA nameservice. Is the CORBA nameservice running. | ||
+ | --------------- (EXCEPTION: Can't obtain a reference for ' | ||
+ | --------------- | ||
+ | 20100326000924: | ||
+ | --------------- Case 3: Process4D | ||
+ | </ | ||
+ | |||
+ | Qc2 Run View: | ||
+ | < | ||
+ | ------------------------------------------------- | ||
+ | Process Time: 2008-03-28 10:00:00 | ||
+ | Station Id: 67280 | ||
+ | INPUT 23 -11.3 2008-03-27 23:00:00 | ||
+ | N: 0 Tseries Index: | ||
+ | INPUT 24 -12.2 2008-03-28 00:00:00 | ||
+ | N: 1 Tseries Index: | ||
+ | INPUT 25 -13.5 2008-03-28 01:00:00 | ||
+ | N: 2 Tseries Index: | ||
+ | INPUT 26 -14 2008-03-28 02:00:00 | ||
+ | N: 3 Tseries Index: | ||
+ | INPUT 27 -32767 2008-03-28 03:00:00 | ||
+ | INPUT 28 -32767 2008-03-28 04:00:00 | ||
+ | INPUT 29 -32767 2008-03-28 05:00:00 | ||
+ | INPUT 30 -32767 2008-03-28 06:00:00 | ||
+ | INPUT 31 -32767 2008-03-28 07:00:00 | ||
+ | INPUT 32 -32767 2008-03-28 08:00:00 | ||
+ | INPUT 33 -32767 2008-03-28 09:00:00 | ||
+ | INPUT 34 -32767 2008-03-28 10:00:00 | ||
+ | INPUT 35 -32767 2008-03-28 11:00:00 | ||
+ | INPUT 36 -32767 2008-03-28 12:00:00 | ||
+ | INPUT 37 -32767 2008-03-28 13:00:00 | ||
+ | INPUT 38 -32767 2008-03-28 14:00:00 | ||
+ | INPUT 39 2.3 2008-03-28 15:00:00 | ||
+ | N: 4 Tseries Index: | ||
+ | INPUT 40 2.6 2008-03-28 16:00:00 | ||
+ | N: 5 Tseries Index: | ||
+ | INPUT 41 1.9 2008-03-28 17:00:00 | ||
+ | N: 6 Tseries Index: | ||
+ | INPUT 42 0.1 2008-03-28 18:00:00 | ||
+ | N: 7 Tseries Index: | ||
+ | INPUT 43 1 2008-03-28 19:00:00 | ||
+ | N: 8 Tseries Index: | ||
+ | INPUT 44 -1.2 2008-03-28 20:00:00 | ||
+ | N: 9 Tseries Index: | ||
+ | INPUT 45 0.5 2008-03-28 21:00:00 | ||
+ | N: 10 Tseries Index: | ||
+ | INPUT 46 0.5 2008-03-28 22:00:00 | ||
+ | N: 11 Tseries Index: | ||
+ | N: 11 | ||
+ | 1 4 17 24 | ||
+ | HourDec from tt: 23 Corresponding Tseries Time 2008-03-27 23:00:00 Original -11.3 | ||
+ | HourDec from tt: 24 Corresponding Tseries Time 2008-03-28 00:00:00 Original -12.2 | ||
+ | HourDec from tt: 25 Corresponding Tseries Time 2008-03-28 01:00:00 Original -13.5 | ||
+ | HourDec from tt: 26 Corresponding Tseries Time 2008-03-28 02:00:00 Original -14 | ||
+ | HourDec from tt: 27 Corresponding Tseries Time 2008-03-28 03:00:00 Original -32767 | ||
+ | HourDec from tt: 28 Corresponding Tseries Time 2008-03-28 04:00:00 Original -32767 | ||
+ | HourDec from tt: 29 Corresponding Tseries Time 2008-03-28 05:00:00 Original -32767 | ||
+ | HourDec from tt: 30 Corresponding Tseries Time 2008-03-28 06:00:00 Original -32767 | ||
+ | HourDec from tt: 31 Corresponding Tseries Time 2008-03-28 07:00:00 Original -32767 | ||
+ | HourDec from tt: 32 Corresponding Tseries Time 2008-03-28 08:00:00 Original -32767 | ||
+ | HourDec from tt: 33 Corresponding Tseries Time 2008-03-28 09:00:00 Original -32767 | ||
+ | HourDec from tt: 34 Corresponding Tseries Time 2008-03-28 10:00:00 Original -32767 | ||
+ | HourDec from tt: 35 Corresponding Tseries Time 2008-03-28 11:00:00 Original -32767 | ||
+ | HourDec from tt: 36 Corresponding Tseries Time 2008-03-28 12:00:00 Original -32767 | ||
+ | HourDec from tt: 37 Corresponding Tseries Time 2008-03-28 13:00:00 Original -32767 | ||
+ | HourDec from tt: 38 Corresponding Tseries Time 2008-03-28 14:00:00 Original -32767 | ||
+ | HourDec from tt: 39 Corresponding Tseries Time 2008-03-28 15:00:00 Original 2.3 | ||
+ | HourDec from tt: 40 Corresponding Tseries Time 2008-03-28 16:00:00 Original 2.6 | ||
+ | HourDec from tt: 41 Corresponding Tseries Time 2008-03-28 17:00:00 Original 1.9 | ||
+ | HourDec from tt: 42 Corresponding Tseries Time 2008-03-28 18:00:00 Original 0.1 | ||
+ | HourDec from tt: 43 Corresponding Tseries Time 2008-03-28 19:00:00 Original 1 | ||
+ | HourDec from tt: 44 Corresponding Tseries Time 2008-03-28 20:00:00 Original -1.2 | ||
+ | HourDec from tt: 45 Corresponding Tseries Time 2008-03-28 21:00:00 Original 0.5 | ||
+ | gsl: interp.c: | ||
+ | Default GSL error handler invoked. | ||
+ | Aborted | ||
</ | </ |