6161 runs-on : ubuntu-latest
6262
6363 container :
64- image : ghcr.io/project-chip/chip-build:181
64+ image : ghcr.io/project-chip/chip-build:184
6565 options : >-
6666 --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
6767 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"
@@ -120,6 +120,7 @@ jobs:
120120 --log-level info \
121121 src/app/zap-templates/zcl/data-model/chip/global-attributes.xml \
122122 src/app/zap-templates/zcl/data-model/chip/ambient-context-sensing-cluster.xml \
123+ src/app/zap-templates/zcl/data-model/chip/boolean-state-configuration-cluster.xml \
123124 src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information-cluster.xml \
124125 src/app/zap-templates/zcl/data-model/chip/chime-cluster.xml \
125126 src/app/zap-templates/zcl/data-model/chip/closure-control-cluster.xml \
@@ -282,6 +283,7 @@ jobs:
282283 --target linux-x64-chip-tool${CHIP_TOOL_VARIANT}-${BUILD_VARIANT} \
283284 --target linux-x64-all-clusters-${BUILD_VARIANT} \
284285 --target linux-x64-all-clusters-no-wifi-openthread-endpoint-${BUILD_VARIANT} \
286+ --target linux-x64-all-clusters-no-wifi-no-ble-openthread-endpoint-${BUILD_VARIANT} \
285287 --target linux-x64-ota-requestor-${BUILD_VARIANT} \
286288 --target linux-x64-tv-app-${BUILD_VARIANT} \
287289 --pw-command-launcher=ccache \
@@ -299,6 +301,7 @@ jobs:
299301 --target linux-x64-energy-gateway-${BUILD_VARIANT} \
300302 --target linux-x64-all-devices-${BUILD_VARIANT} \
301303 --target linux-x64-evse-${BUILD_VARIANT} \
304+ --target linux-x64-water-heater-${BUILD_VARIANT} \
302305 --pw-command-launcher=ccache \
303306 build \
304307 --copy-artifacts-to objdir-clone \
@@ -313,6 +316,8 @@ jobs:
313316 -DCMAKE_BUILD_TYPE=Debug \
314317 -DOTBR_BORDER_ROUTING=ON \
315318 -DOTBR_MDNS=openthread \
319+ -DOTBR_VENDOR_NAME=MatterTest \
320+ -DOTBR_PRODUCT_NAME=MatterTest \
316321 -DOT_POSIX_SETTINGS_PATH='\"tmp\"' \
317322 -DOT_FIREWALL=OFF \
318323 -DOT_LOG_LEVEL=INFO \
@@ -347,9 +352,6 @@ jobs:
347352 "
348353
349354 - name : Run BLE-Thread commissioning test
350- # Disabled due to flakyness. See:
351- # https://github.com/project-chip/connectedhomeip/issues/42869
352- if : false
353355 env :
354356 # Disable TSAN bug reporting, as it reports tons of (hopefully) false positives.
355357 # The reason for that is BlueZ and WPA supplicant integration which involves GIO
@@ -362,13 +364,34 @@ jobs:
362364 --find-path $PWD/scripts \
363365 --runner chip_tool_python \
364366 --target TestOperationalState \
367+ --test-order random \
365368 run \
366369 --iterations 1 \
367370 --test-timeout-seconds 120 \
368371 --tool-path chip-tool:./objdir-clone/linux-x64-chip-tool${CHIP_TOOL_VARIANT}-${BUILD_VARIANT}/chip-tool \
369- --all-clusters-app ./objdir-clone/linux-x64-all-clusters-no-wifi-openthread-endpoint-${BUILD_VARIANT}/chip-all-clusters-app \
372+ --app-path all-clusters: ./objdir-clone/linux-x64-all-clusters-no-wifi-openthread-endpoint-${BUILD_VARIANT}/chip-all-clusters-app \
370373 --commissioning-method ble-thread \
371374 "
375+ rm -rf tmp/
376+
377+ - name : Run Thread-MeshCoP commissioning test
378+ env :
379+ TSAN_OPTIONS : report_bugs=0
380+ run : |
381+ PATH=$PWD/objdir-clone:$PATH ./scripts/run_in_build_env.sh \
382+ "./scripts/tests/run_test_suite.py \
383+ --find-path $PWD/objdir-clone \
384+ --find-path $PWD/scripts \
385+ --runner chip_tool_python \
386+ --target TestOperationalState \
387+ run \
388+ --iterations 1 \
389+ --test-timeout-seconds 120 \
390+ --tool-path chip-tool:./objdir-clone/linux-x64-chip-tool${CHIP_TOOL_VARIANT}-${BUILD_VARIANT}/chip-tool \
391+ --app-path all-clusters:./objdir-clone/linux-x64-all-clusters-no-wifi-no-ble-openthread-endpoint-${BUILD_VARIANT}/chip-all-clusters-app \
392+ --commissioning-method thread-meshcop \
393+ "
394+ rm -rf tmp/
372395
373396 - name : Run Tests using the python parser sending commands to chip-tool
374397 run : |
@@ -377,6 +400,7 @@ jobs:
377400 --find-path $PWD/objdir-clone \
378401 --find-path $PWD/scripts \
379402 --runner chip_tool_python \
403+ --test-order random \
380404 run \
381405 --iterations 1 \
382406 --test-timeout-seconds 120 \
@@ -394,6 +418,7 @@ jobs:
394418 --app-path network-manager:./objdir-clone/linux-x64-network-manager-${BUILD_VARIANT}/matter-network-manager-app \
395419 --app-path energy-gateway:./objdir-clone/linux-x64-energy-gateway-${BUILD_VARIANT}/chip-energy-gateway-app \
396420 --app-path evse:./objdir-clone/linux-x64-evse-${BUILD_VARIANT}/chip-evse-app \
421+ --app-path water-heater:./objdir-clone/linux-x64-water-heater-${BUILD_VARIANT}/matter-water-heater-app \
397422 "
398423
399424 - name : Run purposeful failure tests using the python parser sending commands to chip-tool
@@ -404,6 +429,7 @@ jobs:
404429 --find-path $PWD/scripts \
405430 --runner chip_tool_python \
406431 --include-tags PURPOSEFUL_FAILURE \
432+ --test-order random \
407433 run \
408434 --iterations 1 \
409435 --expected-failures 3 \
@@ -426,6 +452,7 @@ jobs:
426452 --find-path $PWD/scripts \
427453 --runner chip_tool_python \
428454 --target TestOperationalState \
455+ --test-order random \
429456 run \
430457 --iterations 1 \
431458 --test-timeout-seconds 120 \
@@ -448,6 +475,7 @@ jobs:
448475 --exclude-tags EXTRA_SLOW \
449476 --exclude-tags SLOW \
450477 --exclude-tags PURPOSEFUL_FAILURE \
478+ --test-order random \
451479 run \
452480 --iterations 1 \
453481 --test-timeout-seconds 120 \
@@ -464,6 +492,7 @@ jobs:
464492 --app-path network-manager:./objdir-clone/linux-x64-network-manager-${BUILD_VARIANT}/matter-network-manager-app \
465493 --app-path energy-gateway:./objdir-clone/linux-x64-energy-gateway-${BUILD_VARIANT}/chip-energy-gateway-app \
466494 --app-path evse:./objdir-clone/linux-x64-evse-${BUILD_VARIANT}/chip-evse-app \
495+ --app-path water-heater:./objdir-clone/linux-x64-water-heater-${BUILD_VARIANT}/matter-water-heater-app \
467496 "
468497 - name : Run Tests using matter-repl (including slow)
469498 if : github.event_name == 'push'
@@ -473,6 +502,7 @@ jobs:
473502 --find-path $PWD/objdir-clone \
474503 --find-path $PWD/scripts \
475504 --runner matter_repl_python \
505+ --test-order random \
476506 run \
477507 --iterations 1 \
478508 --test-timeout-seconds 120 \
@@ -489,6 +519,7 @@ jobs:
489519 --app-path network-manager:./objdir-clone/linux-x64-network-manager-${BUILD_VARIANT}/matter-network-manager-app \
490520 --app-path energy-gateway:./objdir-clone/linux-x64-energy-gateway-${BUILD_VARIANT}/chip-energy-gateway-app \
491521 --app-path evse:./objdir-clone/linux-x64-evse-${BUILD_VARIANT}/chip-evse-app \
522+ --app-path water-heater:./objdir-clone/linux-x64-water-heater-${BUILD_VARIANT}/matter-water-heater-app \
492523 "
493524 - name : Uploading core files
494525 uses : actions/upload-artifact@v6
@@ -603,6 +634,7 @@ jobs:
603634 --target darwin-${{matrix.arch}}-network-manager-${BUILD_VARIANT} \
604635 --target darwin-${{matrix.arch}}-energy-gateway-${BUILD_VARIANT} \
605636 --target darwin-${{matrix.arch}}-evse-${BUILD_VARIANT} \
637+ --target darwin-${{matrix.arch}}-water-heater-${BUILD_VARIANT} \
606638 --target darwin-${{matrix.arch}}-tv-app-${BUILD_VARIANT} \
607639 --target darwin-${{matrix.arch}}-all-devices-${BUILD_VARIANT} \
608640 --pw-command-launcher=ccache \
@@ -627,6 +659,7 @@ jobs:
627659 --find-path $PWD/scripts \
628660 --runner chip_tool_python \
629661 --target-skip-glob '{Test_TC_DGTHREAD_2_1,Test_TC_DGTHREAD_2_2,Test_TC_DGTHREAD_2_3,Test_TC_DGTHREAD_2_4}' \
662+ --test-order random \
630663 run \
631664 --iterations 1 \
632665 --test-timeout-seconds 120 \
@@ -644,6 +677,7 @@ jobs:
644677 --app-path network-manager:./objdir-clone/darwin-${{matrix.arch}}-network-manager-${BUILD_VARIANT}/matter-network-manager-app \
645678 --app-path energy-gateway:./objdir-clone/darwin-${{matrix.arch}}-energy-gateway-${BUILD_VARIANT}/chip-energy-gateway-app \
646679 --app-path evse:./objdir-clone/darwin-${{matrix.arch}}-evse-${BUILD_VARIANT}/chip-evse-app \
680+ --app-path water-heater:./objdir-clone/darwin-${{matrix.arch}}-water-heater-${BUILD_VARIANT}/matter-water-heater-app \
647681 "
648682
649683 - name : Run purposeful failure tests using the python parser sending commands to chip-tool
@@ -656,6 +690,7 @@ jobs:
656690 --find-path $PWD/scripts \
657691 --runner chip_tool_python \
658692 --include-tags PURPOSEFUL_FAILURE \
693+ --test-order random \
659694 run \
660695 --iterations 1 \
661696 --expected-failures 3 \
@@ -814,6 +849,13 @@ jobs:
814849 --pw-command-launcher=ccache build --copy-artifacts-to objdir-clone
815850 && rm -rf out/linux-x64-evse-${BUILD_VARIANT}-tsan-clang-test"
816851
852+ - name : Build linux-x64-water-heater
853+ run : >-
854+ ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py
855+ --target linux-x64-water-heater-${BUILD_VARIANT}-tsan-clang-test
856+ --pw-command-launcher=ccache build --copy-artifacts-to objdir-clone
857+ && rm -rf out/linux-x64-water-heater-${BUILD_VARIANT}-tsan-clang-test"
858+
817859 - name : Build linux-x64-network-manager
818860 run : >-
819861 ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py
@@ -918,13 +960,6 @@ jobs:
918960 - name : ccache stats
919961 run : ccache -s
920962
921- - name : Install push_av_server dependencies
922- run : >-
923- ./scripts/run_in_python_env.sh out/venv \
924- "python3 -m pip install -r src/tools/push_av_server/requirements.txt \
925- && patch -d \$(python3 -m pip show hypercorn | grep 'Location: ' | sed 's/Location: //') -p0 < src/tools/push_av_server/hypercorn.patch \
926- "
927-
928963 # We archive ourselves since upload-artifact seems to lose permission bits
929964 # We also remove some debug info to make artifacts smaller (otherwise they are 2GB for binaries)
930965 - name : Archive artifacts
@@ -1046,6 +1081,7 @@ jobs:
10461081 echo "SU_OTA_REQUESTOR_V2: objdir-clone/chip-ota-requestor-app_v2.min.ota" >> /tmp/test_env.yaml
10471082 echo "TERMS_AND_CONDITIONS_APP: objdir-clone/linux-x64-terms-and-conditions/chip-terms-and-conditions-app" >> /tmp/test_env.yaml
10481083 echo "TRACE_APP: out/trace_data/app-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
1084+ echo "WATER_HEATER_APP: objdir-clone/linux-x64-water-heater-${BUILD_VARIANT}-tsan-clang-test/matter-water-heater-app" >> /tmp/test_env.yaml
10491085 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
10501086 # keep-sorted: end
10511087
0 commit comments