HugoByte / DIVE

DIVE deeply into the world of Blockchain and Web 3.0 using Deployable Infrastructure for Virtually Effortless blockchain integration
Apache License 2.0
20 stars 8 forks source link

Encountered the following error Starlark Run Failed : execution_error #205

Open FidelVe opened 1 year ago

FidelVe commented 1 year ago

Overview

After finishing the installation process correctly, I executed the following command:

kurtosis engine start

Then I executed the following command

 dive bridge ibc --chainA icon --chainB archway

This throws the following error

FATAL  [2023-10-25 13:47:06] Starlark Run Failed : execution_error:{error_message:"An error occurred executing instruction (number 19) at github.com/hugobyte/dive/services/jvm/icon/src/node-setup/contract_deploy.star[50:23]:\nexec(service_name=\"icon-node-0xacbc4e\", recipe=ExecRecipe(command=[\"./bin/goloop\", \"rpc\", \"sendtx\", \"deploy\", \"contracts/ibc-0.1.0-optimized.jar\", \"--content_type\", \"application/java\", \"--params\", \"{}\", \"--key_store\", \"keystores/keystore.json\", \"--key_password\", \"gochain\", \"--step_limit\", \"500000000000\", \"--uri\", \"http://{{kurtosis:9af5bfc5d40048fe886fc04ae8b0b14a:ip_address.runtime_value}}:9080/api/v3/icon_dex\", \"--nid\", \"{{kurtosis:a4c457deecdd4bb1955a3ba47d15aa66:output.runtime_value}}\"]))\n --- at /home/circleci/project/core/server/api_container/server/startosis_engine/startosis_executor.go:157 (sendErrorAndFail) ---\nCaused by: Exec returned exit code '1' that is not part of the acceptable status codes '[0]', with output:\n  \"Error: strconv.ParseInt: parsing \\\"Error: HTTP 404 Not Found\\\\nChain(0xacbc4e: cid or channel) not found\\\\n\\\": invalid syntax\\n\"\n --- at /home/circleci/project/core/server/api_container/server/startosis_engine/kurtosis_instruction/exec/exec.go:169 (ExecCapabilities.Execute) ---"} 

Device Information

Desktop (please complete the following information):

abhiyana commented 1 year ago

Hi @FidelVe ,

I haven't been able to reproduce it on my end. To assist you better, I would appreciate it if you could provide some additional information and logs. This will help us pinpoint the problem and offer a solution.

First, can you confirm if the issue still persists on your end? If it does, please follow these steps to help us diagnose the problem:

Double-check that you have completed the installation process successfully.

Execute the following commands and let us know the output:

kurtosis engine restart
dive bridge ibc --chainA icon --chainB archway

If you encounter the error again, please use the kurtosis eclave dump dive command to capture the logs. This will provide us with more information about what might be going wrong.

Once you have the logs, please share the relevant part of the log that corresponds to the error message. This will give us a clearer picture of what's happening.

Mr-Nobody21 commented 1 year ago

@FidelVe also please share the kurtosis version that you are running

FidelVe commented 1 year ago

executed the following commands

kurtosis engine restart
dive bridge ibc --chainA icon --chainB archway

result was this error

FATAL  [2023-10-26 07:22:08] Starlark Run Failed : execution_error:{error_message:"An error occurred executing instruction (number 19) at github.com/hugobyte/dive/services/jvm/icon/src/node-setup/contract_deploy.star[50:23]:\nexec(service_name=\"icon-node-0xacbc4e\", recipe=ExecRecipe(command=[\"./bin/goloop\", \"rpc\", \"sendtx\", \"deploy\", \"contracts/ibc-0.1.0-optimized.jar\", \"--content_type\", \"application/java\", \"--params\", \"{}\", \"--key_store\", \"keystores/keystore.json\", \"--key_password\", \"gochain\", \"--step_limit\", \"500000000000\", \"--uri\", \"http://{{kurtosis:9af5bfc5d40048fe886fc04ae8b0b14a:ip_address.runtime_value}}:9080/api/v3/icon_dex\", \"--nid\", \"{{kurtosis:419be3b823de4599b5c32316f4f3534c:output.runtime_value}}\"]))\n --- at /home/circleci/project/core/server/api_container/server/startosis_engine/startosis_executor.go:157 (sendErrorAndFail) ---\nCaused by: Exec returned exit code '1' that is not part of the acceptable status codes '[0]', with output:\n  \"Error: strconv.ParseInt: parsing \\\"Error: HTTP 404 Not Found\\\\nChain(0xacbc4e: cid or channel) not found\\\\n\\\": invalid syntax\\n\"\n --- at /home/circleci/project/core/server/api_container/server/startosis_engine/kurtosis_instruction/exec/exec.go:169 (ExecCapabilities.Execute) ---"} 

