wiki:GIMIv2tasks/TestCases

Test Cases for GIMIv2

  • We need a test case for each combination of requirements
  • Each test case should have
    • brief description of the test case and which requirements it addresses
    • preconditions: what rspec do I need, what image do I need, etc.
    • success criteria. How do I know if the test passed or failed?

When executing the tests, keep track of:

  1. Browser used (Should try with latest Firefox and Chrome)
  2. Rspecs used (save them in the portal and/or save them on this or another wiki page for easy reference)
  3. Rack(s) used
  4. Date/time the test was last executed
  5. What version of Flack, omni, etc. were used.
  6. Pass/Fail
  7. If Fail, issues encountered. Capture error that you saw and any other details that might help reproduce the error.
  8. Versions used of Labwiki on emmy9 & gimi_init scripts (last git commit date)



When using Omni, Flack or the GENI Portal for ExoGENI slices use this rspec.



When using Omni, Flack, or the GENI Portal for InstaGENI slices use this rspec.


With GENI Portal Certificate

InstaGENI Test Cases

IG-Flack

Procedure:

  • Create InstaGENI slice using Flack.
  • Run gimi_init to initialize experiment.
  • Verify experiment service state using GET commands.
  • Verify iRODS state (structure was created correctly & metadata was parsed correctly).
  • Log in to Labwiki.
  • Run step1-ping_all.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step2-routing.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step3-ping_e2e.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step4-otg_nmetrics.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.

Test:

Browser Rspec Username Rack Date & Time Tested Versions Used Pass/Fail(If Failed, How?)
1
2


IG-Omni

Procedure:

  • Create InstaGENI slice using omni.
  • Run gimi_init to initialize experiment.
  • Verify experiment service state using GET commands.
  • Verify iRODS state (structure was created correctly & metadata was parsed correctly).
  • Log in to Labwiki.
  • Run step1-ping_all.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step2-routing.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step3-ping_e2e.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step4-otg_nmetrics.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.

Test:

Browser Rspec Username Rack Date & Time Tested Versions Used Pass/Fail(If Failed, How?)
1
2


IG-Portal

Procedure:

  • Create InstaGENI slice using GENI Portal.
  • Run gimi_init to initialize experiment.
  • Verify experiment service state using GET commands.
  • Verify iRODS state (structure was created correctly & metadata was parsed correctly).
  • Log in to Labwiki.
  • Run step1-ping_all.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step2-routing.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step3-ping_e2e.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step4-otg_nmetrics.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.

Test:

Browser Rspec Username Rack Date & Time Tested Versions Used Pass/Fail(If Failed, How?)
1
2




ExoGENI Test Cases

EG-Flack

Procedure:

  • Create ExoGENI slice using Flack.
  • Run gimi_init to initialize experiment.
  • Verify experiment service state using GET commands.
  • Verify iRODS state (structure was created correctly & metadata was parsed correctly).
  • Log in to Labwiki.
  • Run step1-ping_all.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step2-routing.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step3-ping_e2e.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step4-otg_nmetrics.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.

Test:

Browser Rspec Username Rack Date & Time Tested Versions Used Pass/Fail(If Failed, How?)
1
2


EG-Omni

Procedure:

  • Create ExoGENI slice using omni.
  • Run gimi_init to initialize experiment.
  • Verify experiment service state using GET commands.
  • Verify iRODS state (structure was created correctly & metadata was parsed correctly).
  • Log in to Labwiki.
  • Run step1-ping_all.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step2-routing.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step3-ping_e2e.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step4-otg_nmetrics.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.

Test:

Browser Rspec Username Rack Date & Time Tested Versions Used Pass/Fail(If Failed, How?)
1
2


EG-Portal

Procedure:

  • Create ExoGENI slice using GENI Portal.
  • Run gimi_init to initialize experiment.
  • Verify experiment service state using GET commands.
  • Verify iRODS state (structure was created correctly & metadata was parsed correctly).
  • Log in to Labwiki.
  • Run step1-ping_all.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step2-routing.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step3-ping_e2e.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.
  • Run step4-otg_nmetrics.rb.
    • Verify experiment selection.
    • Verify slice selection.
    • Verify experiment ran successfully.
    • Verify data was transferred to iRODS successfully.
    • Test stopping the experiment.
    • Test re-running the experiment.

Test:

Browser Rspec Username Rack Date & Time Tested Versions Used Pass/Fail(If Failed, How?)
1
2


Last modified 11 years ago Last modified on 07/09/13 16:49:19

Attachments (7)

Download all attachments as: .zip