0xPolygon / kurtosis-cdk

A Kurtosis package that deploys a private, portable, and modular Polygon CDK devnet
https://docs.polygon.technology/cdk
Apache License 2.0
42 stars 72 forks source link

Deploy CDK central environment #114

Closed lldragonss closed 4 months ago

lldragonss commented 5 months ago

Where did you see the issue in our documentation?

https://docs.polygon.technology/cdk/get-started/quickstart/breakdown-deployment/

Issue description

Every time I retry this step, it fails. kurtosis v0.89.6

Adding service with name 'zkevm-prover-002' and image 'hermeznetwork/zkevm-prover:v6.0.0' There was an error executing Starlark code An error occurred executing instruction (number 10) at github.com/0xPolygon/kurtosis-cdk/lib/zkevm_prover.star[22:28]: add_service(name="zkevm-prover-002", config=ServiceConfig(image="hermeznetwork/zkevm-prover:v6.0.0", ports={"executor-server": PortSpec(number=50071, application_protocol="grpc"), "hash-db-server": PortSpec(number=50061, application_protocol="grpc")}, files={"/etc/zkevm": "prover-config-artifact"}, entrypoint=["/bin/bash", "-c"], cmd=["[[ \"{{kurtosis:6a6c74ac08fd4b03a3f15604a821dd0e:output.runtime_value}}\" == \"aarch64\" || \"{{kurtosis:6a6c74ac08fd4b03a3f15604a821dd0e:output.runtime_value}}\" == \"arm64\" ]] && export EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU=1; /usr/local/bin/zkProver -c /etc/zkevm/prover-config.json"])) Caused by: Unexpected error occurred starting service 'zkevm-prover-002' Caused by: An error occurred waiting for all TCP and UDP ports to be open for service 'zkevm-prover-002' with private IP '172.16.0.25'; this is usually due to a misconfiguration in the service itself, so here are the logs: == SERVICE 'zkevm-prover-002' LOGS ===================================

== FINISHED SERVICE 'zkevm-prover-002' 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.0.25' and port spec '{privatePortSpec:0xc0006b2540}', 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.0.25:50071' with port protocol 'TCP' and using time out '200ms' Caused by: dial tcp 172.16.0.25:50071: i/o timeout

Error encountered running Starlark code.

leovct commented 4 months ago

Hello @lldragonss, have you tried with the latest kurtosis version and latest changes from kurtosis-cdk?

leovct commented 4 months ago

Closing this issue for now. Feel free to reopen if you are still facing problems!