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

Fix INTEGRATION_save_world on windows #2300

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Jan 29, 2024

🦟 Bug fix

Fixes #2177

Summary

Loading the rendering pipeline multiple times in a test doesn't seem to work well. This removes the Sensors system from the non_rendering_sensors.sdf file so that Ogre2 and the whole rendering pipeline is only loaded once.

CI Builds:

  • Build Status
  • Build Status
  • Build Status
  • Build Status

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.

Loading the rendering pipeline multiple times in a test doesn't seem to
work well. This removes the Sensors system from the `non_rendering_sensors.sdf`
file so that Ogre2 and the whole rendering pipeline is only loaded once.

Signed-off-by: Addisu Z. Taddese <[email protected]>
@azeey azeey requested a review from mjcarroll as a code owner January 29, 2024 13:59
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jan 29, 2024
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (08b5cfe) 65.92% compared to head (f336039) 65.92%.

Additional details and impacted files
@@           Coverage Diff            @@
##           gz-sim8    #2300   +/-   ##
========================================
  Coverage    65.92%   65.92%           
========================================
  Files          327      327           
  Lines        31286    31286           
========================================
  Hits         20626    20626           
  Misses       10660    10660           

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

@azeey
Copy link
Contributor Author

azeey commented Jan 29, 2024

I rerun the windows job 4 times and each time there was a new test failure, but not INTEGRATION_save_world, so I'll call it fixed!

@azeey azeey merged commit 0c445fb into gazebosim:gz-sim8 Jan 29, 2024
9 of 11 checks passed
@azeey azeey deleted the fix_save_world_test branch January 29, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

👩‍🌾 Segfault on INTEGRATION_save_world.test_ran gz-sim windows 6, 7 and 8
3 participants