test_tag_array+=("!drv_avf")
;;
*"3n-tsh"*)
+ # 3n-tsh only has x520 NICs which don't work with AVF
+ test_tag_array+=("!drv_avf")
test_tag_array+=("!ipsechw")
- test_tag_array+=("!memif")
- test_tag_array+=("!srv6_proxy")
- test_tag_array+=("!vhost")
- test_tag_array+=("!vts")
;;
*"3n-hsw"*)
# TODO: Introduce NOIOMMU version of AVF tests.
;;
"3n_tsh")
TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_tsh*.yaml )
- TOPOLOGIES_TAGS="3_node_*_link_topo"
+ TOPOLOGIES_TAGS="3_node_single_link_topo"
;;
*)
# No falling back to 3n_hsw default, that should have been done
+++ /dev/null
-mrr-daily.txt
\ No newline at end of file
# We need to create instance before removing from sys.path.
cls.cached_vpp_instance = vpp_class(
use_socket=True, server_address="TBD", async_thread=False,
- read_timeout=6, logger=FilteredLogger(logger, "INFO"))
+ read_timeout=14, logger=FilteredLogger(logger, "INFO"))
# Cannot use loglevel parameter, robot.api.logger lacks support.
# TODO: Stop overriding read_timeout when VPP-1722 is fixed.
finally:
target_dir: '/opt'
version: 'dpdk-19.02'
url: 'https://fast.dpdk.org/rel'
+ build_targets:
+ aarch64: "arm64-armv8a"
+ x86_64: "x86_64-native"
# Calibration settings.
jitter:
inventory_cimc_hostname: '10.30.50.16'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.17'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.18'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.20'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.21'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.22'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.24'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.25'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.26'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
inventory_cimc_hostname: '10.30.50.28'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "haswell"
vm:
nr_hugepages: 4096
max_map_count: 20000
-taishan_workaround: True
+cpu_microarchitecture: "taishan"
vm:
nr_hugepages: 4096
max_map_count: 20000
-taishan_workaround: True
+cpu_microarchitecture: "taishan"
inventory_ipmi_hostname: '10.30.50.41'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.42'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.43'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.44'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.45'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.46'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.47'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.48'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.49'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.50'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.51'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.52'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.53'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.54'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.55'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.56'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.50.57'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
vfs_data_file: "csit-initialize-vfs-tx2.sh"
grub:
nr_hugepages: 57344
+cpu_microarchitecture: "thunderx2"
inventory_ipmi_hostname: '10.30.55.10'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "skylake"
inventory_ipmi_hostname: '10.30.55.11'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "denverton"
inventory_ipmi_hostname: '10.30.55.12'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "denverton"
inventory_ipmi_hostname: '10.30.55.13'
cobbler_profile: 'ubuntu-18.04.2-server-x86_64'
+cpu_microarchitecture: "denverton"
all:
children:
- haswell:
- children:
- tg:
- hosts:
- 10.30.51.16: null #t1-tg1
- 10.30.51.20: null #t2-tg1
- 10.30.51.24: null #t3-tg1
- sut:
- hosts:
- 10.30.51.17: null #t1-sut1
- 10.30.51.18: null #t1-sut2
- 10.30.51.21: null #t2-sut1
- 10.30.51.22: null #t2-sut2
- 10.30.51.25: null #t3-sut1
- 10.30.51.26: null #t3-sut2
- cobbler:
- hosts:
- 10.30.51.28: null #s4-virl1
- skylake:
- children:
- tg:
- hosts:
- 10.30.51.45: null #s4-t21-tg1
- 10.30.51.48: null #s13-t31-tg1
- 10.30.51.49: null #s19-t33t34-tg1
- 10.30.51.53: null #s6-t22-tg1
- 10.30.51.55: null #s8-t23-tg1
- 10.30.51.57: null #s10-t24-tg1
- 10.30.51.60: null #s16-t32-tg1
- 10.32.8.10: null #s28-t26t35-tg1
- sut:
- hosts:
- 10.30.51.44: null #s3-t21-sut1
- 10.30.51.46: null #s11-t31-sut1
- 10.30.51.47: null #s12-t31-sut2
- 10.30.51.52: null #s5-t22-sut1
- 10.30.51.54: null #s7-t23-sut1
- 10.30.51.56: null #s9-t24-sut1
- 10.30.51.58: null #s14-t32-sut1
- 10.30.51.59: null #s15-t32-sut2
- vpp_device:
- hosts:
- 10.30.51.50: null #s1-t11-sut1
- 10.30.51.51: null #s2-t12-sut1
- denverton:
- children:
- sut:
- hosts:
- 10.32.8.11: null #s29-t26-sut1
- 10.32.8.12: null #s30-t35-sut1
- 10.32.8.13: null #s31-t35-sut2
- thunderx2:
- children:
- vpp_device:
- hosts:
- 10.30.51.69: null #s27-t13-sut1
- taishan:
- children:
-# tg:
-# hosts:
- sut:
- hosts:
- 10.30.51.36: null #s17-t33-sut1
- 10.30.51.37: null #s18-t33-sut2
+ tg:
+ hosts:
+ 10.30.51.16: #t1-tg1 - haswell
+ 10.30.51.20: #t2-tg1 - haswell
+ 10.30.51.24: #t3-tg1 - haswell
+ 10.30.51.45: #s4-t21-tg1 - skylake
+ 10.30.51.48: #s13-t31-tg1 - skylake
+ 10.30.51.49: #s19-t33t34-tg1 - skylake
+ 10.30.51.53: #s6-t22-tg1 - skylake
+ 10.30.51.55: #s8-t23-tg1 - skylake
+ 10.30.51.57: #s10-t24-tg1 - skylake
+ 10.30.51.60: #s16-t32-tg1 - skylake
+ 10.32.8.10: #s28-t26t35-tg1 - skylake
+ sut:
+ hosts:
+ 10.30.51.17: #t1-sut1 - haswell
+ 10.30.51.18: #t1-sut2 - haswell
+ 10.30.51.21: #t2-sut1 - haswell
+ 10.30.51.22: #t2-sut2 - haswell
+ 10.30.51.25: #t3-sut1 - haswell
+ 10.30.51.26: #t3-sut2 - haswell
+ 10.30.51.36: #s17-t33-sut1 - taishan
+ 10.30.51.37: #s18-t33-sut2 - taishan
+ 10.30.51.44: #s3-t21-sut1 - skylake
+ 10.30.51.46: #s11-t31-sut1 - skylake
+ 10.30.51.47: #s12-t31-sut2 - skylake
+ 10.30.51.52: #s5-t22-sut1 - skylake
+ 10.30.51.54: #s7-t23-sut1 - skylake
+ 10.30.51.56: #s9-t24-sut1 - skylake
+ 10.30.51.58: #s14-t32-sut1 - skylake
+ 10.30.51.59: #s15-t32-sut2 - skylake
+ 10.32.8.11: #s29-t26-sut1 - denverton
+ 10.32.8.12: #s30-t35-sut1 - denverton
+ 10.32.8.13: #s31-t35-sut2 - denverton
+
+ vpp_device:
+ hosts:
+ 10.30.51.50: #s1-t11-sut1 - skylake
+ 10.30.51.51: #s2-t12-sut1 - skylake
+ 10.30.51.69: #s27-t13-sut1 - thunderx2
+ cobbler:
+ hosts:
+ 10.30.51.28: #s4-virl1 - haswell
+++ /dev/null
-[Unit]
-Description=Numa node workaround configuration
-
-[Service]
-ExecStart=/bin/sh -c 'echo 1 > /sys/bus/pci/devices/0000:11:00.0/numa_node'
-ExecStart=/bin/sh -c 'echo 1 > /sys/bus/pci/devices/0000:11:00.1/numa_node'
-Type=oneshot
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file
- name: Compile DPDK release
become: yes
- command: 'make install T={{ ansible_machine }}-native-linuxapp-gcc DESTDIR={{ dpdk.target_dir }}/{{ dpdk.version }} chdir={{ dpdk.target_dir }}/{{ dpdk.version }}'
+ command: 'make install T={{ dpdk.build_targets[ansible_machine] }}-linuxapp-gcc DESTDIR={{ dpdk.target_dir }}/{{ dpdk.version }} chdir={{ dpdk.target_dir }}/{{ dpdk.version }}'
when: 'linux__dpdk_extracted'
tags: install-dpdk
include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
tags: [ install-csit-dependencies, install-kernel-image ]
-- name: Taishan aarch64 specific
- import_tasks: taishan_workaround.yaml
- when: taishan_workaround is defined
-
- name: Copy 80-vpp.conf
file:
src: '/dev/null'
+++ /dev/null
----
-# file: roles/sut/tasks/taishan_workaround.yaml
-
-- name: Ensure systemd directory exists
- file:
- path: "/etc/systemd/system"
- state: "directory"
- owner: "root"
- group: "root"
- mode: "0755"
- tags: taishan-workaround
-
-- name: Copy systemd numa config unit file
- template:
- src: "files/taishan_workaround.service"
- dest: "/etc/systemd/system/nic-numa-config.service"
- owner: "root"
- group: "root"
- mode: "0644"
- register: numa_config_service
- tags: taishan-workaround
-
-- name: Reload systemd daemon
- command: "systemctl daemon-reload"
- when: (numa_config_service and numa_config_service is changed)
- tags: taishan-workaround
-
-- name: Enable numa config service
- command: "systemctl enable nic-numa-config.service"
- tags: taishan-workaround
notify: ['Update GRUB']
tags: set-grub
+- name: Install SciPy dependencies
+ apt:
+ name:
+ - 'gfortran'
+ - 'libblas-dev'
+ - 'liblapack-dev'
+ state: 'present'
+ install_recommends: False
+ tags: install-pip
+
+- name: Install CSIT PIP requirements without SciPy
+ pip:
+ name:
+ - 'docopt==0.6.2'
+ - 'ecdsa==0.13'
+ - 'enum34==1.1.2'
+ - 'ipaddress==1.0.16'
+ - 'paramiko==1.16.0'
+ - 'pexpect==4.6.0'
+ - 'pycrypto==2.6.1'
+ - 'pykwalify==1.5.0'
+ - 'pypcap==1.1.5'
+ - 'python-dateutil==2.4.2'
+ - 'PyYAML==3.11'
+ - 'requests==2.9.1'
+ - 'robotframework==2.9.2'
+ - 'scapy==2.3.1'
+ - 'scp==0.10.2'
+ - 'six==1.12.0'
+ - 'dill==0.2.8.2'
+ - 'numpy==1.14.5'
+ tags: install-pip
+
+- name: Install CSIT PIP requirements - SciPy workaround
+ pip:
+ name:
+ - 'scipy==1.1.0'
+ tags: install-pip
- name: Machine specifics
include_tasks: '{{ ansible_machine }}.yaml'
-- name: skylake specific
+- name: Skylake specific
import_tasks: skylake.yaml
- when: ("skylake" in groups) and inventory_hostname in groups['skylake']
+ when: cpu_microarchitecture == "skylake"
- name: Copy netplan network config file
template:
enabled: 'no'
tags: set-ondemand
-- name: Install CSIT PIP requirements
- pip:
- name:
- - 'docopt==0.6.2'
- - 'ecdsa==0.13'
- - 'enum34==1.1.2'
- - 'ipaddress==1.0.16'
- - 'paramiko==1.16.0'
- - 'pexpect==4.6.0'
- - 'pycrypto==2.6.1'
- - 'pykwalify==1.5.0'
- - 'pypcap==1.1.5'
- - 'python-dateutil==2.4.2'
- - 'PyYAML==3.11'
- - 'requests==2.9.1'
- - 'robotframework==2.9.2'
- - 'scapy==2.3.1'
- - 'scp==0.10.2'
- - 'six==1.12.0'
- - 'dill==0.2.8.2'
- - 'numpy==1.14.5'
- - 'scipy==1.1.0'
- tags: install-pip
-
- name: Install VPP PIP requirements
pip:
name:
tags: set-grub
- meta: flush_handlers
+
+- name: Install CSIT PIP requirements
+ pip:
+ name:
+ - 'docopt==0.6.2'
+ - 'ecdsa==0.13'
+ - 'enum34==1.1.2'
+ - 'ipaddress==1.0.16'
+ - 'paramiko==1.16.0'
+ - 'pexpect==4.6.0'
+ - 'pycrypto==2.6.1'
+ - 'pykwalify==1.5.0'
+ - 'pypcap==1.1.5'
+ - 'python-dateutil==2.4.2'
+ - 'PyYAML==3.11'
+ - 'requests==2.9.1'
+ - 'robotframework==2.9.2'
+ - 'scapy==2.3.1'
+ - 'scp==0.10.2'
+ - 'six==1.12.0'
+ - 'dill==0.2.8.2'
+ - 'numpy==1.14.5'
+ - 'scipy==1.1.0'
+ tags: install-pip
+