You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As part of EID scrub, identified the following cases where an EventId was used in multiple locations (intent is for EIDs to be unique).
CFE_TBL_Global.TableTaskAppId, "%s validation successful for Active '%s'",
AppName, RegRecPtr->Name);
CFE_TBL_FILE_ACCESS_ERR_EID:
Note - gave up here. Based on the number of these and no near-term solution it's likely explicitly recording every duplicate use of event IDs will be out of date by the time this is addressed. May note as "OVERLOADED" in event documentation but that isn't all that reliable either. Suggest scripted verification.
Describe the solution you'd like
Create unique EIDs
skliper
changed the title
WIP - Event IDs used in multiple locations
Same Event ID used in multiple locations (OVERLOADED)
Jun 16, 2021
skliper
changed the title
Same Event ID used in multiple locations (OVERLOADED)
Same Event ID used in multiple locations (OVERLOADED), should be unique
Jun 16, 2021
Is your feature request related to a problem? Please describe.
As part of EID scrub, identified the following cases where an EventId was used in multiple locations (intent is for EIDs to be unique).
CFE_ES_SYSLOG2_ERR_EID:
cFE/modules/es/fsw/src/cfe_es_syslog.c
Lines 486 to 487 in 176e3df
cFE/modules/es/fsw/src/cfe_es_task.c
Lines 1657 to 1658 in 176e3df
CFE_ES_ERLOG2_ERR_EID:
cFE/modules/es/fsw/src/cfe_es_task.c
Lines 1775 to 1776 in 176e3df
cFE/modules/es/fsw/src/cfe_es_erlog.c
Lines 270 to 271 in 176e3df
CFE_ES_PERF_LOG_ERR_EID:
cFE/modules/es/fsw/src/cfe_es_perf.c
Lines 257 to 258 in 176e3df
cFE/modules/es/fsw/src/cfe_es_perf.c
Lines 333 to 334 in 176e3df
CFE_ES_FILEWRITE_ERR_EID:
cFE/modules/es/fsw/src/cfe_es_task.c
Lines 2125 to 2127 in 176e3df
cFE/modules/es/fsw/src/cfe_es_erlog.c
Lines 264 to 266 in 176e3df
CFE_ES_CREATING_CDS_DUMP_ERR_EID:
cFE/modules/es/fsw/src/cfe_es_task.c
Lines 2018 to 2019 in 176e3df
cFE/modules/es/fsw/src/cfe_es_task.c
Lines 2029 to 2030 in 176e3df
#1117 documents overload CFE_SB_SND_RTG_EID and CFE_SB_SND_RTG_ERR1_EID
CFE_SB_BAD_CMD_CODE_EID:
cFE/modules/sb/fsw/src/cfe_sb_task.c
Lines 372 to 374 in a16c78e
cFE/modules/sb/fsw/src/cfe_sb_task.c
Lines 441 to 443 in a16c78e
CFE_SB_GETPIPENAME_ID_ERR_EID:
cFE/modules/sb/fsw/src/cfe_sb_api.c
Lines 680 to 683 in a16c78e
cFE/modules/sb/fsw/src/cfe_sb_api.c
Lines 702 to 710 in a16c78e
CFE_SB_GETPIPEIDBYNAME_NAME_ERR_EID - Note the message also isn't all that useful.
cFE/modules/sb/fsw/src/cfe_sb_api.c
Lines 778 to 785 in a16c78e
cFE/modules/sb/fsw/src/cfe_sb_api.c
Lines 800 to 805 in a16c78e
CFE_EVS_ERR_CRLOGFILE_EID:
cFE/modules/evs/fsw/src/cfe_evs_log.c
Lines 142 to 150 in a16c78e
cFE/modules/evs/fsw/src/cfe_evs_log.c
Lines 154 to 160 in a16c78e
CFE_EVS_ERR_EVTIDNOREGS_EID (might benefit from being common code):
cFE/modules/evs/fsw/src/cfe_evs_task.c
Lines 742 to 744 in a16c78e
cFE/modules/evs/fsw/src/cfe_evs_task.c
Lines 1309 to 1311 in a16c78e
cFE/modules/evs/fsw/src/cfe_evs_task.c
Lines 1513 to 1515 in a16c78e
CFE_EVS_ERR_APPNOREGS_EID, CFE_EVS_ERR_ILLAPPIDRANGE_EID, CFE_EVS_ERR_NOAPPIDFOUND_EID - used in 10 locations, refactor!
CFE_EVS_ERR_CRDATFILE_EID:
cFE/modules/evs/fsw/src/cfe_evs_task.c
Lines 1564 to 1572 in a16c78e
cFE/modules/evs/fsw/src/cfe_evs_task.c
Lines 1581 to 1583 in a16c78e
CFE_EVS_ERR_INVALID_BITMASK_EID used in 6 different places for different bitmasks, refactor candidate.
CFE_TBL_LOAD_SUCCESS_INF_EID:
cFE/modules/tbl/fsw/src/cfe_tbl_api.c
Lines 738 to 740 in d03e24e
cFE/modules/tbl/fsw/src/cfe_tbl_api.c
Lines 891 to 894 in d03e24e
CFE_TBL_VALIDATION_INF_EID:
cFE/modules/tbl/fsw/src/cfe_tbl_api.c
Lines 1198 to 1200 in d03e24e
cFE/modules/tbl/fsw/src/cfe_tbl_api.c
Lines 1245 to 1247 in d03e24e
CFE_TBL_FILE_ACCESS_ERR_EID:
Note - gave up here. Based on the number of these and no near-term solution it's likely explicitly recording every duplicate use of event IDs will be out of date by the time this is addressed. May note as "OVERLOADED" in event documentation but that isn't all that reliable either. Suggest scripted verification.
Describe the solution you'd like
Create unique EIDs
Describe alternatives you've considered
None
Additional context
#508
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: