Testing: Inconsistent terminal_int test fail

Open
#298 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
c

Research direction

Start with the terminal_int integration test and its dashboard dump and sensor-verification steps. Investigate the intermittent accZconv failure and determine whether a valid 0 reading is being treated as unavailable; done means the test's result is deterministic and it passes consistently or fails consistently.

Written by the indexing model from the issue text.

Description

bug verification

Version/Project: Affects 8974d19..HEAD

Describe the bug
The terminal integration test fails intermittently.

Known causes:

  1. Dashboard dump fail
[dashboard] Get dashboard dump
[dashboard] Verify sensors
FAIL: "accZconv has no available reading, so autofail."
Actual: "0" | Expected: "0"

Note: It is possible that the linear noise just picked a 0 value, and the fix may be to allow values of 0

To Reproduce
If my suspicion of the cause is correct, this will be very difficult to reproduce.

Expected behavior
The test should pass consistently or fail consistently. This intermittent behavior is undesirable.

Screenshots/Pictures/Video
N/A

Additional context
https://github.com/SunDevilRocketry/Flight-Computer-Firmware/actions/runs/28751461560/job/85251217678

Points of Contact
SQA SME: @ETSells

Dominant language
C
Stars
8
Forks
6
Avg merge
6d 15h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SunDevilRocketry/Flight-Computer-Firmware

All issues in SunDevilRocketry/Flight-Computer-Firmware

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.