Size: 39
Comment:
|
Size: 2631
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Stage-Test of DOMS RadioTV System = | = STAGE-Test of DOMS RadioTV System = High-level overview of tests in STAGE: || '''Step''' || '''Answer (yes/no)''' || '''If no, what went wrong?''' || || [[#startTomcat|Start tomcat - is the DOMS running?]] || || || || [[#startIngester|Start the ingester - does it run properly?]]|| || || || [[#testPreingester|Does preingester produce proper output files?]] || to be tested.. || || || [[#verifyIngest|Have all pre-ingest files been successfully ingested in DOMS?]] || || || ##|| [[#testX|Test X]]: ...? || to be tested.. || || ''In the explanations of the tests below, "Run the needed scripts" will be performed by maintenance in STAGE, whereas "Inspect the results" will be performed by DOMS / DigiTV / Summa people.'' <<BR>> <<Anchor(startTomcat)>> == Start tomcat - is the DOMS running? == === Run the needed scripts === * Make sure the DOMS Tomcat is up === Inspect the results === ''Inspect logs and stuff...'' <<BR>> <<Anchor(startIngester)>> == Start the ingester - does it run properly? == * Start the ingester {{{command-line stuff here...}}} === Inspect the results === ''Inspect logs and that the relevant directories are properly created.'' <<BR>> <<Anchor(testPreingester)>> == Does preingester produce proper output files? == === Run the needed scripts === In STAGE, on the machine where DigiTV is installed, in directory {{{digitv/bin}}} do the following {{{ ./run_preingest.sh <hotfolder> 2010-03-01 2010-03-08 100fm dr1 drhd ./run_preingest.sh <hotfolder> 2009-03-01 2009-03-08 100fm dr1 drhd }}} where {{{<hotfolder>}}} is the folder which the ingester reads from. === Inspect the results === 1. Check that files have been created in the hotfolder for the given dates and channels. 1. For one xml-file for {{{100fm}}}, make a random check that it contains data inside CDATA tags as the title tag shown below, and that it has atleast one file-tag at the end, containing a file-url and a file-name. {{{ <pbcoreTitle> <title><![CDATA[<Something in here !!!!>]]></title> <titleType><![CDATA[titel]]></titleType> </pbcoreTitle> }}} 1. As done for {{{100fm}}}, do the same for {{{dr1}}} and {{{drhd}}}. <<BR>> <<Anchor(verifyIngest)>> == Have all pre-ingest files been successfully ingested in DOMS? == === Inspect the results === * Check the ''lukewarm'' folder. * Count the number of files in the ''coldfolder'' and compare it to the number of objects in the DOMS <<BR>> <<Anchor(testX)>> == Test X: ...? == === Run the needed scripts === === Inspect the results === ''..describe test..'' |
STAGE-Test of DOMS RadioTV System
High-level overview of tests in STAGE:
Step |
Answer (yes/no) |
If no, what went wrong? |
|
|
|
|
|
|
to be tested.. |
|
|
Have all pre-ingest files been successfully ingested in DOMS? |
|
|
In the explanations of the tests below, "Run the needed scripts" will be performed by maintenance in STAGE, whereas "Inspect the results" will be performed by DOMS / DigiTV / Summa people.
Start tomcat - is the DOMS running?
Run the needed scripts
- Make sure the DOMS Tomcat is up
Inspect the results
Inspect logs and stuff...
Start the ingester - does it run properly?
- Start the ingester
command-line stuff here...
Inspect the results
Inspect logs and that the relevant directories are properly created.
Does preingester produce proper output files?
Run the needed scripts
In STAGE, on the machine where DigiTV is installed, in directory digitv/bin do the following
./run_preingest.sh <hotfolder> 2010-03-01 2010-03-08 100fm dr1 drhd ./run_preingest.sh <hotfolder> 2009-03-01 2009-03-08 100fm dr1 drhd
where <hotfolder> is the folder which the ingester reads from.
Inspect the results
- Check that files have been created in the hotfolder for the given dates and channels.
For one xml-file for 100fm, make a random check that it contains data inside CDATA tags as the title tag shown below, and that it has atleast one file-tag at the end, containing a file-url and a file-name.
<pbcoreTitle> <title><![CDATA[<Something in here !!!!>]]></title> <titleType><![CDATA[titel]]></titleType> </pbcoreTitle>
As done for 100fm, do the same for dr1 and drhd.
Have all pre-ingest files been successfully ingested in DOMS?
Inspect the results
Check the lukewarm folder.
Count the number of files in the coldfolder and compare it to the number of objects in the DOMS
Test X: ...?
Run the needed scripts
Inspect the results
..describe test..