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

[1.2 TE1] [TC-G-1.1]Test Harness fails to auto pair with a wifi-ble accessory. #25

Closed
raju-apple opened this issue Oct 19, 2023 · 5 comments
Labels

Comments

@raju-apple
Copy link

From chip-certification-tool created by mideayanghui: CHIP-Specifications/chip-certification-tool#865

Description:

Click the Start to test, then fail to pair with accessory

Steps to reproduce:

Click the Start to test, then fail to pair with accessory

Logs:

Test Harness logs :

[TC-G-1.1]_[LQGd6XEO]_TH_log.log

DUT logs:

[TC-G-1.1]_[LQGd6XEO]_DUT_log.log

Additional Info:

Spec version: 2023 Fall 0.7
PICS: v1.8
PICS
Groups Cluster Test Plan XML.zip

https://github.com/CHIP-Specifications/chip-certification-tool.git
commit 68548cb, I have updated TH using cmd.

@raju-apple
Copy link
Author

If I use interactive mode in cmd, it also fail
Test Harness logs :
[Test]_[LQGd6XEO]_CHIPTool_log.log

DUT logs:
COM7_2023-06-08_16-34-16-DUT.log

But if I use ./chip-tool pairing ble-wifi 0x1 smart-US xxxx 23589077 901 --paa-trust-store-path /var/paa-root-certs/,
commission successfully

@raju-apple
Copy link
Author

@mideayanghui Both failures seems to be related to Bluetooth disconnection.

Is this recurrent on sequentially executing manual interactive chip-tool tests?

Could you provide 2 or 3 logs of sequential failures (chip-tool manually in interactive mode )

@raju-apple
Copy link
Author

@mideayanghui Both failures seems to be related to Bluetooth disconnection.

Is this recurrent on sequentially executing manual interactive chip-tool tests?

Could you provide 2 or 3 logs of sequential failures (chip-tool manually in interactive mode )
Yes, I try serveral time, it also fail. I make sure I have update the TH to the latest version using command.
cd ~/chip-certification-tool
git pull
git checkout release/2.9-TE1
git submodule update --init --recursive
./scripts/update.sh
./scripts/ubuntu/update-sample-apps.sh
./scripts/ubuntu/update-paa-certs.sh
./scripts/stop.sh
./scripts/build-no-cache.sh
./scripts/start.sh
chiptool-interactive-pairing fail.txt

@raju-apple
Copy link
Author

@mideayanghui I just created an issue for sdk team as it seems to be a problem with chip-tool binary.

@fabiowmm
Copy link
Contributor

@gladystonfranca please add here the SDK issue you have opened to fix this.

rquidute pushed a commit that referenced this issue Sep 23, 2024
rquidute added a commit that referenced this issue Sep 23, 2024
* Fix prblem with sdk_tests collection using hardcoded paths

* Enable github workflows for main branch (#17)

* Enable github workflows for main branch

* Ignore Dockerfile

* mypy: ignore python_testing in sdk_collection

* minor linting issues fixed

* ignore .devcontainer in spell checker

* move .env file back in root

* Update reference to fetch_sdk_tests_and_runner.sh

* Use `pull_request_target` event to support forks

* Update yaml_test_folder.py (#21)

* Update yaml_test_folder.py

* Update test_sdk_yaml_collection.py

* Update unittests.yml

Don't run old code for unit tests

* [Fix] remove TestRunConfig usage from TH Backend (#581) (#6)

* Add the repeat endpoint, deprecate the test_run_config endpoints and

force the test run execution creation to use selected tests, and not test_run_config_id.

* Deprecating unit tests related with
test_run_config, creating new endpoint with required selected_tests
parameter and ignoring the test_run_config reference, renaming the
repeat endpoint method and adding comments.

* Updating select_tests logic, moving to a utils
file, and adding unit test for the repeat endpoint

* Updating comments and adding missing attribution to
None for test_run_config_id

* Adding missing TODO comment.

* Fixing selected_tests logic

* Updating the 'repeat' unit test to use more
suites to cover more cases.

* Removing "/new" endpoint, updating logic of the
default test run execution endpoint and updating unit tests, "repeat"
endpoint and utils

* Adding the new DB column "collection_id" to the
TestSuiteExecution table. A DB revision file was created and the code
was refactored to use this new info.

* Removing unnecessary import

* Set default log level to info, to eliminate chatter from python runner (#23)

* Update SDK SHA (#25)

* Added support to reset db for test (#28)

* Missing submit button (#30)

* Updates MessageTypeEnum to include options and message types

* Update app/user_prompt_support/user_prompt_manager.py

Co-authored-by: antonio-amjr <116589331+antonio-amjr@users.noreply.github.com>

* Update app/constants/websockets_constants.py

Co-authored-by: hiltonlima <116589806+hiltonlima@users.noreply.github.com>

* Update app/user_prompt_support/user_prompt_manager.py

---------

Co-authored-by: Romulo Quidute Filho <116586593+rquidute@users.noreply.github.com>
Co-authored-by: antonio-amjr <116589331+antonio-amjr@users.noreply.github.com>
Co-authored-by: hiltonlima <116589806+hiltonlima@users.noreply.github.com>
Co-authored-by: Carolina Lopes <116589288+ccruzagralopes@users.noreply.github.com>

* Update version

* Prompt request refactor (#31)

* Refactor to use only 1 enum

* Removed unsed import

* Fix isort

* Adds a new Message prompt request

---------

Co-authored-by: raul-marquez-csa <rmarquez@csa-iot.org>

* update backend version in FE (#32)

* update backend version in FE

* Update .version_information

* Update .version_information

* change ssh to https (#33)

* Undo version information update

---------

Co-authored-by: Mikael H. Moeller <mikaelhm@apple.com>
Co-authored-by: Mikael Møller <mikaelhm@hey.com>
Co-authored-by: antonio-amjr <116589331+antonio-amjr@users.noreply.github.com>
Co-authored-by: Romulo Quidute Filho <116586593+rquidute@users.noreply.github.com>
Co-authored-by: Raul Marquez <130402456+raul-marquez-csa@users.noreply.github.com>
Co-authored-by: hiltonlima <116589806+hiltonlima@users.noreply.github.com>
Co-authored-by: raul-marquez-csa <rmarquez@csa-iot.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants