Skip to content

Test failure in reconfiguration test #7871

@achamayou

Description

@achamayou

Details in https://github.com/microsoft/CCF/actions/runs/25567891495/job/75055982753

17:06:41.482 | INFO     | reconfiguration:test_ledger_invariants:783 - Examining ledger on node 4
17:06:41.483 | ERROR    | __main__:run:132 - Test reconfiguration.test_ledger_invariants failed
Traceback (most recent call last):

  File "/__w/CCF/CCF/tests/e2e_suite.py", line 237, in <module>
    run(args)
    │   └ Namespace(binary_dir='/__w/CCF/CCF/build', library_dir='/__w/CCF/CCF/build', debug_nodes=[], log_level='info', log_format_jso...
    └ <function run at 0x7711587216c0>

> File "/__w/CCF/CCF/tests/e2e_suite.py", line 120, in run
    new_network = test(network, args)
                  │    │        └ Namespace(binary_dir='/__w/CCF/CCF/build', library_dir='/__w/CCF/CCF/build', debug_nodes=[], log_level='info', log_format_jso...
                  │    └ <infra.network.Network object at 0x7711589eb830>
                  └ <function test_ledger_invariants at 0x7711586bd3a0>

  File "/__w/CCF/CCF/tests/suite/test_requirements.py", line 22, in wrapper
    return func(*args, **kwargs)
           │     │       └ {}
           │     └ (<infra.network.Network object at 0x7711589eb830>, Namespace(binary_dir='/__w/CCF/CCF/build', library_dir='/__w/CCF/CCF/build...
           └ <function test_ledger_invariants at 0x7711586bd300>

  File "/__w/CCF/CCF/tests/reconfiguration.py", line 785, in test_ledger_invariants
    ledger = ccf.ledger.Ledger(ledger_directories)
             │   │      │      └ ['/__w/CCF/CCF/build/workspace/reconfiguration_test_suite_4/1.ledger.current', '/__w/CCF/CCF/build/workspace/reconfiguration_...
             │   │      └ <class 'ccf.ledger.Ledger'>
             │   └ <module 'ccf.ledger' from '/__w/CCF/CCF/python/src/ccf/ledger.py'>
             └ <module 'ccf' from '/__w/CCF/CCF/python/src/ccf/__init__.py'>

  File "/__w/CCF/CCF/python/src/ccf/ledger.py", line 1366, in __init__
    raise ValueError(

ValueError: Ledger cannot parse non-contiguous chunks /__w/CCF/CCF/build/workspace/reconfiguration_test_suite_4/1.ledger.committed/ledger_79-90.committed and /__w/CCF/CCF/build/workspace/reconfiguration_test_suite_4/1.ledger.current/ledger_95-105.committed
17:06:41.485 | DEBUG    | __main__:run:162 - Test reconfiguration.test_ledger_invariants took 0.36 secs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions