@@ -795,6 +795,35 @@ jobs:
795795 - name : ccache stats
796796 run : ccache -s
797797
798+ - name : Build linux-x64-requestor-app
799+ env :
800+ CCACHE_DIR : " ${GITHUB_WORKSPACE}/.ccache"
801+ run : >-
802+ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py
803+ --target linux-x64-ota-requestor-${BUILD_VARIANT}-tsan-clang-test
804+ --pw-command-launcher=ccache build --copy-artifacts-to objdir-clone
805+ && rm -rf out/linux-x64-ota-requestor-${BUILD_VARIANT}-tsan-clang-test"
806+
807+ - name : Build linux-x64-provider-app
808+ env :
809+ CCACHE_DIR : " ${GITHUB_WORKSPACE}/.ccache"
810+ run : >-
811+ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py
812+ --target linux-x64-ota-provider-${BUILD_VARIANT}-tsan-clang-test
813+ --pw-command-launcher=ccache build --copy-artifacts-to objdir-clone
814+ && rm -rf out/linux-x64-ota-provider-${BUILD_VARIANT}-tsan-clang-test"
815+
816+ - name : Build Software Update ota images with new version.
817+ env :
818+ CCACHE_DIR : " ${GITHUB_WORKSPACE}/.ccache"
819+ run : >-
820+ ./scripts/run_in_build_env.sh "./scripts/build/build_ota_images.sh --out-prefix out/su_ota_images_min --max-range 2
821+ && mv out/su_ota_images_min-v*/*.ota objdir-clone
822+ && rm -rf out/su_ota_images_min-v*"
823+
824+ - name : ccache stats
825+ run : ccache -s
826+
798827 - name : Install push_av_server dependencies
799828 run : >-
800829 ./scripts/run_in_python_env.sh out/venv \
@@ -822,19 +851,25 @@ jobs:
822851 echo "FABRIC_SYNC_APP: objdir-clone/linux-x64-fabric-sync-${BUILD_VARIANT}-clang/fabric-sync" >> /tmp/test_env.yaml
823852 echo "LIGHTING_APP_NO_UNIQUE_ID: objdir-clone/linux-x64-light-data-model-no-unique-id-${BUILD_VARIANT}-clang/chip-lighting-app" >> /tmp/test_env.yaml
824853 echo "TERMS_AND_CONDITIONS_APP: objdir-clone/linux-x64-terms-and-conditions/chip-terms-and-conditions-app" >> /tmp/test_env.yaml
854+ echo "OTA_PROVIDER_APP: objdir-clone/linux-x64-ota-provider-${BUILD_VARIANT}-tsan-clang-test/chip-ota-provider-app" >> /tmp/test_env.yaml
855+ echo "OTA_REQUESTOR_APP: objdir-clone/linux-x64-ota-requestor-${BUILD_VARIANT}-tsan-clang-test/chip-ota-requestor-app" >> /tmp/test_env.yaml
825856 echo "TRACE_APP: out/trace_data/app-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
826857 echo "JF_CONTROL_APP: objdir-clone/linux-x64-jf-control-app/jfc-app" >> /tmp/test_env.yaml
827858 echo "JF_ADMIN_APP: objdir-clone/linux-x64-jf-admin-app/jfa-app" >> /tmp/test_env.yaml
828859 echo "CLOSURE_APP: objdir-clone/linux-x64-closure-${BUILD_VARIANT}-tsan-clang-test-unified/closure-app" >> /tmp/test_env.yaml
829860 echo "WATER_LEAK_DETECTOR_APP: objdir-clone/linux-x64-water-leak-detector-${BUILD_VARIANT}-tsan-clang-test-unified/water-leak-detector-app" >> /tmp/test_env.yaml
830861 echo "PUSH_AV_SERVER: src/tools/push_av_server/server.py" >> /tmp/test_env.yaml
831862
863+ # SU OTA Images
864+ echo "SU_OTA_REQUESTOR_V2: objdir-clone/chip-ota-requestor-app_v2.min.ota" >> /tmp/test_env.yaml
865+
832866 # Generic trace setups after applications
833867 echo "TRACE_TEST_JSON: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
834868 echo "TRACE_TEST_PERFETTO: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
835869
836870 - name : Verify Testing Support
837871 run : |
872+ scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_ota_images_versions.py -i objdir-clone/chip-ota-requestor-app_v2.min.ota -v 2'
838873 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_IDM_10_4.py'
839874 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_TC_ICDM_2_1_full_pics.py'
840875 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_TC_ICDM_2_1_min_pics.py'
@@ -853,7 +888,6 @@ jobs:
853888 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/TestSpecParsingSelection.py'
854889 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/TestSpecParsingSupport.py'
855890 scripts/run_in_python_env.sh out/venv 'PYTHONPATH=src/python_testing:$PYTHONPATH python3 -m unittest discover -s src/python_testing/mdns_discovery/tests -p "test_*.py"'
856-
857891 - name : Run Tests
858892 run : |
859893 mkdir -p out/trace_data
0 commit comments