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

Use progress log level for non-error messages #33613

Merged
merged 2 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ tests:

[1663841939.843550][13897:13897] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1663841939.843617][13897:13897] CHIP:DL: Inet Layer shutdown
[1663841939.843673][13897:13897] CHIP:DL: BLE shutdown
[1663841939.843673][13897:13897] CHIP:DL: BLE Layer shutdown
[1663841939.843727][13897:13897] CHIP:DL: System Layer shutdown
[1663841939.844009][13897:13897] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/pairing/PairingCommand.cpp:151: CHIP Error 0x00000003: Incorrect state
cluster: "LogCommands"
Expand Down
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ tests:

[1663841939.843550][13897:13897] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1663841939.843617][13897:13897] CHIP:DL: Inet Layer shutdown
[1663841939.843673][13897:13897] CHIP:DL: BLE shutdown
[1663841939.843673][13897:13897] CHIP:DL: BLE Layer shutdown
[1663841939.843727][13897:13897] CHIP:DL: System Layer shutdown
[1663841939.844009][13897:13897] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/pairing/PairingCommand.cpp:151: CHIP Error 0x00000003: Incorrect state
disabled: true
Expand Down Expand Up @@ -161,7 +161,7 @@ tests:
[1665481996.786704][4913:4913] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1665481996.786930][4913:4913] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1665481996.786999][4913:4913] CHIP:DL: Inet Layer shutdown
[1665481996.787065][4913:4913] CHIP:DL: BLE shutdown
[1665481996.787065][4913:4913] CHIP:DL: BLE Layer shutdown
[1665481996.787123][4913:4913] CHIP:DL: System Layer shutdown
[1665481996.787363][4913:4913] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:164: CHIP Error 0x00000003: Incorrect state
disabled: true
Expand Down Expand Up @@ -284,7 +284,7 @@ tests:

[1678796869.645576][648903:648903] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1678796869.645584][648903:648903] CHIP:DL: Inet Layer shutdown
[1678796869.645589][648903:648903] CHIP:DL: BLE shutdown
[1678796869.645589][648903:648903] CHIP:DL: BLE Layer shutdown
[1678796869.645596][648903:648903] CHIP:DL: System Layer shutdown
[1678796869.645693][648903:648903] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:215: CHIP Error 0x00000003: Incorrect state
disabled: true
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ tests:

[1663842366.887733][13938:13938] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1663842366.887797][13938:13938] CHIP:DL: Inet Layer shutdown
[1663842366.887851][13938:13938] CHIP:DL: BLE shutdown
[1663842366.887851][13938:13938] CHIP:DL: BLE Layer shutdown
[1663842366.887905][13938:13938] CHIP:DL: System Layer shutdown
[1663842366.888154][13938:13938] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:454: CHIP Error 0x00000032: Timeout
disabled: true
Expand Down Expand Up @@ -154,7 +154,7 @@ tests:
verify you got the following message in the TH_CR2(CHIP-TOOL) log

[1700552012.724377][27528:27528] CHIP:DL: Inet Layer shutdown
[1700552012.724405][27528:27528] CHIP:DL: BLE shutdown
[1700552012.724405][27528:27528] CHIP:DL: BLE Layer shutdown
[1700552012.724445][27528:27528] CHIP:DL: System Layer shutdown
[1700552012.725294][27528:27528] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:589: CHIP Error 0x00000032: Timeout
disabled: true
Expand Down Expand Up @@ -276,7 +276,7 @@ tests:
Verify you got the following message in the TH_CR3(Chip-tool) log

[1700552012.724377][27528:27528] CHIP:DL: Inet Layer shutdown
[1700552012.724405][27528:27528] CHIP:DL: BLE shutdown
[1700552012.724405][27528:27528] CHIP:DL: BLE Layer shutdown
[1700552012.724445][27528:27528] CHIP:DL: System Layer shutdown
[1700552012.725294][27528:27528] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:589: CHIP Error 0x00000032: Timeout
disabled: true
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ tests:
[1665484807.015876][5399:5399] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1665484807.016042][5399:5399] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1665484807.016108][5399:5399] CHIP:DL: Inet Layer shutdown
[1665484807.016163][5399:5399] CHIP:DL: BLE shutdown
[1665484807.016163][5399:5399] CHIP:DL: BLE Layer shutdown
[1665484807.016215][5399:5399] CHIP:DL: System Layer shutdown
[1665484807.016460][5399:5399] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:164: CHIP Error 0x00000003: Incorrect state
cluster: "LogCommands"
Expand Down Expand Up @@ -589,7 +589,7 @@ tests:
[1665484807.015876][5399:5399] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1665484807.016042][5399:5399] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1665484807.016108][5399:5399] CHIP:DL: Inet Layer shutdown
[1665484807.016163][5399:5399] CHIP:DL: BLE shutdown
[1665484807.016163][5399:5399] CHIP:DL: BLE Layer shutdown
[1665484807.016215][5399:5399] CHIP:DL: System Layer shutdown
[1665484807.016460][5399:5399] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:164: CHIP Error 0x00000003: Incorrect state
cluster: "LogCommands"
Expand Down
6 changes: 3 additions & 3 deletions src/include/platform/internal/GenericPlatformManagerImpl.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,19 @@ exit:
template <class ImplClass>
void GenericPlatformManagerImpl<ImplClass>::_Shutdown()
{
ChipLogError(DeviceLayer, "Inet Layer shutdown");
ChipLogProgress(DeviceLayer, "Inet Layer shutdown");
UDPEndPointManager()->Shutdown();

#if INET_CONFIG_ENABLE_TCP_ENDPOINT
TCPEndPointManager()->Shutdown();
#endif

#if CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
ChipLogError(DeviceLayer, "BLE shutdown");
ChipLogProgress(DeviceLayer, "BLE Layer shutdown");
BLEMgr().Shutdown();
#endif

ChipLogError(DeviceLayer, "System Layer shutdown");
ChipLogProgress(DeviceLayer, "System Layer shutdown");
SystemLayer().Shutdown();
}

Expand Down
Loading