Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI Debug] List all commissionable nodes before starting CI runs #11613

Merged
merged 5 commits into from
Nov 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/tests/test_suites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ for j in "${iter_array[@]}"; do
# kicking off the subshell, sometimes we try to do it before
# the data is there yet.
background_pid="$(</tmp/pid)"
# Only look for commissionable nodes if dns-sd is available
if command -v dns-sd &>/dev/null; then
bzbarsky-apple marked this conversation as resolved.
Show resolved Hide resolved
echo " * [CI DEBUG] Looking for commissionable Nodes"
# Ignore the error that timeout generates
cat <(timeout 1 dns-sd -B _matterc._udp)
fi
echo " * Pairing to device"
"${test_case_wrapper[@]}" out/debug/standalone/chip-tool pairing qrcode "$node_id" MT:D8XA0CQM00KA0648G00 | tee "$pairing_log_file"
echo " * Starting test run: $i"
Expand Down