Skip to content

Commit fd40db1

Browse files
authored
Merge branch 'master' into remove_PICS_from_RVC_tests
2 parents 2f8c4bc + a3a443a commit fd40db1

File tree

1,388 files changed

+66208
-34343
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,388 files changed

+66208
-34343
lines changed

.devcontainer/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ RUN apt-get update \
4040
icecc \
4141
&& :
4242

43-
RUN groupadd -g $USER_GID $USERNAME \
43+
RUN (getent passwd $USER_UID && userdel -f $(getent passwd $USER_UID | cut -d: -f1) || true) \
44+
&& (getent group $USER_GID && groupdel -f $(getent group $USER_GID | cut -d: -f1) || true) \
45+
&& (getent passwd $USERNAME && userdel -f $USERNAME || true) \
46+
&& (getent group $USERNAME && groupdel -f $USERNAME || true) \
47+
&& groupadd -g $USER_GID $USERNAME \
4448
&& useradd --no-log-init -s /bin/bash -u $USER_UID -g $USER_GID -G docker,sudo -m $USERNAME \
4549
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
4650
&& chmod 0440 /etc/sudoers.d/$USERNAME \

.github/.wordlist.txt

+12
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ AFL
4141
AIDL
4242
algs
4343
alloc
44+
allocator
45+
allocators
46+
Ambrose
4447
Ameba
4548
amebad
4649
amebaiot
@@ -317,6 +320,7 @@ cryptographic
317320
CSA
318321
csg
319322
csrrequest
323+
cstdint
320324
csu
321325
csv
322326
ctl
@@ -440,6 +444,7 @@ DNSStubListener
440444
docbuild
441445
Dockerfile
442446
Dockerfiles
447+
docstrings
443448
Don'ts
444449
DoorLock
445450
DoorState
@@ -565,6 +570,8 @@ FlowMeasurement
565570
FluorideConcentrationMeasurement
566571
focusable
567572
forkpty
573+
formatter
574+
formatters
568575
FOTA
569576
FreeRTOS
570577
FreeRTOSConfig
@@ -731,6 +738,7 @@ IPython
731738
ISCAN
732739
isHexString
733740
isLowerCase
741+
isort
734742
isUpperCase
735743
itemName
736744
iterable
@@ -878,6 +886,7 @@ MediaPlayback
878886
MediaTek
879887
MEI
880888
mem
889+
memcpy
881890
memdf
882891
MemMonitoring
883892
menuconfig
@@ -933,6 +942,7 @@ mv
933942
MX
934943
mydir
935944
MyPASSWORD
945+
mypy
936946
MySSID
937947
NAMESERVER
938948
NAMESPACE
@@ -1185,6 +1195,7 @@ rebase
11851195
recommand
11861196
recommanded
11871197
recurse
1198+
refrigeratoralarm
11881199
regen
11891200
registerAttributeAccessOverride
11901201
RegisterCommandHandler
@@ -1442,6 +1453,7 @@ toJson
14421453
tokenization
14431454
tokenized
14441455
tokenizer
1456+
toml
14451457
toolchain
14461458
toolchains
14471459
topologies

.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:81
37+
image: ghcr.io/project-chip/chip-build:93
3838

3939
steps:
4040
- name: Checkout

.github/workflows/build.yaml

+11-11
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:81
46+
image: ghcr.io/project-chip/chip-build:93
4747
volumes:
4848
- "/:/runner-root-volume"
4949
- "/tmp/log_output:/tmp/test_logs"
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
languages: "cpp"
7878
- name: Setup Build
79-
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false chip_data_model_check_die_on_failure=true"
79+
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false"
8080
- name: Run Build
8181
run: scripts/run_in_build_env.sh "ninja -C ./out"
8282
- name: Run Tests
@@ -139,7 +139,7 @@ jobs:
139139
if: github.actor != 'restyled-io[bot]'
140140

141141
container:
142-
image: ghcr.io/project-chip/chip-build:81
142+
image: ghcr.io/project-chip/chip-build:93
143143
volumes:
144144
- "/:/runner-root-volume"
145145
- "/tmp/log_output:/tmp/test_logs"
@@ -183,7 +183,7 @@ jobs:
183183
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
184184
- name: Setup Build, Run Build and Run Tests
185185
run: |
186-
BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false chip_data_model_check_die_on_failure=true"
186+
BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false"
187187
scripts/run_in_build_env.sh "ninja -C ./out/gcc_release"
188188
BUILD_TYPE=gcc_release scripts/tests/gn_tests.sh
189189
- name: Clean output
@@ -205,14 +205,14 @@ jobs:
205205
esac
206206
207207
rm -rf ./out/sanitizers
208-
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
208+
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS" --add-export-compile-commands=*
209209
BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
210210
done
211211
- name: Generate tests with sanitizers (for tidy)
212212
if: github.event.pull_request.number != null
213213
run: |
214214
rm -rf ./out/sanitizers
215-
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="is_clang=true is_asan=true chip_data_model_check_die_on_failure=true" --export-compile-commands
215+
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="is_clang=true is_asan=true" --add-export-compile-commands=*
216216
- name: Ensure codegen is done for sanitize
217217
run: |
218218
./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/sanitizers"
@@ -308,7 +308,7 @@ jobs:
308308
if: github.actor != 'restyled-io[bot]'
309309

310310
container:
311-
image: ghcr.io/project-chip/chip-build:81
311+
image: ghcr.io/project-chip/chip-build:93
312312
volumes:
313313
- "/:/runner-root-volume"
314314
- "/tmp/log_output:/tmp/test_logs"
@@ -333,7 +333,7 @@ jobs:
333333

334334
- name: Setup Build, Run Build and Run Tests
335335
run: |
336-
scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false chip_data_model_check_die_on_failure=true"
336+
scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false"
337337
scripts/run_in_build_env.sh "ninja -C ./out"
338338
scripts/tests/gn_tests.sh
339339
- name: Setup test python environment
@@ -371,7 +371,7 @@ jobs:
371371
if: github.actor != 'restyled-io[bot]'
372372

373373
container:
374-
image: ghcr.io/project-chip/chip-build:81
374+
image: ghcr.io/project-chip/chip-build:93
375375
volumes:
376376
- "/:/runner-root-volume"
377377
- "/tmp/log_output:/tmp/test_logs"
@@ -439,7 +439,7 @@ jobs:
439439
# We want to build various standalone example apps (similar to what examples-linux-standalone.yaml
440440
# does), so use target_os="all" to get those picked up as part of the "unified" build. But then
441441
# to save CI resources we want to exclude the "host clang" build, which uses the pigweed clang.
442-
scripts/build/gn_gen.sh --args='target_os="all" is_asan=true enable_host_clang_build=false chip_data_model_check_die_on_failure=true' --export-compile-commands
442+
scripts/build/gn_gen.sh --args='target_os="all" is_asan=true enable_host_clang_build=false' --add-export-compile-commands=*
443443
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
444444
scripts/tests/gn_tests.sh
445445
- name: Ensure codegen is done for default
@@ -490,7 +490,7 @@ jobs:
490490
if: github.actor != 'restyled-io[bot]'
491491

492492
container:
493-
image: ghcr.io/project-chip/chip-build:81
493+
image: ghcr.io/project-chip/chip-build:93
494494
volumes:
495495
- "/:/runner-root-volume"
496496
- "/tmp/log_output:/tmp/test_logs"

.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:81
39+
image: ghcr.io/project-chip/chip-build:93
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:81
60+
image: ghcr.io/project-chip/chip-build-esp32:93
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:81
81+
image: ghcr.io/project-chip/chip-build-nrf-platform:93
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:81
102+
image: ghcr.io/project-chip/chip-build-telink:93
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 3ed7686a9378de6be1368c912f9a42f998bbfb18"
114+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 8b29ee6b118ebe6eeec3224dbe343474e11403d8"
115115
- name: CI Examples Telink
116116
shell: bash
117117
run: |

.github/workflows/doxygen.yaml

+1-1
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:81
87+
image: ghcr.io/project-chip/chip-build-doxygen:93
8888

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

.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:81
42+
image: ghcr.io/project-chip/chip-build-ameba:93
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:81
40+
image: ghcr.io/project-chip/chip-build-asr:93
4141
options: --user root
4242

4343
steps:

.github/workflows/examples-bouffalolab.yaml

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

4040
container:
41-
image: ghcr.io/project-chip/chip-build-bouffalolab:81
41+
image: ghcr.io/project-chip/chip-build-bouffalolab:93
4242
volumes:
4343
- "/tmp/bloat_reports:/tmp/bloat_reports"
4444
steps:

.github/workflows/examples-cc13xx_26xx.yaml

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

4444
container:
45-
image: ghcr.io/project-chip/chip-build-ti:81
45+
image: ghcr.io/project-chip/chip-build-ti:93
4646
volumes:
4747
- "/tmp/bloat_reports:/tmp/bloat_reports"
4848
steps:

.github/workflows/examples-cc32xx.yaml

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

4343
container:
44-
image: ghcr.io/project-chip/chip-build-ti:81
44+
image: ghcr.io/project-chip/chip-build-ti:93
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
steps:

.github/workflows/examples-efr32.yaml

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

4343
container:
44-
image: ghcr.io/project-chip/chip-build-efr32:85
44+
image: ghcr.io/project-chip/chip-build-efr32:93
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
steps:

.github/workflows/examples-esp32.yaml

+2-2
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-esp32:81
40+
image: ghcr.io/project-chip/chip-build-esp32:93
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

@@ -124,7 +124,7 @@ jobs:
124124
if: github.actor != 'restyled-io[bot]' && github.repository_owner == 'espressif'
125125

126126
container:
127-
image: ghcr.io/project-chip/chip-build-esp32:81
127+
image: ghcr.io/project-chip/chip-build-esp32:93
128128
volumes:
129129
- "/tmp/bloat_reports:/tmp/bloat_reports"
130130

.github/workflows/examples-infineon.yaml

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

4040
container:
41-
image: ghcr.io/project-chip/chip-build-infineon:81
41+
image: ghcr.io/project-chip/chip-build-infineon:93
4242
env:
4343
# TODO: this should probably be part of the dockerfile itself
4444
CY_TOOLS_PATHS: /opt/Tools/ModusToolbox/tools_3.2

.github/workflows/examples-linux-arm.yaml

+2-2
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-crosscompile:81
40+
image: ghcr.io/project-chip/chip-build-crosscompile:93
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

@@ -65,7 +65,7 @@ jobs:
6565
--target linux-arm64-chip-tool-nodeps-ipv6only \
6666
--target linux-arm64-lock-clang \
6767
--target linux-arm64-minmdns-clang \
68-
--target linux-arm64-light-data-model-enabled-rpc-ipv6only-clang \
68+
--target linux-arm64-light-rpc-ipv6only-clang \
6969
--target linux-arm64-thermostat-no-ble-clang \
7070
--target linux-arm64-lit-icd-no-ble-clang \
7171
--target linux-arm64-fabric-admin-clang-rpc \

.github/workflows/examples-linux-imx.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-imx:81
40+
image: ghcr.io/project-chip/chip-build-imx:93
4141

4242
steps:
4343
- name: Checkout

.github/workflows/examples-linux-standalone.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:81
40+
image: ghcr.io/project-chip/chip-build:93
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

.github/workflows/examples-linux-tv-casting-app.yaml

+8-11
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:81
40+
image: ghcr.io/project-chip/chip-build:93
4141

4242
steps:
4343
- name: Checkout
@@ -72,16 +72,13 @@ jobs:
7272
"python3 ./scripts/tests/run_tv_casting_test.py"
7373
timeout-minutes: 2 # Comment this out to debug if GitHub Action times out.
7474

75-
# TODO: this test is flaky and was disabled
76-
# https://github.com/project-chip/connectedhomeip/issues/34598
77-
#
78-
# - name:
79-
# Test casting from Linux tv-casting-app to Linux tv-app -
80-
# Commissioner Generated Passcode
81-
# run: |
82-
# ./scripts/run_in_build_env.sh \
83-
# "python3 ./scripts/tests/run_tv_casting_test.py --commissioner-generated-passcode=True"
84-
# timeout-minutes: 2 # Comment this out to debug if GitHub Action times out.
75+
- name:
76+
Test casting from Linux tv-casting-app to Linux tv-app -
77+
Commissioner Generated Passcode
78+
run: |
79+
./scripts/run_in_build_env.sh \
80+
"python3 ./scripts/tests/run_tv_casting_test.py --commissioner-generated-passcode=True"
81+
timeout-minutes: 2 # Comment this out to debug if GitHub Action times out.
8582

8683
- name: Uploading Size Reports
8784
uses: ./.github/actions/upload-size-reports

0 commit comments

Comments
 (0)