-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
deleter: inconsistency after AGNOS11 update (NVMe related) #33993
Comments
Got any routes or dongles? |
only some dongs, added to description |
Got this error on this route: https://connect.comma.ai/fe18f736cb0d7813/0000040d--3a202cd3b9 It actually increased by 1% after I couldn't engage anymore either. Logs/data are uploading. I pretty much only run master-ci so this was surprising. |
got one segment when it's happened: Interestingly when I connected to the cell phone hotspot to ssh and run the deleter test script, the deleter worked the moment the connection was established without me running any command and the out of storage event cleared, when I get home I upload the route |
My routes don't appear in connect so can't really help there, but got it with dongle a954cbd0682c58bd |
Yup mine's doing the same too. Hoping the new build of AGNOS in master will address... My dongle ID is likely useless as I don't have a data connection anymore with my C3. |
The new AGNOS doesn't address this. Just looking into this now. So far seems like it's all devices with NVMe drives, so likely a race condition (or failure in) mounting it. Have you guys gotten the "failed to mount" alert at all? |
Thanks for confirming! |
I have not seen that error. |
I also have not seen that error too. |
grab more one: a0e5673b89222047/0000003d--2ac5e373e1/8 or in a0e5673b89222047/0000003c--0133a69a87/3 according user description |
Not sure if this is related but my C3X wasn't uploading anything. After deleting realdata it started uploading again. |
Just started looking into this:
|
I missed it when I did the AGNOS flash in the sound issue test |
got some routes: 075b133b6181e058/0000003e--67e218c522/1 075b133b6181e058/0000003a--3043e775b6/25 |
Posting links to relevant code here: The code that disables at 7% free: openpilot/selfdrive/selfdrived/selfdrived.py Lines 189 to 190 in 75bf756
The code that should have started deleting stuff when things reach 10% free: https://github.com/commaai/openpilot/blob/master/system/loggerd/deleter.py |
I've made a somewhat pinned branch of master-ci that makes deleter log like hell with rotation and an extra logging to see if deleter dies to something that's not an https://github.com/nelsonjchen/openpilot/tree/33993_master-ci (I'll rebase it onto a newer master-ci whenever I feel like it.) It'll be logging onto the SOM's storage, but that's good since it'll be separate from the NVMe drive. That, combined with Anyway, just mentioning my methodology if anyone else wants to follow along. |
Looked into it a bit more, and it's not actually the NVMe. Seems to be related to internet connectivity like @AlexandreSato mentioned. Curious what you find @nelsonjchen. |
Ooh, OK. I've added a bit more logging around sus stuff with "cloud" in the name like cloudlog then. |
I can't admit I've driven too much but so far, no hits on the issue. Maybe I need to try a full shutdown/power up away from wifi/internets. |
@AlexandreSato , anybody who can reliably hit this? maybe they can run the hacky logging patch? |
I think the best way would be to use replay, recreating logs in a loop. Lately, I've been connecting to my phone's hotspot to work around the issue. |
Unable to reproduce it so far. I guess my habits just aren't compatible. Hey, those who can reproduce it consistently, please cherry-pick my commit and share over some logs. 🤞 I don't care if you're clone, fork, uploads ignored, or whatever. Just help. |
Should be very easy to reproduce, happens to me 100% of the time if there is no network connection. |
Thanks @korhojoa . Let me know if you need any changes or modifications to the branch as well. |
Describe the bug
I suspect that the deleter after AGNOS11 update is no more consistent. I haven't tested it yet to confirm, but I've already caught four people who had to delete realdata/* manually (because a noEnter "out of storage" event)
Provide a route where the issue occurs
dongleIDs: 0b54d0594d924cd9, 075b133b6181e058, a0e5673b89222047
075b133b6181e058/000000cc--7d1fff3f36/42
openpilot version
1376096
Additional info
Not confirmed
The text was updated successfully, but these errors were encountered: