Skip to content

Commit 338e3f8

Browse files
authored
Merge branch 'master' into create_MOD_1_2_test
2 parents a718fc4 + 5fd96ed commit 338e3f8

File tree

1,538 files changed

+128853
-40350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,538 files changed

+128853
-40350
lines changed

.devcontainer/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,24 @@ RUN curl https://raw.githubusercontent.com/restyled-io/restyler/master/bin/resty
5454
&& chmod +x /usr/local/bin/restyle-path \
5555
&& :
5656

57-
RUN mkdir -p /opt/sdk/sdks/ \
57+
RUN mkdir -p /opt/android/sdk \
5858
&& chown -R $USERNAME:$USERNAME \
59-
/opt/sdk/sdks/ `# NXP uses a patch_sdk script to change SDK files` \
59+
/opt/android/sdk `# NXP uses a patch_sdk script to change SDK files` \
6060
$ANDROID_HOME \
6161
$IDF_TOOLS_PATH \
6262
&& find $AMEBA_PATH -name "inc_lp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
6363
&& find $AMEBA_PATH -name "inc_hp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
6464
&& find $AMEBA_PATH -name "project_lp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
6565
&& find $AMEBA_PATH -name "project_hp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
6666
&& chmod -R +x \
67-
$ANDROID_HOME/tools/bin `# sdkmanager for accepting licenses`\
67+
$ANDROID_HOME/cmdline-tools/10.0/bin `# sdkmanager for accepting licenses`\
6868
&& chmod -R +w \
6969
$IDF_TOOLS_PATH \
7070
&& find $AMEBA_PATH -name "inc_lp" -print0 | xargs -0 chmod -R +w \
7171
&& find $AMEBA_PATH -name "inc_hp" -print0 | xargs -0 chmod -R +w \
7272
&& find $AMEBA_PATH -name "project_lp" -print0 | xargs -0 chmod -R +w \
7373
&& find $AMEBA_PATH -name "project_hp" -print0 | xargs -0 chmod -R +w \
74-
# Safe directory is preffered over chown.
74+
# Safe directory is preferred over chown.
7575
&& git config --global --add safe.directory "*" \
7676
&& :
7777

.github/.wordlist.txt

+14
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ amebad
4949
amebaiot
5050
AmebaZ
5151
amebaz2
52+
ANC
5253
announcementReason
5354
AnnounceOTAProvider
5455
AnnounceOTAProviderRequest
@@ -85,6 +86,7 @@ ASR
8586
AssertionError
8687
AST
8788
ASYNC
89+
ATL
8890
ATLs
8991
atomics
9092
att
@@ -114,6 +116,7 @@ avahi
114116
avL
115117
AwaitNextAction
116118
AXXXF
119+
Axxxx
117120
AYNJV
118121
babaf
119122
backend
@@ -330,6 +333,7 @@ CurrentHue
330333
CurrentLevel
331334
CurrentSaturation
332335
customAcl
336+
customizable
333337
customizations
334338
cvfJ
335339
cxx
@@ -507,6 +511,7 @@ entrypoint
507511
enum
508512
Enums
509513
env
514+
EP
510515
epochKey
511516
epochStartTime
512517
eq
@@ -538,6 +543,7 @@ ExtendedPAN
538543
ExtensionEntry
539544
extern
540545
extpanid
546+
Exx
541547
FabricId
542548
fabricIdx
543549
fabricIndex
@@ -585,6 +591,7 @@ fuzzer
585591
fuzzers
586592
fuzztest
587593
FW
594+
Fxx
588595
gbl
589596
gcloud
590597
GDB
@@ -684,6 +691,7 @@ ICMP
684691
IDF
685692
IDL
686693
IDLs
694+
IDM
687695
idt
688696
idx
689697
ifconfig
@@ -1053,6 +1061,7 @@ otatesting
10531061
otaURL
10541062
OTBR
10551063
otcli
1064+
OU
10561065
outform
10571066
outgoingCommands
10581067
overridable
@@ -1164,6 +1173,7 @@ PyObject
11641173
pypi
11651174
PyRun
11661175
pytest
1176+
PYTHONPATH
11671177
QEMU
11681178
Qorvo
11691179
QPG
@@ -1235,6 +1245,7 @@ RPi's
12351245
RPis
12361246
RSA
12371247
rsn
1248+
Rsp
12381249
RSSI
12391250
RST
12401251
rsync
@@ -1341,6 +1352,7 @@ SRP
13411352
SRV
13421353
SSBL
13431354
SSID
1355+
SSL
13441356
startoffset
13451357
StartScan
13461358
startsWith
@@ -1508,6 +1520,7 @@ unfocus
15081520
Unicast
15091521
UniFlash
15101522
UnitLocalization
1523+
unittest
15111524
unpair
15121525
unprovisioned
15131526
Unsecure
@@ -1622,6 +1635,7 @@ xFFFF
16221635
xfffff
16231636
xFFFFFFEFFFFFFFFF
16241637
XMLPICSValidator
1638+
XMLs
16251639
xtensa
16261640
xvzf
16271641
xwayland

.github/dependabot.yml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ updates:
3838
- dependency-name: "third_party/java_deps/repo"
3939
- dependency-name: "third_party/jlink/repo"
4040
- dependency-name: "third_party/jsoncpp/repo"
41+
- dependency-name: "third_party/libdatachannel/repo"
4142
- dependency-name: "third_party/libwebsockets/repo"
4243
- dependency-name: "third_party/lwip/repo"
4344
- dependency-name: "third_party/mbed-mcu-boot/repo"

.github/workflows/bloat_check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535

3636
container:
37-
image: ghcr.io/project-chip/chip-build:98
37+
image: ghcr.io/project-chip/chip-build:115
3838

3939
steps:
4040
- name: Checkout

.github/workflows/build.yaml

+18-20
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if: github.actor != 'restyled-io[bot]'
4444

4545
container:
46-
image: ghcr.io/project-chip/chip-build:98
46+
image: ghcr.io/project-chip/chip-build:115
4747
volumes:
4848
- "/:/runner-root-volume"
4949
- "/tmp/log_output:/tmp/test_logs"
@@ -81,14 +81,6 @@ jobs:
8181
run: scripts/run_in_build_env.sh "ninja -C ./out"
8282
- name: Run Tests
8383
run: scripts/tests/gn_tests.sh
84-
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
85-
# TODO https://github.com/project-chip/connectedhomeip/issues/1512
86-
# - name: Run Code Coverage
87-
# if: ${{ contains('main', env.BUILD_TYPE) }}
88-
# run: scripts/tools/codecoverage.sh
89-
# - name: Upload Code Coverage
90-
# if: ${{ contains('main', env.BUILD_TYPE) }}
91-
# run: bash <(curl -s https://codecov.io/bash)
9284
- name: Set up Build Without Detail Logging
9385
run: scripts/build/gn_gen.sh --args="chip_detail_logging=false"
9486
- name: Run Build Without Detail Logging
@@ -139,7 +131,7 @@ jobs:
139131
if: github.actor != 'restyled-io[bot]'
140132

141133
container:
142-
image: ghcr.io/project-chip/chip-build:98
134+
image: ghcr.io/project-chip/chip-build:115
143135
volumes:
144136
- "/:/runner-root-volume"
145137
- "/tmp/log_output:/tmp/test_logs"
@@ -219,11 +211,16 @@ jobs:
219211
- name: Find changed files
220212
id: changed-files
221213
uses: tj-actions/changed-files@v45
214+
with:
215+
# Exclude all files under "third_party/"
216+
files-ignore: |
217+
third_party/
218+
222219
- name: Clang-tidy validation
223220
# NOTE: clang-tidy crashes on CodegenDataModel_Write due to Nullable/std::optional check.
224221
# See https://github.com/llvm/llvm-project/issues/97426
225222
env:
226-
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
223+
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.changed_files }}
227224
run: |
228225
touch out/changed_files.txt
229226
for file in ${ALL_CHANGED_FILES}; do
@@ -308,7 +305,7 @@ jobs:
308305
if: github.actor != 'restyled-io[bot]'
309306

