celo-org / celo-blockchain

Official repository for the golang Celo Blockchain
https://celo.org
GNU Lesser General Public License v3.0
552 stars 196 forks source link

Add `--json` flag to `mycelo env` #2300

Closed palango closed 3 months ago

palango commented 3 months ago

Description

Add a --json flag to mycelo env that changes output to json.

This will make usage in scripts easier.

github-actions[bot] commented 3 months ago

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit 15ad6b180dcf79ec0a202b56346cf79c4eb7f651

coverage: 45.8% of statements across all listed packages
coverage:  57.2% of statements in consensus/istanbul
coverage:  23.7% of statements in consensus/istanbul/announce
coverage:  54.3% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  61.2% of statements in consensus/istanbul/core
coverage:  45.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.2% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random
github-actions[bot] commented 3 months ago

5881 passed, 2 failed, 45 skipped

Test failures:
  TestPriorityClient: geth

Failed
    les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json] 
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.852] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.853] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.853] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.853] Allocated cache and file handles         database=/tmp/geth-test2365953187/celo/chaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.884] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.885] Persisted trie from memory database      nodes=4 size=566.00B time="57.002µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.885] Successfully wrote genesis state         database=chaindata                               hash=9195f2..122dcd
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.885] Allocated cache and file handles         database=/tmp/geth-test2365953187/celo/lightchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.907] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.908] Persisted trie from memory database      nodes=4 size=566.00B time="44.099µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.908] Successfully wrote genesis state         database=lightchaindata                          hash=9195f2..122dcd
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.908] Allocated cache and file handles         database=/tmp/geth-test2365953187/celo/lightestchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.916] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.916] Persisted trie from memory database      nodes=4 size=566.00B time="31.474µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [04-17|11:06:13.917] Successfully wrote genesis state         database=lightestchaindata                       hash=9195f2..122dcd
    les_test.go:130: Importing keys to geth
    test_cmd.go:262: (stderr:32) INFO [04-17|11:06:13.949] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:32) INFO [04-17|11:06:13.950] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:32) INFO [04-17|11:06:13.950] Set global gas cap                       cap=25,000,000
    les_test.go:99: Starting lightserver with rpc: [--networkid=42 --port=0 --ipcpath geth-1.ipc --allow-insecure-unlock --datadir /tmp/geth-test2365953187 --password ./testdata/password.txt --unlock 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --mine --miner.validator 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --tx-fee-recipient 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --light.serve=100 --light.maxpeers=1 --nodiscover --nat=extip:127.0.0.1 --verbosity=4]
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.164] Maximum peer count                       ETH=175 LES=1 total=176
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.164] FS scan times                            list="97.055µs" set="3.716µs" diff="2.423µs"
    test_cmd.go:262: (stderr:33) WARN [04-17|11:06:14.164] LES server cannot serve old transaction status and cannot connect below les/4 protocol version if transaction lookup index is limited 
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.165] Sanitizing Go's GC trigger               percent=100
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.165] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.165] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.165] Allocated trie memory caches             clean=154.00MiB dirty=256.00MiB
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.165] Allocated cache and file handles         database=/tmp/geth-test2365953187/celo/chaindata cache=512.00MiB handles=524,288
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.195] Chain freezer table opened               database=/tmp/geth-test2365953187/celo/chaindata/ancient table=diffs items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.196] Chain freezer table opened               database=/tmp/geth-test2365953187/celo/chaindata/ancient table=headers items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.198] Chain freezer table opened               database=/tmp/geth-test2365953187/celo/chaindata/ancient table=hashes  items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.200] Chain freezer table opened               database=/tmp/geth-test2365953187/celo/chaindata/ancient table=bodies  items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.201] Chain freezer table opened               database=/tmp/geth-test2365953187/celo/chaindata/ancient table=receipts items=0 size=0.00B
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.201] Opened ancient database                  database=/tmp/geth-test2365953187/celo/chaindata/ancient readonly=false
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.202] Current full block not old enough        number=0 hash=9195f2..122dcd delay=90000
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.202] Initialised chain configuration          config="{ChainID: 15 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: <nil> Churrito: <nil>, Donut: <nil>, Espresso: <nil>, Gingerbread: <nil>, Gingerbread P2: <nil>, HForkBlock: <nil>, Engine: istanbul}"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.202] Setting up Istanbul consensus engine 
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.224] Initialising Ethereum protocol           versions=[67] network=42 dbversion=<nil>
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.225] Loading Last State: 0 
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.225] Loaded most recent local header          number=0 hash=9195f2..122dcd td=1 age=55y1mo11h
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.225] Loaded most recent local full block      number=0 hash=9195f2..122dcd td=1 age=55y1mo11h
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.225] Loaded most recent local fast block      number=0 hash=9195f2..122dcd td=1 age=55y1mo11h
    test_cmd.go:262: (stderr:33) WARN [04-17|11:06:14.225] Failed to load snapshot, regenerating    err="missing or corrupted snapshot"
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.225] Rebuilding state snapshot 
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.225] Journalled generator progress            progress=empty
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Start snapshot generation                root=8a7a77..f86ff6
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.226] Resuming state snapshot generation       root=8a7a77..f86ff6 accounts=0 slots=0 storage=0.00B elapsed="350.921µs"
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.226] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Registry contract not yet deployed       function=blockGasLimit registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Error calling blockGasLimit              err="Registry not deployed"         contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.226] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd92723348766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Registry contract not yet deployed       function=gasPriceMinimumFloor registryId=0x48766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.226] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Regenerated state range                  kind=storage prefix=0x6fc8292a2675fd2df398d2f757c44afe1b96e4c7ba26dac7ed67cdef77799ef404 root=09f508..8cb885 last=0x count=1 created=1 updated=0 untouched=0 deleted=0
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Regenerated state range                  kind=account prefix=0x61 root=8a7a77..f86ff6 last=0x count=2 created=2 updated=0 untouched=0 deleted=0
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Journalled generator progress            progress=done
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.226] Generated state snapshot                 accounts=2 slots=1 storage=230.00B elapsed="771.39µs"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Registry contract not yet deployed       function=intrinsicGasForAlternativeFeeCurrency registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.226] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Registry contract not yet deployed       function=getWhitelist                          registryId=0x8f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.226] getWhitelist invocation failed           err="Registry not deployed"
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.226] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.226] Reinjecting stale transactions           count=0
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.226] Regenerated local transaction journal    transactions=0 accounts=0
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.236] Allocated fast sync bloom                size=512.00MiB
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.237] Initialized state bloom                  items=5 errorrate=0.000 elapsed="393.573µs"
    test_cmd.go:262: (stderr:33) WARN [04-17|11:06:14.237] Error reading unclean shutdown markers   error="leveldb: not found"
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.237] Allocated cache and file handles         database=/tmp/geth-test2365953187/celo/les.server cache=16.00MiB  handles=16
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.261] Checkpoint oracle is not enabled 
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.261] Starting peer-to-peer node               instance=celo/v1.8.2-stable/linux-amd64/go1.19.13
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.277] Mapped network port                      proto=tcp extport=44399 intport=44399 interface=ExtIP(127.0.0.1)
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.277] TCP listener up                          addr=[::]:44399
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.278] IPCs registered                          namespaces=admin,debug,web3,eth,txpool,personal,istanbul,miner,net,les
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.281] IPC endpoint opened                      url=/tmp/geth-test2365953187/geth-1.ipc
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.285] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233235a6f54090e9b94aa4e585a699c4375a2ff8f572c68114d138f0ed121527849 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.286] Registry contract not yet deployed       function=getElectableValidators                registryId=0x235a6f54090e9b94aa4e585a699c4375a2ff8f572c68114d138f0ed121527849
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.286] Snapshot is nil, creating from genesis 
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.288] New local node record                    seq=1,713,351,974,277 id=a49496d5e04885cb ip=127.0.0.1 udp=0 tcp=44399
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.288] Started P2P networking                   self="enode://77e683826e6e1713310d13aac9c36886efb09662dd6f8efc85056110ea8b4e9fa15434009cb0ebb0e4d6d66db7b704902815aa7065426046c0af100820e3e201@127.0.0.1:44399?discport=0" maxdialed=58 maxinbound=118
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.361] Unlocked account                         address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.361] Starting istanbul.Engine validating 
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.361] Open roundstate db                       func=newRoundStateDB type=roundStateDB rsdb_path=/tmp/geth-test2365953187/celo/roundstates
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.361] Allocated cache and file handles         database=/tmp/geth-test2365953187/celo/roundstates cache=512.00MiB handles=500
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.361] NewWork called, acquiring core lock      func=NewWork
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.387] Creating new RoundState                  address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=createRoundState cur_seq=0 cur_epoch=0 cur_round=-1 des_round=-1 state="Accept request" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 reason="No storedView found"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Posting FinalCommittedEvent              func=NewWork
    test_cmd.go:262: (stderr:33) WARN [04-17|11:06:14.388] New sequence should be larger than current sequence address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=startNewSequence tag=stateTransition head_block=0 head_block_hash=9195f2..122dcd cur_seq=1 cur_epoch=1 cur_round=0  des_round=0  state="Accept request" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Registry contract not yet deployed       function=blockGasLimit                         registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Error calling blockGasLimit              err="Registry not deployed"         contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Registry contract not yet deployed       function=intrinsicGasForAlternativeFeeCurrency registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Registry contract not yet deployed       function=getWhitelist                          registryId=0x8f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] getWhitelist invocation failed           err="Registry not deployed"
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd92723302dfe2d0485b616b61db1800f30f4a14b26754b328fa09ba4ec73ee7276766cc maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Registry address lookup failed           err="Registry not deployed"         contract=0x02dfe2d0485b616b61db1800f30f4a14b26754b328fa09ba4ec73ee7276766cc
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Registry contract not yet deployed       function=totalSupply                           registryId=0xd7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Registry contract not yet deployed       function=blockGasLimit                         registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Error calling blockGasLimit              err="Registry not deployed"         contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[04-17|11:06:14.388] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd92723348766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Registry contract not yet deployed       function=updateGasPriceMinimum                 registryId=0x48766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:14.388] Finalized                                func=Finalize         block=1 epochSize=30000 duration="195.08µs" lastInEpoch=false
    test_cmd.go:262: (stderr:33) WARN [04-17|11:06:14.389] Block sealing failed                     err="not an elected validator"
    test_cmd.go:262: (stderr:33) INFO [04-17|11:06:14.389] Commit new mining work                   number=1 txs=0 gas=0 fees=0 elapsed="858.832µs"
    les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json] 
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.656] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.657] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.657] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.657] Allocated cache and file handles         database=/tmp/geth-test2225638805/celo/chaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.728] Writing custom genesis block 
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.729] Persisted trie from memory database      nodes=4 size=566.00B time="52.396µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.729] Successfully wrote genesis state         database=chaindata                               hash=9195f2..122dcd
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.729] Allocated cache and file handles         database=/tmp/geth-test2225638805/celo/lightchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.739] Writing custom genesis block 
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.739] Persisted trie from memory database      nodes=4 size=566.00B time="33.833µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.740] Successfully wrote genesis state         database=lightchaindata                          hash=9195f2..122dcd
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.740] Allocated cache and file handles         database=/tmp/geth-test2225638805/celo/lightestchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.747] Writing custom genesis block 
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.748] Persisted trie from memory database      nodes=4 size=566.00B time="148.206µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:34) INFO [04-17|11:06:14.749] Successfully wrote genesis state         database=lightestchaindata                       hash=9195f2..122dcd
    les_test.go:99: Starting freeCli with rpc: [--networkid=42 --port=0 --ipcpath geth-2.ipc --datadir /tmp/geth-test2225638805 --nodiscover --syncmode=light --nat=extip:127.0.0.1 --verbosity=4]
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.780] Dropping default light client cache      provided=1024 updated=128
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.782] Maximum peer count                       ETH=0 LES=10 total=175
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:14.782] FS scan times                            list="31.815µs" set=365ns diff="1.137µs"
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:14.782] Sanitizing Go's GC trigger               percent=100
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.782] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.782] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.782] Allocated cache and file handles         database=/tmp/geth-test2225638805/celo/lightchaindata cache=64.00MiB handles=524,288
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.855] Allocated cache and file handles         database=/tmp/geth-test2225638805/celo/les.client cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.862] Initialised chain configuration          config="{ChainID: 15 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: <nil> Churrito: <nil>, Donut: <nil>, Espresso: <nil>, Gingerbread: <nil>, Gingerbread P2: <nil>, HForkBlock: <nil>, Engine: istanbul}"
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:14.862] Setting up Istanbul consensus engine 
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.877] Loaded most recent local header          number=0 hash=9195f2..122dcd td=1 age=55y1mo11h
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.877] Checkpoint oracle is not enabled 
    test_cmd.go:262: (stderr:35) WARN [04-17|11:06:14.878] Error reading unclean shutdown markers   error="leveldb: not found"
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.878] Starting peer-to-peer node               instance=celo/v1.8.2-stable/linux-amd64/go1.19.13
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.884] Mapped network port                      proto=tcp extport=34859 intport=34859 interface=ExtIP(127.0.0.1)
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:14.884] TCP listener up                          addr=[::]:34859
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:14.886] IPCs registered                          namespaces=admin,debug,web3,eth,txpool,personal,istanbul,les,net,vflux
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.886] IPC endpoint opened                      url=/tmp/geth-test2225638805/geth-2.ipc
    test_cmd.go:262: (stderr:35) WARN [04-17|11:06:14.886] Light client mode is an experimental feature 
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.899] New local node record                    seq=1,713,351,974,885 id=0da7fa606d92aa0d ip=127.0.0.1 udp=0 tcp=34859
    test_cmd.go:262: (stderr:35) INFO [04-17|11:06:14.899] Started P2P networking                   self="enode://2a9010327390b2ae7a582c8d26e6102eb4a2cb168a9e3c9e5a695681a3d831929d9d5700eea21252407aaaaf3307ac1bdb817516e60af9dcab860b2beb629431@127.0.0.1:34859?discport=0" maxdialed=58 maxinbound=117
    les_test.go:37: freeCli.addPeer(lightserver)
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:15.257] Served admin_nodeInfo                    reqid=1 t="389.912µs"
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.257] Served admin_subscribe                   reqid=1 t="80.303µs"
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.258] Served admin_addPeer                     reqid=2 t="193.335µs"
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.260] Adding p2p peer                          peercount=1 id=a49496d5e04885cb conn=staticdial addr=127.0.0.1:44399 name=celo/v1.8.2-stable/l...
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:15.260] Adding p2p peer                          peercount=1 id=0da7fa606d92aa0d conn=inbound addr=127.0.0.1:42512 name=celo/v1.8.2-stable/l...
    les_test.go:50: freeCli received event: type=add, peer=a49496d5e04885cbc3f1faeb0b1467df7d899e8bb4d9407ee3816a18eadcea37
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:15.260] Light Ethereum peer connected            id=0da7fa606d92aa0d conn=inbound name=celo/v1.8.2-stable/l...
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.260] Light Ethereum peer connected            id=a49496d5e04885cb conn=staticdial name=celo/v1.8.2-stable/l...
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.261] Node entered                             set=connected id=a49496d5e04885cb count=1
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.261] Served admin_unsubscribe                 reqid=3 t="64.035µs"
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.261] Received new announce                    peer=a49496d5e04885cb number=0 hash=9195f2..122dcd reorg=0
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.261] Requesting etherbase for peer            id=a49496d5e04885cb conn=staticdial enode=a49496d5e04885cbc3f1faeb0b1467df7d899e8bb4d9407ee3816a18eadcea37
    test_cmd.go:262: (stderr:35) DEBUG[04-17|11:06:15.261] Served admin_peers                       reqid=4 t="196.715µs"
    les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json] 
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:15.297] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:15.298] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:15.298] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:15.298] Allocated cache and file handles         database=/tmp/geth-test2968166804/celo/chaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.524] Writing custom genesis block 
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.525] Persisted trie from memory database      nodes=4 size=566.00B time="62.692µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.525] Successfully wrote genesis state         database=chaindata                               hash=9195f2..122dcd
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.525] Allocated cache and file handles         database=/tmp/geth-test2968166804/celo/lightchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.742] Writing custom genesis block 
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.742] Persisted trie from memory database      nodes=4 size=566.00B time="31.786µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.744] Successfully wrote genesis state         database=lightchaindata                          hash=9195f2..122dcd
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.744] Allocated cache and file handles         database=/tmp/geth-test2968166804/celo/lightestchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.837] Writing custom genesis block 
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.837] Persisted trie from memory database      nodes=4 size=566.00B time="32.326µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:36) INFO [04-17|11:06:17.838] Successfully wrote genesis state         database=lightestchaindata                       hash=9195f2..122dcd
    les_test.go:99: Starting prioCli with rpc: [--networkid=42 --port=0 --ipcpath geth-3.ipc --datadir /tmp/geth-test2968166804 --nodiscover --syncmode=light --nat=extip:127.0.0.1 --verbosity=4]
    test_cmd.go:262: (stderr:37) INFO [04-17|11:06:17.872] Dropping default light client cache      provided=1024 updated=128
    test_cmd.go:262: (stderr:37) INFO [04-17|11:06:17.873] Maximum peer count                       ETH=0 LES=10 total=175
    test_cmd.go:262: (stderr:37) DEBUG[04-17|11:06:17.874] FS scan times                            list="28.815µs" set=331ns diff=889ns
    test_cmd.go:262: (stderr:37) DEBUG[04-17|11:06:17.874] Sanitizing Go's GC trigger               percent=100
    test_cmd.go:262: (stderr:37) INFO [04-17|11:06:17.874] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:37) INFO [04-17|11:06:17.874] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:37) INFO [04-17|11:06:17.874] Allocated cache and file handles         database=/tmp/geth-test2968166804/celo/lightchaindata cache=64.00MiB handles=524,288
    test_cmd.go:262: (stderr:37) INFO [04-17|11:06:20.153] Allocated cache and file handles         database=/tmp/geth-test2968166804/celo/les.client cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:37) INFO [04-17|11:06:21.657] Initialised chain configuration          config="{ChainID: 15 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: <nil> Churrito: <nil>, Donut: <nil>, Espresso: <nil>, Gingerbread: <nil>, Gingerbread P2: <nil>, HForkBlock: <nil>, Engine: istanbul}"
    test_cmd.go:262: (stderr:37) DEBUG[04-17|11:06:21.657] Setting up Istanbul consensus engine 
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:22.389] Timed out, trying to wait for next round address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=handleTimeoutAndMoveToNextRound timed_out_seq=1 timed_out_round=0 cur_seq=1 cur_epoch=1 cur_round=0  des_round=0  state="Accept request" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:22.389] Round Change: Waiting for desired round  address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=waitForDesiredRound             new_desired_round=1 cur_seq=1 cur_epoch=1 cur_round=0  des_round=0  state="Accept request" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:22.390] Failed to decode message from payload    address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=handleMsg                       cur_seq=1 cur_epoch=1 cur_round=0  des_round=1  state="Waiting for new round" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 err="not an elected validator 0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105"
    test_cmd.go:262: (stderr:33) WARN [04-17|11:06:22.390] Error in handling istanbul message       address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=handleEvents                    cur_seq=1 cur_epoch=1 cur_round=0  des_round=1  state="Waiting for new round" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 err="not an elected validator 0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105"
    les_test.go:115: prioCli rpc connect to /tmp/geth-test2968166804/geth-3.ipc: dial unix /tmp/geth-test2968166804/geth-3.ipc: connect: no such file or directory
    test_cmd.go:262: (stderr:33) DEBUG[04-17|11:06:22.847] Light Ethereum message handling failed   id=0da7fa606d92aa0d conn=inbound err=EOF
  TestTransactionIndices: core
Failed
    blockchain_test.go:1946: Oldest indexded block mismatch, want 67, have 0
This test report was produced by the test-summary action.  Made with ❤️ in Cambridge.