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

Integration Candidate: 2020-09-02 #590

Merged
merged 10 commits into from
Sep 9, 2020
Merged

Integration Candidate: 2020-09-02 #590

merged 10 commits into from
Sep 9, 2020

Conversation

yammajamma
Copy link
Contributor

@yammajamma yammajamma commented Sep 3, 2020

Describe the contribution
Fix #555
Fix #537
Fix #581

Testing performed
Bundle CI - https://github.com/nasa/cFS/pull/136/checks

Expected behavior changes
PR #568 - Introduces a new typedef, osal_id_t, in common_types.h, which should be used to represent an OSAL ID. All API structures/functions are updated to use this typedef in place of the uint32 type wherever it actually refers to an OSAL ID.

PR #579 - Fail tests on startup or tear down failures. These are failures, just a different severity (likely mean the test didn't work as expected and needs to be fixed).

PR #583 - Max timer create test was using OS_MAX_TIMERS (the limit for adding timers to a time base), but creating timers is limited by OS_MAX_TIMEBASES since the create adds a new time base.

HOTFIX 20200902 - Fix documentation warnings in OSAL.

HOTFIX 20200902 - Hide the call graph on utility functions.

System(s) tested on
Ubuntu - CI

Additional context
nasa/cFS#136

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman, NASA-GSFC
Joseph Hickey, Vantage Systems, Inc.

skliper and others added 7 commits August 28, 2020 14:08
Update all internal OSAL code to use the typedef when creating, storing,
or otherwise dealing with abstract ID values.

Removes/fixes any code that directly compares or casts the IDs between
normal integer values.  Replace equality comparisons with inline functions
to check for equality and validity.
Update file-sys-add-fixed-map-api-test and network-api-test to
use the osal_id_t typedef and proper conversion/test functions
for manipulating object IDs.
Fix #581, Use OS_MAX_TIMEBASES for max timer create unit test
Fix #537, Fail tests on startup and tear down failures
@astrogeco
Copy link
Contributor

astrogeco commented Sep 4, 2020

@skliper and @jphickey looks like we have some usersguide doxygen errors at the bundle level
usersguide-doxygen-errors-ic-20200902.txt

@jphickey
Copy link
Contributor

jphickey commented Sep 4, 2020

Looks like these are mostly deprecated symbols that are now removed, hence why they've become warnings now. Doxygen must not have known about the "OMIT_DEPRECATED" flag or else these would have shown up earlier. Basically a bug that has existed for a long time but only just showing up now.

@skliper
Copy link
Contributor

skliper commented Sep 8, 2020

@yammajamma - could you resolve these? I suggest updating the links if there is a replacement (any of the scoping name changes or API updates), or removing the reference/update the documentation if the functionality was deprecated.

Fix some newly triggered warnings with respect to the
doxygen markup and references.  Also move the definition
of OS_file_flags_t (enum type) to the public API to satisfy a
reference issue in OS_OpenCreate().
@astrogeco
Copy link
Contributor

@yammajamma can you update the "Expected behavior changes" above with a summary of the hotfixes?

@yammajamma yammajamma merged commit c3b1398 into main Sep 9, 2020
@astrogeco astrogeco added this to the 6.0.0 milestone Sep 22, 2020
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants