[[PageOutline]] = 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) 1. Rspecs used (save them in the portal and/or save them on this or another wiki page for easy reference) 1. Rack(s) used 1. Date/time the test was last executed 1. What version of Flack, omni, etc. were used. 1. Pass/Fail 1. If Fail, issues encountered. Capture error that you saw and any other details that might help reproduce the error. 1. Versions used of Labwiki on emmy9 & gimi_init scripts (last git commit date) [[BR]] [[BR]] '''When using Omni, Flack or the GENI Portal for ExoGENI slices use this [http://groups.geni.net/geni/attachment/wiki/IMRspecs/GECFlackGIMI.xml rspec].'''[[BR]] [[Image(ExoGIMI.png, 50%)]] [[BR]][[BR]][[BR]] '''When using Omni, Flack, or the GENI Portal for InstaGENI slices use this [http://groups.geni.net/geni/attachment/wiki/IMRspecs/GIMI5nodeInstaGENInoAM.xml rspec].'''[[BR]] [[Image(InstaGIMI.png, 50%)]] [[BR]] [[BR]] = With GENI Portal Certificate = == InstaGENI Test Cases == === IG-Flack === '''Procedure:'''[[BR]] * 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step1-ping_all.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step2-routing.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step3-ping_e2e.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step4-otg_nmetrics.rb 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|| || || || || || || || [[BR]] === IG-Omni === '''Procedure:'''[[BR]] * 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step1-ping_all.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step2-routing.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step3-ping_e2e.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step4-otg_nmetrics.rb 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|| || || || || || || || [[BR]] === IG-Portal === '''Procedure:'''[[BR]] * 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step1-ping_all.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step2-routing.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step3-ping_e2e.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step4-otg_nmetrics.rb 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|| || || || || || || || [[BR]] [[BR]] [[BR]] == ExoGENI Test Cases == === EG-Flack === '''Procedure:'''[[BR]] * 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step1-ping_all.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step2-routing.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step3-ping_e2e.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step4-otg_nmetrics.rb 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|| || || || || || || || [[BR]] === EG-Omni === '''Procedure:'''[[BR]] * 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step1-ping_all.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step2-routing.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step3-ping_e2e.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step4-otg_nmetrics.rb 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|| || || || || || || || [[BR]] === EG-Portal === '''Procedure:'''[[BR]] * 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step1-ping_all.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step2-routing.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step3-ping_e2e.rb 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 [http://groups.geni.net/geni/attachment/wiki/GIMIv2tasks/TestCases/step4-otg_nmetrics.rb 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|| || || || || || || || [[BR]]