Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chain_head_gasprice gauge metric. Fix e2e tests #2208

Merged
merged 7 commits into from
Dec 6, 2023

Conversation

jcortejoso
Copy link
Member

@jcortejoso jcortejoso commented Dec 1, 2023

Description

Add chain_head_gasprice gauge metric. This metric represents the baseFee (gasPriceMinimum) for last block.

Other Changes

Pinned Node version to 18.18. Node 18.19 breaks the tests (changelog)

Copy link

github-actions bot commented Dec 1, 2023

5872 passed, 1 failed, 45 skipped

Test failures:
  TestPriorityClient: geth
    les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json]
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.899] Maximum peer count ETH=175 LES=0 total=175
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.900] Set global gas inflation rate rate=1.300
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.900] Set global gas cap cap=25,000,000
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.900] Allocated cache and file handles database=/tmp/geth-test3064907149/celo/chaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.947] Writing custom genesis block
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.948] Persisted trie from memory database nodes=4 size=566.00B time="85.779µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.948] Successfully wrote genesis state database=chaindata hash=9195f2..122dcd
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.948] Allocated cache and file handles database=/tmp/geth-test3064907149/celo/lightchaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.964] Writing custom genesis block
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.965] Persisted trie from memory database nodes=4 size=566.00B time="56.691µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.965] Successfully wrote genesis state database=lightchaindata hash=9195f2..122dcd
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.965] Allocated cache and file handles database=/tmp/geth-test3064907149/celo/lightestchaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.973] Writing custom genesis block
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.973] Persisted trie from memory database nodes=4 size=566.00B time="32.345µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:31) INFO [12-06|11:50:55.974] Successfully wrote genesis state database=lightestchaindata hash=9195f2..122dcd
les_test.go:130: Importing keys to geth
test_cmd.go:262: (stderr:32) INFO [12-06|11:50:56.014] Maximum peer count ETH=175 LES=0 total=175
test_cmd.go:262: (stderr:32) INFO [12-06|11:50:56.015] Set global gas inflation rate rate=1.300
test_cmd.go:262: (stderr:32) INFO [12-06|11:50:56.015] 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-test3064907149 --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 [12-06|11:50:56.277] Maximum peer count ETH=175 LES=1 total=176
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.278] FS scan times list="53.314µs" set="5.447µs" diff="2.799µs"
test_cmd.go:262: (stderr:33) WARN [12-06|11:50:56.278] 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[12-06|11:50:56.278] Sanitizing Go's GC trigger percent=100
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.278] Set global gas inflation rate rate=1.300
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.278] Set global gas cap cap=25,000,000
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.278] Allocated trie memory caches clean=154.00MiB dirty=256.00MiB
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.278] Allocated cache and file handles database=/tmp/geth-test3064907149/celo/chaindata cache=512.00MiB handles=524,288
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.340] Chain freezer table opened database=/tmp/geth-test3064907149/celo/chaindata/ancient table=headers items=0 size=0.00B
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.342] Chain freezer table opened database=/tmp/geth-test3064907149/celo/chaindata/ancient table=hashes items=0 size=0.00B
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.348] Chain freezer table opened database=/tmp/geth-test3064907149/celo/chaindata/ancient table=bodies items=0 size=0.00B
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.355] Chain freezer table opened database=/tmp/geth-test3064907149/celo/chaindata/ancient table=receipts items=0 size=0.00B
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.357] Chain freezer table opened database=/tmp/geth-test3064907149/celo/chaindata/ancient table=diffs items=0 size=0.00B
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.357] Opened ancient database database=/tmp/geth-test3064907149/celo/chaindata/ancient readonly=false
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.357] Current full block not old enough number=0 hash=9195f2..122dcd delay=90000
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.358] Initialised chain configuration config="{ChainID: 15 Homestead: 0 DAO: DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: Churrito: , Donut: , Espresso: , Gingerbread: , Gingerbread P2: , Engine: istanbul}"
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.358] Setting up Istanbul consensus engine
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.382] Initialising Ethereum protocol versions=[67] network=42 dbversion=
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.383] Loading Last State: 0
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.384] Loaded most recent local header number=0 hash=9195f2..122dcd td=1 age=54y8mo2w
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.384] Loaded most recent local full block number=0 hash=9195f2..122dcd td=1 age=54y8mo2w
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.384] Loaded most recent local fast block number=0 hash=9195f2..122dcd td=1 age=54y8mo2w
test_cmd.go:262: (stderr:33) WARN [12-06|11:50:56.384] Failed to load snapshot, regenerating err="missing or corrupted snapshot"
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.384] Rebuilding state snapshot
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.384] Journalled generator progress progress=empty
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.384] Start snapshot generation root=8a7a77..f86ff6
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.384] Resuming state snapshot generation root=8a7a77..f86ff6 accounts=0 slots=0 storage=0.00B elapsed="391.51µs"
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.385] 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[12-06|11:50:56.385] 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[12-06|11:50:56.385] Journalled generator progress progress=done
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.385] Generated state snapshot accounts=2 slots=1 storage=230.00B elapsed="702.11µs"
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.385] 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[12-06|11:50:56.385] Registry contract not yet deployed function=blockGasLimit registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.385] Error calling blockGasLimit err="Registry not deployed" contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.385] 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[12-06|11:50:56.385] Registry contract not yet deployed function=gasPriceMinimumFloor registryId=0x48766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.385] 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[12-06|11:50:56.385] Registry contract not yet deployed function=intrinsicGasForAlternativeFeeCurrency registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.386] 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[12-06|11:50:56.386] Registry contract not yet deployed function=getWhitelist registryId=0x8f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.386] getWhitelist invocation failed err="Registry not deployed"
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.386] 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[12-06|11:50:56.386] Reinjecting stale transactions count=0
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.386] Regenerated local transaction journal transactions=0 accounts=0
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.402] Allocated fast sync bloom size=512.00MiB
test_cmd.go:262: (stderr:33) WARN [12-06|11:50:56.403] Error reading unclean shutdown markers error="leveldb: not found"
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.403] Initialized state bloom items=5 errorrate=0.000 elapsed="385.026µs"
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.403] Allocated cache and file handles database=/tmp/geth-test3064907149/celo/les.server cache=16.00MiB handles=16
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.414] Checkpoint oracle is not enabled
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.414] Starting peer-to-peer node instance=celo/v1.8.0-unstable/linux-amd64/go1.19.13
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.423] Mapped network port proto=tcp extport=43641 intport=43641 interface=ExtIP(127.0.0.1)
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.423] TCP listener up addr=[::]:43641
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.425] IPCs registered namespaces=admin,debug,web3,eth,txpool,personal,istanbul,miner,net,les
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.425] IPC endpoint opened url=/tmp/geth-test3064907149/geth-1.ipc
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.425] New local node record seq=1,701,863,456,424 id=d2a39bd5d62c1981 ip=127.0.0.1 udp=0 tcp=43641
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.425] 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[12-06|11:50:56.425] Registry contract not yet deployed function=getElectableValidators registryId=0x235a6f54090e9b94aa4e585a699c4375a2ff8f572c68114d138f0ed121527849
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.425] Snapshot is nil, creating from genesis
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.425] Started P2P networking self="enode://538f0baee2fc09d79e794d8e8fa2def0b682667d3c2f20065577f08d338ed6b6e25159d4616026a6195e13b6e8984a06383a51b036f922313deb104491d73670@127.0.0.1:43641?discport=0" maxdialed=58 maxinbound=118
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.520] Unlocked account address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.521] Starting istanbul.Engine validating
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.521] Open roundstate db func=newRoundStateDB type=roundStateDB rsdb_path=/tmp/geth-test3064907149/celo/roundstates
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.521] Allocated cache and file handles database=/tmp/geth-test3064907149/celo/roundstates cache=512.00MiB handles=500
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.521] NewWork called, acquiring core lock func=NewWork
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.532] 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[12-06|11:50:56.533] Posting FinalCommittedEvent func=NewWork
test_cmd.go:262: (stderr:33) WARN [12-06|11:50:56.533] 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[12-06|11:50:56.533] 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[12-06|11:50:56.533] Registry contract not yet deployed function=blockGasLimit registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.533] Error calling blockGasLimit err="Registry not deployed" contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.533] 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[12-06|11:50:56.533] Registry contract not yet deployed function=intrinsicGasForAlternativeFeeCurrency registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.533] 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[12-06|11:50:56.533] Registry contract not yet deployed function=getWhitelist registryId=0x8f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.533] getWhitelist invocation failed err="Registry not deployed"
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.533] 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[12-06|11:50:56.533] 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[12-06|11:50:56.533] Registry address lookup failed err="Registry not deployed" contract=0x02dfe2d0485b616b61db1800f30f4a14b26754b328fa09ba4ec73ee7276766cc
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.533] 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[12-06|11:50:56.533] Registry contract not yet deployed function=totalSupply registryId=0xd7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.533] 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[12-06|11:50:56.533] Registry contract not yet deployed function=blockGasLimit registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.533] Error calling blockGasLimit err="Registry not deployed" contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
test_cmd.go:262: (stderr:33) ERROR[12-06|11:50:56.534] 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[12-06|11:50:56.534] Registry contract not yet deployed function=updateGasPriceMinimum registryId=0x48766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:56.534] Finalized func=Finalize block=1 epochSize=30000 duration="177.872µs" lastInEpoch=false
test_cmd.go:262: (stderr:33) WARN [12-06|11:50:56.534] Block sealing failed err="not an elected validator"
test_cmd.go:262: (stderr:33) INFO [12-06|11:50:56.534] Commit new mining work number=1 txs=0 gas=0 fees=0 elapsed="845.429µs"
les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json]
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.780] Maximum peer count ETH=175 LES=0 total=175
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.781] Set global gas inflation rate rate=1.300
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.781] Set global gas cap cap=25,000,000
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.781] Allocated cache and file handles database=/tmp/geth-test2492430171/celo/chaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.853] Writing custom genesis block
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.853] Persisted trie from memory database nodes=4 size=566.00B time="64.858µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.854] Successfully wrote genesis state database=chaindata hash=9195f2..122dcd
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.854] Allocated cache and file handles database=/tmp/geth-test2492430171/celo/lightchaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.902] Writing custom genesis block
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.902] Persisted trie from memory database nodes=4 size=566.00B time="36.016µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.902] Successfully wrote genesis state database=lightchaindata hash=9195f2..122dcd
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.903] Allocated cache and file handles database=/tmp/geth-test2492430171/celo/lightestchaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.926] Writing custom genesis block
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.926] Persisted trie from memory database nodes=4 size=566.00B time="34.575µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:34) INFO [12-06|11:50:56.927] 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-test2492430171 --nodiscover --syncmode=light --nat=extip:127.0.0.1 --verbosity=4]
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:56.973] Dropping default light client cache provided=1024 updated=128
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:56.976] Maximum peer count ETH=0 LES=10 total=175
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:56.976] FS scan times list="40.508µs" set=443ns diff="1.069µs"
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:56.976] Sanitizing Go's GC trigger percent=100
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:56.976] Set global gas inflation rate rate=1.300
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:56.976] Set global gas cap cap=25,000,000
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:56.977] Allocated cache and file handles database=/tmp/geth-test2492430171/celo/lightchaindata cache=64.00MiB handles=524,288
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.077] Allocated cache and file handles database=/tmp/geth-test2492430171/celo/les.client cache=16.00MiB handles=16
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.086] Initialised chain configuration config="{ChainID: 15 Homestead: 0 DAO: DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: Churrito: , Donut: , Espresso: , Gingerbread: , Gingerbread P2: , Engine: istanbul}"
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.086] Setting up Istanbul consensus engine
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.124] Loaded most recent local header number=0 hash=9195f2..122dcd td=1 age=54y8mo2w
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.124] Checkpoint oracle is not enabled
test_cmd.go:262: (stderr:35) WARN [12-06|11:50:57.124] Error reading unclean shutdown markers error="leveldb: not found"
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.125] Starting peer-to-peer node instance=celo/v1.8.0-unstable/linux-amd64/go1.19.13
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.132] TCP listener up addr=[::]:40793
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.132] Mapped network port proto=tcp extport=40793 intport=40793 interface=ExtIP(127.0.0.1)
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.133] IPCs registered namespaces=admin,debug,web3,eth,txpool,personal,istanbul,les,net,vflux
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.133] IPC endpoint opened url=/tmp/geth-test2492430171/geth-2.ipc
test_cmd.go:262: (stderr:35) WARN [12-06|11:50:57.133] Light client mode is an experimental feature
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.134] New local node record seq=1,701,863,457,133 id=e55571d88793db71 ip=127.0.0.1 udp=0 tcp=40793
test_cmd.go:262: (stderr:35) INFO [12-06|11:50:57.134] Started P2P networking self="enode://b250b74a2724e0139b32d5174748a59a93c27ee9e310323eac523d98b5c227028fbfe4f9e83f2b94a164a61757a227366af008e828e400dfb18f6e3d6362f712@127.0.0.1:40793?discport=0" maxdialed=58 maxinbound=117
les_test.go:37: freeCli.addPeer(lightserver)
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:57.431] Served admin_nodeInfo reqid=1 t="384.438µs"
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.432] Served admin_subscribe reqid=1 t="81.658µs"
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.432] Served admin_addPeer reqid=2 t="184.88µs"
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:57.436] Adding p2p peer peercount=1 id=e55571d88793db71 conn=inbound addr=127.0.0.1:42664 name=celo/v1.8.0-unstable...
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.435] Adding p2p peer peercount=1 id=d2a39bd5d62c1981 conn=staticdial addr=127.0.0.1:43641 name=celo/v1.8.0-unstable...
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.435] Light Ethereum peer connected id=d2a39bd5d62c1981 conn=staticdial name=celo/v1.8.0-unstable...
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:50:57.436] Light Ethereum peer connected id=e55571d88793db71 conn=inbound name=celo/v1.8.0-unstable...
les_test.go:50: freeCli received event: type=add, peer=d2a39bd5d62c19817051a0bfd5dc1f020878ea723472b1153087120f19018903
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.436] Served admin_unsubscribe reqid=3 t="37.662µs"
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.436] Node entered set=connected id=d2a39bd5d62c1981 count=1
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.436] Requesting etherbase for peer id=d2a39bd5d62c1981 conn=staticdial enode=d2a39bd5d62c19817051a0bfd5dc1f020878ea723472b1153087120f19018903
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.436] Received new announce peer=d2a39bd5d62c1981 number=0 hash=9195f2..122dcd reorg=0
les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json]
test_cmd.go:262: (stderr:35) DEBUG[12-06|11:50:57.437] Served admin_peers reqid=4 t="214.226µs"
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.486] Maximum peer count ETH=175 LES=0 total=175
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.487] Set global gas inflation rate rate=1.300
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.487] Set global gas cap cap=25,000,000
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.487] Allocated cache and file handles database=/tmp/geth-test88374220/celo/chaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.556] Writing custom genesis block
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.557] Persisted trie from memory database nodes=4 size=566.00B time="75.251µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.557] Successfully wrote genesis state database=chaindata hash=9195f2..122dcd
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.557] Allocated cache and file handles database=/tmp/geth-test88374220/celo/lightchaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.605] Writing custom genesis block
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.606] Persisted trie from memory database nodes=4 size=566.00B time="41.216µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.606] Successfully wrote genesis state database=lightchaindata hash=9195f2..122dcd
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.606] Allocated cache and file handles database=/tmp/geth-test88374220/celo/lightestchaindata cache=16.00MiB handles=16
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.933] Writing custom genesis block
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.933] Persisted trie from memory database nodes=4 size=566.00B time="34.721µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
test_cmd.go:262: (stderr:36) INFO [12-06|11:50:57.933] 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-test88374220 --nodiscover --syncmode=light --nat=extip:127.0.0.1 --verbosity=4]
test_cmd.go:262: (stderr:37) INFO [12-06|11:50:57.967] Dropping default light client cache provided=1024 updated=128
test_cmd.go:262: (stderr:37) INFO [12-06|11:50:57.969] Maximum peer count ETH=0 LES=10 total=175
test_cmd.go:262: (stderr:37) DEBUG[12-06|11:50:57.969] FS scan times list="30.223µs" set=393ns diff=890ns
test_cmd.go:262: (stderr:37) DEBUG[12-06|11:50:57.969] Sanitizing Go's GC trigger percent=100
test_cmd.go:262: (stderr:37) INFO [12-06|11:50:57.969] Set global gas inflation rate rate=1.300
test_cmd.go:262: (stderr:37) INFO [12-06|11:50:57.969] Set global gas cap cap=25,000,000
test_cmd.go:262: (stderr:37) INFO [12-06|11:50:57.969] Allocated cache and file handles database=/tmp/geth-test88374220/celo/lightchaindata cache=64.00MiB handles=524,288
test_cmd.go:262: (stderr:37) INFO [12-06|11:51:00.683] Allocated cache and file handles database=/tmp/geth-test88374220/celo/les.client cache=16.00MiB handles=16
les_test.go:115: prioCli rpc connect to /tmp/geth-test88374220/geth-3.ipc: dial unix /tmp/geth-test88374220/geth-3.ipc: connect: no such file or directory
test_cmd.go:262: (stderr:33) DEBUG[12-06|11:51:02.947] Light Ethereum message handling failed id=e55571d88793db71 conn=inbound err=EOF
This test report was produced by the test-summary action.  Made with ❤️ in Cambridge.

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7a2785a) 55.06% compared to head (ec0b7dd) 55.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2208      +/-   ##
==========================================
+ Coverage   55.06%   55.10%   +0.04%     
==========================================
  Files         682      682              
  Lines      114447   114449       +2     
==========================================
+ Hits        63016    63071      +55     
+ Misses      47541    47494      -47     
+ Partials     3890     3884       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Dec 1, 2023

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

coverage: 49.7% of statements across all listed packages
coverage:  63.2% of statements in consensus/istanbul
coverage:  42.7% of statements in consensus/istanbul/announce
coverage:  55.7% 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:  50.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

@jcortejoso jcortejoso force-pushed the jcortejoso/gpm_metric branch from 8eed7ec to df8f481 Compare December 1, 2023 22:35
@jcortejoso jcortejoso changed the title Add chain_head_gasprice gauge metric Add chain_head_gasprice gauge metric. Fix e2e tests Dec 1, 2023
core/blockchain.go Outdated Show resolved Hide resolved
@carterqw2 carterqw2 merged commit 6731538 into master Dec 6, 2023
26 checks passed
@carterqw2 carterqw2 deleted the jcortejoso/gpm_metric branch December 6, 2023 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants