From 6b770d9faf53410e2ec628ce27734e278d468a9b Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 11 Jan 2020 19:08:27 +0100 Subject: Publish CNTT Snezka RC Cookbook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit http://testresults.opnfv.org/functest/cntt_rc_cookbook/ Change-Id: Ie100ddcf4a0ad1b8ba01a10ae91d2a6f40587c3c Signed-off-by: Cédric Ollivier --- doc/cntt_rc_cookbook/cntt_rc_cookbook.md | 80 ++++++++++++++++++++++++++++++++ doc/cntt_rc_cookbook/index.html | 52 +++++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 doc/cntt_rc_cookbook/cntt_rc_cookbook.md create mode 100644 doc/cntt_rc_cookbook/index.html (limited to 'doc') diff --git a/doc/cntt_rc_cookbook/cntt_rc_cookbook.md b/doc/cntt_rc_cookbook/cntt_rc_cookbook.md new file mode 100644 index 00000000..dfb97aea --- /dev/null +++ b/doc/cntt_rc_cookbook/cntt_rc_cookbook.md @@ -0,0 +1,80 @@ +# CNTT Snezka RC Cookbook + +[Cédric Ollivier](mailto:cedric.ollivier@orange.com) + +2020/01/15 + + + +## CNTT Snezka RC + + +### CNTT RI and RC toolchains + +- leverage on existing OPNFV testing knowledge and experience +- conform to LFN CI/CD toolchain continuously deploying and testing NFVI +- deploy locally the same components via + [Xtesting CI](https://galaxy.ansible.com/collivier/xtesting) in case of RC + + +### TC integration requirements + +- enforce that the test cases are delivered with all runtime dependencies +- avoid manual operations when configuring the server running the test cases +- conform to the common test case execution +- leverage on an unified way to manage all the interactions with the CI/CD + components and with third-parties + +**2 simple requirements: [Docker](https://www.docker.com/) + [Xtesting](https://xtesting.readthedocs.io/en/latest/)** + + +### Run CNTT RC Cookbook + +- copy/paste the following commands: +```bash +virtualenv functest +. functest/bin/activate +pip install ansible +ansible-galaxy install collivier.xtesting +git clone https://gerrit.opnfv.org/gerrit/functest functest-src +(cd functest-src && git checkout -b stable/hunter origin/stable/hunter) +ansible-playbook functest-src/ansible/site.cntt.yml +``` +- prepare the TC requirements (credentials, images, etc.) +- trigger the job on the local Jenkins and send the final archive to + third-party certification + +**Try it, and you will love it!** + + + +## CNTT Post-Snezka RC + + +### Update the OPNFV TCs + +- [port YardStick testcases to Xtesting](https://github.com/cntt-n/CNTT/issues/509) +- [port Bottlenecks to Xtesting](https://github.com/cntt-n/CNTT/issues/511) +- [port StorPerf testcases to Xtesting](https://github.com/cntt-n/CNTT/issues/673) +- [port NFVbench testcases to Xtesting](https://github.com/cntt-n/CNTT/issues/865) + + +### Increase the test coverage + +- [add heat-tempest-plugin to Functest](https://github.com/cntt-n/CNTT/issues/483) +- [add KloudBuster to Functest](https://github.com/cntt-n/CNTT/issues/508) +- [add tempest-stress to Functest](https://github.com/cntt-n/CNTT/issues/916) + + + +## Conclusion + + +### Takeaways + +- the RI/RC model is very simple and pragmatic +- it eases smootly integrating new test cases without extra logics and skills +- it's already in-use in Functest Kubernetes which should be more than an help + for CNTT RC2 (see k8s_conformance and xrally_kubernetes) + +**Any contribution is more than welcome!** diff --git a/doc/cntt_rc_cookbook/index.html b/doc/cntt_rc_cookbook/index.html new file mode 100644 index 00000000..e7c2e015 --- /dev/null +++ b/doc/cntt_rc_cookbook/index.html @@ -0,0 +1,52 @@ + + +CNTT Snezka: RC Cookbook + + + + + + + + +
+
+
+
+
+ + + + + -- cgit 1.2.3-korg