Skip to content

Robustness: DELA network breaks down after 256 rounds #269

@PascalinDe

Description

@PascalinDe

after round 255 the following happens:

d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z INF pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/mod.go:387 > block event addr=dela-worker-0:2000 index=256 root=b9bf9506
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z DBG pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/mod.go:551 > round has started addr=dela-worker-0:2000 index=257
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z DBG pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/blocksync/default.go:230 > received synchronization message addr=dela-worker-0:2000 index=255
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z WRN pkg/mod/go.dedis.ch/[email protected]/mino/minogrpc/session/mod.go:398 > relay failed to send error="client: rpc error: code = Canceled desc = context canceled" addr=dela-worker-0:2000
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z WRN pkg/mod/go.dedis.ch/[email protected]/mino/minogrpc/session/mod.go:398 > relay failed to send error="client: rpc error: code = Canceled desc = context canceled" addr=dela-worker-0:2000
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z WRN pkg/mod/go.dedis.ch/[email protected]/mino/minogrpc/session/mod.go:374 > failed to setup relay error="client: rpc error: code = Canceled desc = context canceled" addr=dela-worker-0:2000 to=dela-worker-2:2000
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z ERR pkg/mod/go.dedis.ch/[email protected]/mino/minogrpc/rpc.go:227 > stream to root failed error="rpc error: code = Unknown desc = handler failed to process: failed to verify chain: mismatch from: 'd6daf929' != '1894d9c4'"
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z WRN pkg/mod/go.dedis.ch/[email protected]/mino/minogrpc/session/mod.go:389 > parent is closing error="client: rpc error: code = Canceled desc = context canceled" addr=Orchestrator:dela-worker-0:2000
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z WRN pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/blocksync/default.go:124 > announcement failed error="session Orchestrator:dela-worker-0:2000 is closing: Canceled" addr=dela-worker-0:2000
d-voting-dela-worker-0-1  | 2023-09-06T13:09:13Z WRN pkg/mod/go.dedis.ch/[email protected]/mino/minogrpc/session/mod.go:374 > failed to setup relay error="client: rpc error: code = Canceled desc = context canceled" addr=dela-worker-0:2000 to=dela-worker-3:2000

and then no new transactions can be added to the block chain anymore (i.e. no new forms, votes, ...)

I do not understand DELA enough to guess at an answer, the only thing that seems suspicious to me is the following line in the logs:

d-voting-dela-worker-0-1 | 2023-09-06T13:09:13Z DBG pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/mod.go:551 > round has started addr=dela-worker-0:2000 index=257
d-voting-dela-worker-0-1 | 2023-09-06T13:09:13Z DBG pkg/mod/go.dedis.ch/[email protected]/core/ordering/cosipbft/blocksync/default.go:230 > received synchronization message addr=dela-worker-0:2000 index=255

when before that the index has always been increasing

To reproduce: on a clean install, create a form and add votes up until 256

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions