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-test-suite-not-run-on-macos #6631

Merged

Conversation

brettle
Copy link
Contributor

@brettle brettle commented Aug 19, 2024

Description

Makes the test suite run successfully on macos-13.

  • Switched from macos-14/macos-latest to macos-13 because the macos-14 runner crashes during the build, presumably due to the fact that is has half as much memory.
  • Increased various timeouts/delays to accomodate the fact that the macos runner is much slower than the other runners. Let me know if you want those increases to be restricted to just the macos CI environment.
  • Skipped the billboard test during macos CI because it currently fails there but passes on my Mac laptop. Presumably the issue is some combination of the macos runner being headless (and thus only supporting OpenGL 2.1) and the fact that it is run minimized and without rendering. Fwiw that test also fails for me on my local Fedora 40 installation when using x11, but not when using wayland or when running without --minimize.
  • Various smaller fixes to allow the tests to run and make it easier to diagnose errors.

6.4.3 is no longer supported, while 6.5.3 is the latest LTS release and is supported through 31 Mar 2026.

For this to work, the precompiled binaries at https://cyberbotics.com/files/repository/dependencies/ will need to be updated but I don't think I have the ability to do that.
@brettle brettle added the test suite Start the test suite label Aug 19, 2024
@brettle brettle marked this pull request as ready for review August 29, 2024 15:14
@brettle brettle requested a review from a team as a code owner August 29, 2024 15:14
@CoolSpy3 CoolSpy3 linked an issue Aug 29, 2024 that may be closed by this pull request
@brettle
Copy link
Contributor Author

brettle commented Aug 29, 2024

The latest macos build and test-suite runs took nearly 2.5 hours, much longer than Ubuntu. Do we want to only run it when some additional or other label is present? @omichel?

@omichel
Copy link
Member

omichel commented Aug 30, 2024

The latest macos build and test-suite runs took nearly 2.5 hours, much longer than Ubuntu. Do we want to only run it when some additional or other label is present? @omichel?

Yes, that seems reasonable. Which label would fire it?

omichel
omichel previously approved these changes Aug 30, 2024
Copy link
Member

@omichel omichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me.
Thanks.

Co-authored-by: Olivier Michel <[email protected]>
@brettle
Copy link
Contributor Author

brettle commented Aug 30, 2024

The latest macos build and test-suite runs took nearly 2.5 hours, much longer than Ubuntu. Do we want to only run it when some additional or other label is present? @omichel?

Yes, that seems reasonable. Which label would fire it?

I just added a "test suite mac" label and made the job require it. If that works for you, please reapprove.

@omichel omichel self-requested a review August 30, 2024 13:26
@CoolSpy3 CoolSpy3 added the test suite mac Start the test suite on macos. Can take hours. label Aug 30, 2024
@brettle brettle merged commit 2a0c4ea into cyberbotics:master Aug 31, 2024
44 checks passed
@brettle brettle deleted the fix-test-suite-not-run-on-macos branch August 31, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test suite mac Start the test suite on macos. Can take hours. test suite Start the test suite
Development

Successfully merging this pull request may close these issues.

Test Suite Makes Webots Crashes on macOS
3 participants