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

autopilot_tester: fix speed factor to fix CI #22811

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Feb 27, 2024

Solved Problem

MAVSDK VTOL standard wind ramp test failing

Solution

  • increase the timeout
  • reduce flown distance
  • take speed factor into account for timeout

Changelog Entry

For release notes:

Bugfix: CI MAVSKD testes: fix VTOL wind ramp test failing due to timeout

There's also other timeouts in autopilot_tester that are meant to be in simulation time but are currently in real time, though the mission end timeout seemed to have been the only one causing issues (prob because the timeouts are set more constraining there then on others that are shorter).

@sfuhrer sfuhrer requested a review from julianoes February 27, 2024 12:34
@sfuhrer sfuhrer changed the title Pr autopilot tester fix speed factor main autopilot_tester: fix speed factor to fix CI Feb 28, 2024
@sfuhrer sfuhrer marked this pull request as draft February 28, 2024 17:04
@sfuhrer
Copy link
Contributor Author

sfuhrer commented Feb 28, 2024

Converted to draft because it's still failing in CI, though not locally. I'm on it.

@github-actions github-actions bot added the stale label Mar 30, 2024
@sfuhrer sfuhrer force-pushed the pr-autopilot-tester-fix-speed-factor-main branch from bf40626 to a47c781 Compare April 8, 2024 09:04
@sfuhrer sfuhrer marked this pull request as ready for review April 8, 2024 11:17
@sfuhrer
Copy link
Contributor Author

sfuhrer commented Apr 8, 2024

This indeed seems to make the wind SITL test more robust. The other 4 CI failures that happen in this specific PR atm are not related to it.

@sfuhrer
Copy link
Contributor Author

sfuhrer commented Apr 8, 2024

@julianoes any chance you could review?

@github-actions github-actions bot removed the stale label Apr 9, 2024
bkueng
bkueng previously approved these changes Apr 23, 2024
MaEtUgR
MaEtUgR previously approved these changes Apr 23, 2024
.github/workflows/sitl_tests.yml Outdated Show resolved Hide resolved
@sfuhrer sfuhrer dismissed stale reviews from MaEtUgR and bkueng via 2fa8ff9 April 23, 2024 09:38
@sfuhrer sfuhrer force-pushed the pr-autopilot-tester-fix-speed-factor-main branch from a47c781 to 2fa8ff9 Compare April 23, 2024 09:38
@sfuhrer sfuhrer merged commit 97191bd into main Apr 23, 2024
91 of 93 checks passed
@sfuhrer sfuhrer deleted the pr-autopilot-tester-fix-speed-factor-main branch April 23, 2024 14:37
Copy link
Contributor

@julianoes julianoes left a comment

Choose a reason for hiding this comment

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

Sorry, I'm too late here. Looks good, thanks all!

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