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

TOPIC ID - SB Coverage Test Failure #2597

Closed
avan989 opened this issue Aug 27, 2024 · 0 comments · Fixed by #2602
Closed

TOPIC ID - SB Coverage Test Failure #2597

avan989 opened this issue Aug 27, 2024 · 0 comments · Fixed by #2602
Labels

Comments

@avan989
Copy link
Contributor

avan989 commented Aug 27, 2024

Describe the bug
For missions that do not use topic id but global MSGIDs, the following test is reported as failures:

[BEGIN] 129 SB_Utils.CFE_SB_CmdTopicIdToMsgId
[ FAIL] 129.001 sb_UT.c:4635 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ FAIL] 129.002 sb_UT.c:4638 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ INFO]                        ABORT::0     WARN::0     FLOW::0     DEBUG::0     N/A::0   
[  END] 129 SB_Utils.CFE_SB_CmdTopicIdToMsgId TOTAL::2     PASS::0     FAIL::2     MIR::0     TSF::0     TTF::0   

[BEGIN] 130 SB_Utils.CFE_SB_TlmTopicIdToMsgId
[ FAIL] 130.001 sb_UT.c:4646 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ FAIL] 130.002 sb_UT.c:4649 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ INFO]                        ABORT::0     WARN::0     FLOW::0     DEBUG::0     N/A::0   
[  END] 130 SB_Utils.CFE_SB_TlmTopicIdToMsgId TOTAL::2     PASS::0     FAIL::2     MIR::0     TSF::0     TTF::0   

[BEGIN] 131 SB_Utils.CFE_SB_GlobalCmdTopicIdToMsgId
[ FAIL] 131.001 sb_UT.c:4657 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ INFO]                        ABORT::0     WARN::0     FLOW::0     DEBUG::0     N/A::0   
[  END] 131 SB_Utils.CFE_SB_GlobalCmdTopicIdToMsgId TOTAL::1     PASS::0     FAIL::1     MIR::0     TSF::0     TTF::0   

[BEGIN] 132 SB_Utils.CFE_SB_GlobalTlmTopicIdToMsgId
[ FAIL] 132.001 sb_UT.c:4665 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ INFO]                        ABORT::0     WARN::0     FLOW::0     DEBUG::0     N/A::0   
[  END] 132 SB_Utils.CFE_SB_GlobalTlmTopicIdToMsgId TOTAL::1     PASS::0     FAIL::1     MIR::0     TSF::0     TTF::0   

[BEGIN] 133 SB_Utils.CFE_SB_LocalCmdTopicIdToMsgId
[ FAIL] 133.001 sb_UT.c:4673 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ INFO]                        ABORT::0     WARN::0     FLOW::0     DEBUG::0     N/A::0   
[  END] 133 SB_Utils.CFE_SB_LocalCmdTopicIdToMsgId TOTAL::1     PASS::0     FAIL::1     MIR::0     TSF::0     TTF::0   

[BEGIN] 134 SB_Utils.CFE_SB_LocalTlmTopicIdToMsgId
[ FAIL] 134.001 sb_UT.c:4681 - CFE_SB_IsValidMsgId(CFE_SB_ValueToMsgId(MsgIdVal)) (0) == true (1)
[ INFO]                        ABORT::0     WARN::0     FLOW::0     DEBUG::0     N/A::0   
[  END] 134 SB_Utils.CFE_SB_LocalTlmTopicIdToMsgId TOTAL::1     PASS::0     FAIL::1     MIR::0     TSF::0     TTF::0

To Reproduce
Steps to reproduce the behavior:

  1. Use an global msgids instead of topic id
  2. make SIMULATION=native ENABLE_UNIT_TEST=true prep
  3. make install
  4. Run coverage-sb-ALL-testrunner

Code snips
If applicable, add references to the software.

System observed on:

  • Hardware
  • OS: [e.g. Linux 4.4]
  • Versions [e.g. cFE 6.6, OSAL 4.2, PSP 1.3 for mcp750, any related apps]

Additional context
Add any other context about the problem here.

Reporter Info
Full name and company/organization if applicable
Anh Van, GSFC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants