diff options
author | pmikus <pmikus@cisco.com> | 2017-01-17 15:32:46 +0100 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2017-02-01 15:48:56 +0100 |
commit | 223a5c2eed4a935b27d390b89aa849a3825d86bb (patch) | |
tree | 40f8a566e883e6c027de54929ce1ba492d994140 /docs/report/introduction | |
parent | 5362fa4f79de701a737b4d1ff794ad4e513f6486 (diff) |
CSIT 1701 report files and script
Add RST source files and script to generate CSIT 1701 report
Change-Id: I4345564547270ba10c64d6beebf2c2b5a83de459
Signed-off-by: pmikus <pmikus@cisco.com>
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'docs/report/introduction')
-rw-r--r-- | docs/report/introduction/csit_test_naming.rst | 126 | ||||
-rw-r--r-- | docs/report/introduction/general_remarks.rst | 17 | ||||
-rw-r--r-- | docs/report/introduction/index.rst | 8 | ||||
-rw-r--r-- | docs/report/introduction/overview.rst | 23 |
4 files changed, 174 insertions, 0 deletions
diff --git a/docs/report/introduction/csit_test_naming.rst b/docs/report/introduction/csit_test_naming.rst new file mode 100644 index 0000000000..0415e5c5d6 --- /dev/null +++ b/docs/report/introduction/csit_test_naming.rst @@ -0,0 +1,126 @@ +CSIT Test Naming
+================
+
+Background
+----------
+
+CSIT |release| introduced a common structured naming convention for all
+performance and functional tests. This change was driven by substantially
+growing number and type of CSIT test cases. Firstly, the original practice did
+not always follow any strict naming convention. Secondly test names did not
+always clearly capture tested packet encapsulations, and the actual type or
+content of the tests. Thirdly HW configurations in terms of NICs, ports and
+their locality were not captured either. These were but few reasons that drove
+the decision to change and define a new more complete and stricter test naming
+convention. And to apply it to all existing and new test suites and test
+cases.
+
+The new naming should be intuitive for majority of the tests. Complete
+description of the newly adopted CSIT test naming convention is provided on
+`CSIT test naming page <https://wiki.fd.io/view/CSIT/csit-test-naming>`_. Here
+few illustrative examples of the new naming usage for test suites across CSIT
+performance, functional and HoneyComb management test areas.
+
+Naming Convention
+-----------------
+
+The CSIT approach is to use tree naming convention and to encode following
+testing information into test suite and test case names:
+
+1. packet network port configuration
+
+ * port type, physical or virtual;
+ * number of ports;
+ * NIC model, if applicable;
+ * port-NIC locality, if applicable;
+
+2. packet encapsulations;
+
+3. VPP packet processing
+
+ * packet forwarding mode;
+ * packet processing function(s);
+
+4. packet forwarding path
+
+ * if present, network functions (processes, containers, VMs) and their
+ topology within the computer;
+
+5. main measured variable, type of test.
+
+Proposed convention is to encode ports and NICs on the left (underlay),
+followed by outer-most frame header, then other stacked headers up to the
+header processed by vSwitch-VPP, then VPP forwarding function, then encap on
+vhost interface, number of vhost interfaces, number of VMs. If chained VMs
+present, they get added on the right. Test topology is expected to be
+symmetric, in other words packets enter and leave SUT through ports specified
+on the left of the test name. Here some examples to illustrate the convention
+followed by the complete legend, and tables mapping the new test filenames to
+old ones.
+
+Naming Examples
+---------------
+
+CSIT test suite naming examples (filename.robot) for common tested VPP
+topologies:
+
+1. **Physical port to physical port - a.k.a. NIC-to-NIC, Phy-to-Phy, P2P**
+
+ * *PortNICConfig-WireEncapsulation-PacketForwardingFunction-
+ PacketProcessingFunction1-...-PacketProcessingFunctionN-TestType*
+ * *10ge2p1x520-dot1q-l2bdbasemaclrn-ndrdisc.robot* => 2 ports of 10GE on Intel
+ x520 NIC, dot1q tagged Ethernet, L2 bridge-domain baseline switching with
+ MAC learning, NDR throughput discovery.
+ * *10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-ndrchk.robot* => 2 ports of 10GE on
+ Intel x520 NIC, IPv4 VXLAN Ethernet, L2 bridge-domain baseline switching
+ with MAC learning, NDR throughput discovery.
+ * *10ge2p1x520-ethip4-ip4base-ndrdisc.robot* => 2 ports of 10GE on Intel x520
+ NIC, IPv4 baseline routed forwarding, NDR throughput discovery.
+ * *10ge2p1x520-ethip6-ip6scale200k-ndrdisc.robot* => 2 ports of 10GE on Intel
+ x520 NIC, IPv6 scaled up routed forwarding, NDR throughput discovery.
+ * *10ge2p1x520-ethip4-ip4base-iacldstbase-ndrdisc.robot* => 2 ports of 10GE on
+ Intel x520 NIC, IPv4 baseline routed forwarding, ingress Access Control
+ Lists baseline matching on destination, NDR throughput discovery.
+ * *40ge2p1vic1385-ethip4-ip4base-ndrdisc.robot* => 2 ports of 40GE on Cisco
+ vic1385 NIC, IPv4 baseline routed forwarding, NDR throughput discovery.
+ * *eth2p-ethip4-ip4base-func.robot* => 2 ports of Ethernet, IPv4 baseline
+ routed forwarding, functional tests.
+
+2. **Physical port to VM (or VM chain) to physical port - a.k.a. NIC2VM2NIC,
+ P2V2P, NIC2VMchain2NIC, P2V2V2P**
+
+ * *PortNICConfig-WireEncapsulation-PacketForwardingFunction-
+ PacketProcessingFunction1-...-PacketProcessingFunctionN-VirtEncapsulation-
+ VirtPortConfig-VMconfig-TestType*
+ * *10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.robot* => 2 ports
+ of 10GE on Intel x520 NIC, dot1q tagged Ethernet, L2 bridge-domain switching
+ to/from two vhost interfaces and one VM, NDR throughput discovery.
+ * *10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.robot* => 2
+ ports of 10GE on Intel x520 NIC, IPv4 VXLAN Ethernet, L2 bridge-domain
+ switching to/from two vhost interfaces and one VM, NDR throughput discovery.
+ * *10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc.robot* => 2
+ ports of 10GE on Intel x520 NIC, IPv4 VXLAN Ethernet, L2 bridge-domain
+ switching to/from four vhost interfaces and two VMs, NDR throughput
+ discovery.
+ * *eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot* => 2 ports of
+ Ethernet, IPv4 VXLAN Ethernet, L2 bridge-domain switching to/from two vhost
+ interfaces and one VM, functional tests.
+
+3. **API CRUD tests - Create (Write), Read (Retrieve), Update (Modify), Delete
+ (Destroy) operations for configuration and operational data**
+
+ * *ManagementTestKeyword-ManagementOperation-ManagedFunction1-...-
+ ManagedFunctionN-ManagementAPI1-ManagementAPIN-TestType*
+ * *mgmt-cfg-lisp-apivat-func* => configuration of LISP with VAT API calls,
+ functional tests.
+ * *mgmt-cfg-l2bd-apihc-apivat-func* => configuration of L2 Bridge-Domain with
+ HoneyComb API and VAT API calls, functional tests.
+ * *mgmt-oper-int-apihcnc-func* => reading status and operational data of
+ interface with HoneyComb NetConf API calls, functional tests.
+ * *mgmt-cfg-int-tap-apihcnc-func* => configuration of tap interfaces with
+ HoneyComb NetConf API calls, functional tests.
+ * *mgmt-notif-int-subint-apihcnc-func* => notifications of interface and
+ sub-interface events with HoneyComb NetConf Notifications, functional tests.
+
+For complete description of CSIT test naming convention please refer to `CSIT
+test naming page <https://wiki.fd.io/view/CSIT/csit-test-naming>`_.
diff --git a/docs/report/introduction/general_remarks.rst b/docs/report/introduction/general_remarks.rst new file mode 100644 index 0000000000..60fcbd882d --- /dev/null +++ b/docs/report/introduction/general_remarks.rst @@ -0,0 +1,17 @@ +General Remarks
+===============
+
+All CSIT test results listed in this report are sourced and auto-generated
+from output.xml Robot Framework (RF) files resulting from LF FD.io Jenkins
+jobs execution against VPP-17.01 release artifacts. References are provided
+to the original LF FD.io Jenkins job results. However, as LF FD.io Jenkins
+infrastructure does not automatically archive all jobs (history record is
+provided for the last 30 dayts or 40 jobs only), additional references are
+provided to the RF result files that got archived in FD.io nexus online
+storage system.
+
+CSIT |release| report does also include VPP make test results, mainly as
+a reference. Although these tests have not been developed FD.io CSIT project,
+but inthe FD.io VPP project, they have been provided in this report to give
+reader a more complete view of automated testing executed against VPP-17.01
+release, as they do complement tests done by CSIT.
diff --git a/docs/report/introduction/index.rst b/docs/report/introduction/index.rst new file mode 100644 index 0000000000..1aa603b692 --- /dev/null +++ b/docs/report/introduction/index.rst @@ -0,0 +1,8 @@ +Introduction +============ + +.. toctree:: + + overview + csit_test_naming + general_remarks diff --git a/docs/report/introduction/overview.rst b/docs/report/introduction/overview.rst new file mode 100644 index 0000000000..e3b343c815 --- /dev/null +++ b/docs/report/introduction/overview.rst @@ -0,0 +1,23 @@ +Overview
+========
+
+This is the Fast Data Project (FD.io) Continuous System Integration and Testing
+(CSIT) project report for CSIT |release| system testing of VPP-17.01 release.
+Initial sections of the report describe FD.io functional and performance tests
+and their continuous execution achieved in CSIT |release|. This is followed by
+high-level overview of FD.io test environments running in Linux Foundation
+(LF) FD.io Continuous Performance Labs), CSIT |release| release notes and
+result highlights. Subsequent sections list the functional and performance
+detailed test results generated by LF FD.io Jenkins system executing CSIT jobs
+running tests against the VPP-17.01 release and associated sub-systems
+(HoneyComb, DPDK).
+
+FD.io CSIT system is developed using two main coding platforms: Robot
+Framework (RF) and Python. CSIT |release| source code for the executed test
+suites is available in CSIT branch |release| in the directory
+"./tests/<name_of_the_test_suite>". A local copy of CSIT source code can be
+obtained by cloning CSIT git repository - "git clone
+https://gerrit.fd.io/r/csit". The CSIT testing virtual environment can be run
+on a local computer workstation (laptop, server) using Vagrant by following
+the instructions in `CSIT tutorials
+<https://wiki.fd.io/view/CSIT#Tutorials>`_.
|