ethpandaops/eth-client-docker-image-builder

Latest lodestar:unstable images broken on kurtosis

Closed this issue · 1 comments

Working:chainsafe/lodestar:sha256:22d93f375fa2d942f80ee433fca7941e148b2e4d5af5c75caaa859db1c6d74a9
Not working: ethpandaops/lodestar:sha256:b7d9483274157b79a496ff099832c719440b6e9fc2e32d6175057f0557a0b0d8

image tag: ethpandaops/lodestar:unstable-34d8955

Container just hangs, doesn't return anything for /node/identity api

There was an error executing Starlark code 
An error occurred executing instruction (number 72) at github.com/kurtosis-tech/eth-network-package/src/cl/lodestar/lodestar_launcher.star[120:35]:
  add_service(name="cl-2-lodestar-geth", config=ServiceConfig(image="ethpandaops/lodestar:unstable-97d0e46", ports={"http": PortSpec(number=4000, transport_protocol="TCP", application_protocol=""), "metrics": PortSpec(number=8008, transport_protocol="TCP", application_protocol=""), "tcp-discovery": PortSpec(number=9000, transport_protocol="TCP", application_protocol=""), "udp-discovery": PortSpec(number=9000, transport_protocol="UDP", application_protocol="")}, files={"/genesis": "cl-genesis-data"}, cmd=["beacon", "--logLevel=info", "--port=9000", "--discoveryPort=9000", "--dataDir=/consensus-data", "--paramsFile=/genesis/output/config.yaml", "--genesisStateFile=/genesis/output/genesis.ssz", "--eth1.depositContractDeployBlock=0", "--network.connectToDiscv5Bootnodes=true", "--discv5=true", "--eth1=true", "--eth1.providerUrls=http://{{kurtosis:0c4e39af5cc0480ea0dfcf563465d53e:ip_address.runtime_value}}:8545", "--execution.urls=http://{{kurtosis:bb7399b345d6499594144b1410ca3345:ip_address.runtime_value}}:8561", "--rest=true", "--rest.address=0.0.0.0", "--rest.namespace=*", "--rest.port=4000", "--nat=true", "--enr.ip=KURTOSIS_IP_ADDR_PLACEHOLDER", "--enr.tcp=9000", "--enr.udp=9000", "--subscribeAllSubnets=true", "--jwt-secret=/genesis/output/jwtsecret", "--metrics", "--metrics.address=0.0.0.0", "--metrics.port=8008", "--bootnodes={{kurtosis:4401ec01642c4dfa8001b25c9571fa37:extract.enr.runtime_value}}"], private_ip_address_placeholder="KURTOSIS_IP_ADDR_PLACEHOLDER", max_cpu=1000, min_cpu=50, max_memory=1024, min_memory=256, ready_conditions=ReadyCondition(recipe=GetHttpRequestRecipe(port_id="http", endpoint="/eth/v1/node/health"), field="code", assertion="IN", target_value=[200, 206], timeout="15m")))
  Caused by: Unexpected error occurred starting service 'cl-2-lodestar-geth'
  Caused by: An error occurred waiting for all TCP and UDP ports to be open for service 'cl-2-lodestar-geth' with private IP '172.16.12.13'; this is usually due to a misconfiguration in the service itself, so here are the logs:
  == SERVICE 'cl-2-lodestar-geth' LOGS ===================================
  Aug-11 15:18:35.967[]                 warn: --nat flag is set with no purpose
  Aug-11 15:18:36.102[]                 info: Lodestar network=testnet, version=v1.10.0, commit=
  Aug-11 15:18:36.164[]                 info: Connected to LevelDB database path=/consensus-data/chain-db
  Aug-11 15:18:39.922[]                 info: Initializing beacon from a valid checkpoint state slot=0, epoch=0, stateRoot=0x6ae190352e3327f9c79c0f60efd15ff06fee5c8636f82c603e9e988a12e3f89f, isWithinWeakSubjectivityPeriod=true
  
  == FINISHED SERVICE 'cl-2-lodestar-geth' LOGS ===================================
  Caused by: An error occurred while waiting for all TCP and UDP ports to be open
  Caused by: Unsuccessful ports check for IP '172.16.12.13' and port spec '{number:9000 transportProtocol:0 applicationProtocol:<nil> wait:0xc00059e1c8}', even after '240' retries with '500' milliseconds in between retries. Timeout '2m0s' has been reached
  Caused by: An error occurred while calling network address '172.16.12.13:9000' with port protocol 'TCP' and using time out '200ms'
  Caused by: dial tcp 172.16.12.13:9000: i/o timeout

likely related: #54