Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve latency tests #663

Draft
wants to merge 2 commits into
base: debiancentos
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: CI Yocto

env:
WORK_DIR: /tmp/seapath_ci_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.sha }}
PCAP_LOOP: 10

on:
pull_request:
Expand All @@ -24,7 +25,7 @@ jobs:

- name: Initialize sources
run: mkdir ${{ env.WORK_DIR }}; cd ${{ env.WORK_DIR }};
git clone -q --depth 1 --recurse-submodules -b main https://github.com/seapath/ci ci;
git clone -q --depth 1 --recurse-submodules -b improve-latency-tests https://github.com/seapath/ci ci;
echo "CI sources downloaded successfully";
ci/launch-yocto.sh init;

Expand Down Expand Up @@ -60,6 +61,6 @@ jobs:
run: cd ${{ env.WORK_DIR }};
ci/launch-yocto.sh report;

- name: Clean
if: always()
run: rm -rf $WORK_DIR;
# - name: Clean
# if: always()
# run: rm -rf $WORK_DIR;
2 changes: 2 additions & 0 deletions playbooks/ci_latency_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
-d {{ sv_interface }}
-f "/tmp/latency_tests/ts_{{ inventory_hostname }}.txt"
-t
-l

- name: Launch sv timestamp logger on VMs
hosts: VMs
Expand All @@ -94,6 +95,7 @@
sv_timestamp_logger
-d {{ sv_interface }}
-f "/tmp/latency_tests/ts_{{ inventory_hostname }}.txt"
-l

- name: Launch pcap sending
hosts: publisher_machine
Expand Down
Loading