Skip to content

Race condition in Ateom startup and TestActorIdentity_AfterRestore_IsOwnID_NotGolden Test Flake #1106

Closed

Description

Expected Behavior

TestActorIdentity_AfterRestore_IsOwnID_NotGolden pass consistently https://github.com/agent-substrate/substrate/actions/runs/32402609221/job/96534114102

Actual Behavior

TestActorIdentity_AfterRestore_IsOwnID_NotGolden does not

Steps to Reproduce the Problem

This is pretty hard to repro, but I have ateom startup with a random delay between 0 to 60 seconds before it listens on a unix socket.
Then the issue appears about 1/3-ish of the time.
If we get lucky (or unlucky), substrate will create a golden actor on an ateom and then create an actor and schedule it on an ateom that is not yet ready (inside the wait)

The issue is that we check whether an ateom is ready by whether the pod has an address, but there could be time between the pod is given an address and from when it listening on the unix socket.

Specifications

  • Version:
  • Platform:

Activity

  1. added
    kind/bug
    area/tests
    on Aug 21, 2026
  2. added a commit that references this issue on Aug 26, 2026
    66300d5
  3. aditya-shantanu commented on Aug 27, 2026

    @aditya-shantanu
    Collaborator

    No failures for TestActorIdentity_AfterRestore_IsOwnID_NotGolden since 66300d5 (#1243) across 56 e2e-gvisor and 46 e2e-microvm runs in the last 7 days — at the prior ~11% gvisor flake rate, 56 clean runs is ~0.1% probability by chance. Marking both lanes resolved on the flake dashboard. Note: the separately-observed post-restore container-readyz timeout (run 32891995583) is a different failure layer not claimed by #1243; it gets its own issue if it recurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/nodearea/testskind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions