aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-08-25 11:31:57 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-08-30 06:09:54 +0000
commitc5350983da615f982ceca3eb19c62b1dab38fbff (patch)
treebbf96a5f072ab6f5881184e493455695869e2567 /fdio.infra.ansible/roles
parent4dd54fb0f0de796d3b728c0d6187a3721458c75e (diff)
fix(core): Ubuntu Jammy VIII
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I12e7515f7dd04dd493c566ce85ed17f87e2563bb
Diffstat (limited to 'fdio.infra.ansible/roles')
-rw-r--r--fdio.infra.ansible/roles/csit_sut_image/files/Dockerfile111
-rw-r--r--fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml4
3 files changed, 64 insertions, 53 deletions
diff --git a/fdio.infra.ansible/roles/csit_sut_image/files/Dockerfile b/fdio.infra.ansible/roles/csit_sut_image/files/Dockerfile
index a955799b63..1f72df8205 100644
--- a/fdio.infra.ansible/roles/csit_sut_image/files/Dockerfile
+++ b/fdio.infra.ansible/roles/csit_sut_image/files/Dockerfile
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -11,8 +11,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM ubuntu:20.04
-LABEL Description="CSIT vpp-device ubuntu 20.04 SUT image"
+FROM ubuntu:22.04
+LABEL Description="CSIT vpp-device ubuntu 22.04 SUT image"
LABEL Version="master"
# Setup the environment
@@ -47,9 +47,9 @@ RUN apt-get -q update \
libblas-dev \
libffi-dev \
liblapack-dev \
- libmbedcrypto3 \
- libmbedtls12 \
- libmbedx509-0 \
+ libmbedcrypto7 \
+ libmbedtls14 \
+ libmbedx509-1 \
libnuma1 \
libnuma-dev \
libpcap-dev \
@@ -96,62 +96,69 @@ RUN mkdir -p /tmp/dumps \
# CSIT PIP pre-cache
RUN pip3 install \
- ecdsa==0.13.3 \
- paramiko==2.6.0 \
+ ecdsa==0.18.0 \
+ paramiko==2.9.3 \
pycrypto==2.6.1 \
- pypcap==1.2.3 \
- PyYAML==5.1.1 \
- requests==2.22.0 \
- robotframework==3.1.2 \
- scapy==2.4.3 \
- scp==0.13.2 \
- ansible==2.10.7 \
- dill==0.2.8.2 \
- numpy==1.17.3 \
+ PyYAML==5.4.1 \
+ requests==2.25.1 \
+ robotframework==5.0.1 \
+ scapy==2.4.5 \
+ scp==0.14.4 \
+ ansible==5.10.0 \
+ ansible-core==2.12.7 \
+ dill==0.3.5.1 \
+ numpy==1.22.4 \
+ scipy==1.8.1 \
+ boto3==1.17.78 \
+ botocore==1.20.78 \
hdrhistogram==0.6.1 \
+ pandas==1.4.2 \
plotly==4.1.1 \
PTable==0.9.2 \
- Sphinx==2.2.1 \
- sphinx-rtd-theme==0.4.0 \
- sphinxcontrib-programoutput==0.15 \
+ Sphinx==3.5.4 \
+ sphinx-rtd-theme==0.5.2 \
+ sphinxcontrib-applehelp==1.0.2 \
+ sphinxcontrib-devhelp==1.0.2 \
+ sphinxcontrib-htmlhelp==2.0.0 \
+ sphinxcontrib-jsmath==1.0.1 \
+ sphinxcontrib-programoutput==0.17 \
+ sphinxcontrib-qthelp==1.0.3 \
sphinxcontrib-robotdoc==0.11.0 \
+ sphinxcontrib-serializinghtml==1.1.5 \
ply==3.11 \
+ jsonschema==4.1.0 \
+ rfc3339-validator==0.1.4 \
+ rfc3987==1.3.8 \
alabaster==0.7.12 \
- Babel==2.7.0 \
- bcrypt==3.1.7 \
- certifi==2019.9.11 \
- cffi==1.13.2 \
- chardet==3.0.4 \
- cryptography==2.8 \
- docutils==0.15.2 \
+ attrs==21.4.0 \
+ Babel==2.10.3 \
+ bcrypt==3.2.2 \
+ certifi==2022.6.15 \
+ cffi==1.15.1 \
+ chardet==4.0.0 \
+ cryptography==36.0.2 \
+ docutils==0.16 \
future==0.18.2 \
- idna==2.8 \
- imagesize==1.1.0 \
- Jinja2==2.10.3 \
- MarkupSafe==1.1.1 \
- packaging==19.2 \
- pbr==5.4.3 \
- pycparser==2.19 \
- Pygments==2.4.2 \
- PyNaCl==1.3.0 \
- pyparsing==2.4.4 \
+ idna==2.10 \
+ imagesize==1.4.1 \
+ Jinja2==3.0.3 \
+ jmespath==0.10.0 \
+ MarkupSafe==2.1.1 \
+ packaging==21.3 \
+ pbr==5.9.0 \
+ pycparser==2.21 \
+ Pygments==2.12.0 \
+ PyNaCl==1.5.0 \
+ pyparsing==3.0.9 \
+ pyrsistent==0.18.1 \
python-dateutil==2.8.2 \
- pytz==2019.3 \
+ pytz==2022.1 \
+ resolvelib==0.5.4 \
retrying==1.3.3 \
- six==1.13.0 \
- snowballstemmer==2.0.0 \
- sphinxcontrib-applehelp==1.0.1 \
- sphinxcontrib-devhelp==1.0.1 \
- sphinxcontrib-htmlhelp==1.0.2 \
- sphinxcontrib-jsmath==1.0.1 \
- sphinxcontrib-qthelp==1.0.2 \
- sphinxcontrib-serializinghtml==1.1.3 \
- urllib3==1.25.6
-
-# ARM workaround
-RUN pip3 install \
- pandas==0.25.3 \
- scipy==1.5.4
+ s3transfer==0.4.2 \
+ six==1.16.0 \
+ snowballstemmer==2.2.0 \
+ urllib3==1.26.10
# SSH settings
RUN echo 'root:Csit1234' | chpasswd \
diff --git a/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml b/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
index ea69c64b3b..50b6b64abb 100644
--- a/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
@@ -23,7 +23,7 @@
- csit-sut-image
- name: Build CSIT SUT Docker Image
- ansible.builtin.shell: "docker build -t csit_sut-ubuntu2004:local ."
+ ansible.builtin.shell: "docker build -t csit_sut-ubuntu2204:local ."
args:
chdir: "/opt/csit-sut"
tags:
diff --git a/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml b/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml
index 946206ad55..70a80b43ea 100644
--- a/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml
+++ b/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml
@@ -69,3 +69,7 @@
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
when: trex_extracted.changed
+
+- name: Link libc.a to liblibc.a
+ ansible.builtin.command: "ln -s -f /usr/lib/x86_64-linux-gnu/libc.a /usr/lib/x86_64-linux-gnu/liblibc.a"
+ when: trex_extracted.changed