310307
container:
311-
image: ghcr.io/project-chip/chip-build:98
308+
image: ghcr.io/project-chip/chip-build:115
312309
volumes:
313310
- "/:/runner-root-volume"
314311
- "/tmp/log_output:/tmp/test_logs"
@@ -373,7 +370,7 @@ jobs:
373370
if: github.actor != 'restyled-io[bot]'
374371

375372
container:
376-
image: ghcr.io/project-chip/chip-build:98
373+
image: ghcr.io/project-chip/chip-build:115
377374
volumes:
378375
- "/:/runner-root-volume"
379376
- "/tmp/log_output:/tmp/test_logs"
@@ -488,16 +485,16 @@ jobs:
488485
build_linux_gcc_coverage:
489486
name: Build on Linux (coverage)
490487

491-
runs-on: ubuntu-latest
488+
env:
489+
TSAN_OPTIONS: "halt_on_error=1 suppressions=scripts/tests/chiptest/tsan-linux-suppressions.txt"
490+
492491
if: github.actor != 'restyled-io[bot]'
492+
runs-on: ubuntu-latest
493493

494494
container:
495-
image: ghcr.io/project-chip/chip-build:98
496-
volumes:
497-
- "/:/runner-root-volume"
498-
- "/tmp/log_output:/tmp/test_logs"
495+
image: ghcr.io/project-chip/chip-build:115
499496
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
500-
net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"
497+
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
501498

502499
steps:
503500
- name: Checkout
@@ -506,6 +503,7 @@ jobs:
506503
uses: ./.github/actions/checkout-submodules-and-bootstrap
507504
with:
508505
platform: linux
506+
bootstrap-log-name: bootstrap-logs-linux-${{ matrix.build_variant }}${{ matrix.chip_tool }}
509507

510508
- name: Run Build Coverage
511-
run: ./scripts/build_coverage.sh
509+
run: ./scripts/build_coverage.sh --yaml

.github/workflows/check-data-model-directory-updates.yaml

+25-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,28 @@ jobs:
3636
python3 scripts/dm_xml_ci_change_enforcement.py data_model/1.3
3737
- name: Check for changes to 1.4 data_model directory without a SHA update
3838
run: |
39-
python3 scripts/dm_xml_ci_change_enforcement.py data_model/1.4
39+
python3 scripts/dm_xml_ci_change_enforcement.py data_model/1.4
40+
- name: Check for changes to 1.4.1 data_model directory without a SHA update
41+
run: |
42+
python3 scripts/dm_xml_ci_change_enforcement.py data_model/1.4.1
43+
44+
check-data_model-build-file:
45+
name: Check that all data_model files are listed in the data_model_xmls.gni build file
46+
runs-on: ubuntu-latest
47+
container:
48+
image: ghcr.io/project-chip/chip-build
49+
steps:
50+
- name: Checkout
51+
uses: actions/checkout@v4
52+
- name: Setup pip modules we use
53+
run: |
54+
python3 -m venv out/venv
55+
out/venv/bin/pip3 install \
56+
jinja2
57+
- name: Generate build file (data_model_xmls.gni)
58+
run: out/venv/bin/python3 src/python_testing/matter_testing_infrastructure/generate_data_model_xmls_gni.py
59+
- name: Ensure git works in current working directory
60+
run: git config --global --add safe.directory `pwd`
61+
- name: Check for uncommited changes
62+
run: |
63+
git diff --exit-code HEAD -- src/python_testing/matter_testing_infrastructure/data_model_xmls.gni

.github/workflows/chef.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build:98
39+
image: ghcr.io/project-chip/chip-build:115
4040
options: --user root
4141

4242
steps:
@@ -57,7 +57,7 @@ jobs:
5757
if: github.actor != 'restyled-io[bot]'
5858

5959
container:
60-
image: ghcr.io/project-chip/chip-build-esp32:98
60+
image: ghcr.io/project-chip/chip-build-esp32:115
6161
options: --user root
6262

6363
steps:
@@ -78,7 +78,7 @@ jobs:
7878
if: github.actor != 'restyled-io[bot]'
7979

8080
container:
81-
image: ghcr.io/project-chip/chip-build-nrf-platform:98
81+
image: ghcr.io/project-chip/chip-build-nrf-platform:115
8282
options: --user root
8383

8484
steps:
@@ -99,7 +99,7 @@ jobs:
9999
if: github.actor != 'restyled-io[bot]'
100100

101101
container:
102-
image: ghcr.io/project-chip/chip-build-telink:98
102+
image: ghcr.io/project-chip/chip-build-telink:115
103103
options: --user root
104104

105105
steps:
@@ -111,7 +111,7 @@ jobs:
111111
platform: telink
112112
# - name: Update Zephyr to specific revision (for developers purpose)
113113
# shell: bash
114-
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py c05c461b1119782cc839cf436fa04ec5e1fb2c8c"
114+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ce4027fc0768b8509758af2e43f74e3fd2c7d58d"
115115
- name: CI Examples Telink
116116
shell: bash
117117
run: |

.github/workflows/cherry-picks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
- name: Cherry-Pick into sve branch
26-
uses: carloscastrojumo/github-cherry-pick-action@v1.0.9
26+
uses: carloscastrojumo/github-cherry-pick-action@v1.0.10
2727
with:
2828
token: ${{ secrets.MATTER_PAT }}
2929
branch: 1.3-sve

.github/workflows/cirque.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Get Cirque Bootstrap cache key
7676
id: cirque-bootstrap-cache-key
7777
run: echo "val=$(scripts/tests/cirque_tests.sh cachekeyhash)" >> $GITHUB_OUTPUT
78-
- uses: Wandalen/wretry.action@v1.4.10
78+
- uses: Wandalen/wretry.action@v3.8.0
7979
name: Cirque Bootstrap cache
8080
if: ${{ !env.ACT }}
8181
continue-on-error: true

.github/workflows/docbuild.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
touch _build/html/.nojekyll
4747
- name: Deploy to gh-pages
4848
if: github.repository == 'project-chip/connectedhomeip' && github.event_name == 'push' && github.ref_name == 'master'
49-
uses: peaceiris/actions-gh-pages@v3
49+
uses: peaceiris/actions-gh-pages@v4
5050
with:
5151
deploy_key: ${{ secrets.DOXYGEN_DEPLOY_KEY }}
5252
external_repository: project-chip/connectedhomeip-doc

.github/workflows/doxygen.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484

8585
runs-on: ubuntu-latest
8686
container:
87-
image: ghcr.io/project-chip/chip-build-doxygen:98
87+
image: ghcr.io/project-chip/chip-build-doxygen:115
8888

8989
if: github.actor != 'restyled-io[bot]'
9090

@@ -101,7 +101,7 @@ jobs:
101101
id: extract_branch
102102
- name: Deploy if master
103103
if: steps.extract_branch.outputs.branch == 'master' && github.repository == 'project-chip/connectedhomeip'
104-
uses: peaceiris/actions-gh-pages@v3
104+
uses: peaceiris/actions-gh-pages@v4
105105
with:
106106
deploy_key: ${{ secrets.DOXYGEN_DEPLOY_KEY }}
107107
external_repository: project-chip/connectedhomeip-doc

.github/workflows/examples-ameba.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: github.actor != 'restyled-io[bot]'
4040

4141
container:
42-
image: ghcr.io/project-chip/chip-build-ameba:98
42+
image: ghcr.io/project-chip/chip-build-ameba:115
4343
options: --user root
4444

4545
steps:

.github/workflows/examples-asr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: github.actor != 'restyled-io[bot]'
3838

3939
container:
40-
image: ghcr.io/project-chip/chip-build-asr:98
40+
image: ghcr.io/project-chip/chip-build-asr:115
4141
options: --user root
4242

4343
steps:

0 commit comments

Comments
 (0)