-
Notifications
You must be signed in to change notification settings - Fork 3k
OS version not update in mbed_stats #7059
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Where should this be documented? Should version member contain a note that this is now 0 as known issue ?
Should this be added to known issue? I assume we will fix this in 5.9.1
How does this affect an example system stats? do we nee dto do any change there? |
Example will show version as 0 always. It will be good to document it as known issue. @AnotherButler Shall I add know issue in API reference (handbook) or it should be part of known issues section in Release notes |
/morph build |
Build : SUCCESSBuild number : 2198 Triggering tests/morph test |
Test : FAILUREBuild number : 1988 |
Exporter Build : SUCCESSBuild number : 1825 |
mbed OS versions are only applicable in releases. There will never be an OS version on master....This was removed about a year ago. |
@studavekar Looks like we are out of disk space again. Can you take a look please ? |
@adbridge where did you find traceback of out of disk space? Looking at logs I see ping timeout may be lost connection with node
|
/morph test |
Correct, looks like nodes decided to go on a silent strike. |
Test : SUCCESSBuild number : 1991 |
@AnotherButler Ping? This is ready to go, but I don't want to lose the doc update. |
Let's add this to the known issues list in the release notes. |
Fyi @adbridge |
@deepikabhavnani @0xc0170 @cmonr OK so I am not sure I understand the necessity for this patch? On ALL release branches mbed.h contains:
stats->os_version is initialised to 0 anyway so this would work fine as it is ? It would report 0 on master where MBED_VERSION is not defined and a real release on a release branch where it is? |
@adbridge - This is failing because we do not include "mbed.h" inside platform or internal header files. And version number is not available in Mbed OS source code. Correct solution will be to create a separate header file for version details and include that in "mbed.h" and anywhere else as needed. |
Description
Temporary fix to remove OS version update, it will be always zero (even in release versions)
Pull request type
CC @0xc0170