aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-04Display waiver content for the security testsVirginie2-0/+16
Issue-ID: INT-1764 Signed-off-by: Virginie <virginie.lefilleul@orange.com> Change-Id: I0efaa815112b30ad5c9faeeeafecaf7109a9162a Signed-off-by: Virginie <virginie.lefilleul@orange.com>
2020-11-02Update rke config for windriver deploymentmrichomme1-1/+4
Issue-ID: INT-1763 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Idde89623869a98ba625a1ee7ffd09596fbb9b62d
2020-10-16Update for MDONS Extersion in GuilinXin Miao3-4/+39
Issue-ID: INT-1690 Signed-off-by: Xin Miao <xin.miao@us.fujitsu.com> Change-Id: I023d81ec54df57170c267ad3b373e12fc71865dc Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-02optimize size and time using "--no-cache-dir"Pratik Raj10-33/+33
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead of using local cached one . Further , in case of Docker Containers , by restricing caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: INT-1616 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Id3e28faf35f36258362323b4a96bcf0f3f95726b Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-23Setup basic functional test of NSSMF RAN simulatorBartek Grzybowski7-0/+52
This setup will be leveraged in CI for functional verification of simulator. Change-Id: I2e3e501c9eabfc3aadbfbb256e1e22ae2bf0221d Issue-ID: INT-1723 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-09-23Set up and tear down test environment properlyPawel Wieczorek8-16/+44
Two issues were detected during testing deployment locally: - incomplete provisioning if set up from scratch [1], - leaving DevStack in unknown state if test failed. [1] https://www.vagrantup.com/docs/cli/up#provision-with-x-y-z Issue-ID: INT-1601 Change-Id: Ie553ba71a2b56789736ab822f1f1a2e4043f4935 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-09-22Update INFO.yamlmrichomme1-5/+25
Issue-ID: INT-1724 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Iee35a8c2b94fa91a3b4cdc87e09664942ff69907
2020-09-21Add missing dependency for the werkzeug module in setooptools as wellBartek Grzybowski1-1/+2
Change-Id: Ibb01f9050bb179fda2d652ed7c1cf5863e086d72 Issue-ID: INT-1723 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-09-21Add missing dependency for the werkzeug moduleBartek Grzybowski1-0/+1
Change-Id: I0bd782a6bd45dc8db75cbab968a0146fa30ce647 Issue-ID: INT-1723 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-09-19Add an External RAN NSSMF simulatorEnbo Wang11-0/+470
Change-Id: I770091159dd1f953d8a567ccd2bd7f6d21f27649 Issue-ID: INT-1707 Signed-off-by: Enbo Wang <wangenbo@huawei.com>
2020-09-14Add timeout on SSL internal cert retrievalmrichomme2-0/+135
In case of SSL issues, the socket timeout is set to 600s by default as we are scanning a liitle bit stupdidly - we try on all the internal ports..it may take a long time if we cumulate the different timeouts. Moreover a new error may occur socker.gaiaerror on internal scans Issue-ID: INT-1570 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ia0e1c7bb133565d6179afa155f6c299a5e012764 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-07Remove old SECCOM waiver lists sourcePawel Wieczorek4-28/+0
SECCOM waivers are now located in "integration/seccom" repository. Issue-ID: INT-1710 Change-Id: I2598c3d848338a4527c5c49b38b7c9f150d45abe Depends-On: I5f0f11307dd259d2a66a2916ac4ac01e27177b29 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-09-02check_certificates: create result dir if neededmrichomme1-0/+4
an arg allows to specify the results dir but if the dir path is not valid, we got an error try to create the dir before running the test Issue-ID: INT-1570 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I32363af1f066dc5e5a0adf45619fb4e1a9052a7d Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-02update vcpe casezhaoliping1233-60/+102
Issue-ID: TEST-239 Change-Id: Id20dfc9551ddadc9a64c634ceb19a3cf992aaabc Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
2020-09-01Fixed CBA sdnc_model_version into vFW_CDS_CNF documentationAniello Paolo Malinconico1-1/+1
Issue-ID: TEST-259 Signed-off-by: Malinconico Aniello Paolo <aniellopaolo.malinconico@guest.telecomitalia.it> Change-Id: I177af6c9a0173af1f6e6232fcaa78964098862d0
2020-08-31update policy staging imagesjhh2-16/+10
Issue-ID: POLICY-2794 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id9ee90bf303f77c1e6db91ae2ce6a7166934c64d
2020-08-31Add support for detecting Java 8Pawel Wieczorek1-2/+4
For Java 11 there are four ways of checking Java binary version: * -version print product version to the error stream and exit * -showversion print product version to the error stream and continue * --version print product version to the output stream and exit * --show-version print product version to the output stream and continue For Java 8 only error stream options are available. There is no support for output stream (double-hyphenated) options. This patch extends list of executed commands for binary version detection. Java 8 presence will now be shown in results instead of being reported as an error. Issue-ID: INT-1601 Change-Id: I1b538bc1f0826f6000fedb08860d12c15fe2fc14 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-31AAI-Simulator: Pulling from PNF-SW-UP CSIT to Integration repoajay_dp001112-0/+10234
Issue-ID: INT-1704 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: Ifc6a71f8303d3b27b40650dea5564365b08b1372 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-08-28Update tests for Datafile Collector (DCAE SDK update)Remigiusz Janeczek16-16/+56
Adjust DFC consul configs Make message router sim return array of strings instead of array of json objects as response (as in live environment) Issue-ID: DCAEGEN2-2267 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I792c9abcb1c49d73a790ca9c2e8f46a0e1dfd099
2020-08-26Add MANIFEST.in to include j2 file in the python packagemrichomme3-6/+4
Not sure it is the best way, maybe it can be done with setup.cfg.. it seems to be OK Issue-ID: INT-1570 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I7a1ddefba0ec0bbe35a5a51baebdf4a715a4f131 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-08-24update policy staging imagesjhh1-11/+7
Issue-ID: POLICY-2794 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2d4cffc3350a28ed17ec3aedafd78691c1e11808
2020-08-20Reset security xfail list for Guilinmrichomme1-14/+16
Issue-ID: INT-1695 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I6885cdbd4354add533999af6b43de267b888a59a
2020-08-19Update release note for Frankfurt maintenance releasemrichomme1-0/+10
release note was already updated regarding the new testsuite version but 6.0.1 was not updated Issue-ID: INT-1696 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: If05c616a27f51040e21452ebca45c96e2721c51d
2020-08-10Drop using symlinks for documentation markup renderingPawel Wieczorek12-317/+311
Keeping only symlinks as the markup indicator does not trigger CI on relevant patches changing documentation contents (there's no change in symlink). This can be resolved by dropping symlinks usage entirely. Sphinx and RTD aren't going anywhere anytime soon. To make sure all symlinks were replaced following one-liner was used: $ find . -type l -name "*.rst" -exec readlink -e {} \; \ | xargs -I% git mv -f %{,.rst} which finds all the symlinks in the repo with "*.rst" suffix, then reads which file they link to and finally replaces given symlink with that file. This solution was suggested by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1672 Change-Id: I120e216b0b48032bb7b80c23cad799cd6f7cca53 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-10Replace deprecated "with_items" with loopsPawel Wieczorek7-9/+7
As of Ansible 2.5+, the recommended way to perform loops is to use the new "loop" keyword instead of "with_*" style loops [1]. This issue was reported by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> [1] https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html Issue-ID: INT-1601 Change-Id: Icf9079fc5c22ac034631397ea46d2b03fb4298ab Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-07Add versions of tools used during verificationPawel Wieczorek3-6/+6
Issue-ID: INT-1601 Change-Id: I3ff59402627e679a6a5dcdb5a64f2d04d1df09cf Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-06Manual revert of kubernetes version in rke scriptsmrichomme1-1/+1
- 1.15.11 not supported - 1.15.3 is OK on Nokia lab - OOM reco is 1.15.x up to frankfurt Impossible to revert through gerrit Do it manually Issue-ID: INT-1677 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I67f8f65aab4d77f8c341b10c195c86a2f8be8901
2020-08-05Update Kubernetes rke versionmrichomme1-1/+1
it remained in 1.15.3 on windriver lab It shall be 1.15.11 Issue-ID: INT-1677 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I889cb52ec4d41929b56ae8416584d73430a5bd59 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-07-30Use external volumes for OpenStack virtual machinesPawel Wieczorek3-0/+10
This allows easier storage quota changes (without the need to modify flavors). Issue-ID: INT-1601 Change-Id: I0fe7557ff6f23eb0e29314ee0d4819893583a294 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add hosts configuration for Service Mesh ONAPPawel Wieczorek2-0/+54
Added configuration resembles set of instances already in use for Service Mesh Proof-of-Concept purposes. Floating IPs were disabled on Worker and NFS nodes to limit resource usage. Issue-ID: INT-1601 Change-Id: Ie575c37344da21e71a8e0803e2e5bd2db18d9290 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Make Vagrant-based environment safe defaultsPawel Wieczorek2-19/+20
Having a symlink instead of actual file allows having less changes between upstream repository and on-premise deployment. This patch does not affect development environment in any way. Issue-ID: INT-1601 Change-Id: I489c7ce7084d48ba03962e44d64f56c316bcc56a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add separate NICs to access OpenStack virtual machinesPawel Wieczorek2-0/+4
Dedicated network interface is recommended for accessing OpenStack guest instances [1]. With current Vagrant-based environment "eth2" interface is expected to be assigned as additional NIC (with "eth0" for Vagrant host network and "eth1" for Ansible management network). [1] https://docs.openstack.org/devstack/latest/networking.html Issue-ID: INT-1601 Change-Id: I3798f94db476eef77d02e6f8f7e078fc4b4e7622 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack security groupsPawel Wieczorek14-0/+85
Additional OpenStack security group and its rules are required to allow traffic to virtual machines created on DevStack. Virtual machines will be accessible from 172.24.4.0/24 network (default public IP pool). Issue-ID: INT-1601 Change-Id: I902f64f542197e329e21790f98662d2e408d4bb6 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack hostsPawel Wieczorek21-1/+156
Key pair is generated upon host creation and removed after the host is destroyed. This patch is based on previous work by: Krzysztof Opasiak <k.opasiak@samsung.com> Issue-ID: INT-1601 Change-Id: I9acd0b68a3ee79a0d710c40e0a1cc8470dfacce5 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack networkPawel Wieczorek19-1/+171
This patch also adds Vagrant provisioners for creating and destroying OpenStack infrastructure. These are set to never run (unless explicitly called by the operator) because DevStack instance on a separate machine might not be ready to provide OpenStack API. This patch is based on previous work by: Krzysztof Opasiak <k.opasiak@samsung.com> Test harness is based on blog post [1] by: Chris Morgan <me@chrismorgan.info> [1] https://chrismorgan.info/blog/make-and-git-diff-test-harness Issue-ID: INT-1601 Change-Id: I031ca7a5a43cca0258dc0dc9e0339182c431898a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Vagrant-based development environmentPawel Wieczorek5-0/+154
Development guide ("HACKING") is subject to change based on gathered feedback. Issue-ID: INT-1601 Change-Id: I8988c8a6e85d215485666690e0c281412a1ce869 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Introduce ONAP CI Lab infrastructure setup guidePawel Wieczorek3-0/+48
This patch adds requirements to the parent README file. This will be changed to ".. include" directive once these READMEs are ready to be added to the Integration documentation. Issue-ID: INT-1601 Change-Id: I5bc2aba03689ea2547e713491a62947a54558095 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-29Introduce ONAP CI Lab setup guidePawel Wieczorek3-0/+26
This patch adds information on expected results from following the guide. It will be used for Service Mesh lab purposes. Issue-ID: INT-1601 Change-Id: I26decb9d785270b3c580bd0ce3cc97262c9a171a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-29Adjust DFC test files to use FTPES instead of FTPSRemigiusz Janeczek33-790/+822
DFC doesn't support FTPS protocol. FTPS is treated exactly like FTPES and soon DFC won't accept file locations starting with "ftps://". Fix mr-sim.py lint issues Issue-ID: DCAEGEN2-2367 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Idab56aab3bdb6734a04bfc9c9212f2ea800d0d74
2020-07-28Import upstream component version inspection toolPawel Wieczorek16-0/+1360
This patch adds utility to check versions of binaries available in Docker containers run on Kubernetes cluster. It has been contributed by: kkkk-k <kkkk.k@samsung.com> Several minor changes were made to comply with ONAP CI linter rules. Issue-ID: INT-1571 Change-Id: Id0e4b557212dec1bf8d2bac580968d69e2cf5595 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-27Fix vsftpd config setupBartek Grzybowski2-4/+4
Change-Id: I3a178c09cfb0aeae6f32925898b1a38080e981e0 Issue-ID: INT-1662 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Add README fileBartek Grzybowski1-0/+58
Change-Id: Id6ad15ca3bde209f3c5c68977098a2280992cd1f Issue-ID: INT-1663 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Add HOT parameters for the simulatorBartek Grzybowski3-4/+38
Run simulator instances from runner script Change-Id: I9d9a317c378a84b1846821916fee5f47452944c5 Issue-ID: INT-1662 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Setup build env on instanceBartek Grzybowski1-0/+5
Required to build simulator image Change-Id: If323b9cd8c76eaba3a16dc588382f1c86e15f1b1 Issue-ID: INT-1661 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-27Setup runner script for the simulator in HOTBartek Grzybowski3-2/+35
This adds shell runner script and HOT setup to deploy and run it. Change-Id: I88b9b516f38dac789da1caa050192358829e9357 Issue-ID: INT-1661 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-07-24Update tls-init-containerRemigiusz Janeczek1-1/+1
Previous tls-init-container supplies outdated certificates Issue-ID: DCAEGEN2-2367 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ib1b4c3fa097e17a06dfc85aa0059879b53cd6624
2020-07-20[PMSHSIM] Refactoring pmsh-pnf-simefiacor12-86/+252
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I40834e906fcc5f33c6e70fb3d3da886a7ee0d521 Issue-ID: INT-1657
2020-07-14Add sftp strict host key checking to DFC consul configsRemigiusz Janeczek13-0/+45
Issue-ID: DCAEGEN2-2219 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I93b673bc947edaeff57a19bda822f6ed70521b87
2020-07-09Update release notes for Frankfurt Maintenance releasemrichomme11-64/+82
update testsuite 1.6.4 fix foc links (submodules lead to broken links) Issue-ID: INT-1652 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Id83b1b589216317cd755f9d2eb844c6dfb1029c9
2020-07-06Fix check certification python pakagingmrichomme2-0/+2
- include jinja2 tempalte (__init.py) - include xfail list (scripts in setup.cfg) Issue-ID: INT-1570 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I08d1229c939b64aa8e920f75ea05a8aa0404a4c5