You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When executing the test_TC_CCTRL_2_2 test case, an error occurs due to the CommissionerControl.Commands.CommissionNode command receiving an unexpected keyword argument 'ipAddress'. This results in a TypeError, preventing the test from proceeding
[MatterTest] 08-30 08:21:21.037 INFO ***** Test Step 5 : Send CommissionNode command to DUT with CASE session
[MatterTest] 08-30 08:21:21.039 ERROR Exception occurred in test_TC_CCTRL_2_2.
Traceback (most recent call last):
File "/home/ubuntu/Aug26_cntr/connectedhomeip/no/lib/python3.10/site-packages/mobly/base_test.py", line 783, in exec_one_test
test_method()
File "/home/ubuntu/Aug26_cntr/connectedhomeip/src/python_testing/matter_testing_support.py", line 2149, in per_endpoint_runner
_async_runner(body, self, *args, **kwargs)
File "/home/ubuntu/Aug26_cntr/connectedhomeip/src/python_testing/matter_testing_support.py", line 1942, in _async_runner
return asyncio.run(runner_with_timeout)
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/home/ubuntu/Aug26_cntr/connectedhomeip/src/python_testing/TC_CCTRL_2_2.py", line 140, in test_TC_CCTRL_2_2
cmd = Clusters.CommissionerControl.Commands.CommissionNode(
TypeError: CommissionerControl.Commands.CommissionNode.init() got an unexpected keyword argument 'ipAddress'
[MatterTest] 08-30 08:21:21.058 INFO ***** Test Failure :
[MatterTest] 08-30 08:21:21.059 INFO Finished test in 435011.0ms
[MatterTest] 08-30 08:21:21.060 ERROR
Test test_TC_CCTRL_2_2 failed for the following reason:
CommissionerControl.Commands.CommissionNode.init() got an unexpected keyword argument 'ipAddress'
File "/home/ubuntu/Aug26_cntr/connectedhomeip/src/python_testing/TC_CCTRL_2_2.py", line 140, in test_TC_CCTRL_2_2
TypeError: CommissionerControl.Commands.CommissionNode.init() got an unexpected keyword argument 'ipAddress'
Steps to Reproduce
Command used to build -
Fabric admin app
./scripts/build/build_examples.py --target linux-arm64-fabric-admin-rpc build
Command used to launch : ./fabric-admin
fabric-bridge-app
./scripts/build/build_examples.py --target linux-arm64-fabric-bridge-rpc build
Command used to launch : ./fabric-bridge-app
TH - python controller
commands used to build -
source scripts/activate.sh && scripts/build_python.sh -m platform -d true -i no
source no/bin/activate
Command used to build all-clusters app
scripts/examples/gn_build_example.sh examples/all-clusters-app/linux/ examples/all-clusters-app/linux/out/all-clusters-app chip_inet_config_enable_ipv4=false
Command used to run the python script : rm -r admin_storage.json && python3 TC_CCTRL_2_2.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --paa-trust-store-path ../../credentials/development/paa-root-certs/ --storage-path admin_storage.json --string-arg th_server_app_path:</home/ubuntu/Aug26_cntr/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app/chip-all-clusters-app>
Feature Area
Other
Test Case
TC-CCTRL-2.2
Description
When executing the test_TC_CCTRL_2_2 test case, an error occurs due to the CommissionerControl.Commands.CommissionNode command receiving an unexpected keyword argument 'ipAddress'. This results in a TypeError, preventing the test from proceeding
Steps to Reproduce
Fabric admin app
./scripts/build/build_examples.py --target linux-arm64-fabric-admin-rpc build
Command used to launch :
./fabric-admin
fabric-bridge-app
./scripts/build/build_examples.py --target linux-arm64-fabric-bridge-rpc build
Command used to launch :
./fabric-bridge-app
commands used to build -
source scripts/activate.sh && scripts/build_python.sh -m platform -d true -i no
source no/bin/activate
Command used to build all-clusters app
scripts/examples/gn_build_example.sh examples/all-clusters-app/linux/ examples/all-clusters-app/linux/out/all-clusters-app chip_inet_config_enable_ipv4=false
Command used to run the python script :
rm -r admin_storage.json && python3 TC_CCTRL_2_2.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --paa-trust-store-path ../../credentials/development/paa-root-certs/ --storage-path admin_storage.json --string-arg th_server_app_path:</home/ubuntu/Aug26_cntr/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app/chip-all-clusters-app>
Bug prevalence
Everytime
GitHub hash of the SDK that was being used
125b8e7
Platform
raspi
PFA log below :
TC-CCTRL_2_2 controller log.txt
TC-CCTRL-2_2 Fabric bridge log.txt
TC_CCTRL_2_2 - Fabric admin log.txt
This issue was introduced following the merge of PR : #35272
The text was updated successfully, but these errors were encountered: