-
Notifications
You must be signed in to change notification settings - Fork 44
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
Fix rendering tests #561
Fix rendering tests #561
Conversation
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## fix_tests #561 +/- ##
==========================================
Coverage 70.91% 70.91%
==========================================
Files 45 45
Lines 4941 4941
==========================================
Hits 3504 3504
Misses 1437 1437 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Do you think it's worth figuring out why unloading the engine fails? For example, would it allow us to have multiple tests in the same file? Either way, I think we should get this in to fix the tests and create an issue for the root problem.
* Break scene3d test apart into component tests Signed-off-by: Michael Carroll <[email protected]> * Fix include paths Signed-off-by: Michael Carroll <[email protected]> * Remove scene3d as it is deprecated Signed-off-by: Michael Carroll <[email protected]> * Remove message header Signed-off-by: Michael Carroll <[email protected]> * Bump everything to ogre2 by default Signed-off-by: Michael Carroll <[email protected]> * line order Signed-off-by: Louise Poubel <[email protected]> * Fix tests by delaying get render engine calls (#535) --------- Signed-off-by: Ian Chen <[email protected]> * revert default engine Signed-off-by: Ian Chen <[email protected]> * Fix rendering tests (#561) * debugging Signed-off-by: Ian Chen <[email protected]> * reset cam Signed-off-by: Ian Chen <[email protected]> * more testing Signed-off-by: Ian Chen <[email protected]> * no unload Signed-off-by: Ian Chen <[email protected]> * more testing with no unload Signed-off-by: Ian Chen <[email protected]> * unload engine in gzrenderer Signed-off-by: Ian Chen <[email protected]> * unload engine in gzrenderer debugging Signed-off-by: Ian Chen <[email protected]> * unload engine in gzrenderer reset scene Signed-off-by: Ian Chen <[email protected]> * comment out unload Signed-off-by: Ian Chen <[email protected]> * increase timeout Signed-off-by: Ian Chen <[email protected]> * test timing Signed-off-by: Ian Chen <[email protected]> * cleanup Signed-off-by: Ian Chen <[email protected]> * cleanup Signed-off-by: Ian Chen <[email protected]> * more cleanup Signed-off-by: Ian Chen <[email protected]> --------- Signed-off-by: Ian Chen <[email protected]> * Suppress warnings in metal Signed-off-by: Michael Carroll <[email protected]> * Incorrect args Signed-off-by: Michael Carroll <[email protected]> --------- Signed-off-by: Michael Carroll <[email protected]> Signed-off-by: Louise Poubel <[email protected]> Signed-off-by: Ian Chen <[email protected]> Signed-off-by: Michael Carroll <[email protected]> Co-authored-by: Louise Poubel <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Ian Chen <[email protected]>
I created #565 for this. I'll look into it as a background task. |
🦟 Bug fix
Targeted at #429
Summary
The tests below are still failing on Jammy github actions in #429:
The failing tests were supposed to be fixed by #535 but for some reason they are now happening again.
The "fix" is more of a workaround. The main change is to not unload the render engine on exit which is what's causing the segfault in these 2 tests. It's safe to remove the
DestroyScene
call in the tests as that's taken care of by the minimal scene plugin. The tests do not fail on other CI builds and I'm also not able to reproduce them locally.We could either get this in to make CI green or spend more time finding the root cause of the problem.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.