Open ShadowCommander opened 4 months ago
What I think is actually happening is 2 things:
I believe @metalgearsloth's assessment is right. To add a bit more info:
AtmosDeviceSystem tracks the canister as an off-grid device when it spawns on a grid with no atmosphere. If AutomaticAtmosSystem then adds an atmosphere to the grid, the assert will trip the next time AtmosDeviceSystem updates, as it does a check of each tracked off-grid device to make sure that its grid doesn't have an atmosphere component.
I have a potential fix here: #29752
Edit: the logs seem to support this theory:
I think grid_fill could be updated to give the components first + an atmos fix but at either rate we could also comment out the vgroid yaml in the interim to make tests not flaky.
It also seems to be failing the FailAndStartTest
.
https://github.com/space-wizards/space-station-14/actions/runs/9839682882/job/27162272383
Failed FailAndStartTest [5 s]
Error Message:
Robust.Shared.Utility.DebugAssertException : Exception of type 'Robust.Shared.Utility.DebugAssertException' was thrown.
1) Test was dirty-disposed.
Stack Trace:
at Content.Server.Atmos.Piping.EntitySystems.AtmosDeviceSystem.Update(Single frameTime) in /home/runner/work/space-station-14/space-station-14/Content.Server/Atmos/Piping/EntitySystems/AtmosDeviceSystem.cs:line 124
at Robust.Shared.GameObjects.EntityManager.TickUpdate(Single frameTime, Boolean noPredictions, Histogram histogram) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityManager.cs:line 256
at Robust.Server.GameObjects.ServerEntityManager.TickUpdate(Single frameTime, Boolean noPredictions, Histogram histogram) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/GameObjects/ServerEntityManager.cs:line 195
at Robust.Server.BaseServer.Update(FrameEventArgs frameEventArgs) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/BaseServer.cs:line 702
at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.SingleThreadRunUntilEmpty() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1097
at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.Run() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1084
at Robust.UnitTesting.RobustIntegrationTest.ServerIntegrationInstance._serverMain() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 655
Also vgroid getting GridAtmosphereComponent.
SERVER: 3.669s [INFO] ticker: Started game rule (40601/n40601, TestRule)
SERVER: 3.771s [INFO] system.mind: Session integration_18 transferred to entity 42985.
SERVER: 3.772s [INFO] SERVER: Have a happy Writer's Day!
SERVER: 3.777s [INFO] system.dungeon: Generating dungeon VGRoid with seed 876740989 on Fasciola-51-T (40608/n40608)
CLIENT: 4.213s [INFO] player: Attaching local player to Porter Pennington (3055/n42985, MobDwarf, integration_18).
CLIENT: 4.232s [DEBG] root: Switching to state Content.Client.Gameplay.GameplayState
SERVER: 4.805s [INFO] loader: No user map found: /Maps/Dungeon/experiment.yml
SERVER: 4.805s [INFO] loader: Loading Map: /Maps/Dungeon/experiment.yml
SERVER: 4.861s [WARN] loader: Map contains an obsolete/removed prototype: RPED. This may cause unexpected errors.
SERVER: 4.861s [WARN] loader: Map contains an obsolete/removed prototype: VehicleJanicartDestroyed. This may cause unexpected errors.
SERVER: 5.073s [INFO] loader: Loading map file with a root node onto an existing map!
SERVER: 5.222s [INFO] system.automatic_atmos: Giving grid 40608 GridAtmosphereComponent.
DisposeAsync: Dirty return of pair 1 started
DisposeAsync: Test gave back pair 1 in 4349.8446 ms
DisposeAsync: Disposed pair 1 in 0.1845 ms
Description
https://github.com/space-wizards/space-station-14/actions/runs/9837766958/job/27156273176?pr=29819
https://github.com/space-wizards/space-station-14/actions/runs/9837925999/job/27156732569 Oldest one found by @slarticodefast: https://github.com/space-wizards/space-station-14/actions/runs/9805417608/job/27083467045?pr=29731
Reproduction
Screenshots
Additional context