You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

This page describes how to run smoketests that are intended to be run as part of a new release directly after the installation is finished. There are smoketests available for VE and ZW. The smoketests for VE and ZW should not be run simultaneously because some workflows are mapped to the same FSS. First perform and finish all smoketests VE, followed by all smoketests for ZW, or visa  versa.

Before performing a smoketest the "tester" should make a snapshot of the approved runs to be able to approve these workflows again after the smoketest. 

Smoketest VE

The required files are in the folder BatchRunsForSmoketests/nwm_VE_smoketest. Perform the following steps:

  1. Make a snapshot of the approved VE runs.
  2. Upload via the Configuration Manager link to config manager (CM) the locationSets.xml (see folder nwm_VE_smoketest); this file is located under RegionConfigFiles; Provide a description, that this location set is used for smoketest (see Figure 1); this location set is just a temporary one for the smoketests.


    Figure 1: Upload via locationSets.xml via Configuration Manager (CM)

  3. Start Client (OC)
  4. Open Starten workflow; push button Voorbereide taak uitvoeren...; go to folder nwm_VE_smoketest and select one .xml file starting by number one (see Figure 2).


    Figure 2: Start batch runs

    After the all runs of the selected batch run are finished (check Systeembeheer->Draaiende taken, see Figure 3)), continue with the next file-number.


    Figure 3: Check if batch runs are completed

  5. The batch-runs contain (REF2015/WS2085) the following runs (see Table 1)

    Table 1: Smoketest batch runs for VE

    NameDescriptionExpected
     run time
    1_NWM_smoketest_VE_Import.xmlAll import workflows for all regions< 1 min
    2_NWM_smoketest_VE_Hydrodynamic_update.xmlThe hydrodynamic update runs for RMM (Sobek)< 1 h
    3_NWM_smoketest_VE_Hydrodynamic.xmlThe hydrodynamic forecast runs for Rijn, Maas
     ( all WAQUA) and RMM (Sobek) with reduced forecast time
    < 2 h
    4_NWM_smoketest_VE_PPHydrodynamic.xmlThe processioning runs for the WAQUA
    calculations of Rijn, Maas
     < 5 min
    5_NWM_smoketest_VE_HydraZoet.xmlThe HydraZoet runs for IJVD, Rijn, Maas, RMM
    for a reduced location set (2 locations Rijn, Maas,
    RMM) and Markermeer and IJsselmeer (all locations)
    TODO: Extend smoketest to all scenarios
    < 15 min
    6_NWM_smoketest_VE_PPHydraZoet.xmlhe postprocessing of the HydraZoet runs for a reduced
     location set (2 locations Rijn, Maas, RMM)
     and Markermeer and IJsselmeer (all locations)
    < 5 min


  6. After finishing the smoketest re-upload via the Configuration Manager (CM) the locationSets.xml, which is provided in the Configuration under RegionConfigFiles; this file contains the full locations set again for further calculation.

The generated data have a expiry time of 7 days. If you want to delete them before, perform following steps (see Figure 4):

  1. Open in OC Management Modelruns; go to tab Verlooptijdstip voorspelling
  2. Mark the model runs which should be deleted, e.g. gebruiker smoketest_batch
  3. Push button Verwijderen
  4. Approve the runs in the window management modelruns->actuele voorspelling. You can select multiple workflows (SHIFT+mouseclick) and click approve.

In the next rolling barrel run, the model runs will be deleted from database.

Figure 4: Delete batch runs from database


Smoketest ZW

The required files are in the folder BatchRunsForSmoketests/nwm_ZW_smoketest. Perform the following steps:

  1. Start Client (OC)
  2. Make a snapshot of the approved ZW runs.
  3. Open Starten workflow; push button Voorbereide taak uitvoeren...; go to folder nwm_ZW_smoketest and select the .xml file there (see Figure 2 above).

The batch-run contains LHM, LSM Light, NDB and LTM Light workflows (see Table 2 below)

Table 2: Available smoketest batch runs for ZW (the release nr "ZW_smoketest_releaseXXXX" indicates which smoketests are required for the active release)

NameDescriptionExpected
 run time
ZW_smoketest_REF2015_deel1.xmlWorkflow of LHM 'no salt', LSM Light 'no salt', and NDB for one year (2003), for the REF2015 scenario for strategy S0.22 h
ZW_smoketest_W2085_deel1.xmlWorkflow of LHM 'no salt', LSM Light 'no salt', and NDB for one year (2003), for the W2085 scenario for strategy S0.22 h
ZW_smoketest_REF2015_deel2.xmlWorkflow of LHM for one year (2003), followed by workflow of LSM Light and LTM Light, both 14 days, for the REF2015 scenario for strategy S0.15h
ZW_smoketest_W2085_deel2.xmlWorkflow of LHM for one year (2003), followed by workflow of LSM Light and LTM Light, both 14 days, for the W2085 scenario for strategy S0.15h
ZW_smoketest_WABES.xmlWorkflow of LHM for one year (2003), for the REF2015 and W2050 scenarios for two strategies S1 and S2.14 h
ZW_smoketest_release1410_REF2015S1_1912.xmlWorkflow of LSM Light 'no salt', NDB and LHM for one year (1912, leapyear), for the REF2015 scenario for strategy S1.~23 h
ZW_smoketest_release1410_REF2015S2_1912.xmlWorkflow of LSM Light 'no salt', NDB and LHM for one year (1912, leapyear), for the REF2015 scenario for strategy S2.~23 h
ZW_smoketest_release1410_W2050S1_1912.xmlWorkflow of LSM Light 'no salt', NDB and LHM for one year (1912, leapyear), for the W2050 scenario for strategy S1.~23 h
ZW_smoketest_release1410_W2050S2_1912.xmlWorkflow of LSM Light 'no salt', NDB and LHM for one year (1912, leapyear), for the W2050 scenario for strategy S2.~23 h
ZW_smoketest_release1420_REF2015S1_1911-1912.xmlWorkflow of LSM Light 'no salt', NDB, LHM for two years (1911-1912), for the REF2015 scenario for strategy S1.~48 h
ZW_smoketest_release1420_REF2015S2_1911-1912.xmlWorkflow of LSM Light 'no salt', NDB, LHM for two years (1911-1912), for the REF2015 scenario for strategy S2.~48 h
ZW_smoketest_release1420_W2050S1_1911-1912.xmlWorkflow of LSM Light 'no salt', NDB, LHM for two years (1911-1912), for the W2050 scenario for strategy S1.~48 h
ZW_smoketest_release1420_W2050S2_1911-1912.xmlWorkflow of LSM Light 'no salt', NDB, LHM for two years (1911-1912), for the W2050 scenario for strategy S2.~48 h

The generated data have a expiry time of 4 days. If you want to delete them before, perform following steps (see Figure 4 above):

  1. Open in OC Management Modelruns; go to tab Verlooptijdstip voorspelling
  2. Mark the model runs which should be deleted, e.g. omschrijving "ZW smoketest"
  3. Push button Verwijderen
  4. Approve the runs in the window management modelruns->actuele voorspelling. You can select multiple workflows (SHIFT+mouseclick) and click approve.


  • No labels