Closed somu1710 closed 2 years ago
@somu1710
It looks you use invalid nodeid '1' in the command, could you try with the target nodeid, such as:
./chip-tool wifinetworkdiagnostics read channel-number 12344321 0
@yufengwangca yeah, I tried with the node id what u mentioned in the comment above (12344321),its gets same result what i get previously by using node id 1. here i attached the log file below for your reference. wifidiag fail logs.txt
commit: b0af6ba42b6ce494748f18ecf3e054a400b8f45b
Same issue persists across the entire issue filed above as well as an additional command failing for TC-WIFIDIAG-3.1
.
TC-WIFIDIAG-1.1 & TC-WIFIDIAG-1.2 issues filed already here: #11652 TC-WIFIDIAG-3.1 issue filed already here: #11653
TC-WIFIDIAG-1.1 | Attributes with server as DUT
TC-WIFIDIAG-1.2 | Attributes observation at client as DUT
TC-WIFIDIAG-3.1 | Command received functionality with server as DUT
(From consolidated_mac_accessory_TC-WIFIDIAG-1-1.txt
only, as consolidated_mac_accessory_TC-WIFIDIAG-1-2.txt
logs are the same commands and same failures)
[1642731832650] [90506:3876295] CHIP: [TOO] Run command failure: ../../commands/common/CHIPCommand.cpp:232: CHIP Error 0x00000032: Timeout
[1642731877931] [90509:3876831] CHIP: [TOO] Run command failure: ../../commands/common/CHIPCommand.cpp:232: CHIP Error 0x00000032: Timeout
[1642731923340] [90512:3877318] CHIP: [TOO] Run command failure: ../../commands/common/CHIPCommand.cpp:232: CHIP Error 0x00000032: Timeout
[1642732146056] [90529:3879224] CHIP: [TOO] Run command failure: ../../commands/common/CHIPCommand.cpp:232: CHIP Error 0x00000032: Timeout
(From consolidated_mac_accessory_TC-WIFIDIAG-3-1.txt
)
[1642732716954] [90578:3884772] CHIP: [TOO] Run command failure: ../../third_party/connectedhomeip/zzz_generated/chip-tool/zap-generated/cluster/Commands.h:2502: CHIP Error 0x000000AC: Internal error
consolidated_mac_accessory_TC-WIFIDIAG-1-1.txt consolidated_mac_accessory_TC-WIFIDIAG-1-2.txt consolidated_mac_accessory_TC-WIFIDIAG-3-1.txt
@liamgonyea
From all logs you posted, I saw the following error message:
[1642732716954] [90578:3884772] CHIP: [-] ../../third_party/connectedhomeip/zzz_generated/chip-tool/zap-generated/cluster/Commands.h:2502: CHIP Error 0x000000AC: Internal error at ../../commands/common/CHIPCommand.cpp:59
[1642732716954] [90578:3884772] CHIP: [TOO] Run command failure: ../../third_party/connectedhomeip/zzz_generated/chip-tool/zap-generated/cluster/Commands.h:2502: CHIP Error 0x000000AC: Internal error
[1642732716957] [90578:3884772] CHIP: [SPT] VerifyOrDie failure at ../../third_party/connectedhomeip/src/inet/InetLayer.h:121: sEndPointPool.Allocated() == 0
@somu1710
Please note, the Wifi diagnostic cluster is only implemented on Linux reference platform on endpoint 0. I am not sure if TE7.5 branch contain the latest bug fixes, but I am not able to see any of issue you mentioned on ToT, could you confirm.
Here is the steps I use to test those attributes:
On Server Side:
sudo rm -rf /tmp/chip_*
./chip-all-clusters-app
On Client Side:
sudo rm /tmp/chip_*
./chip-tool pairing onnetwork 12344321 20202021
yufengw@yufengw-SEi:~/connectedhomeip/out/debug/standalone$ ./chip-tool wifinetworkdiagnostics read channel-number 12344321 0
......
[1644386085.373221][143947:143952] CHIP:DMG: ReportDataMessage =
[1644386085.373227][143947:143952] CHIP:DMG: {
[1644386085.373231][143947:143952] CHIP:DMG: AttributeReportIBs =
[1644386085.373239][143947:143952] CHIP:DMG: [
[1644386085.373243][143947:143952] CHIP:DMG: AttributeReportIB =
[1644386085.373251][143947:143952] CHIP:DMG: {
[1644386085.373256][143947:143952] CHIP:DMG: AttributeDataIB =
[1644386085.373262][143947:143952] CHIP:DMG: {
[1644386085.373267][143947:143952] CHIP:DMG: DataVersion = 0x82208c89,
[1644386085.373272][143947:143952] CHIP:DMG: AttributePathIB =
[1644386085.373278][143947:143952] CHIP:DMG: {
[1644386085.373286][143947:143952] CHIP:DMG: Endpoint = 0x0,
[1644386085.373298][143947:143952] CHIP:DMG: Cluster = 0x36,
[1644386085.373305][143947:143952] CHIP:DMG: Attribute = 0x0000_0003,
[1644386085.373311][143947:143952] CHIP:DMG: }
[1644386085.373323][143947:143952] CHIP:DMG:
[1644386085.373332][143947:143952] CHIP:DMG: Data = 149,
[1644386085.373341][143947:143952] CHIP:DMG: },
[1644386085.373349][143947:143952] CHIP:DMG:
[1644386085.373354][143947:143952] CHIP:DMG: },
[1644386085.373362][143947:143952] CHIP:DMG:
[1644386085.373367][143947:143952] CHIP:DMG: ],
[1644386085.373375][143947:143952] CHIP:DMG:
[1644386085.373381][143947:143952] CHIP:DMG: SuppressResponse = true,
[1644386085.373387][143947:143952] CHIP:DMG: InteractionModelRevision = 1
[1644386085.373391][143947:143952] CHIP:DMG: }
[1644386085.373441][143947:143952] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0003
[1644386085.373489][143947:143952] CHIP:TOO: ChannelNumber: 149
yufengw@yufengw-SEi:~/connectedhomeip/out/debug/standalone$ ./chip-tool wifinetworkdiagnostics read rssi 12344321 0
......
[1644386104.508053][143955:143960] CHIP:DMG: ReportDataMessage =
[1644386104.508057][143955:143960] CHIP:DMG: {
[1644386104.508062][143955:143960] CHIP:DMG: AttributeReportIBs =
[1644386104.508069][143955:143960] CHIP:DMG: [
[1644386104.508072][143955:143960] CHIP:DMG: AttributeReportIB =
[1644386104.508079][143955:143960] CHIP:DMG: {
[1644386104.508083][143955:143960] CHIP:DMG: AttributeDataIB =
[1644386104.508088][143955:143960] CHIP:DMG: {
[1644386104.508094][143955:143960] CHIP:DMG: DataVersion = 0x82208c89,
[1644386104.508098][143955:143960] CHIP:DMG: AttributePathIB =
[1644386104.508104][143955:143960] CHIP:DMG: {
[1644386104.508109][143955:143960] CHIP:DMG: Endpoint = 0x0,
[1644386104.508133][143955:143960] CHIP:DMG: Cluster = 0x36,
[1644386104.508140][143955:143960] CHIP:DMG: Attribute = 0x0000_0004,
[1644386104.508144][143955:143960] CHIP:DMG: }
[1644386104.508149][143955:143960] CHIP:DMG:
[1644386104.508154][143955:143960] CHIP:DMG: Data = -54,
[1644386104.508159][143955:143960] CHIP:DMG: },
[1644386104.508165][143955:143960] CHIP:DMG:
[1644386104.508168][143955:143960] CHIP:DMG: },
[1644386104.508173][143955:143960] CHIP:DMG:
[1644386104.508176][143955:143960] CHIP:DMG: ],
[1644386104.508182][143955:143960] CHIP:DMG:
[1644386104.508185][143955:143960] CHIP:DMG: SuppressResponse = true,
[1644386104.508189][143955:143960] CHIP:DMG: InteractionModelRevision = 1
[1644386104.508192][143955:143960] CHIP:DMG: }
[1644386104.508226][143955:143960] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0004
[1644386104.508241][143955:143960] CHIP:TOO: Rssi: -54
yufengw@yufengw-SEi:~/connectedhomeip/out/debug/standalone$ ./chip-tool wifinetworkdiagnostics read current-max-rate 12344321 0
.....
[1644386122.166393][143961:143966] CHIP:DMG: ReportDataMessage =
[1644386122.166397][143961:143966] CHIP:DMG: {
[1644386122.166401][143961:143966] CHIP:DMG: AttributeReportIBs =
[1644386122.166407][143961:143966] CHIP:DMG: [
[1644386122.166410][143961:143966] CHIP:DMG: AttributeReportIB =
[1644386122.166416][143961:143966] CHIP:DMG: {
[1644386122.166420][143961:143966] CHIP:DMG: AttributeDataIB =
[1644386122.166424][143961:143966] CHIP:DMG: {
[1644386122.166429][143961:143966] CHIP:DMG: DataVersion = 0x82208c89,
[1644386122.166433][143961:143966] CHIP:DMG: AttributePathIB =
[1644386122.166437][143961:143966] CHIP:DMG: {
[1644386122.166441][143961:143966] CHIP:DMG: Endpoint = 0x0,
[1644386122.166447][143961:143966] CHIP:DMG: Cluster = 0x36,
[1644386122.166452][143961:143966] CHIP:DMG: Attribute = 0x0000_000B,
[1644386122.166456][143961:143966] CHIP:DMG: }
[1644386122.166460][143961:143966] CHIP:DMG:
[1644386122.166479][143961:143966] CHIP:DMG: Data = 866700000,
[1644386122.166483][143961:143966] CHIP:DMG: },
[1644386122.166488][143961:143966] CHIP:DMG:
[1644386122.166492][143961:143966] CHIP:DMG: },
[1644386122.166497][143961:143966] CHIP:DMG:
[1644386122.166500][143961:143966] CHIP:DMG: ],
[1644386122.166505][143961:143966] CHIP:DMG:
[1644386122.166509][143961:143966] CHIP:DMG: SuppressResponse = true,
[1644386122.166513][143961:143966] CHIP:DMG: InteractionModelRevision = 1
[1644386122.166516][143961:143966] CHIP:DMG: }
[1644386122.166551][143961:143966] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_000B
[1644386122.166563][143961:143966] CHIP:TOO: CurrentMaxRate: 866700000
yufengw@yufengw-SEi:~/connectedhomeip/out/debug/standalone$ ./chip-tool wifinetworkdiagnostics read beacon-lost-count 12344321 0
..........
[1644386411.432812][144031:144036] CHIP:DMG: ReportDataMessage =
[1644386411.432817][144031:144036] CHIP:DMG: {
[1644386411.432822][144031:144036] CHIP:DMG: AttributeReportIBs =
[1644386411.432828][144031:144036] CHIP:DMG: [
[1644386411.432832][144031:144036] CHIP:DMG: AttributeReportIB =
[1644386411.432839][144031:144036] CHIP:DMG: {
[1644386411.432843][144031:144036] CHIP:DMG: AttributeDataIB =
[1644386411.432849][144031:144036] CHIP:DMG: {
[1644386411.432855][144031:144036] CHIP:DMG: DataVersion = 0x82208c89,
[1644386411.432859][144031:144036] CHIP:DMG: AttributePathIB =
[1644386411.432864][144031:144036] CHIP:DMG: {
[1644386411.432868][144031:144036] CHIP:DMG: Endpoint = 0x0,
[1644386411.432875][144031:144036] CHIP:DMG: Cluster = 0x36,
[1644386411.432879][144031:144036] CHIP:DMG: Attribute = 0x0000_0005,
[1644386411.432883][144031:144036] CHIP:DMG: }
[1644386411.432887][144031:144036] CHIP:DMG:
[1644386411.432892][144031:144036] CHIP:DMG: Data = 0,
[1644386411.432895][144031:144036] CHIP:DMG: },
[1644386411.432900][144031:144036] CHIP:DMG:
[1644386411.432904][144031:144036] CHIP:DMG: },
[1644386411.432908][144031:144036] CHIP:DMG:
[1644386411.432912][144031:144036] CHIP:DMG: ],
[1644386411.432917][144031:144036] CHIP:DMG:
[1644386411.432920][144031:144036] CHIP:DMG: SuppressResponse = true,
[1644386411.432924][144031:144036] CHIP:DMG: InteractionModelRevision = 1
[1644386411.432927][144031:144036] CHIP:DMG: }
[1644386411.432959][144031:144036] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_0005
[1644386411.432980][144031:144036] CHIP:TOO: BeaconLostCount: 0
@yufengwangca
Yeah , we are also using the linux platform and I checked with the latest commit ID now its working fine as well.
While executing wifidiagnostic cluster we getting error during execution of some commands using new image TE7.5 of this commit id b0af6ba42b6ce494748f18ecf3e054a400b8f45b