diff --git a/.github/workflows/ci-yocto.yml b/.github/workflows/ci-yocto.yml index d2639d97c..2ba89e181 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: 10 on: pull_request: @@ -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; @@ -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