filecoin-project / specs-actors

DEPRECATED Specification of builtin actors, in the form of executable code.
Other
86 stars 102 forks source link

Agent test anamolies #1387

Open ZenGround0 opened 3 years ago

ZenGround0 commented 3 years ago

Agent tests often output

Abort during actor execution. errMsg: {17 no such sector 12861 to replace} exitCode: 17 sender: t04 receiver; t0122 method: 17 value 0
failed to register sector 53077, did proof verification fail?

We should investigate why this is and either prevent this case or log it less disruptively

Agent tests occasionally end early with an error like

Error:          Received unexpected error:
                                exitcode 18: message failed: {t36msrl5v67mj3kxklwhzrylyhwultbgrlqydawmbh6lgirjf64xeb67br3ory26ntz6scayohkxufprcs5uvq t0125 0 6 0xc00017ecb0 <nil>}
                                Abort during actor execution. errMsg: {18 failed to replace sector 17731: sector 17731 of partition 0, deadline 9 is faulty} exitCode: 18 sender: t0106 receiver; t0125 method: 6 value 0

which seems to be related to cc upgrading a faulty sector. This shouldn't crash the simulation. We should investigate to verify it is not a symptom of a deeper problem and then update the agent framework to handle this edge case without crashing