Skip to content

Test #7: osal-core-test Failure #424

@yammajamma

Description

@yammajamma

Describe the bug
Test #7: osal-core-test fails.

To Reproduce
Steps to reproduce the behavior:
Note: this test was not readily repeatable, but it failed 2/10 times on this branch:
fix413-Add-Reference-To-Osal-Users-Guide-From-ReadMe

  1. Go to branch stated above
  2. Run build/exe/cpu1/osal-core-test

Expected behavior
The test failed 2/10 times. Specifically, failure is due to the code snippet noted below in osal-core-test.c, line 138 where a small time delay is supposed to occur and the child task is perhaps not exiting before the OS_TaskDelete call happens, so it's returning success.

Code snips
[ FAIL] 01.261 osal-core-test.c:138 - OS_TaskDelete, self exiting task

System observed on:
GNOME VM
OS: Ubuntu 18.04
Versions: OSAL 5.0.11.0

Additional context
This may be due to the VM delay.

Reporter Info
Yasir Khan
NASA GSFC

Metadata

Metadata

Assignees

Labels

bugunit-testTickets related to the OSAL unit testing (functional and/or coverage)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions