Component Requirements
Coverage: 85.7% (12 of 14 items OK)
[PARTIAL] TRLC Compreq MwLog.ForwardToSystemLogger
The system logger backend shall forward the logs to the native system logger mechanism. Under QNX, slogger2 shall be used.
Traces to:
missing reference to Unit Test
missing reference to Test Case Coverage
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:76:18
[PARTIAL] TRLC Compreq MwLog.SystemBackendActivation
The system logger backend shall be enabled if and only if the log mode contains “kSystem”.
Traces to:
missing reference to Unit Test
missing reference to Test Case Coverage
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:85:18
[OK] TRLC Compreq MwLog.AvoidSignalProcessing
The component shall not register any signal handler.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:22:18
[OK] TRLC Compreq MwLog.FileDescriptorFlags
The component shall set the FD_CLOEXEC (or O_CLOEXEC) flag on all the file descriptors it owns.
Traces to:
FileRecorderFactoryConfigFixture:FileConfigurionShallCallFileCreationAndReturnFileRecorder
WriterFactoryFixture:MakeSureThatOpenCallWillOnlyBeDoneWithCorrectOpenReadFlags
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:30:18
[OK] TRLC Compreq MwLog.DltVerboseMode
mw::log shall implement DLT verbose mode. Generation of messages shall be done in DLT-conform format, allowing messages to be sent by Datarouter without additional reprocessing.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:39:18
[OK] TRLC Compreq MwLog.AutosarLogTraceSpec
mw::log shall implement “Specification of Log and Trace for Adaptive Platform”. Release of specification used shall be in agreement with the rest of Adaptive AUTOSAR stack.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:48:18
[OK] TRLC Compreq MwLog.InactiveLogStreamBehavior
mw::log library shall not perform any useful activity if log level of LogStream object is insufficient for given context. LogStream object shall not generate serialized messages if the severity of the message does not allow it to be sent.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:57:18
[OK] TRLC Compreq MwLog.SharedMemoryFilePermissions
Logging shared-memory files shall have read-only posix file permission for group and others. The shared-memory file created by mw::log shall be read-only for group and others.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:67:18
[OK] TRLC Compreq MwLog.LocalAllocationStrategy
mw::log shall use local allocators to avoid using global heap. Global heap allocation (if any) shall be limited to the initialization phase of application lifecycle.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:94:18
[OK] TRLC Compreq MwLog.BoundedLoopExecution
mw::log shall not contain unbound loops or loops with unchecked exit conditions.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:103:18
[OK] TRLC Compreq MwLog.TimeBoundedLocking
mw::log shall be free of time-unbound locks and shall implement strategies to limit wait time. Time limit shall be defined based on requirements from functions on individual ECU. Mutual exclusion mechanisms shall include priority inversion protection.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:111:18
[OK] TRLC Compreq MwLog.CrossLockingPrevention
Cross-application and cross-thread dependencies shall be avoided. A thread logging in a loop shall not block other thread’s execution.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:121:18
[OK] TRLC Compreq MwLog.IndexAndSizeChecking
Indices in data structures and sizes of data accessed or copied shall be checked for plausibility to avoid high runtime utilization through long iterations or data corruption.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:130:18
[OK] TRLC Compreq MwLog.MemoryBoundChecking
Memory boundaries shall be explicitly checked when writing to shared memory.
Traces to:
Derived from:
Source: score/mw/log/requirements/component_requirements/component_requirements.trlc:139:18