godwokenrises / godwoken-kicker

one line command to start godwoken-polyjuice chain.
19 stars 24 forks source link

container for service "godwoken-readonly" is unhealthy #312

Closed sleepyyj closed 2 years ago

sleepyyj commented 2 years ago

Subject of the issue

I tried bash ./kicker start in DinD(docker-in-docker) mode and got the error container for service "godwoken-readonly" is unhealthy.

Your environment

Steps to reproduce

  1. create a container from docker:dind image
    docker pull docker:dind
    docker run --privileged -d --name dind-test docker:dind
  2. build an image using the Dockerfile below and create a container with it.
    
    FROM docker:rc-git
    LABEL feliciss = <fiveswind@gmail.com>

Install bash, ncurses, git, curl, yarn, npm, make, cargo, docker, docker-compose and openssl-dev dependency

RUN apk add --no-cache bash ncurses curl yarn npm make docker-compose openssl-dev gcc musl-dev

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y

Add .cargo/bin to PATH

ENV PATH="$HOME/.cargo/bin:${PATH}"

Install cargo packages

RUN cargo install moleculec ckb-capsule

docker build -t test-image . docker run -it test-image -v /var/run/docker.sock:/var/run/docker.sock


3. clone the godwoken-kicker repo and try to start kicker

git clone https://github.com/RetricSu/godwoken-kicker.git cd godwoken-kicker bash ./kicker start


### More Info
1. `bash ./kicker start` log

[+] Running 10/11 ⠿ Network docker_default Created 0.1s ⠿ Container docker-redis-1 Started 2.7s ⠿ Container docker-ckb-1 Started 2.5s ⠿ Container docker-postgres-1 Started 2.6s ⠿ Container docker-ckb-miner-1 Started 2.6s ⠿ Container docker-check-ckb-started-successfully-1 Exited 4.8s ⠿ Container docker-ckb-indexer-1 Started 5.4s ⠿ Container docker-godwoken-1 Healthy 169.5s ⠿ Container docker-godwoken-readonly-1 Waiting 170.9s ⠿ Container docker-web3-1 Created 0.1s ⠿ Container docker-web3-indexer-1 Created 0.1s container for service "godwoken-readonly" is unhealthy

2. avx2 info

/home/godwoken-kicker # grep avx2 /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt

3. `sh ./kicker ps`

/home/godwoken-kicker # sh ./kicker ps :> docker-compose -f docker/docker-compose.yml ps

NAME COMMAND SERVICE STATUS PORTS docker-check-ckb-started-successfully-1 "/entrypoint.sh http…" check-ckb-started-successfully exited (0)
docker-ckb-1 "/bin/docker-entrypo…" ckb running 0.0.0.0:8114-8115->8114-8115/tcp docker-ckb-indexer-1 "/bin/ckb-indexer -c…" ckb-indexer running 0.0.0.0:8116->8116/tcp docker-ckb-miner-1 "/bin/docker-entrypo…" ckb-miner running 8114-8115/tcp docker-godwoken-1 "/var/lib/layer2/ent…" godwoken running (unhealthy) 0.0.0.0:8119-8120->8119-8120/tcp docker-godwoken-readonly-1 "/var/lib/layer2/ent…" godwoken-readonly running (starting) 0.0.0.0:28119->8119/tcp, 0.0.0.0:28120->8120/tcp docker-postgres-1 "docker-entrypoint.s…" postgres running 0.0.0.0:5432->5432/tcp docker-redis-1 "docker-entrypoint.s…" redis running 0.0.0.0:6379->6379/tcp docker-web3-1 "/var/lib/web3/entry…" web3 created
docker-web3-indexer-1 "/var/lib/web3-index…" web3-indexer created


4. `sh ./kicker logs godwoken`

/home/godwoken-kicker # sh ./kicker logs godwoken :> docker-compose -f docker/docker-compose.yml logs godwoken

docker-godwoken-1 | Godwoken 1.6.0-rc1 5de93b5 docker-godwoken-1 | godwoken tools 1.6.0-rc1 5de93b5 docker-godwoken-1 | [deploy_scripts] Start docker-godwoken-1 | [start_ckb_miner_at_background] ckb-miner is mining... docker-godwoken-1 | 2022-09-07T14:01:17.395092Z INFO gw_tools::deploy_scripts: cost 90992 CKBytes for file: "/scripts/godwoken-scripts/custodian-lock"
docker-godwoken-1 | 2022-09-07T14:01:17.396376Z INFO gw_tools::deploy_scripts: cost 50032 CKBytes for file: "/scripts/godwoken-scripts/deposit-lock"
docker-godwoken-1 | 2022-09-07T14:01:17.396594Z INFO gw_tools::deploy_scripts: cost 107376 CKBytes for file: "/scripts/godwoken-scripts/withdrawal-lock"
docker-godwoken-1 | 2022-09-07T14:01:17.396704Z INFO gw_tools::deploy_scripts: cost 230696 CKBytes for file: "/scripts/godwoken-scripts/challenge-lock"
docker-godwoken-1 | 2022-09-07T14:01:17.396812Z INFO gw_tools::deploy_scripts: cost 50032 CKBytes for file: "/scripts/godwoken-scripts/stake-lock"
docker-godwoken-1 | 2022-09-07T14:01:17.397538Z INFO gw_tools::deploy_scripts: cost 107168 CKBytes for file: "/scripts/godwoken-scripts/omni_lock"
docker-godwoken-1 | 2022-09-07T14:01:17.397642Z INFO gw_tools::deploy_scripts: cost 300328 CKBytes for file: "/scripts/godwoken-scripts/state-validator"
docker-godwoken-1 | 2022-09-07T14:01:17.398353Z INFO gw_tools::deploy_scripts: cost 41112 CKBytes for file: "/scripts/godwoken-scripts/sudt-validator"
docker-godwoken-1 | 2022-09-07T14:01:17.398473Z INFO gw_tools::deploy_scripts: cost 99288 CKBytes for file: "/scripts/godwoken-scripts/eth-account-lock"
docker-godwoken-1 | 2022-09-07T14:01:17.398686Z INFO gw_tools::deploy_scripts: cost 42568 CKBytes for file: "/scripts/godwoken-scripts/meta-contract-validator"
docker-godwoken-1 | 2022-09-07T14:01:17.399415Z INFO gw_tools::deploy_scripts: cost 334728 CKBytes for file: "/scripts/godwoken-polyjuice/validator"
docker-godwoken-1 | 2022-09-07T14:01:17.399594Z INFO gw_tools::deploy_scripts: cost 41656 CKBytes for file: "/scripts/godwoken-scripts/eth-addr-reg-validator"
docker-godwoken-1 | 2022-09-07T14:01:17.399686Z INFO gw_tools::deploy_scripts: total_file_size: 1495976
docker-godwoken-1 | 2022-09-07T14:01:17.400778Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/custodian-lock"
docker-godwoken-1 | 2022-09-07T14:01:17.402176Z INFO gw_tools::deploy_scripts: file_size: 90992 bytes, output cell capacity: 91118.0 CKB
docker-godwoken-1 | 2022-09-07T14:01:18.269032Z INFO gw_tools::deploy_scripts: tx_hash: 0xd5aa0984b1a3637d9bf551d6e45450dfdbd4da82624f91451ba215304a188147
docker-godwoken-1 | 2022-09-07T14:01:18.279328Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:21.282563Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:24.286863Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:01:27.291016Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:01:27.293346Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/deposit-lock"
docker-godwoken-1 | 2022-09-07T14:01:27.293480Z INFO gw_tools::deploy_scripts: file_size: 50032 bytes, output cell capacity: 50158.0 CKB
docker-godwoken-1 | 2022-09-07T14:01:27.984810Z INFO gw_tools::deploy_scripts: tx_hash: 0x9b9fc90f8f1ea639a39a448de1c058e9f1564259fa88da14d49dac8d84211685
docker-godwoken-1 | 2022-09-07T14:01:27.986635Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:30.989414Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:33.992980Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:01:36.998467Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:01:36.999817Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/withdrawal-lock"
docker-godwoken-1 | 2022-09-07T14:01:37.000022Z INFO gw_tools::deploy_scripts: file_size: 107376 bytes, output cell capacity: 107502.0 CKB
docker-godwoken-1 | 2022-09-07T14:01:37.685667Z INFO gw_tools::deploy_scripts: tx_hash: 0xd264f9ae4f2ca010b21f95d7bacee06c726e4c3023931dea672bf26500105bbb
docker-godwoken-1 | 2022-09-07T14:01:37.688580Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:40.692256Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:43.695631Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:01:46.699491Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:01:46.701850Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/challenge-lock"
docker-godwoken-1 | 2022-09-07T14:01:46.701985Z INFO gw_tools::deploy_scripts: file_size: 230696 bytes, output cell capacity: 230822.0 CKB
docker-godwoken-1 | 2022-09-07T14:01:47.405696Z INFO gw_tools::deploy_scripts: tx_hash: 0xa0031bdecc557884cc92be9926fa02989942f203cf60949615509aa1b9924d9f
docker-godwoken-1 | 2022-09-07T14:01:47.411064Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:50.416420Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:01:53.422132Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:01:56.427045Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:01:56.432533Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/stake-lock"
docker-godwoken-1 | 2022-09-07T14:01:56.432718Z INFO gw_tools::deploy_scripts: file_size: 50032 bytes, output cell capacity: 50158.0 CKB
docker-godwoken-1 | 2022-09-07T14:01:57.120341Z INFO gw_tools::deploy_scripts: tx_hash: 0x5a935413a26e909a3a026fccb4f0be85c5ae35eee49b4931f4ee78c9499b535f
docker-godwoken-1 | 2022-09-07T14:01:57.122141Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:00.124936Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:03.127802Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:02:06.130434Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:02:06.131714Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/omni_lock"
docker-godwoken-1 | 2022-09-07T14:02:06.131848Z INFO gw_tools::deploy_scripts: file_size: 107168 bytes, output cell capacity: 107294.0 CKB
docker-godwoken-1 | 2022-09-07T14:02:06.857776Z INFO gw_tools::deploy_scripts: tx_hash: 0x09a7df80bdc2f6112196335a2e464ade626da68dc81f6418e2daee145380a36f
docker-godwoken-1 | 2022-09-07T14:02:06.860437Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:09.864821Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:12.868268Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:02:15.871703Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:02:15.873818Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/state-validator"
docker-godwoken-1 | 2022-09-07T14:02:15.873950Z INFO gw_tools::deploy_scripts: file_size: 300328 bytes, output cell capacity: 300454.0 CKB
docker-godwoken-1 | 2022-09-07T14:02:16.633063Z INFO gw_tools::deploy_scripts: tx_hash: 0xe50a9b81f90f3d4b8a4e7123fec410390df99794e284795b6122778420cfbdc1
docker-godwoken-1 | 2022-09-07T14:02:16.639293Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:19.647166Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:22.654294Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:02:25.662666Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:02:25.667963Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/sudt-validator"
docker-godwoken-1 | 2022-09-07T14:02:25.668194Z INFO gw_tools::deploy_scripts: file_size: 41112 bytes, output cell capacity: 41238.0 CKB
docker-godwoken-1 | 2022-09-07T14:02:26.362377Z INFO gw_tools::deploy_scripts: tx_hash: 0xaeb67a771a5d323597d2486ab8719f337586041252bc615422b2783dd402d0c7
docker-godwoken-1 | 2022-09-07T14:02:26.363904Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:29.366655Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:32.369243Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:02:35.372328Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:02:35.373850Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/meta-contract-validator"
docker-godwoken-1 | 2022-09-07T14:02:35.374029Z INFO gw_tools::deploy_scripts: file_size: 42568 bytes, output cell capacity: 42694.0 CKB
docker-godwoken-1 | 2022-09-07T14:02:36.068588Z INFO gw_tools::deploy_scripts: tx_hash: 0x728144cde86b2c488c1ad0bf75fdf6a56fab1b1fd07ccacedeeb3c95d316f37e
docker-godwoken-1 | 2022-09-07T14:02:36.070229Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:39.072939Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:42.079215Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:02:45.082062Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:02:45.083283Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/eth-account-lock"
docker-godwoken-1 | 2022-09-07T14:02:45.083407Z INFO gw_tools::deploy_scripts: file_size: 99288 bytes, output cell capacity: 99414.0 CKB
docker-godwoken-1 | 2022-09-07T14:02:45.761438Z INFO gw_tools::deploy_scripts: tx_hash: 0xa2e60fb98c645051ea902428249aecc4367a818148d49cd2499e06ab33cf9204
docker-godwoken-1 | 2022-09-07T14:02:45.763969Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:48.767058Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:51.770620Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:02:54.774743Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:02:54.780722Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-polyjuice/validator"
docker-godwoken-1 | 2022-09-07T14:02:54.780878Z INFO gw_tools::deploy_scripts: file_size: 334728 bytes, output cell capacity: 334854.0 CKB
docker-godwoken-1 | 2022-09-07T14:02:55.522173Z INFO gw_tools::deploy_scripts: tx_hash: 0x7d1c1f9f989c79f13f54e32b9e378a36614e26fe206de67762d9fac73e55a4f4
docker-godwoken-1 | 2022-09-07T14:02:55.529546Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:02:58.536631Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:01.543698Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:03:04.550602Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:03:04.557066Z INFO gw_tools::deploy_scripts: deploy binary "/scripts/godwoken-scripts/eth-addr-reg-validator"
docker-godwoken-1 | 2022-09-07T14:03:04.557283Z INFO gw_tools::deploy_scripts: file_size: 41656 bytes, output cell capacity: 41782.0 CKB
docker-godwoken-1 | 2022-09-07T14:03:05.248959Z INFO gw_tools::deploy_scripts: tx_hash: 0x8db03c7af3601885d0302444d4af5ad5bbd81390e81d0da2cad41d98bff1785e
docker-godwoken-1 | 2022-09-07T14:03:05.255592Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:08.263245Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:11.265643Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:03:14.268734Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | Generate file "/var/lib/layer2/config/scripts-deployment.json" docker-godwoken-1 | [stop_ckb_miner] Kill the ckb-miner process docker-godwoken-1 | [deploy_scripts] Generate file "/var/lib/layer2/config/scripts-deployment.json" docker-godwoken-1 | [deploy_scripts] Finished docker-godwoken-1 | [deploy_rollup_genesis] start docker-godwoken-1 | [start_ckb_miner_at_background] ckb-miner is mining... docker-godwoken-1 | 2022-09-07T14:03:14.984130Z INFO gw_tools::deploy_genesis: tx_hash: 0xece5945122898f882158f14b73d8c49a329d0457057c6128c87661bbb5012c40
docker-godwoken-1 | 2022-09-07T14:03:14.985683Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:17.988277Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:20.989791Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:03:23.991612Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:03:24.391180Z INFO gw_tools::deploy_genesis: rollup_script_hash: 0xffdfc173ac8576ec28596ccec26591f57bee186551de6ece311c26ecedf49fc1
docker-godwoken-1 | 2022-09-07T14:03:25.813705Z INFO gw_tools::deploy_genesis: tx_hash: 0xa70c72ba8d58728f2095cf16efa04d8023b65db9a3734ff18779db5be09c1bbb
docker-godwoken-1 | 2022-09-07T14:03:25.814634Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:28.816549Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:31.818709Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:03:34.821200Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | Generate file "/var/lib/layer2/config/rollup-genesis-deployment.json" docker-godwoken-1 | [stop_ckb_miner] Kill the ckb-miner process docker-godwoken-1 | [deploy_rollup_genesis] Generate file "/var/lib/layer2/config/rollup-genesis-deployment.json" docker-godwoken-1 | [generate_godwoken_config] start docker-godwoken-1 | 2022-09-07T14:03:35.009537Z INFO gw_tools: Generate file "/var/lib/layer2/config/godwoken-config.toml"
docker-godwoken-1 | [generate_godwoken_config] Generate file "/var/lib/layer2/config/godwoken-config.toml" docker-godwoken-1 | [wait_for_godwoken_started] Starting docker-godwoken-1 | 2022-09-07T14:03:36.108344Z INFO gw_db::migrate: Init db version: 20211229181750
docker-godwoken-1 | 2022-09-07T14:03:36.201065Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V0
docker-godwoken-1 | 2022-09-07T14:03:36.219060Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V1
docker-godwoken-1 | 2022-09-07T14:03:36.232878Z DEBUG gw_generator::backend_manage: registry backend Meta(BackendCheckSum { validator: "65c15510932d7ca6622e7a9c84febc4861d50423b4c1dbeb1bc33ad79312dd57", generator: "bf9a4e7cdb07f0234efc5ad0631d3797badf0cc7ce6d7d938388a855e9f7eb3f" }) at height 0
docker-godwoken-1 | 2022-09-07T14:03:36.235192Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V0
docker-godwoken-1 | 2022-09-07T14:03:36.246568Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V1
docker-godwoken-1 | 2022-09-07T14:03:36.258728Z DEBUG gw_generator::backend_manage: registry backend Sudt(BackendCheckSum { validator: "e9f21f08e1a09748b701be259c17e1dd9f1accaee23e2c6e0609916d308a1b4d", generator: "34f8d804e2173c076495e78458ab9031c769c36062fede0cb35e7762db04224d" }) at height 0
docker-godwoken-1 | 2022-09-07T14:03:36.272659Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V0
docker-godwoken-1 | 2022-09-07T14:03:36.379766Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V1
docker-godwoken-1 | 2022-09-07T14:03:36.481365Z DEBUG gw_generator::backend_manage: registry backend Polyjuice(BackendCheckSum { validator: "a7ee5a2aef2d90b81f7f900086fef4a3bcaf7d9c2ab312c0ceda4f3708bd96ad", generator: "f64a1967355c1fda3ef6422832894fc291559f8e711d5987ecbb44734cb1899f" }) at height 0
docker-godwoken-1 | 2022-09-07T14:03:36.484735Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V0
docker-godwoken-1 | 2022-09-07T14:03:36.494897Z INFO gw_generator::backend_manage: Compile AotCode with VMVersion::V1
docker-godwoken-1 | 2022-09-07T14:03:36.504730Z DEBUG gw_generator::backend_manage: registry backend EthAddrReg(BackendCheckSum { validator: "57553b7cb7736307865ace9250c492460f12291e685d81e8d0a2e033e5582a00", generator: "96ac862b9791c0d1cb1ccf85c1f1d60b1e359a1288d52fad6987b9fc53b0b289" }) at height 0
docker-godwoken-1 | 2022-09-07T14:03:36.645190Z INFO reset{new_tip=Byte32(0x75b97d88be6481057beca46b1085e0694f54741ecc23a44b6dffa5a567c79a33)}:reset_full: gw_mem_pool::pool: [mem-pool] reset reinject txs: 0 mem-block txs: 0 reinject withdrawals: 0 mem-block withdrawals: 0
docker-godwoken-1 | 2022-09-07T14:03:36.648656Z INFO reset{new_tip=Byte32(0x75b97d88be6481057beca46b1085e0694f54741ecc23a44b6dffa5a567c79a33)}:reset_full:prepare_next_mem_block{withdrawals_count=0 txs_count=0}:finalize_withdrawals{withdrawals_count=0}: gw_mem_pool::pool: [mem-pool] finalize withdrawals: 0 staled withdrawals: 0
docker-godwoken-1 | 2022-09-07T14:03:36.652130Z INFO gw_block_producer::runner: Check state db done: 0ms
docker-godwoken-1 | 2022-09-07T14:03:36.654416Z INFO gw_block_producer::poller: sync_task: TaskMetrics { instrumented_count: 0, dropped_count: 0, first_poll_count: 0, total_first_poll_delay: 0ns, total_idled_count: 0, total_idle_duration: 0ns, total_scheduled_count: 0, total_scheduled_duration: 0ns, total_poll_count: 0, total_poll_duration: 0ns, total_fast_poll_count: 0, total_fast_poll_duration: 0ns, total_slow_poll_count: 0, total_slow_poll_duration: 0ns }
docker-godwoken-1 | 2022-09-07T14:03:36.654546Z INFO gw_block_producer::runner: [unlock withdrawal] reuse block producer wallet
docker-godwoken-1 | 2022-09-07T14:03:36.654749Z INFO gw_block_producer::runner: will enable mem-pool p2p sync server
docker-godwoken-1 | 2022-09-07T14:03:36.657791Z INFO gw_p2p_network: service event: ListenStarted { address: "/ip4/0.0.0.0/tcp/9999" }
docker-godwoken-1 | 2022-09-07T14:03:36.657929Z INFO gw_mem_pool::sync::publish: Fanout handle is started.
docker-godwoken-1 | 2022-09-07T14:03:36.658081Z INFO gw_block_producer::runner: [tx from zero] use block producer wallet
docker-godwoken-1 | 2022-09-07T14:03:36.658496Z INFO gw_block_producer::runner: running the p2p network
docker-godwoken-1 | 2022-09-07T14:03:36.669239Z INFO gw_rpc_server::registry: reinject mem block txs 0
docker-godwoken-1 | 2022-09-07T14:03:36.669364Z INFO gw_block_producer::runner: Rollup type script hash: ffdfc173ac8576ec28596ccec26591f57bee186551de6ece311c26ecedf49fc1
docker-godwoken-1 | 2022-09-07T14:03:36.669471Z INFO gw_block_producer::runner: Rollup config hash: 83de7872d40cc2d791d5602c0fcfeb42163483b95902e8c65b8989932c6add41
docker-godwoken-1 | 2022-09-07T14:03:36.669558Z INFO gw_block_producer::runner: FullNode mode
docker-godwoken-1 | 2022-09-07T14:03:36.673004Z INFO gw_rpc_server::server: JSONRPC server listening on http://0.0.0.0:8119
docker-godwoken-1 | 2022-09-07T14:03:36.673128Z INFO gw_block_producer::runner: chain task metrics: TaskMetrics { docker-godwoken-1 | instrumented_count: 0, docker-godwoken-1 | dropped_count: 0, docker-godwoken-1 | first_poll_count: 0, docker-godwoken-1 | total_first_poll_delay: 0ns, docker-godwoken-1 | total_idled_count: 0, docker-godwoken-1 | total_idle_duration: 0ns, docker-godwoken-1 | total_scheduled_count: 0, docker-godwoken-1 | total_scheduled_duration: 0ns, docker-godwoken-1 | total_poll_count: 0, docker-godwoken-1 | total_poll_duration: 0ns, docker-godwoken-1 | total_fast_poll_count: 0, docker-godwoken-1 | total_fast_poll_duration: 0ns, docker-godwoken-1 | total_slow_poll_count: 0, docker-godwoken-1 | total_slow_poll_duration: 0ns, docker-godwoken-1 | }
docker-godwoken-1 | 2022-09-07T14:03:36.673325Z INFO gw_block_producer::runner: chain_update metrics: TaskMetrics { instrumented_count: 0, dropped_count: 0, first_poll_count: 0, total_first_poll_delay: 0ns, total_idled_count: 0, total_idle_duration: 0ns, total_scheduled_count: 0, total_scheduled_duration: 0ns, total_poll_count: 0, total_poll_duration: 0ns, total_fast_poll_count: 0, total_fast_poll_duration: 0ns, total_slow_poll_count: 0, total_slow_poll_duration: 0ns }
docker-godwoken-1 | 2022-09-07T14:03:36.673411Z INFO gw_block_producer::runner: block_produce metrics: TaskMetrics { instrumented_count: 0, dropped_count: 0, first_poll_count: 0, total_first_poll_delay: 0ns, total_idled_count: 0, total_idle_duration: 0ns, total_scheduled_count: 0, total_scheduled_duration: 0ns, total_poll_count: 0, total_poll_duration: 0ns, total_fast_poll_count: 0, total_fast_poll_duration: 0ns, total_slow_poll_count: 0, total_slow_poll_duration: 0ns }
docker-godwoken-1 | 2022-09-07T14:03:36.673491Z INFO gw_block_producer::runner: cleaner metrics: TaskMetrics { instrumented_count: 0, dropped_count: 0, first_poll_count: 0, total_first_poll_delay: 0ns, total_idled_count: 0, total_idle_duration: 0ns, total_scheduled_count: 0, total_scheduled_duration: 0ns, total_poll_count: 0, total_poll_duration: 0ns, total_fast_poll_count: 0, total_fast_poll_duration: 0ns, total_slow_poll_count: 0, total_slow_poll_duration: 0ns }
docker-godwoken-1 | [wait_for_godwoken_started] Godwoken started docker-godwoken-1 | [create_polyjuice_root_account] start docker-godwoken-1 | [start_ckb_miner_at_background] ckb-miner is mining... docker-godwoken-1 | [create_polyjuice_root_account] Deposit for block_producer docker-godwoken-1 | 2022-09-07T14:03:37.318898Z INFO gw_tools::deposit_ckb: eth address: 0x2e9df163055245bfadd35e3a1f05f06096447c85
docker-godwoken-1 | 2022-09-07T14:03:37.337402Z INFO gw_tools::deposit_ckb: layer2 script hash: 0x24288d417bad16042d642e412c9fb34a89d16312f50ff43d56ad2a8d3c6d2688
docker-godwoken-1 | 2022-09-07T14:03:37.355108Z INFO gw_tools::deposit_ckb: script hash: 0x24288d417bad16042d642e412c9fb34a89d16312f50ff43d56ad2a8d3c6d2688
docker-godwoken-1 | 2022-09-07T14:03:37.359500Z INFO gw_tools::deposit_ckb: balance before deposit: 0
docker-godwoken-1 | 2022-09-07T14:03:38.114828Z INFO gw_tools::deposit_ckb: tx_hash: 0x794cc7bd4afab619920d921afe46437f944dad0eb9c0413f10953f37670e990f
docker-godwoken-1 | 2022-09-07T14:03:38.123097Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:39.679821Z INFO chain_task_run:run:sync_next{tip_number=68 tip_hash=Byte32(0x9417e8bd00a4cda0af7f9c8851e3a089c62cd5d242cb28c6475cb04a8e52c2fb)}: gw_block_producer::runner: received new layer1 block 69, d14d372fbd3f64abdceeab9d34b090b207b251db5cdc62d293df2e12ea8a87e2
docker-godwoken-1 | 2022-09-07T14:03:39.685139Z INFO chain_task_run:run:sync_next{tip_number=68 tip_hash=Byte32(0x9417e8bd00a4cda0af7f9c8851e3a089c62cd5d242cb28c6475cb04a8e52c2fb)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:03:39.688419Z INFO chain_task_run:run:sync_next{tip_number=68 tip_hash=Byte32(0x9417e8bd00a4cda0af7f9c8851e3a089c62cd5d242cb28c6475cb04a8e52c2fb)}:block producer handle_event:compose_next_block_submit_tx{retry_count=0}:output_mem_block{retry_count=0}: gw_mem_pool::pool: [mem-pool] package mem block, retry count 0
docker-godwoken-1 | 2022-09-07T14:03:39.689354Z INFO chain_task_run:run:sync_next{tip_number=68 tip_hash=Byte32(0x9417e8bd00a4cda0af7f9c8851e3a089c62cd5d242cb28c6475cb04a8e52c2fb)}:block producer handle_event:compose_next_block_submit_tx{retry_count=0}:query_mergeable_custodians{last_finalized_block_number=0}:query_mergeable_sudt_custodians{last_finalized_block_number=0}:query_mergeable_sudt_custodians_cells{last_finalized_block_number=0 max_cells=50}: gw_rpc_client::rpc_client: merge 0 random sudt type scripts
docker-godwoken-1 | 2022-09-07T14:03:39.689817Z INFO chain_task_run:run:sync_next{tip_number=68 tip_hash=Byte32(0x9417e8bd00a4cda0af7f9c8851e3a089c62cd5d242cb28c6475cb04a8e52c2fb)}:block producer handle_event:compose_next_block_submit_tx{retry_count=0}: produce-block: produce new block #1 (txs: 0, deposits: 0, withdrawals: 0)
docker-godwoken-1 | 2022-09-07T14:03:39.745662Z INFO chain_task_run:run:sync_next{tip_number=68 tip_hash=Byte32(0x9417e8bd00a4cda0af7f9c8851e3a089c62cd5d242cb28c6475cb04a8e52c2fb)}:block producer handle_event:submit_block_tx{block=1}: produce-block: Tx(1) L2 block #1bd0b1a002925a75a75ef7c3b0b3ae5495e4e93cbef278aaf1f727bf4013cf0f execution cycles: 4331778
docker-godwoken-1 | 2022-09-07T14:03:39.803396Z INFO chain_task_run:run:sync_next{tip_number=68 tip_hash=Byte32(0x9417e8bd00a4cda0af7f9c8851e3a089c62cd5d242cb28c6475cb04a8e52c2fb)}:block producer handle_event:submit_block_tx{block=1}: produce-block: Submitted l2 block 1 in tx 1bd0b1a002925a75a75ef7c3b0b3ae5495e4e93cbef278aaf1f727bf4013cf0f
docker-godwoken-1 | 2022-09-07T14:03:41.125156Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Pending
docker-godwoken-1 | 2022-09-07T14:03:42.806680Z INFO chain_task_run:run:sync_next{tip_number=69 tip_hash=Byte32(0xd14d372fbd3f64abdceeab9d34b090b207b251db5cdc62d293df2e12ea8a87e2)}: gw_block_producer::runner: received new layer1 block 70, 39ba9dbd7e12579bab5046181e005879532968be23e889f6b0b88239e10bcea4
docker-godwoken-1 | 2022-09-07T14:03:42.807777Z INFO chain_task_run:run:sync_next{tip_number=69 tip_hash=Byte32(0xd14d372fbd3f64abdceeab9d34b090b207b251db5cdc62d293df2e12ea8a87e2)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:03:44.126952Z INFO gw_rpc_client::ckb_client: waiting for transaction, status: Proposed
docker-godwoken-1 | 2022-09-07T14:03:45.812762Z INFO chain_task_run:run:sync_next{tip_number=70 tip_hash=Byte32(0x39ba9dbd7e12579bab5046181e005879532968be23e889f6b0b88239e10bcea4)}: gw_block_producer::runner: received new layer1 block 71, 8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2
docker-godwoken-1 | 2022-09-07T14:03:45.813780Z INFO chain_task_run:run:sync_next{tip_number=70 tip_hash=Byte32(0x39ba9dbd7e12579bab5046181e005879532968be23e889f6b0b88239e10bcea4)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:03:47.128436Z INFO gw_rpc_client::ckb_client: transaction committed
docker-godwoken-1 | 2022-09-07T14:03:48.818970Z INFO chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}: gw_block_producer::runner: received new layer1 block 72, 6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf
docker-godwoken-1 | 2022-09-07T14:03:48.820035Z INFO chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:03:48.825082Z DEBUG chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single:verify_and_apply_block{block=1 deposits_count=0}: gw_generator::generator: signature 0ms execute tx 0ms apply state 0ms
docker-godwoken-1 | 2022-09-07T14:03:48.825873Z INFO chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single: gw_chain::chain: sync new block #1 success
docker-godwoken-1 | 2022-09-07T14:03:48.828102Z INFO gw_mem_pool::sync::p2p: publishing new tip tip=number=1 hash=71ff993cf551a170 docker-godwoken-1 | 2022-09-07T14:03:48.828286Z INFO chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single:notify_new_tip:reset{old_tip=Byte32(0x75b97d88be6481057beca46b1085e0694f54741ecc23a44b6dffa5a567c79a33) new_tip=Byte32(0x71ff993cf551a17092d8cc616270a33cc7c8d6a8bf069c9e290a8c35f192f0f3)}:reset_full: gw_mem_pool::pool: [mem-pool] reset reinject txs: 0 mem-block txs: 0 reinject withdrawals: 0 mem-block withdrawals: 0
docker-godwoken-1 | 2022-09-07T14:03:48.828745Z INFO chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single:notify_new_tip:reset{old_tip=Byte32(0x75b97d88be6481057beca46b1085e0694f54741ecc23a44b6dffa5a567c79a33) new_tip=Byte32(0x71ff993cf551a17092d8cc616270a33cc7c8d6a8bf069c9e290a8c35f192f0f3)}:reset_full:prepare_next_mem_block{withdrawals_count=0 txs_count=0}:finalize_withdrawals{withdrawals_count=0}: gw_mem_pool::pool: [mem-pool] finalize withdrawals: 0 staled withdrawals: 0
docker-godwoken-1 | 2022-09-07T14:03:48.828877Z DEBUG chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single:notify_new_tip:reset{old_tip=Byte32(0x75b97d88be6481057beca46b1085e0694f54741ecc23a44b6dffa5a567c79a33) new_tip=Byte32(0x71ff993cf551a17092d8cc616270a33cc7c8d6a8bf069c9e290a8c35f192f0f3)}:reset_full:prepare_next_mem_block{withdrawals_count=0 txs_count=0}:finalize_deposits{deposits_count=1}:apply_deposit_request: gw_generator::traits: [generator] deposit capacity 200000000000
docker-godwoken-1 | 2022-09-07T14:03:48.829984Z DEBUG chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single:notify_new_tip:reset{old_tip=Byte32(0x75b97d88be6481057beca46b1085e0694f54741ecc23a44b6dffa5a567c79a33) new_tip=Byte32(0x71ff993cf551a17092d8cc616270a33cc7c8d6a8bf069c9e290a8c35f192f0f3)}:reset_full:prepare_next_mem_block{withdrawals_count=0 txs_count=0}:finalize_deposits{deposits_count=1}:apply_deposit_request: gw_generator::traits: [generator] create new account: 24288d417bad16042d642e412c9fb34a89d16312f50ff43d56ad2a8d3c6d2688 id: 3
docker-godwoken-1 | 2022-09-07T14:03:48.832096Z DEBUG chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single:notify_new_tip:reset{old_tip=Byte32(0x75b97d88be6481057beca46b1085e0694f54741ecc23a44b6dffa5a567c79a33) new_tip=Byte32(0x71ff993cf551a17092d8cc616270a33cc7c8d6a8bf069c9e290a8c35f192f0f3)}:reset_full:prepare_next_mem_block{withdrawals_count=0 txs_count=0}:finalize_deposits{deposits_count=1}:apply_deposit_request: gw_generator::traits: [generator] mint 200000000000 shannons * 10^10 CKB to account 24288d417bad16042d642e412c9fb34a89d16312f50ff43d56ad2a8d3c6d2688
docker-godwoken-1 | 2022-09-07T14:03:48.832276Z INFO gw_mem_pool::sync::p2p: publishing NextMemBlock number=2 docker-godwoken-1 | 2022-09-07T14:03:48.832457Z INFO chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:chain updater handle_event:try_sync:update:update_single: gw_block_producer::poller: [sync revert] known last tx hash, skip 1bd0b1a002925a75a75ef7c3b0b3ae5495e4e93cbef278aaf1f727bf4013cf0f
docker-godwoken-1 | 2022-09-07T14:03:48.833934Z INFO chain_task_run:run:sync_next{tip_number=71 tip_hash=Byte32(0x8144d870fe3a956a020ea632c2b593a13f8581afa7d7c04d491e0554a6d791d2)}:block producer handle_event:compose_next_block_submit_tx{retry_count=0}:output_mem_block{retry_count=0}: gw_mem_pool::pool: [mem-pool] package mem block, retry count 0
docker-godwoken-1 | 2022-09-07T14:03:49.134545Z INFO gw_tools::deposit_ckb: current balance: 2000000000000000000000, waiting for 2 secs.
docker-godwoken-1 | 2022-09-07T14:03:49.134753Z INFO gw_tools::deposit_ckb: deposit success!
docker-godwoken-1 | 2022-09-07T14:03:49.135064Z INFO gw_tools::deposit_ckb: Your account id: 3
docker-godwoken-1 | [create_polyjuice_root_account] Create Polyjuice root account docker-godwoken-1 | 2022-09-07T14:03:49.165671Z INFO gw_tools::create_creator_account: from id: 3
docker-godwoken-1 | 2022-09-07T14:03:49.165958Z INFO gw_tools::create_creator_account: l2 script hash: 0x592e394a0389b68752fd00f4196dc49686f21ea854761d1c070132b63b34b95b
docker-godwoken-1 | 2022-09-07T14:03:49.166881Z INFO submit_l2transaction:insert{hash=2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7}: gw_rpc_server::in_queue_request_map: inserted map.len=1 docker-godwoken-1 | 2022-09-07T14:03:49.167092Z DEBUG req_to_entry{req_kind="tx"}:load_backend{script_hash=Byte32(0x4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563)}: gw_generator::generator: load_backend for script_hash: 4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563
docker-godwoken-1 | 2022-09-07T14:03:49.167200Z DEBUG req_to_entry{req_kind="tx"}:load_backend{script_hash=Byte32(0x4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563)}: gw_generator::generator: load_backend by code_hash: 9ae48dac3e734273d56a6d4b3404dfae5391adf83ee045561160958a20fd77a1
docker-godwoken-1 | 2022-09-07T14:03:49.167303Z DEBUG req_to_entry{req_kind="tx"}:load_backend{script_hash=Byte32(0x4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563)}: gw_generator::backend_manage: get backend Meta(BackendCheckSum { validator: "65c15510932d7ca6622e7a9c84febc4861d50423b4c1dbeb1bc33ad79312dd57", generator: "bf9a4e7cdb07f0234efc5ad0631d3797badf0cc7ce6d7d938388a855e9f7eb3f" }) at height 0
docker-godwoken-1 | 2022-09-07T14:03:49.171266Z INFO gw_tools::create_creator_account: tx hash: 0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7
docker-godwoken-1 | 2022-09-07T14:03:49.185539Z DEBUG push_transaction:push_transaction_with_db{tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:execute_tx:unchecked_execute_transaction{block=2 tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:load_backend{script_hash=Byte32(0x4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563)}: gw_generator::generator: load_backend for script_hash: 4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563
docker-godwoken-1 | 2022-09-07T14:03:49.185672Z DEBUG push_transaction:push_transaction_with_db{tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:execute_tx:unchecked_execute_transaction{block=2 tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:load_backend{script_hash=Byte32(0x4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563)}: gw_generator::generator: load_backend by code_hash: 9ae48dac3e734273d56a6d4b3404dfae5391adf83ee045561160958a20fd77a1
docker-godwoken-1 | 2022-09-07T14:03:49.185784Z DEBUG push_transaction:push_transaction_with_db{tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:execute_tx:unchecked_execute_transaction{block=2 tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:load_backend{script_hash=Byte32(0x4ee0282fe29a40df1b2c9ef52b9777f1b385b91806ff72e6c2e389b7b8a36563)}: gw_generator::backend_manage: get backend Meta(BackendCheckSum { validator: "65c15510932d7ca6622e7a9c84febc4861d50423b4c1dbeb1bc33ad79312dd57", generator: "bf9a4e7cdb07f0234efc5ad0631d3797badf0cc7ce6d7d938388a855e9f7eb3f" }) at height 2
docker-godwoken-1 | 2022-09-07T14:03:49.187884Z DEBUG push_transaction:push_transaction_with_db{tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:execute_tx:unchecked_execute_transaction{block=2 tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:machine_run{backend=Meta}: gw_generator::backend_manage: get_aot_code hash: bf9a4e7cdb07f0234efc5ad0631d3797badf0cc7ce6d7d938388a855e9f7eb3f version: 0
docker-godwoken-1 | 2022-09-07T14:03:49.189065Z DEBUG push_transaction:push_transaction_with_db{tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:execute_tx:unchecked_execute_transaction{block=2 tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:machine_run{backend=Meta}: gw_generator::syscalls: [contract syscall: SYS_PAY_FEE] payer: 2e9df163055245bfadd35e3a1f05f06096447c85, registry_id: 2, sudt_id: 1, amount: 0
docker-godwoken-1 | 2022-09-07T14:03:49.189932Z DEBUG push_transaction:push_transaction_with_db{tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:execute_tx:unchecked_execute_transaction{block=2 tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:machine_run{backend=Meta}: gw_generator::generator: [contract debug]: docker-godwoken-1 | transfer: [warning] transfer to self docker-godwoken-1 | new_nonce is equals to original_nonce, increase 1
docker-godwoken-1 | 2022-09-07T14:03:49.190046Z DEBUG push_transaction:push_transaction_with_db{tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:execute_tx:unchecked_execute_transaction{block=2 tx_hash=Byte32(0x2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7)}:machine_run{backend=Meta}: gw_generator::generator: [execute tx] VM machine_run time: 3ms, exit code: 0 used_cycles: 114210
docker-godwoken-1 | 2022-09-07T14:03:49.192965Z INFO gw_mem_pool::sync::p2p: publishing L2Transaction hash=2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7 docker-godwoken-1 | 2022-09-07T14:03:49.193239Z INFO remove{hash=2581c50f504bbde5411952a686cfd798a36d0488b6ddae75e6c2bd4af8f175a7}: gw_rpc_server::in_queue_request_map: removed map.len=0 docker-godwoken-1 | 2022-09-07T14:03:51.171978Z INFO gw_tools::utils::transaction: tx committed
docker-godwoken-1 | Creator account id: 4 docker-godwoken-1 | [stop_ckb_miner] Kill the ckb-miner process docker-godwoken-1 | [create_polyjuice_root_account] Generate file "/var/lib/layer2/config/polyjuice-root-account-id" docker-godwoken-1 | [generate_web3_indexer_config] Start docker-godwoken-1 | [generate_web3_indexer_config] Generate file "/var/lib/layer2/config/web3-indexer-config.toml" docker-godwoken-1 | [generate_web3_indexer_config] Finished docker-godwoken-1 | 2022-09-07T14:03:51.838925Z INFO chain_task_run:run:sync_next{tip_number=72 tip_hash=Byte32(0x6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf)}: gw_block_producer::runner: received new layer1 block 73, 298a4e36ce1ab82b4ada8f44c381ff69bd98c2384cd4c7c1a4c91d07a31ba13a
docker-godwoken-1 | 2022-09-07T14:03:51.839938Z INFO chain_task_run:run:sync_next{tip_number=72 tip_hash=Byte32(0x6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:03:51.842274Z INFO chain_task_run:run:sync_next{tip_number=72 tip_hash=Byte32(0x6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf)}:block producer handle_event:compose_next_block_submit_tx{retry_count=0}:output_mem_block{retry_count=0}: gw_mem_pool::pool: [mem-pool] package mem block, retry count 0
docker-godwoken-1 | 2022-09-07T14:03:51.845043Z INFO chain_task_run:run:sync_next{tip_number=72 tip_hash=Byte32(0x6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf)}:block producer handle_event:compose_next_block_submit_tx{retry_count=0}:query_mergeable_custodians{last_finalized_block_number=0}:query_mergeable_sudt_custodians{last_finalized_block_number=0}:query_mergeable_sudt_custodians_cells{last_finalized_block_number=0 max_cells=50}: gw_rpc_client::rpc_client: merge 0 random sudt type scripts
docker-godwoken-1 | 2022-09-07T14:03:51.845484Z INFO chain_task_run:run:sync_next{tip_number=72 tip_hash=Byte32(0x6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf)}:block producer handle_event:compose_next_block_submit_tx{retry_count=0}: produce-block: produce new block #2 (txs: 1, deposits: 1, withdrawals: 0)
docker-godwoken-1 | 2022-09-07T14:03:51.945112Z INFO chain_task_run:run:sync_next{tip_number=72 tip_hash=Byte32(0x6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf)}:block producer handle_event:submit_block_tx{block=2}: produce-block: Tx(2) L2 block #414e16f2a904fa490077f00ba7805f17068b6e165bf85fd91c8a909894424df7 execution cycles: 6179464
docker-godwoken-1 | 2022-09-07T14:03:52.052334Z INFO chain_task_run:run:sync_next{tip_number=72 tip_hash=Byte32(0x6f91e715348b071d769965cd6b4109837d35f3952854cf0cd9eefac2717eb6cf)}:block producer handle_event:submit_block_tx{block=2}: produce-block: Submitted l2 block 2 in tx 414e16f2a904fa490077f00ba7805f17068b6e165bf85fd91c8a909894424df7
docker-godwoken-1 | 2022-09-07T14:03:55.055745Z INFO chain_task_run:run:sync_next{tip_number=73 tip_hash=Byte32(0x298a4e36ce1ab82b4ada8f44c381ff69bd98c2384cd4c7c1a4c91d07a31ba13a)}: gw_block_producer::runner: received new layer1 block 74, baf5b63aaf3c9d75119823fb71212c00f48c94392fded734bd945595186eac84
docker-godwoken-1 | 2022-09-07T14:03:55.056810Z INFO chain_task_run:run:sync_next{tip_number=73 tip_hash=Byte32(0x298a4e36ce1ab82b4ada8f44c381ff69bd98c2384cd4c7c1a4c91d07a31ba13a)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:03:58.061317Z INFO chain_task_run:run:sync_next{tip_number=74 tip_hash=Byte32(0xbaf5b63aaf3c9d75119823fb71212c00f48c94392fded734bd945595186eac84)}: gw_block_producer::runner: received new layer1 block 75, 8229bf097c2a78569597f8bc0e5c92c77ee323209c2fd540c76267af619145e7
docker-godwoken-1 | 2022-09-07T14:03:58.062446Z INFO chain_task_run:run:sync_next{tip_number=74 tip_hash=Byte32(0xbaf5b63aaf3c9d75119823fb71212c00f48c94392fded734bd945595186eac84)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:04:01.066772Z INFO chain_task_run:run:sync_next{tip_number=75 tip_hash=Byte32(0x8229bf097c2a78569597f8bc0e5c92c77ee323209c2fd540c76267af619145e7)}: gw_block_producer::runner: received new layer1 block 76, e9e1cfbc73c1dde9b0f2da81da86cd1b269bdc996350273897c55d7d6779da9c
docker-godwoken-1 | 2022-09-07T14:04:01.068275Z INFO chain_task_run:run:sync_next{tip_number=75 tip_hash=Byte32(0x8229bf097c2a78569597f8bc0e5c92c77ee323209c2fd540c76267af619145e7)}:withdrawal unlocker handle_event: gw_block_producer::withdrawal_unlocker: [unlock withdrawal] find unlockable finalized withdrawals 0
docker-godwoken-1 | 2022-09-07T14:04:02.497919Z INFO gw_p2p_network: service event: SessionOpen { session_context: SessionContext { id: SessionId(1), address: "/ip4/172.19.0.8/tcp/45568/p2p/Qmeiu7KgWrWsbd4ht7ToZaiwgDoto3stwJcQrZ4a9QPS2a", ty: Inbound, remote_pubkey: Some(0x02746d774144d3cce9acd58604bf0a480f5c034c6e61ccd7d2317f27f04e41ed28), closed: false, pending_data_size: 0 } }
docker-godwoken-1 | 2022-09-07T14:04:06.655429Z INFO gw_block_producer::poller: sync_task: TaskMetrics { instrumented_count: 8, dropped_count: 8, first_poll_count: 8, total_first_poll_delay: 8.346µs, total_idled_count: 13, total_idle_duration: 2.545713ms, total_scheduled_count: 13, total_scheduled_duration: 279.416µs, total_poll_count: 21, total_poll_duration: 11.361169ms, total_fast_poll_count: 11, total_fast_poll_duration: 387.059µs, total_slow_poll_count: 10, total_slow_poll_duration: 10.97411ms }
docker-godwoken-1 | 2022-09-07T14:04:06.675228Z INFO gw_block_producer::runner: chain task metrics: TaskMetrics { docker-godwoken-1 | instrumented_count: 10, docker-godwoken-1 | dropped_count: 10, docker-godwoken-1 | first_poll_count: 10, docker-godwoken-1 | total_first_poll_delay: 14.77µs, docker-godwoken-1 | total_idled_count: 96, docker-godwoken-1 | total_idle_duration: 332.423175ms, docker-godwoken-1 | total_scheduled_count: 96, docker-godwoken-1 | total_scheduled_duration: 1.730759ms, docker-godwoken-1 | total_poll_count: 106, docker-godwoken-1 | total_poll_duration: 51.806328ms, docker-godwoken-1 | total_fast_poll_count: 5, docker-godwoken-1 | total_fast_poll_duration: 113.466µs, docker-godwoken-1 | total_slow_poll_count: 101, docker-godwoken-1 | total_slow_poll_duration: 51.692862ms, docker-godwoken-1 | }
docker-godwoken-1 | 2022-09-07T14:04:06.675499Z INFO gw_block_producer::runner: chain_update metrics: TaskMetrics { instrumented_count: 8, dropped_count: 8, first_poll_count: 8, total_first_poll_delay: 9.661µs, total_idled_count: 31, total_idle_duration: 6.802427ms, total_scheduled_count: 31, total_scheduled_duration: 615.625µs, total_poll_count: 39, total_poll_duration: 14.389264ms, total_fast_poll_count: 6, total_fast_poll_duration: 228.601µs, total_slow_poll_count: 33, total_slow_poll_duration: 14.160663ms }
docker-godwoken-1 | 2022-09-07T14:04:06.675597Z INFO gw_block_producer::runner: block_produce metrics: TaskMetrics { instrumented_count: 8, dropped_count: 8, first_poll_count: 8, total_first_poll_delay: 8.628µs, total_idled_count: 10, total_idle_duration: 310.568978ms, total_scheduled_count: 10, total_scheduled_duration: 255.338µs, total_poll_count: 18, total_poll_duration: 18.48825ms, total_fast_poll_count: 4, total_fast_poll_duration: 143.573µs, total_slow_poll_count: 14, total_slow_poll_duration: 18.344677ms }



### Expected behavior
start perfectly

### Actual behavior
container for service "godwoken-readonly" is unhealthy
keroro520 commented 2 years ago

@sleepyyj It seems that "godwoken" service has beed killed (out of memory killed?) 😥

keroro520 commented 2 years ago

@sleepyyj

Would it be possible to increase the docker memory limit (NOTE: inside the dind-test container) and then retry?


And there is a prebuild image, is that what you are building? :

sleepyyj commented 2 years ago

Thanks for your advice. I'll try.

sleepyyj commented 2 years ago

Hi, I tried to build an image with this Dockerfile https://github.com/RetricSu/godwoken-kicker/blob/57e4d3dfb821403af996c2aa5e86cc0dfff75f59/docker/manual-image/Dockerfile. And found this error. build fail. Have you seen this before?

keroro520 commented 2 years ago

Hi, I tried to build an image with this Dockerfile https://github.com/RetricSu/godwoken-kicker/blob/57e4d3dfb821403af996c2aa5e86cc0dfff75f59/docker/manual-image/Dockerfile. And found this error. build fail. Have you seen this before?

Hi @sleepyyj After taking time to investigate, the error cause was figured out and fixed by PR https://github.com/RetricSu/godwoken-kicker/pull/313

Looking forward to your review and feedback.

keroro520 commented 2 years ago

@RetricSu has pushed the updated image: retricsu/godwoken-manual-build:fix-git-capsule @sleepyyj

keroro520 commented 2 years ago

I am closing this issue. If you have any trouble blocking it, please reopen it.