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

[Bug] Border router does not start on TH #498

Open
NNAA0917 opened this issue Nov 26, 2024 · 7 comments
Open

[Bug] Border router does not start on TH #498

NNAA0917 opened this issue Nov 26, 2024 · 7 comments
Assignees
Labels

Comments

@NNAA0917
Copy link

Describe the bug

I want to start Border Router on TH for commissioning, but without success.

I created a project on the TH web tool, advertised the device and started the Commissioning test, but nothing happens.

Steps to reproduce the behavior

1.Install the Ubuntu Server 22.04.1 LTS (64-bit) in the SD card.
2.After the SD card has been flashed, place it in the Raspberry Pi’s memory card slot.
3.Power on the Raspberry Pi and ensure that the local area network, display monitor and keyboard are connected.
4.git clone -b v2.10.2+spring2024 https://github.com/project-chip/certification-tool.git
5.cd certification-tool
6.git submodule update --init --recursive
7../scripts/pi-setup/auto-install.sh
8.Wait about 10 minutes.
9.At the end of the script, select option 1 to restart the RaspberryPi.
10.Insert the Nordic RCP dongle with the firmware written into the TH and reboot.
11.TH will automatically spin the OTBR docker image when executing thread-related test cases, so we will start the Test as is.

Expected behavior

Thread Border Router starts and the commissioning test begins.

Log files

No response

PICS file

Test_PICS.zip

Screenshots

No response

Environment

TH version: v2.10.2+spring2024
OS:ubuntu Server 22.04.1 LTS (64-bit)

Additional Information

No response

@NNAA0917 NNAA0917 added Bug Something isn't working Needs Triage labels Nov 26, 2024
@NNAA0917
Copy link
Author

The json file is set as follows.

"network": {
"wifi": {
"ssid": "TP-Link_7B8F",
"password": "10861110"
},
"thread": {
"rcp_serial_path": "/dev/ttyACM0",
"rcp_baudrate": 115200,
"on_mesh_prefix": "fd11:22::/64",
"network_interface": "eth0",
"dataset": {
"channel": "15",
"panid": "0x1234",
"extpanid": "1111111122222222",
"networkkey": "00112233445566778899aabbccddeeff",
"networkname": "DEMO"
},
"otbr_docker_image": null
}
},
"dut_config": {
"discriminator": "3840",
"setup_code": "20202021",
"pairing_mode": "ble-thread",
"chip_timeout": null,
"chip_use_paa_certs": true,
"trace_log": true
},
"test_parameters": {
"endpoint": 0,
"manual-code": "34970112332",
"paa-trust-store-path": "/credentials/development/paa_roots",
"storage-path": "admin_storage.json"
}

@antonio-amjr antonio-amjr self-assigned this Jan 6, 2025
@antonio-amjr
Copy link
Contributor

antonio-amjr commented Jan 6, 2025

Hi @NNAA0917,

I'll investigate this issue.

For now, let me ask you if:

  • Can you test against the latest TH version release of fall2024 (or even spring2025)?
  • Can you share the logs from the test execution and the DUT?
  • Can share the following command output from the Raspberry Pi: ls -la /dev/ttyACM0?

Any additional information is always welcome

@NNAA0917
Copy link
Author

NNAA0917 commented Jan 7, 2025

Hi @antonio-amjr
I am aware that the latest Version is v2.10.3+spring2024-tag.
Is it possible to run v1.3 tests with v2.10.3+spring2024-tag?

Also, I ran the following with the current Version (v2.10.2+spring2024)
ls -la /dev/ttyACM0
The output was as follows
crw-rw---- 1 root dialout 166, 0 Sep 11 23:32 /dev/ttyACM0

Thank you very much for your confirmation.

@antonio-amjr
Copy link
Contributor

antonio-amjr commented Jan 7, 2025

Hi @NNAA0917,

I suppose you need the v1.3 of Matter so the latest version would be yours indeed, you're correct.
The fall2024 TH is for v1.4 and the next spring2025 is v1.5.

I'll try to reproduce the problem in the same environment of yours, I just have to prepare it soon.
Meanwhile, please share the logs from the execution, even though they are failing. They may help.

Also the share the logs from the backend and OTBR (after the test execution) with the commands below:

  • docker logs certification-tool-backend-1 > ~/backend_logs.txt
  • docker logs otbr-chip > ~/otbr_logs.txt

Afterwards just share the ~/backend_logs.txt and ~/otbr_logs.txt files

@antonio-amjr
Copy link
Contributor

Hey @NNAA0917,

I managed to install the v2.10.3+spring2024-tag release in my environment and use the ble-thread mode for a quick test.
Everything seems to work fine with the RCP dongle plus a Thread DUT simulated with the NORDIC board.

I'm attaching the log execution file for reference and the screenshot of the TH execution.
Let me know if I can help further and share with me the logs so I can investigate your case.

Spring2024_ble_thread_raspi_nordic.log

Screenshot 2025-01-09 at 15 09 33

@NNAA0917
Copy link
Author

Hi @antonio-amjr

Thank you for your response.
I will try the setup again.

By the way, what OS are you using?
Please let me know the ubuntu Version and the Raspi Version.

Also, what RCP dongle are you using?
I am currently using XIAO-nRF52840.

Please confirm.

@antonio-amjr
Copy link
Contributor

@NNAA0917,

The OS for the spring2024 must be the Ubuntu 22.04 version.
So I used the Ubuntu 22.04.05 available in the Raspberry Pi Imager for the Rasp environment.

As for the RCP dongle I'm using the NORDIC NRF52840 as suggested in the User Guide's OTBR section.

Let me know if I can help with anything else.

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