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

[CERT-TEST-FAILURE]-TC-CNET- 4.11 - Test failed #26848

Open
Survensa opened this issue May 25, 2023 · 2 comments
Open

[CERT-TEST-FAILURE]-TC-CNET- 4.11 - Test failed #26848

Survensa opened this issue May 25, 2023 · 2 comments

Comments

@Survensa
Copy link

Survensa commented May 25, 2023

Feature Area

Other

Test Case

TC-CNET-4.11

Summary

TH should be able to connect DUT using 1st ACCESSPOINT with connected status as TRUE when the fail-safe is disarmed after connecting to 2nd ACCESSPOINT.

Reproduction steps

  1. Paired TH ( CHIP_TOOL ) and DUT ( ALL-CLUSTERS-APP) through ble-wifi

  2. Armed the fail-safe :
    ./chip-tool generalcommissioning arm-fail-safe 900 1 1 0

  3. Checked the 1st connected ACCESSPOINT :
    ./chip-tool networkcommissioning read networks 1 0

[1657733068.835240][7475:7480] CHIP:TOO:   Networks: 1 entries
[1657733068.835354][7475:7480] CHIP:TOO:     [1]: {
[1657733068.835434][7475:7480] CHIP:TOO:       NetworkID: 47524C50726976617465
[1657733068.835487][7475:7480] CHIP:TOO:       Connected: TRUE
[1657733068.835535][7475:7480] CHIP:TOO:      }
  1. Removed the network :
    ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 --Breadcrumb 1

  2. Added 2nd ACCESSPOINT network :
    ./chip-tool networkcommissioning add-or-update-wi-fi-network Sbee_Moto Sunsuraj 1 0 --Breadcrumb 1

  3. Connected 2nd network and checked the network status :
    ./chip-tool networkcommissioning connect-network hex:536265655F4D6F746F 1 0 --Breadcrumb 2 and ./chip-tool networkcommissioning read networks 1 0

[1657733596.457792][7640:7645] CHIP:TOO:   Networks: 1 entries
[1657733596.457867][7640:7645] CHIP:TOO:     [1]: {
[1657733596.457906][7640:7645] CHIP:TOO:       NetworkID: 536265655F4D6F746F
[1657733596.457940][7640:7645] CHIP:TOO:       Connected: TRUE
[1657733596.457972][7640:7645] CHIP:TOO:      }
  1. Now Disarmed the fail-safe :
    ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0

  2. Checked whether the network is reverted to 1st ACCESS POINT :
    ./chip-tool networkcommissioning read networks 1 0

Actual Outcome :

[1684497703.596592][3941:3943] CHIP:TOO:   Networks: 1 entries
[1684497703.596640][3941:3943] CHIP:TOO:     [1]: {
[1684497703.596668][3941:3943] CHIP:TOO:       NetworkID: 47524C50726976617465
[1684497703.596697][3941:3943] CHIP:TOO:       Connected: FALSE
[1684497703.596721][3941:3943] CHIP:TOO:      }

Expected Outcome:

[1684497703.596592][3941:3943] CHIP:TOO:   Networks: 1 entries
[1684497703.596640][3941:3943] CHIP:TOO:     [1]: {
[1684497703.596668][3941:3943] CHIP:TOO:       NetworkID: 47524C50726976617465
[1684497703.596697][3941:3943] CHIP:TOO:       Connected: TRUE
[1684497703.596721][3941:3943] CHIP:TOO:      }

Bug prevalence

Whenever I do this

GitHub hash of the SDK that was being used

bfa0580

Platform

raspi

Platform Version(s)

RPI-4, 8GB-RAM variant

Log :

@github-actions github-actions bot removed the linux label Jul 10, 2023
@Survensa Survensa changed the title [TC-CNET-4.11] TH is not able to connect back to 1st access point after fail-safe is disarmed from 2nd access point [CERT-TEST-FAILURE]-TC-CNET- 4.11 - Test failed Jul 10, 2023
@cjandhyala cjandhyala added this to the 1.3 milestone Jul 18, 2023
@andy31415
Copy link
Contributor

This may not make it to Sep1 due to seemingly more complex changes.
It is odd that the network list says "not connected" yet we are communicating via chip-tool (presumably over ip).

@cecille
Copy link
Contributor

cecille commented Sep 29, 2023

which network is the TH connected to when it sends the ./chip-tool networkcommissioning read networks 1 0 command?

The steps here don't match up with the test plan - is the TH swapping its own network?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Open Cert Blockers
Development

No branches or pull requests

5 participants