-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add logging for OTA QueryImage, AnnounceOTAProvider, and BDX Output Event Type #11241
Merged
andy31415
merged 3 commits into
project-chip:master
from
carol-apple:test_add_ota_logging_te7
Nov 1, 2021
Merged
Add logging for OTA QueryImage, AnnounceOTAProvider, and BDX Output Event Type #11241
andy31415
merged 3 commits into
project-chip:master
from
carol-apple:test_add_ota_logging_te7
Nov 1, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
carol-apple
force-pushed
the
test_add_ota_logging_te7
branch
from
October 30, 2021 03:21
5a2249a
to
0995871
Compare
carol-apple
changed the title
Add logging for OTA QueryImage, AnnounceOTAProvider, and BDX
Add logging for OTA QueryImage, AnnounceOTAProvider, and BDX Output Event Type
Oct 30, 2021
pullapprove
bot
requested review from
anush-apple,
austinh0,
balducci-apple,
bzbarsky-apple,
cecille,
chrisdecenzo,
chulspro,
Damian-Nordic,
electrocucaracha,
erjiaqing,
franck-apple,
harimau-qirex,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
LuDuda,
mlepage-google,
mrjerryjohns,
msandstedt,
pan-apple,
sagar-apple,
saurabhst,
selissia and
tcarmelveilleux
October 30, 2021 03:21
pullapprove
bot
requested review from
vivien-apple,
wbschiller,
woody-apple,
yufengwangca and
yunhanw-google
October 30, 2021 03:21
carol-apple
force-pushed
the
test_add_ota_logging_te7
branch
from
October 30, 2021 03:25
0995871
to
573bebd
Compare
bzbarsky-apple
approved these changes
Oct 30, 2021
examples/ota-requestor-app/ota-requestor-common/ExampleOTARequestor.cpp
Outdated
Show resolved
Hide resolved
examples/ota-requestor-app/ota-requestor-common/ExampleOTARequestor.cpp
Outdated
Show resolved
Hide resolved
PR #11241: Size comparison from bf585f8 to 573bebd Increases above 0.2%:
Increases (7 builds for esp32, linux, mbed)
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
carol-apple
force-pushed
the
test_add_ota_logging_te7
branch
from
November 1, 2021 03:02
573bebd
to
8d9bb0e
Compare
PR #11241: Size comparison from 8dcf5d7 to 8d9bb0e Increases above 0.2%:
Increases (5 builds for linux, mbed)
Full report (35 builds for efr32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
dhrishi
approved these changes
Nov 1, 2021
selissia
approved these changes
Nov 1, 2021
msandstedt
reviewed
Nov 1, 2021
examples/ota-requestor-app/ota-requestor-common/ExampleOTARequestor.cpp
Outdated
Show resolved
Hide resolved
msandstedt
reviewed
Nov 1, 2021
…vent Type - These logs are to be parsed from testing side for test validation
carol-apple
force-pushed
the
test_add_ota_logging_te7
branch
from
November 1, 2021 16:59
8d9bb0e
to
9b9725d
Compare
msandstedt
approved these changes
Nov 1, 2021
PR #11241: Size comparison from 1722625 to 9b9725d Increases above 0.2%:
Increases (7 builds for esp32, linux, mbed)
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
andy31415
pushed a commit
that referenced
this pull request
Nov 3, 2021
…vent Type (#11241) * Add logging for OTA QueryImage, AnnounceOTAProvider, and BDX Output Event Type - These logs are to be parsed from testing side for test validation * Use suggested format specifiers * Only print the size of TLV fields
PSONALl
pushed a commit
to PSONALl/connectedhomeip
that referenced
this pull request
Dec 3, 2021
…vent Type (project-chip#11241) * Add logging for OTA QueryImage, AnnounceOTAProvider, and BDX Output Event Type - These logs are to be parsed from testing side for test validation * Use suggested format specifiers * Only print the size of TLV fields
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Fixes: #11074
The above issue requires certain OTA logs to be printed in order to to be parsed and to validate test cases. Current logging does not exist.
Change overview
This PR adds the parameters to QueryImage and AnnounceOTAProvider commands. In addition, it also logs the type of BDX output event rather than printing its numerical value.
Testing
Launch the ota-provider app and ota-requestor-app and initiate a BDX transfer between the two apps