Skip to content

Conversation

@apop5
Copy link
Collaborator

@apop5 apop5 commented Dec 12, 2025

Description

Unit tests are failing due to use of setjump/longjump.

There are multiple bug reports about the use of setjump/longjump when dealing with address sanitizer. There are a lot of false positives triggered because the address sanitizer is unable to verify the stack when it is directly manipulated.

Fixing the failing case by removing setjump/longjump from the failing unit test.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Pipeline is failing.
Local CI fails.

After integrating changes, local CI is passing.

Integration Instructions

No Integration necessary.

@apop5 apop5 changed the title MfciPkg: Fix MfciDxeRoT unit tests. MfciPkg: Fix MfciDxeRoT unit test. Dec 12, 2025
@mu-automation mu-automation bot added impact:non-functional Does not have a functional impact and removed impact:non-functional Does not have a functional impact labels Dec 12, 2025
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/202502@05554be). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/202502     #805   +/-   ##
=================================================
  Coverage                  ?   34.04%           
=================================================
  Files                     ?       17           
  Lines                     ?     1877           
  Branches                  ?      528           
=================================================
  Hits                      ?      639           
  Misses                    ?     1225           
  Partials                  ?       13           
Flag Coverage Δ
MfciPkg 34.04% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Unit tests are failing due to use of setjump/longjump.

There are multiple bug reports about the use of setjump/longjump
when dealing with address sanitizer. There are a lot of false positives
triggered because the address sanitizer is unable to verify the stack
when it is directly manipulated.

Fixing the failing case by removing setjump/longjump from the failing
unit test.
@apop5 apop5 force-pushed the personal/apop5/mfciunittests branch from f2833fa to dee3d47 Compare December 12, 2025 23:33
@apop5 apop5 enabled auto-merge (squash) December 12, 2025 23:45
@apop5 apop5 merged commit 72339ce into microsoft:release/202502 Dec 12, 2025
28 checks passed
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 this pull request may close these issues.

4 participants