Giter Site home page Giter Site logo

sonata-nfv / tng-tests Goto Github PK

View Code? Open in Web Editor NEW
6.0 52.0 29.0 41.53 MB

5GTANGO Integration tests repository

License: Apache License 2.0

Shell 0.79% Dockerfile 0.84% Python 8.09% Lua 0.15% RobotFramework 8.74% Groovy 0.05% Makefile 0.10% Jupyter Notebook 49.81% JavaScript 0.20% HTML 31.24%

tng-tests's Introduction

Join the chat at https://gitter.im/sonata-nfv/Lobby

5GTANGO Integration Tests

This repository contains the integration tests as well as artifacts for the 5GTANGO components.

Folder Structure

Folder Content
pipeline/ Jenkins pipeline scripts
packages/ Test NSDs, VNFDs, TSTDs to be packed to *.tgo packages
slas/ Examples of SLA Descriptors
tests/ Integration tests classified by SDK/SP/VnV
... ...

Artifacts

Jenkins Integration

There is a Jenkins job to automatically build some of the artifacts stored in this repositry. For example, the Jenkins job automatically packages the SDK projects available in the packages/ folder. The resulting *.tgo files are then available as artifacts within Jenkins.

Licensing

For licensing issues, please check the Licence file.

Lead Developers

The following lead developers are responsible for this repository and have admin rights. They can, for example, merge pull requests.

  • Felipe Vicens (felipevicens)
  • Luis Hens (luishens01)

tng-tests's People

Contributors

alemanyp avatar allemaos avatar askmyhat avatar bobeal avatar carlos-f-parada avatar danielvilafalcon avatar dependabot[bot] avatar ebriseid avatar efotopoulou avatar ekapassa avatar ignaciodomin avatar jbonnet avatar juanlucruz avatar luishensruiz avatar miguelrivasquobis avatar mtouloup avatar pkarkazis avatar rafaelsche avatar santiagordguez avatar stkolome avatar tsoenen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tng-tests's Issues

Slice - Share Network Service 3.2.2

The shared NSS is a CNF where the slices are (NS1(VNF) - NS2(CNF) - NS3(VNF)) and (NS1(CNF) - NS2(VNF) - NS3(CNF))

Task list:

  • Create SP folder
  • Create README
  • Create .robot
  • Create Jenkins job

test_sdk03_validation

Tool: tng-sdk-validate
Short description: Validate a project before packaging.
Parameters: Size (no. VNF), descriptor complexity (low/high), validation level (s,i,t), custom rules (number of rules)
Collected metric: time to validate, memory used by tool, (detection rate or similar? not sure if this works, to be decided by tool owner)
Priority: high
Complexity: medium
Responsible: Miguel, Ana (Quobis)


test_sdk07_vim-emu-scalability

Tool: vim-emu
Short description: Test scalability of vim-emu
Parameters: Number of emulated PoPs, number of deployed services
Collected metric: Boot times, memory, etc.
Priority: high
Complexity: low
Responsible: Manuel (UPB)


Note: Tests have already performed and results are available from previous Journal publication. We will just re-use those numbers for D6.3.

Slice - Share Network Service 3.2.1

Bothe slices are composed by 3 NSs, which they are all composed of VNFs.
NS1_1 --> shared_NS2 --> NS3_1
NS1_2 --> shared_NS2 --> NS3_1

Task list:

  • Create SP folder
  • Create README
  • Create .robot
  • Create Jenkins job

test_sdk08_benchmarker_performance

Tool: tng-sdk-benchmark
Short description: Benchmarking performance in terms of executed benchmarks per time
Parameters: Number of tested configurations
Collected metric: Reconfiguration time
Priority: high
Complexity: medium
Responsible: Manuel (UPB)


Data should be already available from collaboration with Ubitech. Just need to filter, polish and plot it.

**test_sp01_test_integration_monitoring_vims**

Short description: Check the integration between monitoring manager and the VIMs
Tool: monitoring engine
Collected metric: test execution time
Priority: medium
Complexity: low
Responsible: PANOS K (SYN)

errors_sp_kpi

  • endpoint and error are collected KPIs dimensions, so we can filter by it

**test_sp05_test_migration_of_state (k8s)**

Short description: This test ensures that a state migration of a CNF is consistent.
Tool: MANO
Collected metric: test execution time, test instantiation time, test migration time
Priority: medium
Complexity: medium
Responsible: PANOS K (SYN), Eleni (UBI), Thomas (IMEC)

**test_sp04_test_migration_of_state (OS)**

Short description: This test ensures that a state migration of a VNF is consistent.
Tool: MANO
Collected metric: test execution time, test instantiation time, test migration time
Priority: medium
Complexity: medium
Responsible: PANOS K (SYN), Eleni (UBI), Thomas (IMEC)

Error when requesting map_package_on_service function from tnglib

robot test fails on map_package_on_service function
when called from /test_runtime_policy_lifecycle/test.robot file

This is the output as seen at command line after test execution:

==============================================================================
Test :: Test suite for enforcing a Runtime Policy to the SP platform          
==============================================================================
Setting the SP Path                                                   | PASS |
------------------------------------------------------------------------------
Upload the Package                                                    | FAIL |
KeyError: 'name'

Can we fix this? Am i requesting correctly the map_package_on_service funtion?
Thanks in advance :-)

test_sdk01_project_management

Tool: tng-sdk-project
Short description: Create project with different sizes.
Parameters: Number of VNFs (1-1000)
Collected metric: time to create, memory used by tool
Priority: high
Complexity: low
Responsible: Stefan (UPB)


test_sdk05_test_packaging

Tool: tng-sdk-test
Short description: How long does test creation for VnV take?
Parameters: -
Collected metric: Packing time
Priority: high
Complexity: low
Responsible: Askhat (IMEC)


test_sdk04_test_creation

Tool: tng-sdk-test
Short description: Test execution times (on-emulator)
Parameters: set of dummy tests
Collected metric: test execution time, service instantiation time
Priority: high
Complexity: medium
Responsible: Askhat (IMEC)


tng-tests documentation

Complete the devops testing methodology @felipevicens plus any additional information. There are some TST folders under the packages folder that are confusing. The wiki page is available.

**test_sp02_test_service_reconfiguration_(OS)**

Short description: Ensure that a service reconfiguration is triggered and executed correctly based on custom metrics from Openstack.
Tool: monitoring engine, MANO, Policy Manager
Collected metric: test execution time, test instantiation time, test scale time
Priority: high
Complexity: medium
Responsible: PANOS K (SYN), Eleni (UBI), Thomas (IMEC)

test_sdk02_packager

Tool: tng-sdk-packager
Short description: Package different packages.
Parameters: package size (no. VNF/files 1-100 VNF (maybe 1000)), package kind (5GTANGO, OSM), validation (yes/no)
Collected metric: time to package, memory used, package size
Priority: high
Complexity: low
Responsible: Manuel (UPB)


rate_sp_kpi

  • endpoint is one of the collected KPIs dimensions, so we can filter by it

**test_sp03_test_service_reconfiguration_(k8s)**

Short description: Ensure that a service reconfiguration is triggered and executed correctly based on custom metrics from K8s.
Tool: monitoring engine, MANO, Policy Manager
Collected metric: test execution time, test instantiation time, test scale time
Priority: high
Complexity: medium
Responsible: PANOS K (SYN), Eleni (UBI), Thomas (IMEC)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.