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:22:00] 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/ |
+ | | |$ cd $PREFIX/ | ||
| |$ rm Qc2.log Qc2.log.? | | -- | | | |$ rm Qc2.log Qc2.log.? | | -- | | ||
| | NB the "?" | | | NB the "?" | ||
- | |002 |start kvQc2 (either standalone or with $KVALOBS/bin/kvQc2 e.g. see QC2-OPE-CFG) | -- | -- | | + | |002 |start kvQc2 (either standalone or with ~/bin/kvQc2 e.g. see QC2-OPE-CFG) | -- | -- | |
- | | |ls $KVALOBS/var/log |The Qc2.log file has been created (e.g. see below) | + | | |$ 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 84: | Line 85: | ||
</ | </ | ||
- | **!!!!** Look ... something to follow up: | + | **__!!!!__** Look ... something to follow up: |
< | < | ||
20100326001908: | 20100326001908: | ||
--------------- ProcessUnitT Writing Data -32767 95350 2024-3-24 6:0:0 | --------------- 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! ===== | ===== Added the following as a reminder to discuss! ===== |