Skip to content

Commit

Permalink
Merge branch 'master' into rjosefsen/update-boolcfg-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneJosefsen authored Jan 8, 2024
2 parents 4e55bc6 + 17aede5 commit 66824b9
Show file tree
Hide file tree
Showing 613 changed files with 26,303 additions and 10,310 deletions.
19 changes: 14 additions & 5 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ BarrierControl
BasicCHIPRegression
BasicInformation
baudrate
BCM
BD
BDX
BDXDownloader
Expand Down Expand Up @@ -248,6 +249,7 @@ CKIT
CLA
clapre
CLI
CLIs
cloudbuild
CLRF
clusterAttrs
Expand All @@ -264,6 +266,7 @@ CMS
CMSIS
CMVH
cn
COAP
codeaurora
codebase
codegen
Expand Down Expand Up @@ -298,8 +301,8 @@ connstring
conntype
const
ContentApp
ContentAppPlatform
ContentApp's
ContentAppPlatform
ContentLaunch
ContentLauncher
continuousHinting
Expand Down Expand Up @@ -655,13 +658,13 @@ iaszone
ibb
ICA
ICD
ICDs
iCloud
ICMP
IDF
IDL
IDLs
idt
IDT
idx
ifconfig
ifdef
Expand Down Expand Up @@ -793,7 +796,6 @@ LightingColor
LightingState
LinkSoftwareAndDocumentationPack
lladdr
LLADDR
LocalConfigDisabled
localedef
localhost
Expand Down Expand Up @@ -914,6 +916,7 @@ namespacing
nano
natively
navpad
NCP
ncs
nding
NDK
Expand Down Expand Up @@ -1021,6 +1024,7 @@ PairDevice
PAIs
PAKE
palletsprojects
PANID
pankore
param
params
Expand Down Expand Up @@ -1157,8 +1161,8 @@ REPL
repo
req
Requestor
RequestorCanConsent
Requestor's
RequestorCanConsent
Requestors
responder
RestrictedEvent
Expand Down Expand Up @@ -1213,8 +1217,8 @@ SDB
SDC
SDHC
SDK
sdkconfig
SDK's
sdkconfig
SDKs
SDKTARGETSYSROOT
sdl
Expand All @@ -1227,6 +1231,7 @@ SendNewInputEvent
sendto
seqdiag
SERIALDEVICE
serialno
SerialNumber
ServiceId
SetDns
Expand Down Expand Up @@ -1336,12 +1341,14 @@ systime
sysv
TargetNavigator
TBD
tbody
tcl
TCP
teardown
Telink
TemperatureMeasurement
templating
Tera
testability
TestArray
TestCluster
Expand Down Expand Up @@ -1470,6 +1477,7 @@ utils
UUID
ux
validator
vcom
VCP
Vectorcall
VendorID
Expand Down Expand Up @@ -1497,6 +1505,7 @@ WantedBy
watchdogTimeout
watchOS
webpage
wf
wg
wget
whde
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
platform: linux
- name: Initialize CodeQL
if: ${{ inputs.run-codeql }}
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: "cpp"
- name: Setup Build
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Run Build Without Logging
run: scripts/run_in_build_env.sh "ninja -C ./out"
- name: Uploading core files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-core-linux-gcc-debug
Expand All @@ -120,7 +120,7 @@ jobs:
# If re-enabling, some subset of this should be picked
#
# - name: Uploading objdir for debugging
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# if: ${{ failure() && !env.ACT }}
# with:
# name: crash-objdir-linux-gcc-debug
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
platform: linux
- name: Initialize CodeQL
if: ${{ inputs.run-codeql }}
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: "cpp"
- name: Setup and Build Simulated Device
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
language: cpp

- name: Uploading core files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-core-linux
Expand All @@ -268,7 +268,7 @@ jobs:
# If re-enabling, some subset of this should be picked
#
# - name: Uploading objdir for debugging
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# if: ${{ failure() && !env.ACT }}
# with:
# name: crash-objdir-linux
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
mkdir -p ~/Library/Logs/DiagnosticReports || true
- name: Initialize CodeQL
if: ${{ inputs.run-codeql }}
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: "cpp"

Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
check \
"
- name: Uploading diagnostic logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-log-darwin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ jobs:
--env GITHUB_ACTION_RUN=1 \
--env GITHUB_CACHE_PATH=${{ env.GITHUB_CACHE_PATH }} \
--volume /tmp:/tmp \
-- scripts/tests/cirque_tests.sh bootstrap
-- sh -c " \
git config --global --add safe.directory '*' \
&& scripts/tests/cirque_tests.sh bootstrap \
"
- name: Artifact suffix
id: outsuffix
Expand Down Expand Up @@ -123,7 +126,7 @@ jobs:
- name: Uploading Binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() && !env.ACT }}
with:
name: cirque_log-${{steps.outsuffix.outputs.value}}-logs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/darwin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,27 +131,27 @@ jobs:
--ota-candidate-file /tmp/otaCandidateJSON \
"
- name: Uploading core files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-core-darwin-${{ matrix.build_variant }}
path: /cores/
# Cores are big; don't hold on to them too long.
retention-days: 5
- name: Uploading diagnostic logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-log-darwin-${{ matrix.build_variant }}
path: ~/Library/Logs/DiagnosticReports/
- name: Uploading framework build log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: framework-build-log-darwin-${BUILD_VARIANT_FRAMEWORK_TOOL}
path: out/darwin-x64-darwin-framework-tool-${BUILD_VARIANT_FRAMEWORK_TOOL}/darwin_framework_build.log
- name: Uploading objdir for debugging
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-objdir-darwin-${{ matrix.build_variant }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
xcodebuild -target "MatterTvCastingBridge" -sdk iphoneos
working-directory: examples/tv-casting-app/darwin/MatterTvCastingBridge
- name: Uploading log files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: darwin-framework-test-logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-ameba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: github.actor != 'restyled-io[bot]'

container:
image: ghcr.io/project-chip/chip-build-ameba:26
image: ghcr.io/project-chip/chip-build-ameba:30
options: --user root

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-efr32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
if: github.actor != 'restyled-io[bot]'

container:
image: ghcr.io/project-chip/chip-build-efr32:26
image: ghcr.io/project-chip/chip-build-efr32:31
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/examples-esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,6 @@ jobs:

- name: Build example Light Switch App (Target:ESP32C3)
run: scripts/examples/esp_example.sh light-switch-app sdkconfig.defaults.esp32c3

- name: Build example Lighting App (external platform)
run: scripts/examples/esp_example.sh lighting-app sdkconfig.ext_plat.defaults
2 changes: 1 addition & 1 deletion .github/workflows/examples-nrfconnect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
run: |
scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target nrf-native-posix-64-tests build"
- name: Uploading Failed Test Logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: test-log
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzzing-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
--copy-artifacts-to objdir-clone \
"
- name: Uploading binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !env.ACT }}
with:
name: objdir-linux
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
--copy-artifacts-to objdir-clone \
"
- name: Uploading binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !env.ACT }}
with:
name: crash-darwin
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/java-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
"./scripts/build/build_examples.py \
--target linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test \
--target linux-x64-java-matter-controller \
--target linux-x64-lit-icd-ipv6only \
build \
"
- name: Build Kotlin Matter Controller
Expand Down Expand Up @@ -210,6 +211,17 @@ jobs:
--tool-args "code --nodeid 1 --setup-payload 34970112332 --discover-once 1 --use-only-onnetwork-discovery 0 -t 1000" \
--factoryreset \
'
- name: Run Pairing ICD Onnetwork Test
run: |
scripts/run_in_python_env.sh out/venv \
'./scripts/tests/run_java_test.py \
--app out/linux-x64-lit-icd-ipv6only/lit-icd-app \
--app-args "--discriminator 3840 --interface-id -1" \
--tool-path out/linux-x64-java-matter-controller \
--tool-cluster "pairing" \
--tool-args "onnetwork-long --nodeid 1 --setup-pin-code 20202021 --discriminator 3840 -t 1000" \
--factoryreset \
'
- name: Run Pairing Onnetwork Test
run: |
scripts/run_in_python_env.sh out/venv \
Expand Down Expand Up @@ -266,15 +278,15 @@ jobs:
--factoryreset \
'
- name: Uploading core files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-core-linux-java-controller
path: /tmp/cores/
# Cores are big; don't hold on to them too long.
retention-days: 5
- name: Uploading objdir for debugging
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: crash-objdir-linux-java-controller
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qemu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
--verbose \
--file-image-list ./out/esp32-qemu-tests/test_images.txt
- name: Uploading Logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !env.ACT }}
with:
name: qemu-esp32-logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/recent_fail_summary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
branch: daily_pass_percentage
- name: Upload Logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: workflow-fail-summary
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest

container:
image: ghcr.io/project-chip/chip-build-efr32:26
image: ghcr.io/project-chip/chip-build-efr32:31
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
Loading

0 comments on commit 66824b9

Please sign in to comment.