Kurtosis version

$ kurtosis version
CLI Version:   0.84.11
FidelVe commented 1 year ago

also executed the following command

kurtosis enclave dump dive

a bunch of files were generated as you can see here

$ tree dive--8f601c9f123144f587fa36a072915350/
dive--8f601c9f123144f587fa36a072915350/
├── icon-node-0xacbc4e--2162422e1a9640668accc947aea3f996
│   ├── output.log
│   └── spec.json
├── kurtosis-api--8f601c9f123144f587fa36a072915350
│   ├── output.log
│   └── spec.json
├── kurtosis-logs-collector--8f601c9f123144f587fa36a072915350
│   ├── output.log
│   └── spec.json
└── node-service-constantine-3--5dc8933e871b4a3da04a9212940f463f
    ├── output.log
    └── spec.json

4 directories, 8 files

which of these do you require?

Mr-Nobody21 commented 1 year ago

@FidelVe
please share all the files as a zip and also can you try to run the command again after cleaning the enclave using the commanddive clean and try to run again as it I am not able to reproduce the same issue on my end

FidelVe commented 1 year ago

can you share with me an email or discord user to send the zip logs to.

executed the dive clean command then the following

kurtosis engine restart
dive bridge ibc --chainA icon --chainB archway

The result was the following error:

$ dive bridge ibc --chainA icon --chainB archway
FATAL  [2023-10-26 17:56:47] Starlark Run Failed : execution_error:{error_message:"An error occurred executing instruction (number 19) at github.com/hugobyte/dive/services/jvm/icon/src/node-setup/contract_deploy.star[50:23]:\nexec(service_name=\"icon-node-0xacbc4e\", recipe=ExecRecipe(command=[\"./bin/goloop\", \"rpc\", \"sendtx\", \"deploy\", \"contracts/ibc-0.1.0-optimized.jar\", \"--content_type\", \"application/java\", \"--params\", \"{}\", \"--key_store\", \"keystores/keystore.json\", \"--key_password\", \"gochain\", \"--step_limit\", \"500000000000\", \"--uri\", \"http://{{kurtosis:5aea90921a4543ba904e3597056dd31f:ip_address.runtime_value}}:9080/api/v3/icon_dex\", \"--nid\", \"{{kurtosis:3e4191a6bbbc4e988a667f649d0dd5cc:output.runtime_value}}\"]))\n --- at /home/circleci/project/core/server/api_container/server/startosis_engine/startosis_executor.go:157 (sendErrorAndFail) ---\nCaused by: Exec returned exit code '1' that is not part of the acceptable status codes '[0]', with output:\n  \"Error: strconv.ParseInt: parsing \\\"Error: HTTP 404 Not Found\\\\nChain(0xacbc4e: cid or channel) not found\\\\n\\\": invalid syntax\\n\"\n --- at /home/circleci/project/core/server/api_container/server/startosis_engine/kurtosis_instruction/exec/exec.go:169 (ExecCapabilities.Execute) ---"} 
Mr-Nobody21 commented 1 year ago

Please join this channel and you can drop the zip in dive group

https://discord.gg/Ww3c6wHA

FidelVe commented 1 year ago

zip file with logs sent to discord channel