-
Notifications
You must be signed in to change notification settings - Fork 15
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
Migrate to Ignition Garden 🔥🌱 #107
Conversation
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
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.
The changes look good to me here. I tried testing the binaries and it builds but it's crashing. I don't see the new garden tag of the upstream repo https://hub.docker.com/r/mbari/lrauv-ignition-sim/tags
For the rollout we could trivially change the tag name and update the garden tag when we push not just latest so it's explicit what version we're building off of. And then the rollout doesn't need to be commenting things in and out. We can test this PR against garden instead of having to comment things out and then bring them back. Once we have garden stablized and in the main channel we can choose to switch over the latest
tag to point to the garden instances and remove the direct reference to garden in the tag.
I can't push one until this PR is in. The upstream repo depends on the messages from this repository, so we need at least the messages here to be using Garden. That's the 🥚 above. I suppose I could build an image using this branch instead of |
I like that, so here's the new proposal:
|
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Ok, the first 2 steps have been executed. I'm investigating if the test failures are due to the Garden bump or something else. |
Maybe we should just disable the mission tests first. In any case I don't expect the main branch to pass tests like Also with the fix in gazebosim/gz-sim#1211 I would expect all our mission trajectories to change. I have updated the tests in my various branches. Furthermore, till the RDI logging issue is fixed I dont expect the tests to not be flaky. Digging into why the tests are not passing seems like extra effort. |
Yeah that's why I opened #112, so we're less tied to a specific trajectory and can adjust tolerances quicker.
That should also affect Fortress once we make a new 6.X release, right?
I merged Ben's upstream PR and that's already included in the MBARI Garden image (but not on the Fortress one yet). I'm getting different controller failures from you peeps, mine are always on the AHRS, so I'm having a hard time validating those fixes...
My only concern is that there's some behaviour change other than the one caused by 1211 and we fail to track it down. But I'm not opposed to doing that if it's faster than tweaking the tests to the new behaviour. |
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
CI is 🟢 |
Signed-off-by: Louise Poubel <louise@openrobotics.org>
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.
The changes look good and I've validated that it runs for me locally. There were some caching issues with caching of older packages but clearing my docker cache and starting over took care of that.
CI failed DepthVBS the last two times. I'm going to retrigger. Possibly fix in #113 |
It looks like the new tag has been pushed for fortress, but not for garden yet, so garden may still have the critical RDI timeouts |
This time it failed |
It's the RDI
|
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.
Tested the 3 goodish missions (testDepthVBS
, testPitchMass
, testYoYoCircle
) with MBARI BitBucket branch feature/2021-12-07-ignition-garden
.
Approving to unblock, but I have questions.
I haven't run the missions in so long that, yoyo seems to look a lot better now, in that it continues in circles instead of going into a straight line after a while. Does that come from the time sync fix or the actuator fix?
testDepthVBS I cannot tell whether it's closing the loop visually. It seems to go back up quite a bit after going down - was that the case before Garden? I haven't checked the plots. If this behavior visually looks correct to you guys, then I'm not going to check the plots (or you guys can double-check the VBS plots, I haven't run the plotting scripts in a while):
Independent of this PR, is it just me, or does Ignition Garden seg fault on exit? It does that independent of the osrf/lrauv repo for me, e.g. ign gazebo
alone seg faults on exit too. I compiled Ignition Garden after removing the build and install directories.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-developer'
Stack trace (most recent call last):
...
Segmentation fault (Address not mapped to object [0x7fdc71ed7ef0])
I only see that when the controller crashes and the actuators are left in the last command (i.e. rudder is not zero).
That mission has been flaky. I think it's one of the ones @arjo129 mentioned will be improved with the hydrodynamics fixes. Related tickets: |
Something's up with the new garden Docker image. CI used to take around 10 mins, but now it's still running past 36 mins. It's the 2nd time, I cancelled the last one after 38 mins. I'll dig more soon to see what's happening. FYI @braanan |
Cancelled it after 58 mins |
Ok, so the problem is that the LRAUV application is never quitting. I can reproduce it even with the latest fortress code. I'll open a PR adding a timeout just so tests never run forever, and check with Ben how to proceed. |
Hmm, you mean, it's not supposed to keep going in circles? Then maybe that's why things are stuck. Then it seems the mission is never finishing.
Okay. I just wanted to mention it because I remember seeing plots from Arjo saying VBS is finally closing the loop now, but visually it's hard to tell. Maybe that's not merged yet. |
Ok, this is it folks, we're going to Garden! 🌱 |
We have a 🐥 and 🥚 situation, because there's a circular dependency between
lrauv
andlrauv-application
.lrauv-application
using Garden,lrauv-application
using Garden without this PR.All version bumps haven't finished for Garden yet. Until they are, our
main
branch will be unstable. Track remaining bumps here: