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

Functional tests get stuck at SB Performance test #2592

Closed
pepepr08 opened this issue Aug 15, 2024 · 0 comments · Fixed by #2593
Closed

Functional tests get stuck at SB Performance test #2592

pepepr08 opened this issue Aug 15, 2024 · 0 comments · Fixed by #2593
Assignees

Comments

@pepepr08
Copy link
Contributor

pepepr08 commented Aug 15, 2024

Describe the bug
When running the cFE functional tests on the MUSTANG processor card and using RTEMS, the SB performance test gets stuck forever. The test is TestBulkTransferMulti4. In this test, the command transmitter task preempts the telemetry transmitter task and doesn't let it run until it is finished. The telemetry receiver task only waits 5 seconds for receiving a packet, before it exits. When the telemetry transmitter task finally gets to run, the receiver has already exited so there is no one to give the semaphore that lets the transmitter task to continue running.

To Reproduce
Steps to reproduce the behavior:

  1. Run functional tests with RTEMS and on LEON3

Expected behavior
A clear and concise description of what you expected to happen.

Code snips
The timeout in the following line can be increased to work around the issue.

CFE_Assert_STATUS_STORE(CFE_SB_ReceiveBuffer(&MsgBuf, BulkTlm.PipeId, 5000));

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

@pepepr08 pepepr08 self-assigned this Aug 15, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 15, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 15, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 16, 2024
This avoids the timeout on SB receives for the receiver tasks
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 16, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 16, 2024
This avoids the timeout on SB receives for the receiver tasks
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 16, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 29, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 29, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 29, 2024
pepepr08 added a commit to pepepr08/cFE that referenced this issue Aug 29, 2024
dzbaker added a commit that referenced this issue Aug 29, 2024
Fix #2592, Yield cpu to other tasks in SB Perf Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant