Skip to content

Commit

Permalink
Merge branch 'master' of github.com:project-chip/connectedhomeip into…
Browse files Browse the repository at this point in the history
… fix-attr-apis
  • Loading branch information
tcave-bb committed Sep 12, 2023
2 parents 16b03be + 041ba33 commit a744aee
Show file tree
Hide file tree
Showing 153 changed files with 32,618 additions and 3,774 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/recent_fail_summary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
run_list.json
recent_fails.csv
recent_fails_frequency.csv
failure_cause_summary.csv
workflow_fail_rate.csv
recent_fails_logs
workflow_fail_rate
retention-days: 5

32 changes: 32 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,21 @@ jobs:
--bridge-app ./out/linux-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \
"
- name: Run purposeful failure tests using the python parser sending commands to chip-tool
run: |
./scripts/run_in_build_env.sh \
"./scripts/tests/run_test_suite.py \
--runner chip_tool_python \
--include-tags PURPOSEFUL_FAILURE \
--chip-tool ./out/linux-x64-chip-tool${CHIP_TOOL_VARIANT}-${BUILD_VARIANT}/chip-tool \
run \
--iterations 1 \
--expected-failures 1 \
--keep-going \
--test-timeout-seconds 120 \
--all-clusters-app ./out/linux-x64-all-clusters-${BUILD_VARIANT}/chip-all-clusters-app \
"
- name: Run Tests using chip-repl (skip slow)
if: github.event_name == 'pull_request'
run: |
Expand All @@ -223,7 +238,9 @@ jobs:
--exclude-tags MANUAL \
--exclude-tags FLAKY \
--exclude-tags IN_DEVELOPMENT \
--exclude-tags EXTRA_SLOW \
--exclude-tags SLOW \
--exclude-tags PURPOSEFUL_FAILURE \
run \
--iterations 1 \
--test-timeout-seconds 120 \
Expand Down Expand Up @@ -336,6 +353,21 @@ jobs:
--bridge-app ./out/darwin-x64-bridge-${BUILD_VARIANT}/chip-bridge-app \
"
- name: Run purposeful failure tests using the python parser sending commands to chip-tool
run: |
./scripts/run_in_build_env.sh \
"./scripts/tests/run_test_suite.py \
--runner chip_tool_python \
--include-tags PURPOSEFUL_FAILURE \
--chip-tool ./out/darwin-x64-chip-tool${CHIP_TOOL_VARIANT}-${BUILD_VARIANT}/chip-tool \
run \
--iterations 1 \
--expected-failures 1 \
--keep-going \
--test-timeout-seconds 120 \
--all-clusters-app ./out/darwin-x64-all-clusters-${BUILD_VARIANT}/chip-all-clusters-app \
"
- name: Uploading core files
uses: actions/upload-artifact@v3
if: ${{ failure() && !env.ACT }}
Expand Down
7 changes: 6 additions & 1 deletion config/esp32/components/chip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,13 @@ foreach(phy_blob ${phy_blobs})
endforeach()

set(components_to_link esp_event hal esp_system soc efuse vfs driver esp_coex freertos)
idf_build_get_property(build_components BUILD_COMPONENTS)
foreach(component ${components_to_link})
idf_component_get_property(lib_name ${component} COMPONENT_LIB)
# Some of the components are not present in IDF v4.x
# So, Check if the component is in the list of build components
if("${component}" IN_LIST build_components)
idf_component_get_property(lib_name ${component} COMPONENT_LIB)
endif()
list(APPEND chip_libraries $<TARGET_FILE:${lib_name}>)
endforeach()

Expand Down
4 changes: 4 additions & 0 deletions config/esp32/components/chip/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ dependencies:
espressif/esp_insights:
version: "1.0.1"
require: public
# There is an issue with IDF-Component-Manager when ESP Insights is included.
# Issue: https://github.com/project-chip/connectedhomeip/issues/29125
rules:
- if: "idf_version >=5.0"
4 changes: 2 additions & 2 deletions docs/guides/silabs_efr32_software_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ all of the EFR32 example applications.
- In a terminal start the Provider app passing to it the path to the Matter
OTA file created in the previous step:

rm -r /tmp/chip_*
./out/debug/chip-ota-provider-app -f chip-efr32-lighting-example.ota
rm -r /tmp/chip_kvs_provider
./out/debug/chip-ota-provider-app --KVS /tmp/chip_kvs_provider -f chip-efr32-lighting-example.ota

- In a separate terminal run the chip-tool commands to provision the Provider:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6722,7 +6722,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
ram attribute manufacturerExtension default = 255;
}

Expand Down Expand Up @@ -7233,7 +7233,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7252,7 +7252,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7271,7 +7271,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7290,7 +7290,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7309,7 +7309,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7328,7 +7328,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7347,7 +7347,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7366,7 +7366,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7385,7 +7385,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand All @@ -7404,7 +7404,7 @@ endpoint 1 {
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 63;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
}

Expand Down
27 changes: 13 additions & 14 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -14787,7 +14787,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -14973,7 +14973,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -24162,7 +24162,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -24486,7 +24486,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -24810,7 +24810,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -25134,7 +25134,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -25458,7 +25458,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -25782,7 +25782,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -26106,7 +26106,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -26430,7 +26430,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -26754,7 +26754,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -27078,7 +27078,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "63",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -35392,6 +35392,5 @@
"endpointId": 65534,
"networkId": 0
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4426,7 +4426,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}

server cluster TemperatureControl {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13821,7 +13821,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -14007,7 +14007,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
7 changes: 3 additions & 4 deletions examples/chef/devices/rootnode_dishwasher_cc105034fe.zap
Original file line number Diff line number Diff line change
Expand Up @@ -8395,7 +8395,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -8597,7 +8597,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -10833,6 +10833,5 @@
"endpointId": 1,
"networkId": 0
}
],
"log": []
]
}
7 changes: 3 additions & 4 deletions examples/chef/devices/rootnode_laundrywasher_fb10d238c8.zap
Original file line number Diff line number Diff line change
Expand Up @@ -8411,7 +8411,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -8613,7 +8613,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -11081,6 +11081,5 @@
"endpointId": 1,
"networkId": 0
}
],
"log": []
]
}
Loading

0 comments on commit a744aee

Please sign in to comment.