Skip to content

e2e flake: Permissionless subnet test fails due to missing subnet #1994

@marun

Description

@marun

Symptom

Creation of the subnet is confirmed earlier in the test but subsequently appears to be missing.

Maybe related: #1563

Sample logs

• [FAILED] [121.065 seconds]
[P-Chain] [Permissionless Subnets]
/home/runner/work/avalanchego/avalanchego/tests/e2e/describe.go:25
  [It] subnets operations [xp, permissionless-subnets]
  /home/runner/work/avalanchego/avalanchego/tests/e2e/p/permissionless_subnets.go:30

  Begin Captured GinkgoWriter Output >>
     targeting node NodeID-9imaJS6M92HUWdmgrvLgDQQ8rZzi3DeXE with URI: http://127.0.0.1:39625
     allocated funded key(s): [PrivateKey-2SmyPn7AQx3rWSTT1G9q2F9YctbeqoM3f1HSdbN9nnRGyzeqFM]
     initializing a new wallet for node NodeID-9imaJS6M92HUWdmgrvLgDQQ8rZzi3DeXE with URI: http://127.0.0.1:39625 
    STEP: retrieving the node ID of a primary network validator 09/07/23 18:16:47.308
    STEP: create a permissioned subnet 09/07/23 18:16:47.31
     issued transaction with ID: FmSyeWbRexraN7EETWptxJThJmg3o3EyLuxGC1dEBzPoyoWYT
    STEP: create a custom asset for the permissionless subnet 09/07/23 18:18:47.31
     issued transaction with ID: Ho9zyWubpjr3utwfsT4Vi1UhSVaudUykzfSfhgeLR6t3gs4vW
    STEP: Send 100 MegaAvax of asset Ho9zyWubpjr3utwfsT4Vi1UhSVaudUykzfSfhgeLR6t3gs4vW to the P-chain 09/07/23 18:18:47.426
     issued transaction with ID: 9YyFSRKjPpSygtK1nDndoTDw8E9YQQr8PEDoUDJYiS5gkshzx
    STEP: Import the 100 MegaAvax of asset Ho9zyWubpjr3utwfsT4Vi1UhSVaudUykzfSfhgeLR6t3gs4vW from the X-chain into the P-chain 09/07/23 18:18:48.237
     issued transaction with ID: 2GtAQFuH2KWfKK5yK4GtzGNaoau86g2MbcJABdACyYXtffEfBi
    STEP: make subnet permissionless 09/07/23 18:18:48.353
  << End Captured GinkgoWriter Output

  Expected
      <*fmt.wrapError | 0xc0008a3[340](https://github.com/ava-labs/avalanchego/actions/runs/6113295523/job/16592510946#step:5:341)>: {
          msg: "failed to fetch subnet \"FmSyeWbRexraN7EETWptxJThJmg3o3EyLuxGC1dEBzPoyoWYT\": not found",
          err: <*errors.errorString | 0xc00038db40>{s: "not found"},
      }
  to be nil

Failing jobs

Linked jobs include a testnet-data artifact containing the network data for the run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciThis focuses on changes to the CI processlifecycle/staletestingThis primarily focuses on testing

    Type

    No type

    Projects

    Status

    Backlog 🧊

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions