diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-05-30 13:46:24 +0000 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2023-05-30 13:50:29 +0000 |
commit | 31285a54d3d37336517c167c84597d451b9c6ecf (patch) | |
tree | a1fd59ca18ca0bac6f704230c1f081983726bcd2 /fdio.infra.ansible/roles | |
parent | ffb7ab505a7c3005b9542c43ceb95583992b3abf (diff) |
fix(tests): Hoststack compatibility
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I198fe62ddba8910c6bd8256739cc2503b87dfc75
Diffstat (limited to 'fdio.infra.ansible/roles')
3 files changed, 37 insertions, 1 deletions
diff --git a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile index 18cf8b3a3a..cdb23e9d44 100644 --- a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile +++ b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile @@ -30,7 +30,6 @@ RUN apt-get -q update \ ethtool \ gdb \ gfortran \ - iperf3 \ libapr1 \ libblas-dev \ libffi-dev \ @@ -61,6 +60,7 @@ RUN apt-get -q update \ screen \ socat \ software-properties-common \ + strace \ strongswan \ ssh \ sshpass \ diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 index be0ffcd9f4..d24ea0236e 100644 --- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 +++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 @@ -29,6 +29,15 @@ services: source: "/opt/boot/" target: "/opt/boot/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/var/run/docker.sock" target: "/var/run/docker.sock" - type: "bind" @@ -63,6 +72,15 @@ services: source: "/opt/boot/" target: "/opt/boot/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/var/run/docker.sock" target: "/var/run/docker.sock" - type: "bind" diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 index 6dcbc9f871..20ac905c5a 100644 --- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 +++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 @@ -29,6 +29,15 @@ services: source: "/opt/" target: "/opt/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/usr/lib/firmware/" target: "/usr/lib/firmware/" tg-1: @@ -60,5 +69,14 @@ services: source: "/opt/" target: "/opt/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/usr/lib/firmware/" target: "/usr/lib/firmware/" |