From 902eeba3c8b011c532fc9798ac1657efc81d1fb2 Mon Sep 17 00:00:00 2001 From: Elinor Montmasson Date: Tue, 10 Dec 2024 15:38:23 +0100 Subject: [PATCH 1/2] WIP: Run latency test for 5 hours but check only one SV per second --- .github/workflows/ci-yocto.yml | 7 ++++--- playbooks/ci_latency_tests.yaml | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-yocto.yml b/.github/workflows/ci-yocto.yml index d2639d97c..9a9242bed 100644 --- a/.github/workflows/ci-yocto.yml +++ b/.github/workflows/ci-yocto.yml @@ -5,6 +5,7 @@ name: CI Yocto env: WORK_DIR: /tmp/seapath_ci_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.sha }} + PCAP_LOOP: 18000 # 5 hours on: pull_request: @@ -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; diff --git a/playbooks/ci_latency_tests.yaml b/playbooks/ci_latency_tests.yaml index 36ad601e7..8e23e9cc9 100644 --- a/playbooks/ci_latency_tests.yaml +++ b/playbooks/ci_latency_tests.yaml @@ -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 @@ -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 From c7a511904e1cf7a1ed7394331e01bdfd58401789 Mon Sep 17 00:00:00 2001 From: Elinor Montmasson Date: Wed, 11 Dec 2024 16:16:27 +0100 Subject: [PATCH 2/2] WIP: use temporary test branch on ci repo --- .github/workflows/ci-yocto.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-yocto.yml b/.github/workflows/ci-yocto.yml index 9a9242bed..2ba89e181 100644 --- a/.github/workflows/ci-yocto.yml +++ b/.github/workflows/ci-yocto.yml @@ -5,7 +5,7 @@ name: CI Yocto env: WORK_DIR: /tmp/seapath_ci_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.sha }} - PCAP_LOOP: 18000 # 5 hours + PCAP_LOOP: 10 on: pull_request: @@ -25,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;