From e1c2e9bed8b2a83d98fe70ca2d6e4e68fd54e34f Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 15 Feb 2024 17:43:28 +0000 Subject: [PATCH 01/23] Working initial docker --- .dockerignore | 32 ++++++++++++++++++++++++++++++++ Dockerfile | 22 ++++++++++++++++++++++ Makefile | 10 ++++++++++ node/miden-node.toml | 2 +- scripts/start-miden-node.sh | 3 +++ 5 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 Makefile create mode 100644 scripts/start-miden-node.sh diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..fff0f0394 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,32 @@ +# Include any files or directories that you don't want to be copied to your +# container here (e.g., local build artifacts, temporary files, etc.). +# +# For more help, visit the .dockerignore file reference guide at +# https://docs.docker.com/go/build-context-dockerignore/ + +**/.DS_Store +**/.classpath +**/.dockerignore +**/.env +**/.git +**/.gitignore +**/.project +**/.settings +**/.toolstarget +**/.vs +**/.vscode +**/*.*proj.user +**/*.dbmdl +**/*.jfm +**/charts +**/docker-compose* +**/compose* +**/Dockerfile* +**/node_modules +**/npm-debug.log +**/secrets.dev.yaml +**/values.dev.yaml +/bin +/target +LICENSE +README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..fcc81a093 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +# Miden-node Dockerfile + +#### Setup image builder +FROM rust:1.75.0-bullseye AS builder +# Install dependencies +RUN apt-get update && apt-get -y upgrade +RUN apt-get install -y gcc llvm clang bindgen pkg-config +# Setup workdir +WORKDIR /app +COPY . miden-node +RUN cd miden-node && make + +### Run Miden-Node +FROM ubuntu:22.04 +RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev +COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh +COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml +COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml +COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node +RUN chmod +x /start-miden-node.sh +EXPOSE 57291 +CMD [ "/start-miden-node.sh" ] \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..c420a97a2 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +FEATURES=testing + +install: + cargo install --features=${FEATURES} --path node --force --locked + +run: + miden-node make-genesis --inputs-path node/genesis.toml + miden-node start --config node/miden-node.toml + +fmt: diff --git a/node/miden-node.toml b/node/miden-node.toml index f0811acd7..527591c0f 100644 --- a/node/miden-node.toml +++ b/node/miden-node.toml @@ -10,7 +10,7 @@ verify_tx_proofs = true [rpc] # port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-rpc', 1)) % 2**16 -endpoint = { host = "localhost", port = 57291 } +endpoint = { host = "0.0.0.0", port = 57291 } block_producer_url = "http://localhost:48046" store_url = "http://localhost:28943" diff --git a/scripts/start-miden-node.sh b/scripts/start-miden-node.sh new file mode 100644 index 000000000..fe97fc18c --- /dev/null +++ b/scripts/start-miden-node.sh @@ -0,0 +1,3 @@ +#!/bin/bash +miden-node make-genesis --inputs-path genesis.toml +miden-node start --config miden-node.toml \ No newline at end of file From 80c60b39f8e933b5946533ef68c84d53ef5553f0 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Wed, 28 Feb 2024 11:55:11 -0700 Subject: [PATCH 02/23] fmt --- Dockerfile | 6 ++++-- Makefile | 8 +++----- build.log | 0 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 build.log diff --git a/Dockerfile b/Dockerfile index fcc81a093..4187eed16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,11 @@ #### Setup image builder FROM rust:1.75.0-bullseye AS builder + # Install dependencies RUN apt-get update && apt-get -y upgrade RUN apt-get install -y gcc llvm clang bindgen pkg-config + # Setup workdir WORKDIR /app COPY . miden-node @@ -12,11 +14,11 @@ RUN cd miden-node && make ### Run Miden-Node FROM ubuntu:22.04 -RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev +RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node RUN chmod +x /start-miden-node.sh EXPOSE 57291 -CMD [ "/start-miden-node.sh" ] \ No newline at end of file +CMD [ "/start-miden-node.sh" ] diff --git a/Makefile b/Makefile index c420a97a2..1729790ca 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,8 @@ FEATURES=testing -install: - cargo install --features=${FEATURES} --path node --force --locked +install: + cargo install --features=${FEATURES} --path node -run: +run: miden-node make-genesis --inputs-path node/genesis.toml miden-node start --config node/miden-node.toml - -fmt: diff --git a/build.log b/build.log new file mode 100644 index 000000000..e69de29bb From 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Wed, 28 Feb 2024 16:20:00 -0700 Subject: [PATCH 03/23] added script --- .github/workflows/ci.yml | 1 + .github/workflows/docker.yml | 22 ++++++++++++++++++++++ .github/workflows/integration.yml | 26 ++++++++++++++++++++++++++ Dockerfile | 2 ++ scripts/run-integration-tests.sh | 2 ++ 5 files changed, 53 insertions(+) create mode 100644 .github/workflows/docker.yml create mode 100644 .github/workflows/integration.yml create mode 100644 scripts/run-integration-tests.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89ffaea71..a28c7243b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,5 @@ name: CI + on: push: branches: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 000000000..66347bf8a --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,22 @@ +# # Publish docker image to docker hub +# +# name: Docker +# +# on: +# push: +# branches: +# - main +# +# jobs: +# run-container: +# runs-on: ubuntu-latest +# +# steps: +# - uses: actions/checkout@v4 +# name: Checkout code +# +# - name: Build Docker Image +# run: docker build -t my-rust-app . +# +# - name: Run Tests +# run: docker run --name mytestcontainer my-rust-app cargo test diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 000000000..ef5ce5456 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,26 @@ +# Runs the integration tests + +name: Integration + +on: + push: + branches: + - main + +jobs: + run-container: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + name: Checkout code + + - name: Build Docker image + run: docker build -t miden-node . + + - name: Run Docker image + run: docker run --name miden-node -p 57291:57291 + + - name: Run integration tests + run: ./scripts/run-integration-tests.sh + diff --git a/Dockerfile b/Dockerfile index 4187eed16..da0860bec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,11 @@ RUN cd miden-node && make FROM ubuntu:22.04 RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh +COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node RUN chmod +x /start-miden-node.sh +RUN chmod +x /run-integration-tests.sh EXPOSE 57291 CMD [ "/start-miden-node.sh" ] diff --git a/scripts/run-integration-tests.sh b/scripts/run-integration-tests.sh new file mode 100644 index 000000000..2a43bb269 --- /dev/null +++ b/scripts/run-integration-tests.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo "hello world" From ac7ebe7c952199f24879a507e54be86bdbee8a53 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 29 Feb 2024 10:37:51 -0700 Subject: [PATCH 04/23] Removed docker script + updated integration --- .github/workflows/ci.yml | 2 + .github/workflows/docker.yml | 22 - .github/workflows/integration.yml | 14 +- Dockerfile | 7 +- log.txt | 743 ++++++++++++++++++++++++++++++ scripts/run-integration-tests.sh | 0 scripts/start-miden-node.sh | 0 7 files changed, 753 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/docker.yml create mode 100644 log.txt mode change 100644 => 100755 scripts/run-integration-tests.sh mode change 100644 => 100755 scripts/start-miden-node.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a28c7243b..7b1da113e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,5 @@ +# Runs the CI + name: CI on: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 66347bf8a..000000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,22 +0,0 @@ -# # Publish docker image to docker hub -# -# name: Docker -# -# on: -# push: -# branches: -# - main -# -# jobs: -# run-container: -# runs-on: ubuntu-latest -# -# steps: -# - uses: actions/checkout@v4 -# name: Checkout code -# -# - name: Build Docker Image -# run: docker build -t my-rust-app . -# -# - name: Run Tests -# run: docker run --name mytestcontainer my-rust-app cargo test diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ef5ce5456..06c5741ee 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,5 +1,3 @@ -# Runs the integration tests - name: Integration on: @@ -12,15 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - name: Checkout code + - name: Checkout code + uses: actions/checkout@v4 - name: Build Docker image - run: docker build -t miden-node . + run: docker build -t miden-node-image . - name: Run Docker image - run: docker run --name miden-node -p 57291:57291 - - - name: Run integration tests - run: ./scripts/run-integration-tests.sh + run: docker run -d -p 57291:57291 miden-node-image + # Add steps to interact with the service, e.g., running tests. diff --git a/Dockerfile b/Dockerfile index da0860bec..10bf7efe8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,10 +7,9 @@ FROM rust:1.75.0-bullseye AS builder RUN apt-get update && apt-get -y upgrade RUN apt-get install -y gcc llvm clang bindgen pkg-config -# Setup workdir -WORKDIR /app -COPY . miden-node -RUN cd miden-node && make +# Copy project +COPY . . +RUN make ### Run Miden-Node FROM ubuntu:22.04 diff --git a/log.txt b/log.txt new file mode 100644 index 000000000..7f7b1a23c --- /dev/null +++ b/log.txt @@ -0,0 +1,743 @@ +[Integration/run-container] [DEBUG] evaluating expression 'success()' +[Integration/run-container] [DEBUG] expression 'success()' evaluated to 'true' +[Integration/run-container] 🚀 Start image=catthehacker/ubuntu:act-latest +[Integration/run-container] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=true +[Integration/run-container] [DEBUG] 🐳 docker pull catthehacker/ubuntu:act-latest +[Integration/run-container] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' (linux/amd64) +[Integration/run-container] using DockerAuthConfig authentication for docker pull +[Integration/run-container] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest +[Integration/run-container] [DEBUG] Digest: sha256:478c2df2b8ca598b33b5f1ff6e9511f0c46b4b7081109535bf1b728b8ec5f4f8 :: +[Integration/run-container] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest :: +[Integration/run-container] [DEBUG] Removed container: 9025c5a3cd3ad011ee515c5eae3bde2637060383b54af00b2c4763e7830a4e94 +[Integration/run-container] [DEBUG] 🐳 docker volume rm act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861 +[Integration/run-container] [DEBUG] 🐳 docker volume rm act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861-env +[Integration/run-container] 🐳 docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" +[Integration/run-container] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck: ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/Users/phk/Developer/polygon/node Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout: Shell:[]} +[Integration/run-container] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness: OomKillDisable: PidsLimit: Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861 Target:/Users/phk/Developer/polygon/node ReadOnly:false Consistency: BindOptions: VolumeOptions: TmpfsOptions: ClusterOptions:} {Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions: VolumeOptions: TmpfsOptions: ClusterOptions:} {Type:volume Source:act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861-env Target:/var/run/act ReadOnly:false Consistency: BindOptions: VolumeOptions: TmpfsOptions: ClusterOptions:}] MaskedPaths:[] ReadonlyPaths:[] Init:} +[Integration/run-container] [DEBUG] input.NetworkAliases ==> [run-container] +[Integration/run-container] [DEBUG] Created container name=act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861 id=c3d8ee5c82e23ab6d2dec6b89d8234cd72420f1685f4228f7919577ab5f6188d from image catthehacker/ubuntu:act-latest (platform: linux/amd64) +[Integration/run-container] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] +[Integration/run-container] 🐳 docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" +[Integration/run-container] [DEBUG] Starting container: c3d8ee5c82e23ab6d2dec6b89d8234cd72420f1685f4228f7919577ab5f6188d +[Integration/run-container] [DEBUG] Started container: c3d8ee5c82e23ab6d2dec6b89d8234cd72420f1685f4228f7919577ab5f6188d +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/event.json len:2 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 +[Integration/run-container] [DEBUG] Extracting content to '/var/run/act/' +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Skipping local actions/checkout because workdir was already copied +[Integration/run-container] [DEBUG] skip pre step for 'Checkout code': no action model available +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Skipping local actions/checkout because workdir was already copied +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.29.8.94:61035/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:run-container GITHUB_REF:refs/heads/phklive-dockerize-node GITHUB_REF_NAME:phklive-dockerize-node GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:0xPolygonMiden/miden-node GITHUB_REPOSITORY_OWNER:0xPolygonMiden GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc GITHUB_WORKFLOW:Integration GITHUB_WORKSPACE:/Users/phk/Developer/polygon/node ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] evaluating expression '' +[Integration/run-container] [DEBUG] expression '' evaluated to 'true' +[Integration/run-container] ⭐ Run Main Checkout code +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 +[Integration/run-container] [DEBUG] Extracting content to '/var/run/act' +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] 🐳 docker cp src=/Users/phk/Developer/polygon/node/. dst=/Users/phk/Developer/polygon/node +[Integration/run-container] [DEBUG] Writing tarball /var/folders/jb/t5x4spcs1_v2fpjtzrzph7nm0000gn/T/act1496437197 from /Users/phk/Developer/polygon/node/. +[Integration/run-container] [DEBUG] Stripping prefix:/Users/phk/Developer/polygon/node/ src:/Users/phk/Developer/polygon/node/. +[Integration/run-container] [DEBUG] Extracting content from '/var/folders/jb/t5x4spcs1_v2fpjtzrzph7nm0000gn/T/act1496437197' to '/Users/phk/Developer/polygon/node' +[Integration/run-container] ✅ Success - Main Checkout code +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.29.8.94:61035/ CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:run-container GITHUB_REF:refs/heads/phklive-dockerize-node GITHUB_REF_NAME:phklive-dockerize-node GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:0xPolygonMiden/miden-node GITHUB_REPOSITORY_OWNER:0xPolygonMiden GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc GITHUB_WORKFLOW:Integration GITHUB_WORKSPACE:/Users/phk/Developer/polygon/node ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] evaluating expression '' +[Integration/run-container] [DEBUG] expression '' evaluated to 'true' +[Integration/run-container] ⭐ Run Main Build Docker image +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 +[Integration/run-container] [DEBUG] Extracting content to '/var/run/act' +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Wrote command + +docker build -t miden-node-image . + + to 'workflow/1' +[Integration/run-container] [DEBUG] Writing entry to tarball workflow/1 len:36 +[Integration/run-container] [DEBUG] Extracting content to '/var/run/act' +[Integration/run-container] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1] user= workdir= +[Integration/run-container] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1]' +[Integration/run-container] [DEBUG] Working directory '/Users/phk/Developer/polygon/node' +[Integration/run-container] | #0 building with "default" instance using docker driver +[Integration/run-container] | +[Integration/run-container] | #1 [internal] load build definition from Dockerfile +[Integration/run-container] | #1 transferring dockerfile: 927B 0.0s done +[Integration/run-container] | #1 DONE 0.0s +[Integration/run-container] | +[Integration/run-container] | #2 [internal] load metadata for docker.io/library/rust:1.75.0-bullseye +[Integration/run-container] | #2 ... +[Integration/run-container] | +[Integration/run-container] | #3 [internal] load metadata for docker.io/library/ubuntu:22.04 +[Integration/run-container] | #3 DONE 0.4s +[Integration/run-container] | +[Integration/run-container] | #2 [internal] load metadata for docker.io/library/rust:1.75.0-bullseye +[Integration/run-container] | #2 DONE 0.4s +[Integration/run-container] | +[Integration/run-container] | #4 [internal] load .dockerignore +[Integration/run-container] | #4 transferring context: 642B done +[Integration/run-container] | #4 DONE 0.0s +[Integration/run-container] | +[Integration/run-container] | #5 [stage-1 1/9] FROM docker.io/library/ubuntu:22.04@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da +[Integration/run-container] | #5 DONE 0.0s +[Integration/run-container] | +[Integration/run-container] | #6 [builder 1/5] FROM docker.io/library/rust:1.75.0-bullseye@sha256:2576095c947f6d9cfb5f19d51b822cdeb557c5a5b6de9460f2bf1f913d0434ca +[Integration/run-container] | #6 DONE 0.0s +[Integration/run-container] | +[Integration/run-container] | #7 [internal] load build context +[Integration/run-container] | #7 transferring context: 659.11kB 0.0s done +[Integration/run-container] | #7 DONE 0.0s +[Integration/run-container] | +[Integration/run-container] | #8 [builder 2/5] RUN apt-get update && apt-get -y upgrade +[Integration/run-container] | #8 CACHED +[Integration/run-container] | +[Integration/run-container] | #9 [builder 3/5] RUN apt-get install -y gcc llvm clang bindgen pkg-config +[Integration/run-container] | #9 CACHED +[Integration/run-container] | +[Integration/run-container] | #10 [builder 4/5] COPY . . +[Integration/run-container] | #10 DONE 0.4s +[Integration/run-container] | +[Integration/run-container] | #11 [builder 5/5] RUN make +[Integration/run-container] | #11 0.168 cargo install --features=testing --path node +[Integration/run-container] | #11 0.244 Installing miden-node v0.1.0 (/node) +[Integration/run-container] | #11 0.268 Updating crates.io index +[Integration/run-container] | #11 0.268 Updating git repository `https://github.com/0xPolygonMiden/miden-base` +[Integration/run-container] | #11 3.866 Downloading crates ... +[Integration/run-container] | #11 4.222 Downloaded addr2line v0.21.0 +[Integration/run-container] | #11 4.229 Downloaded winter-fri v0.8.1 +[Integration/run-container] | #11 4.233 Downloaded rand_chacha v0.3.1 +[Integration/run-container] | #11 4.238 Downloaded logos-derive v0.13.0 +[Integration/run-container] | #11 4.240 Downloaded logos v0.13.0 +[Integration/run-container] | #11 4.242 Downloaded winter-math v0.8.1 +[Integration/run-container] | #11 4.248 Downloaded is_ci v1.2.0 +[Integration/run-container] | #11 4.252 Downloaded num_cpus v1.16.0 +[Integration/run-container] | #11 4.257 Downloaded try-lock v0.2.5 +[Integration/run-container] | #11 4.259 Downloaded generic-array v0.14.7 +[Integration/run-container] | #11 4.282 Downloaded cexpr v0.6.0 +[Integration/run-container] | #11 4.293 Downloaded rand_core v0.6.4 +[Integration/run-container] | #11 4.304 Downloaded num_enum v0.7.2 +[Integration/run-container] | #11 4.312 Downloaded logos-codegen v0.13.0 +[Integration/run-container] | #11 4.316 Downloaded prost v0.12.3 +[Integration/run-container] | #11 4.319 Downloaded multimap v0.8.3 +[Integration/run-container] | #11 4.354 Downloaded lazycell v1.3.0 +[Integration/run-container] | #11 4.361 Downloaded colorchoice v1.0.0 +[Integration/run-container] | #11 4.392 Downloaded allocator-api2 v0.2.16 +[Integration/run-container] | #11 4.398 Downloaded tracing-core v0.1.32 +[Integration/run-container] | #11 4.410 Downloaded tower-service v0.3.2 +[Integration/run-container] | #11 4.432 Downloaded option-ext v0.2.0 +[Integration/run-container] | #11 4.456 Downloaded deadpool-runtime v0.1.3 +[Integration/run-container] | #11 4.512 Downloaded tower-layer v0.3.2 +[Integration/run-container] | #11 4.535 Downloaded async-stream-impl v0.3.5 +[Integration/run-container] | #11 4.550 Downloaded pear_codegen v0.2.8 +[Integration/run-container] | #11 4.561 Downloaded tracing-log v0.2.0 +[Integration/run-container] | #11 4.610 Downloaded heck v0.4.1 +[Integration/run-container] | #11 4.657 Downloaded miden-verifier v0.8.0 +[Integration/run-container] | #11 4.660 Downloaded supports-hyperlinks v3.0.0 +[Integration/run-container] | #11 4.663 Downloaded unicode-linebreak v0.1.5 +[Integration/run-container] | #11 4.667 Downloaded lazy_static v1.4.0 +[Integration/run-container] | #11 4.675 Downloaded want v0.3.1 +[Integration/run-container] | #11 4.679 Downloaded proc-macro-crate v3.1.0 +[Integration/run-container] | #11 4.681 Downloaded pear v0.2.8 +[Integration/run-container] | #11 4.693 Downloaded cfg-if v1.0.0 +[Integration/run-container] | #11 4.711 Downloaded deadpool-sqlite v0.7.0 +[Integration/run-container] | #11 4.729 Downloaded matchers v0.1.0 +[Integration/run-container] | #11 4.764 Downloaded proc-macro2-diagnostics v0.10.1 +[Integration/run-container] | #11 4.784 Downloaded libloading v0.8.1 +[Integration/run-container] | #11 4.792 Downloaded adler v1.0.2 +[Integration/run-container] | #11 4.801 Downloaded errno v0.3.8 +[Integration/run-container] | #11 4.804 Downloaded winter-verifier v0.8.1 +[Integration/run-container] | #11 4.806 Downloaded prost-derive v0.12.3 +[Integration/run-container] | #11 4.822 Downloaded dirs-sys v0.4.1 +[Integration/run-container] | #11 4.828 Downloaded futures-core v0.3.30 +[Integration/run-container] | #11 4.833 Downloaded version_check v0.9.4 +[Integration/run-container] | #11 4.840 Downloaded pin-utils v0.1.0 +[Integration/run-container] | #11 4.846 Downloaded httpdate v1.0.3 +[Integration/run-container] | #11 4.878 Downloaded smawk v0.3.2 +[Integration/run-container] | #11 4.883 Downloaded hyper-timeout v0.4.1 +[Integration/run-container] | #11 4.895 Downloaded equivalent v1.0.1 +[Integration/run-container] | #11 4.922 Downloaded anstyle v1.0.6 +[Integration/run-container] | #11 4.932 Downloaded hex v0.4.3 +[Integration/run-container] | #11 4.984 Downloaded async-trait v0.1.77 +[Integration/run-container] | #11 5.004 Downloaded fixedbitset v0.4.2 +[Integration/run-container] | #11 5.021 Downloaded uncased v0.9.10 +[Integration/run-container] | #11 5.031 Downloaded which v4.4.2 +[Integration/run-container] | #11 5.039 Downloaded strsim v0.11.0 +[Integration/run-container] | #11 5.041 Downloaded futures-sink v0.3.30 +[Integration/run-container] | #11 5.043 Downloaded supports-unicode v3.0.0 +[Integration/run-container] | #11 5.060 Downloaded httparse v1.8.0 +[Integration/run-container] | #11 5.076 Downloaded slab v0.4.9 +[Integration/run-container] | #11 5.077 Downloaded clap_derive v4.5.0 +[Integration/run-container] | #11 5.080 Downloaded yansi v1.0.0-rc.1 +[Integration/run-container] | #11 5.113 Downloaded deadpool-sync v0.1.2 +[Integration/run-container] | #11 5.115 Downloaded constant_time_eq v0.3.0 +[Integration/run-container] | #11 5.121 Downloaded rustversion v1.0.14 +[Integration/run-container] | #11 5.124 Downloaded tracing-serde v0.1.3 +[Integration/run-container] | #11 5.159 Downloaded sync_wrapper v0.1.2 +[Integration/run-container] | #11 5.171 Downloaded shlex v1.3.0 +[Integration/run-container] | #11 5.176 Downloaded autocfg v1.1.0 +[Integration/run-container] | #11 5.178 Downloaded async-stream v0.3.5 +[Integration/run-container] | #11 5.181 Downloaded crypto-common v0.1.6 +[Integration/run-container] | #11 5.196 Downloaded arrayref v0.3.7 +[Integration/run-container] | #11 5.197 Downloaded num_enum_derive v0.7.2 +[Integration/run-container] | #11 5.222 Downloaded pkg-config v0.3.30 +[Integration/run-container] | #11 5.225 Downloaded fallible-streaming-iterator v0.1.9 +[Integration/run-container] | #11 5.226 Downloaded home v0.5.9 +[Integration/run-container] | #11 5.227 Downloaded serde_spanned v0.6.5 +[Integration/run-container] | #11 5.234 Downloaded beef v0.5.2 +[Integration/run-container] | #11 5.236 Downloaded miden-prover v0.8.0 +[Integration/run-container] | #11 5.237 Downloaded tokio-macros v2.2.0 +[Integration/run-container] | #11 5.286 Downloaded bitflags v1.3.2 +[Integration/run-container] | #11 5.295 Downloaded deadpool v0.10.0 +[Integration/run-container] | #11 5.306 Downloaded anstream v0.6.13 +[Integration/run-container] | #11 5.322 Downloaded backtrace-ext v0.2.1 +[Integration/run-container] | #11 5.334 Downloaded either v1.10.0 +[Integration/run-container] | #11 5.337 Downloaded itoa v1.0.10 +[Integration/run-container] | #11 5.339 Downloaded fnv v1.0.7 +[Integration/run-container] | #11 5.341 Downloaded thread_local v1.1.8 +[Integration/run-container] | #11 5.343 Downloaded ppv-lite86 v0.2.17 +[Integration/run-container] | #11 5.345 Downloaded clap_lex v0.7.0 +[Integration/run-container] | #11 5.352 Downloaded thiserror-impl v1.0.57 +[Integration/run-container] | #11 5.360 Downloaded tokio-io-timeout v1.2.0 +[Integration/run-container] | #11 5.378 Downloaded directories v5.0.1 +[Integration/run-container] | #11 5.389 Downloaded miette-derive v7.1.0 +[Integration/run-container] | #11 5.391 Downloaded supports-color v3.0.0 +[Integration/run-container] | #11 5.393 Downloaded protox-parse v0.6.0 +[Integration/run-container] | #11 5.396 Downloaded futures-task v0.3.30 +[Integration/run-container] | #11 5.397 Downloaded percent-encoding v2.3.1 +[Integration/run-container] | #11 5.398 Downloaded block-buffer v0.10.4 +[Integration/run-container] | #11 5.416 Downloaded prost-build v0.12.3 +[Integration/run-container] | #11 5.420 Downloaded fastrand v2.0.1 +[Integration/run-container] | #11 5.488 Downloaded rustc-hash v1.1.0 +[Integration/run-container] | #11 5.490 Downloaded inlinable_string v0.1.15 +[Integration/run-container] | #11 5.492 Downloaded glob v0.3.1 +[Integration/run-container] | #11 5.494 Downloaded anstyle-query v1.0.2 +[Integration/run-container] | #11 5.498 Downloaded nu-ansi-term v0.46.0 +[Integration/run-container] | #11 5.506 Downloaded unicode-width v0.1.11 +[Integration/run-container] | #11 5.508 Downloaded clap v4.5.1 +[Integration/run-container] | #11 5.520 Downloaded terminal_size v0.3.0 +[Integration/run-container] | #11 5.521 Downloaded pin-project-internal v1.1.4 +[Integration/run-container] | #11 5.523 Downloaded proc-macro2 v1.0.78 +[Integration/run-container] | #11 5.527 Downloaded mime v0.3.17 +[Integration/run-container] | #11 5.528 Downloaded cpufeatures v0.2.12 +[Integration/run-container] | #11 5.530 Downloaded overload v0.1.1 +[Integration/run-container] | #11 5.531 Downloaded winter-utils v0.8.2 +[Integration/run-container] | #11 5.535 Downloaded miden-core v0.8.0 +[Integration/run-container] | #11 5.537 Downloaded tracing-attributes v0.1.27 +[Integration/run-container] | #11 5.590 Downloaded futures-channel v0.3.30 +[Integration/run-container] | #11 5.646 Downloaded keccak v0.1.5 +[Integration/run-container] | #11 5.654 Downloaded hashlink v0.8.4 +[Integration/run-container] | #11 5.664 Downloaded toml_datetime v0.6.5 +[Integration/run-container] | #11 5.684 Downloaded digest v0.10.7 +[Integration/run-container] | #11 5.701 Downloaded rustc-demangle v0.1.23 +[Integration/run-container] | #11 5.705 Downloaded owo-colors v4.0.0 +[Integration/run-container] | #11 5.736 Downloaded axum-core v0.3.4 +[Integration/run-container] | #11 5.739 Downloaded smallvec v1.13.1 +[Integration/run-container] | #11 5.742 Downloaded arrayvec v0.7.4 +[Integration/run-container] | #11 5.765 Downloaded rusqlite_migration v1.1.0 +[Integration/run-container] | #11 5.787 Downloaded fallible-iterator v0.3.0 +[Integration/run-container] | #11 5.788 Downloaded pin-project v1.1.4 +[Integration/run-container] | #11 5.800 Downloaded tonic-build v0.11.0 +[Integration/run-container] | #11 5.810 Downloaded thiserror v1.0.57 +[Integration/run-container] | #11 5.815 Downloaded anstyle-parse v0.2.3 +[Integration/run-container] | #11 5.839 Downloaded http-body v0.4.6 +[Integration/run-container] | #11 5.841 Downloaded matchit v0.7.3 +[Integration/run-container] | #11 5.857 Downloaded utf8parse v0.2.1 +[Integration/run-container] | #11 5.866 Downloaded getrandom v0.2.12 +[Integration/run-container] | #11 5.874 Downloaded pin-project-lite v0.2.13 +[Integration/run-container] | #11 5.885 Downloaded protox v0.6.0 +[Integration/run-container] | #11 5.910 Downloaded unicode-ident v1.0.12 +[Integration/run-container] | #11 5.913 Downloaded miden-air v0.8.0 +[Integration/run-container] | #11 5.918 Downloaded prost-types v0.12.3 +[Integration/run-container] | #11 5.975 Downloaded indexmap v1.9.3 +[Integration/run-container] | #11 5.984 Downloaded once_cell v1.19.0 +[Integration/run-container] | #11 6.005 Downloaded quote v1.0.35 +[Integration/run-container] | #11 6.031 Downloaded ryu v1.0.17 +[Integration/run-container] | #11 6.040 Downloaded ahash v0.8.10 +[Integration/run-container] | #11 6.050 Downloaded serde_derive v1.0.197 +[Integration/run-container] | #11 6.057 Downloaded tempfile v3.10.1 +[Integration/run-container] | #11 6.086 Downloaded bitflags v2.4.2 +[Integration/run-container] | #11 6.131 Downloaded anyhow v1.0.80 +[Integration/run-container] | #11 6.143 Downloaded log v0.4.21 +[Integration/run-container] | #11 6.168 Downloaded socket2 v0.5.6 +[Integration/run-container] | #11 6.178 Downloaded clang-sys v1.7.0 +[Integration/run-container] | #11 6.183 Downloaded typenum v1.17.0 +[Integration/run-container] | #11 6.205 Downloaded textwrap v0.16.1 +[Integration/run-container] | #11 6.212 Downloaded miniz_oxide v0.7.2 +[Integration/run-container] | #11 6.232 Downloaded winter-prover v0.8.1 +[Integration/run-container] | #11 6.240 Downloaded miden-vm v0.8.0 +[Integration/run-container] | #11 6.259 Downloaded tokio-stream v0.1.14 +[Integration/run-container] | #11 6.297 Downloaded toml v0.8.10 +[Integration/run-container] | #11 6.353 Downloaded cc v1.0.88 +[Integration/run-container] | #11 6.477 Downloaded winter-crypto v0.8.1 +[Integration/run-container] | #11 6.498 Downloaded sharded-slab v0.1.7 +[Integration/run-container] | #11 6.508 Downloaded figment v0.10.14 +[Integration/run-container] | #11 6.516 Downloaded prettyplease v0.2.16 +[Integration/run-container] | #11 6.660 Downloaded indexmap v2.2.3 +[Integration/run-container] | #11 6.705 Downloaded winter-air v0.8.1 +[Integration/run-container] | #11 6.713 Downloaded zerocopy v0.7.32 +[Integration/run-container] | #11 6.744 Downloaded tracing v0.1.40 +[Integration/run-container] | #11 6.750 Downloaded serde v1.0.197 +[Integration/run-container] | #11 6.755 Downloaded memchr v2.7.1 +[Integration/run-container] | #11 6.793 Downloaded base64 v0.21.7 +[Integration/run-container] | #11 6.831 Downloaded hashbrown v0.12.3 +[Integration/run-container] | #11 6.840 Downloaded prost-reflect v0.13.0 +[Integration/run-container] | #11 6.870 Downloaded bytes v1.5.0 +[Integration/run-container] | #11 6.914 Downloaded mio v0.8.10 +[Integration/run-container] | #11 6.924 Downloaded rand v0.8.5 +[Integration/run-container] | #11 6.961 Downloaded tonic v0.11.0 +[Integration/run-container] | #11 6.971 Downloaded toml_edit v0.22.6 +[Integration/run-container] | #11 6.999 Downloaded http v0.2.11 +[Integration/run-container] | #11 7.090 Downloaded miette v7.1.0 +[Integration/run-container] | #11 7.116 Downloaded tower v0.4.13 +[Integration/run-container] | #11 7.142 Downloaded toml_edit v0.21.1 +[Integration/run-container] | #11 7.170 Downloaded backtrace v0.3.69 +[Integration/run-container] | #11 7.190 Downloaded miden-assembly v0.8.0 +[Integration/run-container] | #11 7.196 Downloaded libm v0.2.8 +[Integration/run-container] | #11 7.204 Downloaded minimal-lexical v0.2.1 +[Integration/run-container] | #11 7.216 Downloaded winnow v0.6.3 +[Integration/run-container] | #11 7.227 Downloaded itertools v0.11.0 +[Integration/run-container] | #11 7.272 Downloaded regex-automata v0.1.10 +[Integration/run-container] | #11 7.329 Downloaded itertools v0.12.1 +[Integration/run-container] | #11 7.337 Downloaded nom v7.1.3 +[Integration/run-container] | #11 7.382 Downloaded tokio-util v0.7.10 +[Integration/run-container] | #11 7.390 Downloaded winnow v0.5.40 +[Integration/run-container] | #11 7.448 Downloaded axum v0.6.20 +[Integration/run-container] | #11 7.464 Downloaded hashbrown v0.14.3 +[Integration/run-container] | #11 7.546 Downloaded futures-util v0.3.30 +[Integration/run-container] | #11 7.566 Downloaded rusqlite v0.30.0 +[Integration/run-container] | #11 7.575 Downloaded miden-processor v0.8.0 +[Integration/run-container] | #11 7.601 Downloaded blake3 v1.5.0 +[Integration/run-container] | #11 7.650 Downloaded petgraph v0.6.4 +[Integration/run-container] | #11 7.666 Downloaded h2 v0.3.24 +[Integration/run-container] | #11 7.672 Downloaded serde_json v1.0.114 +[Integration/run-container] | #11 7.679 Downloaded clap_builder v4.5.1 +[Integration/run-container] | #11 7.729 Downloaded aho-corasick v1.1.2 +[Integration/run-container] | #11 7.776 Downloaded tracing-subscriber v0.3.18 +[Integration/run-container] | #11 7.795 Downloaded miden-stdlib v0.8.0 +[Integration/run-container] | #11 7.886 Downloaded hyper v0.14.28 +[Integration/run-container] | #11 7.914 Downloaded vcpkg v0.2.15 +[Integration/run-container] | #11 7.997 Downloaded bindgen v0.69.4 +[Integration/run-container] | #11 8.087 Downloaded regex v1.10.3 +[Integration/run-container] | #11 8.103 Downloaded object v0.32.2 +[Integration/run-container] | #11 8.135 Downloaded gimli v0.28.1 +[Integration/run-container] | #11 8.152 Downloaded syn v2.0.52 +[Integration/run-container] | #11 8.170 Downloaded regex-syntax v0.6.29 +[Integration/run-container] | #11 8.300 Downloaded regex-syntax v0.8.2 +[Integration/run-container] | #11 8.372 Downloaded rustix v0.38.31 +[Integration/run-container] | #11 8.876 Downloaded regex-automata v0.4.5 +[Integration/run-container] | #11 8.944 Downloaded tokio v1.36.0 +[Integration/run-container] | #11 8.989 Downloaded sha3 v0.10.8 +[Integration/run-container] | #11 9.078 Downloaded libc v0.2.153 +[Integration/run-container] | #11 9.782 Downloaded linux-raw-sys v0.4.13 +[Integration/run-container] | #11 11.30 Downloaded miden-crypto v0.8.1 +[Integration/run-container] | #11 11.58 Downloaded libsqlite3-sys v0.27.0 +[Integration/run-container] | #11 11.70 Compiling proc-macro2 v1.0.78 +[Integration/run-container] | #11 11.70 Compiling unicode-ident v1.0.12 +[Integration/run-container] | #11 11.70 Compiling libc v0.2.153 +[Integration/run-container] | #11 11.70 Compiling version_check v0.9.4 +[Integration/run-container] | #11 11.70 Compiling cfg-if v1.0.0 +[Integration/run-container] | #11 11.70 Compiling typenum v1.17.0 +[Integration/run-container] | #11 11.70 Compiling once_cell v1.19.0 +[Integration/run-container] | #11 11.71 Compiling glob v0.3.1 +[Integration/run-container] | #11 11.71 Compiling pin-project-lite v0.2.13 +[Integration/run-container] | #11 11.74 Compiling equivalent v1.0.1 +[Integration/run-container] | #11 11.75 Compiling hashbrown v0.14.3 +[Integration/run-container] | #11 11.76 Compiling either v1.10.0 +[Integration/run-container] | #11 11.78 Compiling bitflags v2.4.2 +[Integration/run-container] | #11 11.79 Compiling arrayvec v0.7.4 +[Integration/run-container] | #11 11.90 Compiling tracing-core v0.1.32 +[Integration/run-container] | #11 11.92 Compiling constant_time_eq v0.3.0 +[Integration/run-container] | #11 11.93 Compiling winter-utils v0.8.2 +[Integration/run-container] | #11 11.96 Compiling arrayref v0.3.7 +[Integration/run-container] | #11 11.98 Compiling bytes v1.5.0 +[Integration/run-container] | #11 11.98 Compiling memchr v2.7.1 +[Integration/run-container] | #11 11.99 Compiling generic-array v0.14.7 +[Integration/run-container] | #11 12.11 Compiling winter-math v0.8.1 +[Integration/run-container] | #11 12.16 Compiling ahash v0.8.10 +[Integration/run-container] | #11 12.35 Compiling indexmap v2.2.3 +[Integration/run-container] | #11 12.38 Compiling quote v1.0.35 +[Integration/run-container] | #11 12.51 Compiling anyhow v1.0.80 +[Integration/run-container] | #11 12.63 Compiling syn v2.0.52 +[Integration/run-container] | #11 12.64 Compiling cc v1.0.88 +[Integration/run-container] | #11 12.65 Compiling cpufeatures v0.2.12 +[Integration/run-container] | #11 12.66 Compiling toml_datetime v0.6.5 +[Integration/run-container] | #11 12.69 Compiling keccak v0.1.5 +[Integration/run-container] | #11 12.77 Compiling winnow v0.5.40 +[Integration/run-container] | #11 12.84 Compiling zerocopy v0.7.32 +[Integration/run-container] | #11 12.84 Compiling allocator-api2 v0.2.16 +[Integration/run-container] | #11 12.85 Compiling num_cpus v1.16.0 +[Integration/run-container] | #11 13.02 Compiling socket2 v0.5.6 +[Integration/run-container] | #11 13.04 Compiling mio v0.8.10 +[Integration/run-container] | #11 13.15 Compiling libm v0.2.8 +[Integration/run-container] | #11 13.23 Compiling block-buffer v0.10.4 +[Integration/run-container] | #11 13.27 Compiling crypto-common v0.1.6 +[Integration/run-container] | #11 13.33 Compiling digest v0.10.7 +[Integration/run-container] | #11 13.41 Compiling rustix v0.38.31 +[Integration/run-container] | #11 13.50 Compiling sha3 v0.10.8 +[Integration/run-container] | #11 13.66 Compiling serde v1.0.197 +[Integration/run-container] | #11 13.81 Compiling regex-syntax v0.8.2 +[Integration/run-container] | #11 13.85 Compiling blake3 v1.5.0 +[Integration/run-container] | #11 13.85 Compiling miden-crypto v0.8.1 +[Integration/run-container] | #11 13.99 Compiling itertools v0.11.0 +[Integration/run-container] | #11 14.06 Compiling autocfg v1.1.0 +[Integration/run-container] | #11 14.31 Compiling toml_edit v0.21.1 +[Integration/run-container] | #11 14.34 Compiling futures-core v0.3.30 +[Integration/run-container] | #11 14.34 Compiling linux-raw-sys v0.4.13 +[Integration/run-container] | #11 14.54 Compiling winter-crypto v0.8.1 +[Integration/run-container] | #11 14.94 Compiling regex-automata v0.4.5 +[Integration/run-container] | #11 14.99 Compiling winter-fri v0.8.1 +[Integration/run-container] | #11 15.23 Compiling winter-air v0.8.1 +[Integration/run-container] | #11 15.45 Compiling proc-macro-crate v3.1.0 +[Integration/run-container] | #11 15.79 Compiling itoa v1.0.10 +[Integration/run-container] | #11 16.09 Compiling thiserror v1.0.57 +[Integration/run-container] | #11 16.42 Compiling regex v1.10.3 +[Integration/run-container] | #11 16.59 Compiling backtrace v0.3.69 +[Integration/run-container] | #11 16.73 Compiling clang-sys v1.7.0 +[Integration/run-container] | #11 16.90 Compiling adler v1.0.2 +[Integration/run-container] | #11 16.97 Compiling gimli v0.28.1 +[Integration/run-container] | #11 16.98 Compiling rustversion v1.0.14 +[Integration/run-container] | #11 16.98 Compiling miniz_oxide v0.7.2 +[Integration/run-container] | #11 17.20 Compiling slab v0.4.9 +[Integration/run-container] | #11 17.20 Compiling object v0.32.2 +[Integration/run-container] | #11 17.22 Compiling regex-syntax v0.6.29 +[Integration/run-container] | #11 17.26 Compiling pin-utils v0.1.0 +[Integration/run-container] | #11 17.29 Compiling fnv v1.0.7 +[Integration/run-container] | #11 17.32 Compiling beef v0.5.2 +[Integration/run-container] | #11 17.32 Compiling rustc-demangle v0.1.23 +[Integration/run-container] | #11 17.33 Compiling minimal-lexical v0.2.1 +[Integration/run-container] | #11 17.40 Compiling futures-task v0.3.30 +[Integration/run-container] | #11 17.48 Compiling nom v7.1.3 +[Integration/run-container] | #11 17.52 Compiling futures-util v0.3.30 +[Integration/run-container] | #11 17.71 Compiling tracing-attributes v0.1.27 +[Integration/run-container] | #11 17.72 Compiling num_enum_derive v0.7.2 +[Integration/run-container] | #11 18.46 Compiling tokio-macros v2.2.0 +[Integration/run-container] | #11 19.03 Compiling serde_derive v1.0.197 +[Integration/run-container] | #11 19.07 Compiling prost-derive v0.12.3 +[Integration/run-container] | #11 19.17 Compiling num_enum v0.7.2 +[Integration/run-container] | #11 19.21 Compiling addr2line v0.21.0 +[Integration/run-container] | #11 19.30 Compiling tracing v0.1.40 +[Integration/run-container] | #11 19.37 Compiling tokio v1.36.0 +[Integration/run-container] | #11 19.42 Compiling winter-prover v0.8.1 +[Integration/run-container] | #11 19.43 Compiling thiserror-impl v1.0.57 +[Integration/run-container] | #11 19.62 Compiling logos-codegen v0.13.0 +[Integration/run-container] | #11 19.62 Compiling http v0.2.11 +[Integration/run-container] | #11 20.59 Compiling libloading v0.8.1 +[Integration/run-container] | #11 20.69 Compiling bindgen v0.69.4 +[Integration/run-container] | #11 20.77 Compiling prost v0.12.3 +[Integration/run-container] | #11 20.82 Compiling unicode-linebreak v0.1.5 +[Integration/run-container] | #11 20.84 Compiling is_ci v1.2.0 +[Integration/run-container] | #11 20.90 Compiling miden-core v0.8.0 +[Integration/run-container] | #11 20.99 Compiling smawk v0.3.2 +[Integration/run-container] | #11 21.02 Compiling prost-types v0.12.3 +[Integration/run-container] | #11 21.06 Compiling unicode-width v0.1.11 +[Integration/run-container] | #11 21.11 Compiling futures-sink v0.3.30 +[Integration/run-container] | #11 21.11 Compiling async-trait v0.1.77 +[Integration/run-container] | #11 21.14 Compiling logos-derive v0.13.0 +[Integration/run-container] | #11 21.15 Compiling textwrap v0.16.1 +[Integration/run-container] | #11 21.29 Compiling miden-air v0.8.0 +[Integration/run-container] | #11 21.56 Compiling miden-assembly v0.8.0 +[Integration/run-container] | #11 21.70 Compiling supports-color v3.0.0 +[Integration/run-container] | #11 21.78 Compiling backtrace-ext v0.2.1 +[Integration/run-container] | #11 21.85 Compiling miden-processor v0.8.0 +[Integration/run-container] | #11 22.19 Compiling cexpr v0.6.0 +[Integration/run-container] | #11 22.93 Compiling tokio-util v0.7.10 +[Integration/run-container] | #11 24.22 Compiling miette-derive v7.1.0 +[Integration/run-container] | #11 24.23 Compiling terminal_size v0.3.0 +[Integration/run-container] | #11 24.28 Compiling winter-verifier v0.8.1 +[Integration/run-container] | #11 24.56 Compiling getrandom v0.2.12 +[Integration/run-container] | #11 24.57 Compiling proc-macro2-diagnostics v0.10.1 +[Integration/run-container] | #11 24.71 Compiling itertools v0.12.1 +[Integration/run-container] | #11 24.74 Compiling lazycell v1.3.0 +[Integration/run-container] | #11 24.79 Compiling tower-service v0.3.2 +[Integration/run-container] | #11 24.81 Compiling shlex v1.3.0 +[Integration/run-container] | #11 24.94 Compiling lazy_static v1.4.0 +[Integration/run-container] | #11 25.15 Compiling heck v0.4.1 +[Integration/run-container] | #11 25.35 Compiling prettyplease v0.2.16 +[Integration/run-container] | #11 25.54 Compiling httparse v1.8.0 +[Integration/run-container] | #11 25.71 Compiling rustc-hash v1.1.0 +[Integration/run-container] | #11 25.75 Compiling supports-hyperlinks v3.0.0 +[Integration/run-container] | #11 25.76 Compiling supports-unicode v3.0.0 +[Integration/run-container] | #11 25.81 Compiling owo-colors v4.0.0 +[Integration/run-container] | #11 25.88 Compiling rand_core v0.6.4 +[Integration/run-container] | #11 25.91 Compiling miden-verifier v0.8.0 +[Integration/run-container] | #11 26.06 Compiling logos v0.13.0 +[Integration/run-container] | #11 26.67 Compiling miette v7.1.0 +[Integration/run-container] | #11 26.70 Compiling http-body v0.4.6 +[Integration/run-container] | #11 26.87 Compiling indexmap v1.9.3 +[Integration/run-container] | #11 27.01 Compiling fixedbitset v0.4.2 +[Integration/run-container] | #11 27.02 Compiling vcpkg v0.2.15 +[Integration/run-container] | #11 27.17 Compiling ppv-lite86 v0.2.17 +[Integration/run-container] | #11 27.34 Compiling yansi v1.0.0-rc.1 +[Integration/run-container] | #11 27.37 Compiling fastrand v2.0.1 +[Integration/run-container] | #11 27.55 Compiling try-lock v0.2.5 +[Integration/run-container] | #11 27.59 Compiling home v0.5.9 +[Integration/run-container] | #11 27.60 Compiling smallvec v1.13.1 +[Integration/run-container] | #11 27.66 Compiling pkg-config v0.3.30 +[Integration/run-container] | #11 27.76 Compiling which v4.4.2 +[Integration/run-container] | #11 27.77 Compiling want v0.3.1 +[Integration/run-container] | #11 27.89 Compiling tempfile v3.10.1 +[Integration/run-container] | #11 27.96 Compiling rand_chacha v0.3.1 +[Integration/run-container] | #11 28.08 Compiling petgraph v0.6.4 +[Integration/run-container] | #11 28.13 Compiling miden-stdlib v0.8.0 +[Integration/run-container] | #11 28.86 Compiling serde_spanned v0.6.5 +[Integration/run-container] | #11 28.94 Compiling h2 v0.3.24 +[Integration/run-container] | #11 29.09 Compiling axum-core v0.3.4 +[Integration/run-container] | #11 29.14 Compiling pin-project-internal v1.1.4 +[Integration/run-container] | #11 29.18 Compiling futures-channel v0.3.30 +[Integration/run-container] | #11 29.20 Compiling uncased v0.9.10 +[Integration/run-container] | #11 29.34 Compiling hashbrown v0.12.3 +[Integration/run-container] | #11 29.35 Compiling winnow v0.6.3 +[Integration/run-container] | #11 29.82 Compiling httpdate v1.0.3 +[Integration/run-container] | #11 30.13 Compiling multimap v0.8.3 +[Integration/run-container] | #11 30.23 Compiling tower-layer v0.3.2 +[Integration/run-container] | #11 30.40 Compiling serde_json v1.0.114 +[Integration/run-container] | #11 30.41 Compiling log v0.4.21 +[Integration/run-container] | #11 30.65 Compiling prost-build v0.12.3 +[Integration/run-container] | #11 31.39 Compiling hyper v0.14.28 +[Integration/run-container] | #11 31.40 Compiling toml_edit v0.22.6 +[Integration/run-container] | #11 31.89 Compiling libsqlite3-sys v0.27.0 +[Integration/run-container] | #11 34.74 Compiling regex-automata v0.1.10 +[Integration/run-container] | #11 35.20 Compiling pin-project v1.1.4 +[Integration/run-container] | #11 35.69 Compiling pear_codegen v0.2.8 +[Integration/run-container] | #11 36.52 Compiling rand v0.8.5 +[Integration/run-container] | #11 36.54 Compiling prost-reflect v0.13.0 +[Integration/run-container] | #11 37.50 Compiling protox-parse v0.6.0 +[Integration/run-container] | #11 37.92 Compiling miden-objects v0.1.0 (https://github.com/0xPolygonMiden/miden-base?branch=main#a08c8c1d) +[Integration/run-container] | #11 38.25 Compiling axum v0.6.20 +[Integration/run-container] | #11 38.29 Compiling figment v0.10.14 +[Integration/run-container] | #11 38.40 Compiling utf8parse v0.2.1 +[Integration/run-container] | #11 38.44 Compiling inlinable_string v0.1.15 +[Integration/run-container] | #11 38.66 Compiling ryu v1.0.17 +[Integration/run-container] | #11 38.73 Compiling mime v0.3.17 +[Integration/run-container] | #11 38.84 Compiling overload v0.1.1 +[Integration/run-container] | #11 38.86 Compiling nu-ansi-term v0.46.0 +[Integration/run-container] | #11 39.14 Compiling pear v0.2.8 +[Integration/run-container] | #11 39.45 Compiling anstyle-parse v0.2.3 +[Integration/run-container] | #11 39.50 Compiling sharded-slab v0.1.7 +[Integration/run-container] | #11 39.60 Compiling protox v0.6.0 +[Integration/run-container] | #11 40.13 Compiling tower v0.4.13 +[Integration/run-container] | #11 40.36 Compiling matchers v0.1.0 +[Integration/run-container] | #11 40.62 Compiling toml v0.8.10 +[Integration/run-container] | #11 41.04 Compiling tonic-build v0.11.0 +[Integration/run-container] | #11 41.76 Compiling tracing-log v0.2.0 +[Integration/run-container] | #11 41.77 Compiling miden-lib v0.1.0 (https://github.com/0xPolygonMiden/miden-base?branch=main#a08c8c1d) +[Integration/run-container] | #11 42.05 Compiling tracing-serde v0.1.3 +[Integration/run-container] | #11 42.11 Compiling tokio-io-timeout v1.2.0 +[Integration/run-container] | #11 42.14 Compiling deadpool-runtime v0.1.3 +[Integration/run-container] | #11 42.15 Compiling async-stream-impl v0.3.5 +[Integration/run-container] | #11 42.19 Compiling hashlink v0.8.4 +[Integration/run-container] | #11 42.24 Compiling thread_local v1.1.8 +[Integration/run-container] | #11 42.37 Compiling percent-encoding v2.3.1 +[Integration/run-container] | #11 42.46 Compiling matchit v0.7.3 +[Integration/run-container] | #11 42.56 Compiling fallible-iterator v0.3.0 +[Integration/run-container] | #11 42.60 Compiling fallible-streaming-iterator v0.1.9 +[Integration/run-container] | #11 42.65 Compiling anstyle v1.0.6 +[Integration/run-container] | #11 42.70 Compiling bitflags v1.3.2 +[Integration/run-container] | #11 42.74 Compiling anstyle-query v1.0.2 +[Integration/run-container] | #11 42.79 Compiling sync_wrapper v0.1.2 +[Integration/run-container] | #11 42.83 Compiling colorchoice v1.0.0 +[Integration/run-container] | #11 42.87 Compiling anstream v0.6.13 +[Integration/run-container] | #11 42.87 Compiling rusqlite v0.30.0 +[Integration/run-container] | #11 42.89 Compiling async-stream v0.3.5 +[Integration/run-container] | #11 43.01 Compiling tracing-subscriber v0.3.18 +[Integration/run-container] | #11 43.69 Compiling hyper-timeout v0.4.1 +[Integration/run-container] | #11 43.79 Compiling miden-node-proto v0.1.0 (/proto) +[Integration/run-container] | #11 44.08 Compiling tokio-stream v0.1.14 +[Integration/run-container] | #11 44.56 Compiling option-ext v0.2.0 +[Integration/run-container] | #11 44.59 Compiling strsim v0.11.0 +[Integration/run-container] | #11 44.90 Compiling clap_lex v0.7.0 +[Integration/run-container] | #11 45.18 Compiling base64 v0.21.7 +[Integration/run-container] | #11 45.59 Compiling rusqlite_migration v1.1.0 +[Integration/run-container] | #11 45.74 Compiling clap_builder v4.5.1 +[Integration/run-container] | #11 45.78 Compiling miden-node-utils v0.1.0 (/utils) +[Integration/run-container] | #11 45.79 Compiling dirs-sys v0.4.1 +[Integration/run-container] | #11 46.41 Compiling deadpool v0.10.0 +[Integration/run-container] | #11 46.56 Compiling deadpool-sync v0.1.2 +[Integration/run-container] | #11 46.64 Compiling clap_derive v4.5.0 +[Integration/run-container] | #11 47.75 Compiling tonic v0.11.0 +[Integration/run-container] | #11 49.07 Compiling miden-prover v0.8.0 +[Integration/run-container] | #11 49.19 Compiling hex v0.4.3 +[Integration/run-container] | #11 49.42 Compiling clap v4.5.1 +[Integration/run-container] | #11 49.45 Compiling deadpool-sqlite v0.7.0 +[Integration/run-container] | #11 49.49 Compiling directories v5.0.1 +[Integration/run-container] | #11 50.68 Compiling miden-node-store v0.1.0 (/store) +[Integration/run-container] | #11 51.10 Compiling miden-vm v0.8.0 +[Integration/run-container] | #11 51.14 Compiling miden-tx v0.1.0 (https://github.com/0xPolygonMiden/miden-base?branch=main#a08c8c1d) +[Integration/run-container] | #11 52.10 Compiling miden-node-block-producer v0.1.0 (/block-producer) +[Integration/run-container] | #11 54.28 Compiling miden-node-rpc v0.1.0 (/rpc) +[Integration/run-container] | #11 60.20 Compiling miden-node v0.1.0 (/node) +[Integration/run-container] | #11 70.05 Finished release [optimized] target(s) in 1m 09s +[Integration/run-container] | #11 70.15 Installing /usr/local/cargo/bin/miden-node +[Integration/run-container] | #11 70.15 Installed package `miden-node v0.1.0 (/node)` (executable `miden-node`) +[Integration/run-container] | #11 DONE 70.4s +[Integration/run-container] | +[Integration/run-container] | #12 [stage-1 2/9] RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev +[Integration/run-container] | #12 CACHED +[Integration/run-container] | +[Integration/run-container] | #13 [stage-1 5/9] COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml +[Integration/run-container] | #13 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount1885727292/app/miden-node/node: lstat /var/lib/docker/tmp/buildkit-mount1885727292/app/miden-node/node: no such file or directory +[Integration/run-container] | +[Integration/run-container] | #14 [stage-1 3/9] COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh +[Integration/run-container] | #14 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount2268240150/app/miden-node/scripts: lstat /var/lib/docker/tmp/buildkit-mount2268240150/app/miden-node/scripts: no such file or directory +[Integration/run-container] | +[Integration/run-container] | #15 [stage-1 6/9] COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml +[Integration/run-container] | #15 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: lstat /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: no such file or directory +[Integration/run-container] | +[Integration/run-container] | #16 [stage-1 4/9] COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh +[Integration/run-container] | #16 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount37655179/app/miden-node/scripts: lstat /var/lib/docker/tmp/buildkit-mount37655179/app/miden-node/scripts: no such file or directory +[Integration/run-container] | ------ +[Integration/run-container] | > [stage-1 3/9] COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh: +[Integration/run-container] | ------ +[Integration/run-container] | ------ +[Integration/run-container] | > [stage-1 4/9] COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh: +[Integration/run-container] | ------ +[Integration/run-container] | ------ +[Integration/run-container] | > [stage-1 5/9] COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml: +[Integration/run-container] | ------ +[Integration/run-container] | ------ +[Integration/run-container] | > [stage-1 6/9] COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml: +[Integration/run-container] | ------ +[Integration/run-container] | Dockerfile:20 +[Integration/run-container] | -------------------- +[Integration/run-container] | 18 | COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh +[Integration/run-container] | 19 | COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml +[Integration/run-container] | 20 | >>> COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml +[Integration/run-container] | 21 | COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node +[Integration/run-container] | 22 | RUN chmod +x /start-miden-node.sh +[Integration/run-container] | -------------------- +[Integration/run-container] | ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: lstat /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: no such file or directory +[Integration/run-container] ❌ Failure - Main Build Docker image +[Integration/run-container] exitcode '1': failure +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.29.8.94:61035/ CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:run-container GITHUB_REF:refs/heads/phklive-dockerize-node GITHUB_REF_NAME:phklive-dockerize-node GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:0xPolygonMiden/miden-node GITHUB_REPOSITORY_OWNER:0xPolygonMiden GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc GITHUB_WORKFLOW:Integration GITHUB_WORKSPACE:/Users/phk/Developer/polygon/node ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] evaluating expression '' +[Integration/run-container] [DEBUG] expression '' evaluated to 'false' +[Integration/run-container] [DEBUG] Skipping step 'Run Docker image' due to '' +[Integration/run-container] [DEBUG] skipping post step for 'Checkout code': no action model available +[Integration/run-container] 🏁 Job failed +[Integration/run-container] [DEBUG] Loading revision from git directory +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc +[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' +[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node +[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc diff --git a/scripts/run-integration-tests.sh b/scripts/run-integration-tests.sh old mode 100644 new mode 100755 diff --git a/scripts/start-miden-node.sh b/scripts/start-miden-node.sh old mode 100644 new mode 100755 From 2d011811a66505da9d3c68f0c890f1883bf8b725 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 29 Feb 2024 17:44:26 -0700 Subject: [PATCH 05/23] script works --- .github/workflows/integration.yml | 5 +- Dockerfile | 7 +- build.log | 0 log.txt | 743 ------------------------------ node/miden-node.toml | 2 +- 5 files changed, 8 insertions(+), 749 deletions(-) delete mode 100644 build.log delete mode 100644 log.txt diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 06c5741ee..4dac6718e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -17,6 +17,7 @@ jobs: run: docker build -t miden-node-image . - name: Run Docker image - run: docker run -d -p 57291:57291 miden-node-image + run: docker run -d --name miden-node -p 57291:57291 miden-node-image - # Add steps to interact with the service, e.g., running tests. + - name: Run Integration tests + run: ./scripts/run-integration-tests.sh diff --git a/Dockerfile b/Dockerfile index 10bf7efe8..da0860bec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,10 @@ FROM rust:1.75.0-bullseye AS builder RUN apt-get update && apt-get -y upgrade RUN apt-get install -y gcc llvm clang bindgen pkg-config -# Copy project -COPY . . -RUN make +# Setup workdir +WORKDIR /app +COPY . miden-node +RUN cd miden-node && make ### Run Miden-Node FROM ubuntu:22.04 diff --git a/build.log b/build.log deleted file mode 100644 index e69de29bb..000000000 diff --git a/log.txt b/log.txt deleted file mode 100644 index 7f7b1a23c..000000000 --- a/log.txt +++ /dev/null @@ -1,743 +0,0 @@ -[Integration/run-container] [DEBUG] evaluating expression 'success()' -[Integration/run-container] [DEBUG] expression 'success()' evaluated to 'true' -[Integration/run-container] 🚀 Start image=catthehacker/ubuntu:act-latest -[Integration/run-container] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=true -[Integration/run-container] [DEBUG] 🐳 docker pull catthehacker/ubuntu:act-latest -[Integration/run-container] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' (linux/amd64) -[Integration/run-container] using DockerAuthConfig authentication for docker pull -[Integration/run-container] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest -[Integration/run-container] [DEBUG] Digest: sha256:478c2df2b8ca598b33b5f1ff6e9511f0c46b4b7081109535bf1b728b8ec5f4f8 :: -[Integration/run-container] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest :: -[Integration/run-container] [DEBUG] Removed container: 9025c5a3cd3ad011ee515c5eae3bde2637060383b54af00b2c4763e7830a4e94 -[Integration/run-container] [DEBUG] 🐳 docker volume rm act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861 -[Integration/run-container] [DEBUG] 🐳 docker volume rm act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861-env -[Integration/run-container] 🐳 docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" -[Integration/run-container] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck: ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/Users/phk/Developer/polygon/node Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout: Shell:[]} -[Integration/run-container] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness: OomKillDisable: PidsLimit: Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861 Target:/Users/phk/Developer/polygon/node ReadOnly:false Consistency: BindOptions: VolumeOptions: TmpfsOptions: ClusterOptions:} {Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions: VolumeOptions: TmpfsOptions: ClusterOptions:} {Type:volume Source:act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861-env Target:/var/run/act ReadOnly:false Consistency: BindOptions: VolumeOptions: TmpfsOptions: ClusterOptions:}] MaskedPaths:[] ReadonlyPaths:[] Init:} -[Integration/run-container] [DEBUG] input.NetworkAliases ==> [run-container] -[Integration/run-container] [DEBUG] Created container name=act-Integration-run-container-43f8e2bf20f80b9a6a5615306ad2417ca705fe75076dc2cff276ddffabf51861 id=c3d8ee5c82e23ab6d2dec6b89d8234cd72420f1685f4228f7919577ab5f6188d from image catthehacker/ubuntu:act-latest (platform: linux/amd64) -[Integration/run-container] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] -[Integration/run-container] 🐳 docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" -[Integration/run-container] [DEBUG] Starting container: c3d8ee5c82e23ab6d2dec6b89d8234cd72420f1685f4228f7919577ab5f6188d -[Integration/run-container] [DEBUG] Started container: c3d8ee5c82e23ab6d2dec6b89d8234cd72420f1685f4228f7919577ab5f6188d -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/event.json len:2 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 -[Integration/run-container] [DEBUG] Extracting content to '/var/run/act/' -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Skipping local actions/checkout because workdir was already copied -[Integration/run-container] [DEBUG] skip pre step for 'Checkout code': no action model available -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Skipping local actions/checkout because workdir was already copied -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.29.8.94:61035/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:run-container GITHUB_REF:refs/heads/phklive-dockerize-node GITHUB_REF_NAME:phklive-dockerize-node GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:0xPolygonMiden/miden-node GITHUB_REPOSITORY_OWNER:0xPolygonMiden GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc GITHUB_WORKFLOW:Integration GITHUB_WORKSPACE:/Users/phk/Developer/polygon/node ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] evaluating expression '' -[Integration/run-container] [DEBUG] expression '' evaluated to 'true' -[Integration/run-container] ⭐ Run Main Checkout code -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 -[Integration/run-container] [DEBUG] Extracting content to '/var/run/act' -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] 🐳 docker cp src=/Users/phk/Developer/polygon/node/. dst=/Users/phk/Developer/polygon/node -[Integration/run-container] [DEBUG] Writing tarball /var/folders/jb/t5x4spcs1_v2fpjtzrzph7nm0000gn/T/act1496437197 from /Users/phk/Developer/polygon/node/. -[Integration/run-container] [DEBUG] Stripping prefix:/Users/phk/Developer/polygon/node/ src:/Users/phk/Developer/polygon/node/. -[Integration/run-container] [DEBUG] Extracting content from '/var/folders/jb/t5x4spcs1_v2fpjtzrzph7nm0000gn/T/act1496437197' to '/Users/phk/Developer/polygon/node' -[Integration/run-container] ✅ Success - Main Checkout code -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.29.8.94:61035/ CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:run-container GITHUB_REF:refs/heads/phklive-dockerize-node GITHUB_REF_NAME:phklive-dockerize-node GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:0xPolygonMiden/miden-node GITHUB_REPOSITORY_OWNER:0xPolygonMiden GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc GITHUB_WORKFLOW:Integration GITHUB_WORKSPACE:/Users/phk/Developer/polygon/node ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] evaluating expression '' -[Integration/run-container] [DEBUG] expression '' evaluated to 'true' -[Integration/run-container] ⭐ Run Main Build Docker image -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 -[Integration/run-container] [DEBUG] Extracting content to '/var/run/act' -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Wrote command - -docker build -t miden-node-image . - - to 'workflow/1' -[Integration/run-container] [DEBUG] Writing entry to tarball workflow/1 len:36 -[Integration/run-container] [DEBUG] Extracting content to '/var/run/act' -[Integration/run-container] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1] user= workdir= -[Integration/run-container] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1]' -[Integration/run-container] [DEBUG] Working directory '/Users/phk/Developer/polygon/node' -[Integration/run-container] | #0 building with "default" instance using docker driver -[Integration/run-container] | -[Integration/run-container] | #1 [internal] load build definition from Dockerfile -[Integration/run-container] | #1 transferring dockerfile: 927B 0.0s done -[Integration/run-container] | #1 DONE 0.0s -[Integration/run-container] | -[Integration/run-container] | #2 [internal] load metadata for docker.io/library/rust:1.75.0-bullseye -[Integration/run-container] | #2 ... -[Integration/run-container] | -[Integration/run-container] | #3 [internal] load metadata for docker.io/library/ubuntu:22.04 -[Integration/run-container] | #3 DONE 0.4s -[Integration/run-container] | -[Integration/run-container] | #2 [internal] load metadata for docker.io/library/rust:1.75.0-bullseye -[Integration/run-container] | #2 DONE 0.4s -[Integration/run-container] | -[Integration/run-container] | #4 [internal] load .dockerignore -[Integration/run-container] | #4 transferring context: 642B done -[Integration/run-container] | #4 DONE 0.0s -[Integration/run-container] | -[Integration/run-container] | #5 [stage-1 1/9] FROM docker.io/library/ubuntu:22.04@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da -[Integration/run-container] | #5 DONE 0.0s -[Integration/run-container] | -[Integration/run-container] | #6 [builder 1/5] FROM docker.io/library/rust:1.75.0-bullseye@sha256:2576095c947f6d9cfb5f19d51b822cdeb557c5a5b6de9460f2bf1f913d0434ca -[Integration/run-container] | #6 DONE 0.0s -[Integration/run-container] | -[Integration/run-container] | #7 [internal] load build context -[Integration/run-container] | #7 transferring context: 659.11kB 0.0s done -[Integration/run-container] | #7 DONE 0.0s -[Integration/run-container] | -[Integration/run-container] | #8 [builder 2/5] RUN apt-get update && apt-get -y upgrade -[Integration/run-container] | #8 CACHED -[Integration/run-container] | -[Integration/run-container] | #9 [builder 3/5] RUN apt-get install -y gcc llvm clang bindgen pkg-config -[Integration/run-container] | #9 CACHED -[Integration/run-container] | -[Integration/run-container] | #10 [builder 4/5] COPY . . -[Integration/run-container] | #10 DONE 0.4s -[Integration/run-container] | -[Integration/run-container] | #11 [builder 5/5] RUN make -[Integration/run-container] | #11 0.168 cargo install --features=testing --path node -[Integration/run-container] | #11 0.244 Installing miden-node v0.1.0 (/node) -[Integration/run-container] | #11 0.268 Updating crates.io index -[Integration/run-container] | #11 0.268 Updating git repository `https://github.com/0xPolygonMiden/miden-base` -[Integration/run-container] | #11 3.866 Downloading crates ... -[Integration/run-container] | #11 4.222 Downloaded addr2line v0.21.0 -[Integration/run-container] | #11 4.229 Downloaded winter-fri v0.8.1 -[Integration/run-container] | #11 4.233 Downloaded rand_chacha v0.3.1 -[Integration/run-container] | #11 4.238 Downloaded logos-derive v0.13.0 -[Integration/run-container] | #11 4.240 Downloaded logos v0.13.0 -[Integration/run-container] | #11 4.242 Downloaded winter-math v0.8.1 -[Integration/run-container] | #11 4.248 Downloaded is_ci v1.2.0 -[Integration/run-container] | #11 4.252 Downloaded num_cpus v1.16.0 -[Integration/run-container] | #11 4.257 Downloaded try-lock v0.2.5 -[Integration/run-container] | #11 4.259 Downloaded generic-array v0.14.7 -[Integration/run-container] | #11 4.282 Downloaded cexpr v0.6.0 -[Integration/run-container] | #11 4.293 Downloaded rand_core v0.6.4 -[Integration/run-container] | #11 4.304 Downloaded num_enum v0.7.2 -[Integration/run-container] | #11 4.312 Downloaded logos-codegen v0.13.0 -[Integration/run-container] | #11 4.316 Downloaded prost v0.12.3 -[Integration/run-container] | #11 4.319 Downloaded multimap v0.8.3 -[Integration/run-container] | #11 4.354 Downloaded lazycell v1.3.0 -[Integration/run-container] | #11 4.361 Downloaded colorchoice v1.0.0 -[Integration/run-container] | #11 4.392 Downloaded allocator-api2 v0.2.16 -[Integration/run-container] | #11 4.398 Downloaded tracing-core v0.1.32 -[Integration/run-container] | #11 4.410 Downloaded tower-service v0.3.2 -[Integration/run-container] | #11 4.432 Downloaded option-ext v0.2.0 -[Integration/run-container] | #11 4.456 Downloaded deadpool-runtime v0.1.3 -[Integration/run-container] | #11 4.512 Downloaded tower-layer v0.3.2 -[Integration/run-container] | #11 4.535 Downloaded async-stream-impl v0.3.5 -[Integration/run-container] | #11 4.550 Downloaded pear_codegen v0.2.8 -[Integration/run-container] | #11 4.561 Downloaded tracing-log v0.2.0 -[Integration/run-container] | #11 4.610 Downloaded heck v0.4.1 -[Integration/run-container] | #11 4.657 Downloaded miden-verifier v0.8.0 -[Integration/run-container] | #11 4.660 Downloaded supports-hyperlinks v3.0.0 -[Integration/run-container] | #11 4.663 Downloaded unicode-linebreak v0.1.5 -[Integration/run-container] | #11 4.667 Downloaded lazy_static v1.4.0 -[Integration/run-container] | #11 4.675 Downloaded want v0.3.1 -[Integration/run-container] | #11 4.679 Downloaded proc-macro-crate v3.1.0 -[Integration/run-container] | #11 4.681 Downloaded pear v0.2.8 -[Integration/run-container] | #11 4.693 Downloaded cfg-if v1.0.0 -[Integration/run-container] | #11 4.711 Downloaded deadpool-sqlite v0.7.0 -[Integration/run-container] | #11 4.729 Downloaded matchers v0.1.0 -[Integration/run-container] | #11 4.764 Downloaded proc-macro2-diagnostics v0.10.1 -[Integration/run-container] | #11 4.784 Downloaded libloading v0.8.1 -[Integration/run-container] | #11 4.792 Downloaded adler v1.0.2 -[Integration/run-container] | #11 4.801 Downloaded errno v0.3.8 -[Integration/run-container] | #11 4.804 Downloaded winter-verifier v0.8.1 -[Integration/run-container] | #11 4.806 Downloaded prost-derive v0.12.3 -[Integration/run-container] | #11 4.822 Downloaded dirs-sys v0.4.1 -[Integration/run-container] | #11 4.828 Downloaded futures-core v0.3.30 -[Integration/run-container] | #11 4.833 Downloaded version_check v0.9.4 -[Integration/run-container] | #11 4.840 Downloaded pin-utils v0.1.0 -[Integration/run-container] | #11 4.846 Downloaded httpdate v1.0.3 -[Integration/run-container] | #11 4.878 Downloaded smawk v0.3.2 -[Integration/run-container] | #11 4.883 Downloaded hyper-timeout v0.4.1 -[Integration/run-container] | #11 4.895 Downloaded equivalent v1.0.1 -[Integration/run-container] | #11 4.922 Downloaded anstyle v1.0.6 -[Integration/run-container] | #11 4.932 Downloaded hex v0.4.3 -[Integration/run-container] | #11 4.984 Downloaded async-trait v0.1.77 -[Integration/run-container] | #11 5.004 Downloaded fixedbitset v0.4.2 -[Integration/run-container] | #11 5.021 Downloaded uncased v0.9.10 -[Integration/run-container] | #11 5.031 Downloaded which v4.4.2 -[Integration/run-container] | #11 5.039 Downloaded strsim v0.11.0 -[Integration/run-container] | #11 5.041 Downloaded futures-sink v0.3.30 -[Integration/run-container] | #11 5.043 Downloaded supports-unicode v3.0.0 -[Integration/run-container] | #11 5.060 Downloaded httparse v1.8.0 -[Integration/run-container] | #11 5.076 Downloaded slab v0.4.9 -[Integration/run-container] | #11 5.077 Downloaded clap_derive v4.5.0 -[Integration/run-container] | #11 5.080 Downloaded yansi v1.0.0-rc.1 -[Integration/run-container] | #11 5.113 Downloaded deadpool-sync v0.1.2 -[Integration/run-container] | #11 5.115 Downloaded constant_time_eq v0.3.0 -[Integration/run-container] | #11 5.121 Downloaded rustversion v1.0.14 -[Integration/run-container] | #11 5.124 Downloaded tracing-serde v0.1.3 -[Integration/run-container] | #11 5.159 Downloaded sync_wrapper v0.1.2 -[Integration/run-container] | #11 5.171 Downloaded shlex v1.3.0 -[Integration/run-container] | #11 5.176 Downloaded autocfg v1.1.0 -[Integration/run-container] | #11 5.178 Downloaded async-stream v0.3.5 -[Integration/run-container] | #11 5.181 Downloaded crypto-common v0.1.6 -[Integration/run-container] | #11 5.196 Downloaded arrayref v0.3.7 -[Integration/run-container] | #11 5.197 Downloaded num_enum_derive v0.7.2 -[Integration/run-container] | #11 5.222 Downloaded pkg-config v0.3.30 -[Integration/run-container] | #11 5.225 Downloaded fallible-streaming-iterator v0.1.9 -[Integration/run-container] | #11 5.226 Downloaded home v0.5.9 -[Integration/run-container] | #11 5.227 Downloaded serde_spanned v0.6.5 -[Integration/run-container] | #11 5.234 Downloaded beef v0.5.2 -[Integration/run-container] | #11 5.236 Downloaded miden-prover v0.8.0 -[Integration/run-container] | #11 5.237 Downloaded tokio-macros v2.2.0 -[Integration/run-container] | #11 5.286 Downloaded bitflags v1.3.2 -[Integration/run-container] | #11 5.295 Downloaded deadpool v0.10.0 -[Integration/run-container] | #11 5.306 Downloaded anstream v0.6.13 -[Integration/run-container] | #11 5.322 Downloaded backtrace-ext v0.2.1 -[Integration/run-container] | #11 5.334 Downloaded either v1.10.0 -[Integration/run-container] | #11 5.337 Downloaded itoa v1.0.10 -[Integration/run-container] | #11 5.339 Downloaded fnv v1.0.7 -[Integration/run-container] | #11 5.341 Downloaded thread_local v1.1.8 -[Integration/run-container] | #11 5.343 Downloaded ppv-lite86 v0.2.17 -[Integration/run-container] | #11 5.345 Downloaded clap_lex v0.7.0 -[Integration/run-container] | #11 5.352 Downloaded thiserror-impl v1.0.57 -[Integration/run-container] | #11 5.360 Downloaded tokio-io-timeout v1.2.0 -[Integration/run-container] | #11 5.378 Downloaded directories v5.0.1 -[Integration/run-container] | #11 5.389 Downloaded miette-derive v7.1.0 -[Integration/run-container] | #11 5.391 Downloaded supports-color v3.0.0 -[Integration/run-container] | #11 5.393 Downloaded protox-parse v0.6.0 -[Integration/run-container] | #11 5.396 Downloaded futures-task v0.3.30 -[Integration/run-container] | #11 5.397 Downloaded percent-encoding v2.3.1 -[Integration/run-container] | #11 5.398 Downloaded block-buffer v0.10.4 -[Integration/run-container] | #11 5.416 Downloaded prost-build v0.12.3 -[Integration/run-container] | #11 5.420 Downloaded fastrand v2.0.1 -[Integration/run-container] | #11 5.488 Downloaded rustc-hash v1.1.0 -[Integration/run-container] | #11 5.490 Downloaded inlinable_string v0.1.15 -[Integration/run-container] | #11 5.492 Downloaded glob v0.3.1 -[Integration/run-container] | #11 5.494 Downloaded anstyle-query v1.0.2 -[Integration/run-container] | #11 5.498 Downloaded nu-ansi-term v0.46.0 -[Integration/run-container] | #11 5.506 Downloaded unicode-width v0.1.11 -[Integration/run-container] | #11 5.508 Downloaded clap v4.5.1 -[Integration/run-container] | #11 5.520 Downloaded terminal_size v0.3.0 -[Integration/run-container] | #11 5.521 Downloaded pin-project-internal v1.1.4 -[Integration/run-container] | #11 5.523 Downloaded proc-macro2 v1.0.78 -[Integration/run-container] | #11 5.527 Downloaded mime v0.3.17 -[Integration/run-container] | #11 5.528 Downloaded cpufeatures v0.2.12 -[Integration/run-container] | #11 5.530 Downloaded overload v0.1.1 -[Integration/run-container] | #11 5.531 Downloaded winter-utils v0.8.2 -[Integration/run-container] | #11 5.535 Downloaded miden-core v0.8.0 -[Integration/run-container] | #11 5.537 Downloaded tracing-attributes v0.1.27 -[Integration/run-container] | #11 5.590 Downloaded futures-channel v0.3.30 -[Integration/run-container] | #11 5.646 Downloaded keccak v0.1.5 -[Integration/run-container] | #11 5.654 Downloaded hashlink v0.8.4 -[Integration/run-container] | #11 5.664 Downloaded toml_datetime v0.6.5 -[Integration/run-container] | #11 5.684 Downloaded digest v0.10.7 -[Integration/run-container] | #11 5.701 Downloaded rustc-demangle v0.1.23 -[Integration/run-container] | #11 5.705 Downloaded owo-colors v4.0.0 -[Integration/run-container] | #11 5.736 Downloaded axum-core v0.3.4 -[Integration/run-container] | #11 5.739 Downloaded smallvec v1.13.1 -[Integration/run-container] | #11 5.742 Downloaded arrayvec v0.7.4 -[Integration/run-container] | #11 5.765 Downloaded rusqlite_migration v1.1.0 -[Integration/run-container] | #11 5.787 Downloaded fallible-iterator v0.3.0 -[Integration/run-container] | #11 5.788 Downloaded pin-project v1.1.4 -[Integration/run-container] | #11 5.800 Downloaded tonic-build v0.11.0 -[Integration/run-container] | #11 5.810 Downloaded thiserror v1.0.57 -[Integration/run-container] | #11 5.815 Downloaded anstyle-parse v0.2.3 -[Integration/run-container] | #11 5.839 Downloaded http-body v0.4.6 -[Integration/run-container] | #11 5.841 Downloaded matchit v0.7.3 -[Integration/run-container] | #11 5.857 Downloaded utf8parse v0.2.1 -[Integration/run-container] | #11 5.866 Downloaded getrandom v0.2.12 -[Integration/run-container] | #11 5.874 Downloaded pin-project-lite v0.2.13 -[Integration/run-container] | #11 5.885 Downloaded protox v0.6.0 -[Integration/run-container] | #11 5.910 Downloaded unicode-ident v1.0.12 -[Integration/run-container] | #11 5.913 Downloaded miden-air v0.8.0 -[Integration/run-container] | #11 5.918 Downloaded prost-types v0.12.3 -[Integration/run-container] | #11 5.975 Downloaded indexmap v1.9.3 -[Integration/run-container] | #11 5.984 Downloaded once_cell v1.19.0 -[Integration/run-container] | #11 6.005 Downloaded quote v1.0.35 -[Integration/run-container] | #11 6.031 Downloaded ryu v1.0.17 -[Integration/run-container] | #11 6.040 Downloaded ahash v0.8.10 -[Integration/run-container] | #11 6.050 Downloaded serde_derive v1.0.197 -[Integration/run-container] | #11 6.057 Downloaded tempfile v3.10.1 -[Integration/run-container] | #11 6.086 Downloaded bitflags v2.4.2 -[Integration/run-container] | #11 6.131 Downloaded anyhow v1.0.80 -[Integration/run-container] | #11 6.143 Downloaded log v0.4.21 -[Integration/run-container] | #11 6.168 Downloaded socket2 v0.5.6 -[Integration/run-container] | #11 6.178 Downloaded clang-sys v1.7.0 -[Integration/run-container] | #11 6.183 Downloaded typenum v1.17.0 -[Integration/run-container] | #11 6.205 Downloaded textwrap v0.16.1 -[Integration/run-container] | #11 6.212 Downloaded miniz_oxide v0.7.2 -[Integration/run-container] | #11 6.232 Downloaded winter-prover v0.8.1 -[Integration/run-container] | #11 6.240 Downloaded miden-vm v0.8.0 -[Integration/run-container] | #11 6.259 Downloaded tokio-stream v0.1.14 -[Integration/run-container] | #11 6.297 Downloaded toml v0.8.10 -[Integration/run-container] | #11 6.353 Downloaded cc v1.0.88 -[Integration/run-container] | #11 6.477 Downloaded winter-crypto v0.8.1 -[Integration/run-container] | #11 6.498 Downloaded sharded-slab v0.1.7 -[Integration/run-container] | #11 6.508 Downloaded figment v0.10.14 -[Integration/run-container] | #11 6.516 Downloaded prettyplease v0.2.16 -[Integration/run-container] | #11 6.660 Downloaded indexmap v2.2.3 -[Integration/run-container] | #11 6.705 Downloaded winter-air v0.8.1 -[Integration/run-container] | #11 6.713 Downloaded zerocopy v0.7.32 -[Integration/run-container] | #11 6.744 Downloaded tracing v0.1.40 -[Integration/run-container] | #11 6.750 Downloaded serde v1.0.197 -[Integration/run-container] | #11 6.755 Downloaded memchr v2.7.1 -[Integration/run-container] | #11 6.793 Downloaded base64 v0.21.7 -[Integration/run-container] | #11 6.831 Downloaded hashbrown v0.12.3 -[Integration/run-container] | #11 6.840 Downloaded prost-reflect v0.13.0 -[Integration/run-container] | #11 6.870 Downloaded bytes v1.5.0 -[Integration/run-container] | #11 6.914 Downloaded mio v0.8.10 -[Integration/run-container] | #11 6.924 Downloaded rand v0.8.5 -[Integration/run-container] | #11 6.961 Downloaded tonic v0.11.0 -[Integration/run-container] | #11 6.971 Downloaded toml_edit v0.22.6 -[Integration/run-container] | #11 6.999 Downloaded http v0.2.11 -[Integration/run-container] | #11 7.090 Downloaded miette v7.1.0 -[Integration/run-container] | #11 7.116 Downloaded tower v0.4.13 -[Integration/run-container] | #11 7.142 Downloaded toml_edit v0.21.1 -[Integration/run-container] | #11 7.170 Downloaded backtrace v0.3.69 -[Integration/run-container] | #11 7.190 Downloaded miden-assembly v0.8.0 -[Integration/run-container] | #11 7.196 Downloaded libm v0.2.8 -[Integration/run-container] | #11 7.204 Downloaded minimal-lexical v0.2.1 -[Integration/run-container] | #11 7.216 Downloaded winnow v0.6.3 -[Integration/run-container] | #11 7.227 Downloaded itertools v0.11.0 -[Integration/run-container] | #11 7.272 Downloaded regex-automata v0.1.10 -[Integration/run-container] | #11 7.329 Downloaded itertools v0.12.1 -[Integration/run-container] | #11 7.337 Downloaded nom v7.1.3 -[Integration/run-container] | #11 7.382 Downloaded tokio-util v0.7.10 -[Integration/run-container] | #11 7.390 Downloaded winnow v0.5.40 -[Integration/run-container] | #11 7.448 Downloaded axum v0.6.20 -[Integration/run-container] | #11 7.464 Downloaded hashbrown v0.14.3 -[Integration/run-container] | #11 7.546 Downloaded futures-util v0.3.30 -[Integration/run-container] | #11 7.566 Downloaded rusqlite v0.30.0 -[Integration/run-container] | #11 7.575 Downloaded miden-processor v0.8.0 -[Integration/run-container] | #11 7.601 Downloaded blake3 v1.5.0 -[Integration/run-container] | #11 7.650 Downloaded petgraph v0.6.4 -[Integration/run-container] | #11 7.666 Downloaded h2 v0.3.24 -[Integration/run-container] | #11 7.672 Downloaded serde_json v1.0.114 -[Integration/run-container] | #11 7.679 Downloaded clap_builder v4.5.1 -[Integration/run-container] | #11 7.729 Downloaded aho-corasick v1.1.2 -[Integration/run-container] | #11 7.776 Downloaded tracing-subscriber v0.3.18 -[Integration/run-container] | #11 7.795 Downloaded miden-stdlib v0.8.0 -[Integration/run-container] | #11 7.886 Downloaded hyper v0.14.28 -[Integration/run-container] | #11 7.914 Downloaded vcpkg v0.2.15 -[Integration/run-container] | #11 7.997 Downloaded bindgen v0.69.4 -[Integration/run-container] | #11 8.087 Downloaded regex v1.10.3 -[Integration/run-container] | #11 8.103 Downloaded object v0.32.2 -[Integration/run-container] | #11 8.135 Downloaded gimli v0.28.1 -[Integration/run-container] | #11 8.152 Downloaded syn v2.0.52 -[Integration/run-container] | #11 8.170 Downloaded regex-syntax v0.6.29 -[Integration/run-container] | #11 8.300 Downloaded regex-syntax v0.8.2 -[Integration/run-container] | #11 8.372 Downloaded rustix v0.38.31 -[Integration/run-container] | #11 8.876 Downloaded regex-automata v0.4.5 -[Integration/run-container] | #11 8.944 Downloaded tokio v1.36.0 -[Integration/run-container] | #11 8.989 Downloaded sha3 v0.10.8 -[Integration/run-container] | #11 9.078 Downloaded libc v0.2.153 -[Integration/run-container] | #11 9.782 Downloaded linux-raw-sys v0.4.13 -[Integration/run-container] | #11 11.30 Downloaded miden-crypto v0.8.1 -[Integration/run-container] | #11 11.58 Downloaded libsqlite3-sys v0.27.0 -[Integration/run-container] | #11 11.70 Compiling proc-macro2 v1.0.78 -[Integration/run-container] | #11 11.70 Compiling unicode-ident v1.0.12 -[Integration/run-container] | #11 11.70 Compiling libc v0.2.153 -[Integration/run-container] | #11 11.70 Compiling version_check v0.9.4 -[Integration/run-container] | #11 11.70 Compiling cfg-if v1.0.0 -[Integration/run-container] | #11 11.70 Compiling typenum v1.17.0 -[Integration/run-container] | #11 11.70 Compiling once_cell v1.19.0 -[Integration/run-container] | #11 11.71 Compiling glob v0.3.1 -[Integration/run-container] | #11 11.71 Compiling pin-project-lite v0.2.13 -[Integration/run-container] | #11 11.74 Compiling equivalent v1.0.1 -[Integration/run-container] | #11 11.75 Compiling hashbrown v0.14.3 -[Integration/run-container] | #11 11.76 Compiling either v1.10.0 -[Integration/run-container] | #11 11.78 Compiling bitflags v2.4.2 -[Integration/run-container] | #11 11.79 Compiling arrayvec v0.7.4 -[Integration/run-container] | #11 11.90 Compiling tracing-core v0.1.32 -[Integration/run-container] | #11 11.92 Compiling constant_time_eq v0.3.0 -[Integration/run-container] | #11 11.93 Compiling winter-utils v0.8.2 -[Integration/run-container] | #11 11.96 Compiling arrayref v0.3.7 -[Integration/run-container] | #11 11.98 Compiling bytes v1.5.0 -[Integration/run-container] | #11 11.98 Compiling memchr v2.7.1 -[Integration/run-container] | #11 11.99 Compiling generic-array v0.14.7 -[Integration/run-container] | #11 12.11 Compiling winter-math v0.8.1 -[Integration/run-container] | #11 12.16 Compiling ahash v0.8.10 -[Integration/run-container] | #11 12.35 Compiling indexmap v2.2.3 -[Integration/run-container] | #11 12.38 Compiling quote v1.0.35 -[Integration/run-container] | #11 12.51 Compiling anyhow v1.0.80 -[Integration/run-container] | #11 12.63 Compiling syn v2.0.52 -[Integration/run-container] | #11 12.64 Compiling cc v1.0.88 -[Integration/run-container] | #11 12.65 Compiling cpufeatures v0.2.12 -[Integration/run-container] | #11 12.66 Compiling toml_datetime v0.6.5 -[Integration/run-container] | #11 12.69 Compiling keccak v0.1.5 -[Integration/run-container] | #11 12.77 Compiling winnow v0.5.40 -[Integration/run-container] | #11 12.84 Compiling zerocopy v0.7.32 -[Integration/run-container] | #11 12.84 Compiling allocator-api2 v0.2.16 -[Integration/run-container] | #11 12.85 Compiling num_cpus v1.16.0 -[Integration/run-container] | #11 13.02 Compiling socket2 v0.5.6 -[Integration/run-container] | #11 13.04 Compiling mio v0.8.10 -[Integration/run-container] | #11 13.15 Compiling libm v0.2.8 -[Integration/run-container] | #11 13.23 Compiling block-buffer v0.10.4 -[Integration/run-container] | #11 13.27 Compiling crypto-common v0.1.6 -[Integration/run-container] | #11 13.33 Compiling digest v0.10.7 -[Integration/run-container] | #11 13.41 Compiling rustix v0.38.31 -[Integration/run-container] | #11 13.50 Compiling sha3 v0.10.8 -[Integration/run-container] | #11 13.66 Compiling serde v1.0.197 -[Integration/run-container] | #11 13.81 Compiling regex-syntax v0.8.2 -[Integration/run-container] | #11 13.85 Compiling blake3 v1.5.0 -[Integration/run-container] | #11 13.85 Compiling miden-crypto v0.8.1 -[Integration/run-container] | #11 13.99 Compiling itertools v0.11.0 -[Integration/run-container] | #11 14.06 Compiling autocfg v1.1.0 -[Integration/run-container] | #11 14.31 Compiling toml_edit v0.21.1 -[Integration/run-container] | #11 14.34 Compiling futures-core v0.3.30 -[Integration/run-container] | #11 14.34 Compiling linux-raw-sys v0.4.13 -[Integration/run-container] | #11 14.54 Compiling winter-crypto v0.8.1 -[Integration/run-container] | #11 14.94 Compiling regex-automata v0.4.5 -[Integration/run-container] | #11 14.99 Compiling winter-fri v0.8.1 -[Integration/run-container] | #11 15.23 Compiling winter-air v0.8.1 -[Integration/run-container] | #11 15.45 Compiling proc-macro-crate v3.1.0 -[Integration/run-container] | #11 15.79 Compiling itoa v1.0.10 -[Integration/run-container] | #11 16.09 Compiling thiserror v1.0.57 -[Integration/run-container] | #11 16.42 Compiling regex v1.10.3 -[Integration/run-container] | #11 16.59 Compiling backtrace v0.3.69 -[Integration/run-container] | #11 16.73 Compiling clang-sys v1.7.0 -[Integration/run-container] | #11 16.90 Compiling adler v1.0.2 -[Integration/run-container] | #11 16.97 Compiling gimli v0.28.1 -[Integration/run-container] | #11 16.98 Compiling rustversion v1.0.14 -[Integration/run-container] | #11 16.98 Compiling miniz_oxide v0.7.2 -[Integration/run-container] | #11 17.20 Compiling slab v0.4.9 -[Integration/run-container] | #11 17.20 Compiling object v0.32.2 -[Integration/run-container] | #11 17.22 Compiling regex-syntax v0.6.29 -[Integration/run-container] | #11 17.26 Compiling pin-utils v0.1.0 -[Integration/run-container] | #11 17.29 Compiling fnv v1.0.7 -[Integration/run-container] | #11 17.32 Compiling beef v0.5.2 -[Integration/run-container] | #11 17.32 Compiling rustc-demangle v0.1.23 -[Integration/run-container] | #11 17.33 Compiling minimal-lexical v0.2.1 -[Integration/run-container] | #11 17.40 Compiling futures-task v0.3.30 -[Integration/run-container] | #11 17.48 Compiling nom v7.1.3 -[Integration/run-container] | #11 17.52 Compiling futures-util v0.3.30 -[Integration/run-container] | #11 17.71 Compiling tracing-attributes v0.1.27 -[Integration/run-container] | #11 17.72 Compiling num_enum_derive v0.7.2 -[Integration/run-container] | #11 18.46 Compiling tokio-macros v2.2.0 -[Integration/run-container] | #11 19.03 Compiling serde_derive v1.0.197 -[Integration/run-container] | #11 19.07 Compiling prost-derive v0.12.3 -[Integration/run-container] | #11 19.17 Compiling num_enum v0.7.2 -[Integration/run-container] | #11 19.21 Compiling addr2line v0.21.0 -[Integration/run-container] | #11 19.30 Compiling tracing v0.1.40 -[Integration/run-container] | #11 19.37 Compiling tokio v1.36.0 -[Integration/run-container] | #11 19.42 Compiling winter-prover v0.8.1 -[Integration/run-container] | #11 19.43 Compiling thiserror-impl v1.0.57 -[Integration/run-container] | #11 19.62 Compiling logos-codegen v0.13.0 -[Integration/run-container] | #11 19.62 Compiling http v0.2.11 -[Integration/run-container] | #11 20.59 Compiling libloading v0.8.1 -[Integration/run-container] | #11 20.69 Compiling bindgen v0.69.4 -[Integration/run-container] | #11 20.77 Compiling prost v0.12.3 -[Integration/run-container] | #11 20.82 Compiling unicode-linebreak v0.1.5 -[Integration/run-container] | #11 20.84 Compiling is_ci v1.2.0 -[Integration/run-container] | #11 20.90 Compiling miden-core v0.8.0 -[Integration/run-container] | #11 20.99 Compiling smawk v0.3.2 -[Integration/run-container] | #11 21.02 Compiling prost-types v0.12.3 -[Integration/run-container] | #11 21.06 Compiling unicode-width v0.1.11 -[Integration/run-container] | #11 21.11 Compiling futures-sink v0.3.30 -[Integration/run-container] | #11 21.11 Compiling async-trait v0.1.77 -[Integration/run-container] | #11 21.14 Compiling logos-derive v0.13.0 -[Integration/run-container] | #11 21.15 Compiling textwrap v0.16.1 -[Integration/run-container] | #11 21.29 Compiling miden-air v0.8.0 -[Integration/run-container] | #11 21.56 Compiling miden-assembly v0.8.0 -[Integration/run-container] | #11 21.70 Compiling supports-color v3.0.0 -[Integration/run-container] | #11 21.78 Compiling backtrace-ext v0.2.1 -[Integration/run-container] | #11 21.85 Compiling miden-processor v0.8.0 -[Integration/run-container] | #11 22.19 Compiling cexpr v0.6.0 -[Integration/run-container] | #11 22.93 Compiling tokio-util v0.7.10 -[Integration/run-container] | #11 24.22 Compiling miette-derive v7.1.0 -[Integration/run-container] | #11 24.23 Compiling terminal_size v0.3.0 -[Integration/run-container] | #11 24.28 Compiling winter-verifier v0.8.1 -[Integration/run-container] | #11 24.56 Compiling getrandom v0.2.12 -[Integration/run-container] | #11 24.57 Compiling proc-macro2-diagnostics v0.10.1 -[Integration/run-container] | #11 24.71 Compiling itertools v0.12.1 -[Integration/run-container] | #11 24.74 Compiling lazycell v1.3.0 -[Integration/run-container] | #11 24.79 Compiling tower-service v0.3.2 -[Integration/run-container] | #11 24.81 Compiling shlex v1.3.0 -[Integration/run-container] | #11 24.94 Compiling lazy_static v1.4.0 -[Integration/run-container] | #11 25.15 Compiling heck v0.4.1 -[Integration/run-container] | #11 25.35 Compiling prettyplease v0.2.16 -[Integration/run-container] | #11 25.54 Compiling httparse v1.8.0 -[Integration/run-container] | #11 25.71 Compiling rustc-hash v1.1.0 -[Integration/run-container] | #11 25.75 Compiling supports-hyperlinks v3.0.0 -[Integration/run-container] | #11 25.76 Compiling supports-unicode v3.0.0 -[Integration/run-container] | #11 25.81 Compiling owo-colors v4.0.0 -[Integration/run-container] | #11 25.88 Compiling rand_core v0.6.4 -[Integration/run-container] | #11 25.91 Compiling miden-verifier v0.8.0 -[Integration/run-container] | #11 26.06 Compiling logos v0.13.0 -[Integration/run-container] | #11 26.67 Compiling miette v7.1.0 -[Integration/run-container] | #11 26.70 Compiling http-body v0.4.6 -[Integration/run-container] | #11 26.87 Compiling indexmap v1.9.3 -[Integration/run-container] | #11 27.01 Compiling fixedbitset v0.4.2 -[Integration/run-container] | #11 27.02 Compiling vcpkg v0.2.15 -[Integration/run-container] | #11 27.17 Compiling ppv-lite86 v0.2.17 -[Integration/run-container] | #11 27.34 Compiling yansi v1.0.0-rc.1 -[Integration/run-container] | #11 27.37 Compiling fastrand v2.0.1 -[Integration/run-container] | #11 27.55 Compiling try-lock v0.2.5 -[Integration/run-container] | #11 27.59 Compiling home v0.5.9 -[Integration/run-container] | #11 27.60 Compiling smallvec v1.13.1 -[Integration/run-container] | #11 27.66 Compiling pkg-config v0.3.30 -[Integration/run-container] | #11 27.76 Compiling which v4.4.2 -[Integration/run-container] | #11 27.77 Compiling want v0.3.1 -[Integration/run-container] | #11 27.89 Compiling tempfile v3.10.1 -[Integration/run-container] | #11 27.96 Compiling rand_chacha v0.3.1 -[Integration/run-container] | #11 28.08 Compiling petgraph v0.6.4 -[Integration/run-container] | #11 28.13 Compiling miden-stdlib v0.8.0 -[Integration/run-container] | #11 28.86 Compiling serde_spanned v0.6.5 -[Integration/run-container] | #11 28.94 Compiling h2 v0.3.24 -[Integration/run-container] | #11 29.09 Compiling axum-core v0.3.4 -[Integration/run-container] | #11 29.14 Compiling pin-project-internal v1.1.4 -[Integration/run-container] | #11 29.18 Compiling futures-channel v0.3.30 -[Integration/run-container] | #11 29.20 Compiling uncased v0.9.10 -[Integration/run-container] | #11 29.34 Compiling hashbrown v0.12.3 -[Integration/run-container] | #11 29.35 Compiling winnow v0.6.3 -[Integration/run-container] | #11 29.82 Compiling httpdate v1.0.3 -[Integration/run-container] | #11 30.13 Compiling multimap v0.8.3 -[Integration/run-container] | #11 30.23 Compiling tower-layer v0.3.2 -[Integration/run-container] | #11 30.40 Compiling serde_json v1.0.114 -[Integration/run-container] | #11 30.41 Compiling log v0.4.21 -[Integration/run-container] | #11 30.65 Compiling prost-build v0.12.3 -[Integration/run-container] | #11 31.39 Compiling hyper v0.14.28 -[Integration/run-container] | #11 31.40 Compiling toml_edit v0.22.6 -[Integration/run-container] | #11 31.89 Compiling libsqlite3-sys v0.27.0 -[Integration/run-container] | #11 34.74 Compiling regex-automata v0.1.10 -[Integration/run-container] | #11 35.20 Compiling pin-project v1.1.4 -[Integration/run-container] | #11 35.69 Compiling pear_codegen v0.2.8 -[Integration/run-container] | #11 36.52 Compiling rand v0.8.5 -[Integration/run-container] | #11 36.54 Compiling prost-reflect v0.13.0 -[Integration/run-container] | #11 37.50 Compiling protox-parse v0.6.0 -[Integration/run-container] | #11 37.92 Compiling miden-objects v0.1.0 (https://github.com/0xPolygonMiden/miden-base?branch=main#a08c8c1d) -[Integration/run-container] | #11 38.25 Compiling axum v0.6.20 -[Integration/run-container] | #11 38.29 Compiling figment v0.10.14 -[Integration/run-container] | #11 38.40 Compiling utf8parse v0.2.1 -[Integration/run-container] | #11 38.44 Compiling inlinable_string v0.1.15 -[Integration/run-container] | #11 38.66 Compiling ryu v1.0.17 -[Integration/run-container] | #11 38.73 Compiling mime v0.3.17 -[Integration/run-container] | #11 38.84 Compiling overload v0.1.1 -[Integration/run-container] | #11 38.86 Compiling nu-ansi-term v0.46.0 -[Integration/run-container] | #11 39.14 Compiling pear v0.2.8 -[Integration/run-container] | #11 39.45 Compiling anstyle-parse v0.2.3 -[Integration/run-container] | #11 39.50 Compiling sharded-slab v0.1.7 -[Integration/run-container] | #11 39.60 Compiling protox v0.6.0 -[Integration/run-container] | #11 40.13 Compiling tower v0.4.13 -[Integration/run-container] | #11 40.36 Compiling matchers v0.1.0 -[Integration/run-container] | #11 40.62 Compiling toml v0.8.10 -[Integration/run-container] | #11 41.04 Compiling tonic-build v0.11.0 -[Integration/run-container] | #11 41.76 Compiling tracing-log v0.2.0 -[Integration/run-container] | #11 41.77 Compiling miden-lib v0.1.0 (https://github.com/0xPolygonMiden/miden-base?branch=main#a08c8c1d) -[Integration/run-container] | #11 42.05 Compiling tracing-serde v0.1.3 -[Integration/run-container] | #11 42.11 Compiling tokio-io-timeout v1.2.0 -[Integration/run-container] | #11 42.14 Compiling deadpool-runtime v0.1.3 -[Integration/run-container] | #11 42.15 Compiling async-stream-impl v0.3.5 -[Integration/run-container] | #11 42.19 Compiling hashlink v0.8.4 -[Integration/run-container] | #11 42.24 Compiling thread_local v1.1.8 -[Integration/run-container] | #11 42.37 Compiling percent-encoding v2.3.1 -[Integration/run-container] | #11 42.46 Compiling matchit v0.7.3 -[Integration/run-container] | #11 42.56 Compiling fallible-iterator v0.3.0 -[Integration/run-container] | #11 42.60 Compiling fallible-streaming-iterator v0.1.9 -[Integration/run-container] | #11 42.65 Compiling anstyle v1.0.6 -[Integration/run-container] | #11 42.70 Compiling bitflags v1.3.2 -[Integration/run-container] | #11 42.74 Compiling anstyle-query v1.0.2 -[Integration/run-container] | #11 42.79 Compiling sync_wrapper v0.1.2 -[Integration/run-container] | #11 42.83 Compiling colorchoice v1.0.0 -[Integration/run-container] | #11 42.87 Compiling anstream v0.6.13 -[Integration/run-container] | #11 42.87 Compiling rusqlite v0.30.0 -[Integration/run-container] | #11 42.89 Compiling async-stream v0.3.5 -[Integration/run-container] | #11 43.01 Compiling tracing-subscriber v0.3.18 -[Integration/run-container] | #11 43.69 Compiling hyper-timeout v0.4.1 -[Integration/run-container] | #11 43.79 Compiling miden-node-proto v0.1.0 (/proto) -[Integration/run-container] | #11 44.08 Compiling tokio-stream v0.1.14 -[Integration/run-container] | #11 44.56 Compiling option-ext v0.2.0 -[Integration/run-container] | #11 44.59 Compiling strsim v0.11.0 -[Integration/run-container] | #11 44.90 Compiling clap_lex v0.7.0 -[Integration/run-container] | #11 45.18 Compiling base64 v0.21.7 -[Integration/run-container] | #11 45.59 Compiling rusqlite_migration v1.1.0 -[Integration/run-container] | #11 45.74 Compiling clap_builder v4.5.1 -[Integration/run-container] | #11 45.78 Compiling miden-node-utils v0.1.0 (/utils) -[Integration/run-container] | #11 45.79 Compiling dirs-sys v0.4.1 -[Integration/run-container] | #11 46.41 Compiling deadpool v0.10.0 -[Integration/run-container] | #11 46.56 Compiling deadpool-sync v0.1.2 -[Integration/run-container] | #11 46.64 Compiling clap_derive v4.5.0 -[Integration/run-container] | #11 47.75 Compiling tonic v0.11.0 -[Integration/run-container] | #11 49.07 Compiling miden-prover v0.8.0 -[Integration/run-container] | #11 49.19 Compiling hex v0.4.3 -[Integration/run-container] | #11 49.42 Compiling clap v4.5.1 -[Integration/run-container] | #11 49.45 Compiling deadpool-sqlite v0.7.0 -[Integration/run-container] | #11 49.49 Compiling directories v5.0.1 -[Integration/run-container] | #11 50.68 Compiling miden-node-store v0.1.0 (/store) -[Integration/run-container] | #11 51.10 Compiling miden-vm v0.8.0 -[Integration/run-container] | #11 51.14 Compiling miden-tx v0.1.0 (https://github.com/0xPolygonMiden/miden-base?branch=main#a08c8c1d) -[Integration/run-container] | #11 52.10 Compiling miden-node-block-producer v0.1.0 (/block-producer) -[Integration/run-container] | #11 54.28 Compiling miden-node-rpc v0.1.0 (/rpc) -[Integration/run-container] | #11 60.20 Compiling miden-node v0.1.0 (/node) -[Integration/run-container] | #11 70.05 Finished release [optimized] target(s) in 1m 09s -[Integration/run-container] | #11 70.15 Installing /usr/local/cargo/bin/miden-node -[Integration/run-container] | #11 70.15 Installed package `miden-node v0.1.0 (/node)` (executable `miden-node`) -[Integration/run-container] | #11 DONE 70.4s -[Integration/run-container] | -[Integration/run-container] | #12 [stage-1 2/9] RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev -[Integration/run-container] | #12 CACHED -[Integration/run-container] | -[Integration/run-container] | #13 [stage-1 5/9] COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml -[Integration/run-container] | #13 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount1885727292/app/miden-node/node: lstat /var/lib/docker/tmp/buildkit-mount1885727292/app/miden-node/node: no such file or directory -[Integration/run-container] | -[Integration/run-container] | #14 [stage-1 3/9] COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh -[Integration/run-container] | #14 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount2268240150/app/miden-node/scripts: lstat /var/lib/docker/tmp/buildkit-mount2268240150/app/miden-node/scripts: no such file or directory -[Integration/run-container] | -[Integration/run-container] | #15 [stage-1 6/9] COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml -[Integration/run-container] | #15 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: lstat /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: no such file or directory -[Integration/run-container] | -[Integration/run-container] | #16 [stage-1 4/9] COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh -[Integration/run-container] | #16 ERROR: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount37655179/app/miden-node/scripts: lstat /var/lib/docker/tmp/buildkit-mount37655179/app/miden-node/scripts: no such file or directory -[Integration/run-container] | ------ -[Integration/run-container] | > [stage-1 3/9] COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh: -[Integration/run-container] | ------ -[Integration/run-container] | ------ -[Integration/run-container] | > [stage-1 4/9] COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh: -[Integration/run-container] | ------ -[Integration/run-container] | ------ -[Integration/run-container] | > [stage-1 5/9] COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml: -[Integration/run-container] | ------ -[Integration/run-container] | ------ -[Integration/run-container] | > [stage-1 6/9] COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml: -[Integration/run-container] | ------ -[Integration/run-container] | Dockerfile:20 -[Integration/run-container] | -------------------- -[Integration/run-container] | 18 | COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh -[Integration/run-container] | 19 | COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml -[Integration/run-container] | 20 | >>> COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml -[Integration/run-container] | 21 | COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node -[Integration/run-container] | 22 | RUN chmod +x /start-miden-node.sh -[Integration/run-container] | -------------------- -[Integration/run-container] | ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 362705a2-35fa-44b0-a30f-17e4f7a78351::kjdo0qzbefh82nxylyu7wjm7m: failed to walk /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: lstat /var/lib/docker/tmp/buildkit-mount1006398245/app/miden-node/node: no such file or directory -[Integration/run-container] ❌ Failure - Main Build Docker image -[Integration/run-container] exitcode '1': failure -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.29.8.94:61035/ CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:run-container GITHUB_REF:refs/heads/phklive-dockerize-node GITHUB_REF_NAME:phklive-dockerize-node GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:0xPolygonMiden/miden-node GITHUB_REPOSITORY_OWNER:0xPolygonMiden GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc GITHUB_WORKFLOW:Integration GITHUB_WORKSPACE:/Users/phk/Developer/polygon/node ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] evaluating expression '' -[Integration/run-container] [DEBUG] expression '' evaluated to 'false' -[Integration/run-container] [DEBUG] Skipping step 'Run Docker image' due to '' -[Integration/run-container] [DEBUG] skipping post step for 'Checkout code': no action model available -[Integration/run-container] 🏁 Job failed -[Integration/run-container] [DEBUG] Loading revision from git directory -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc -[Integration/run-container] [DEBUG] HEAD points to '042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc' -[Integration/run-container] [DEBUG] using github ref: refs/heads/phklive-dockerize-node -[Integration/run-container] [DEBUG] Found revision: 042ad7f2ee9faaaf6bb7afb9b57a6477d98778bc diff --git a/node/miden-node.toml b/node/miden-node.toml index 527591c0f..f0811acd7 100644 --- a/node/miden-node.toml +++ b/node/miden-node.toml @@ -10,7 +10,7 @@ verify_tx_proofs = true [rpc] # port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-rpc', 1)) % 2**16 -endpoint = { host = "0.0.0.0", port = 57291 } +endpoint = { host = "localhost", port = 57291 } block_producer_url = "http://localhost:48046" store_url = "http://localhost:28943" From 47a76e9587c62e5e4816163c261ecf5bfb28bd9c Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Fri, 1 Mar 2024 00:44:25 -0700 Subject: [PATCH 06/23] Need to install grpcurl --- .../{integration.yml => end-to-end.yml} | 2 +- Dockerfile | 7 ++-- node/miden-node.toml | 2 +- response.json | 39 +++++++++++++++++++ scripts/run-end-to-end-tests.sh | 11 ++++++ scripts/run-integration-tests.sh | 2 - 6 files changed, 56 insertions(+), 7 deletions(-) rename .github/workflows/{integration.yml => end-to-end.yml} (89%) create mode 100644 response.json create mode 100755 scripts/run-end-to-end-tests.sh delete mode 100755 scripts/run-integration-tests.sh diff --git a/.github/workflows/integration.yml b/.github/workflows/end-to-end.yml similarity index 89% rename from .github/workflows/integration.yml rename to .github/workflows/end-to-end.yml index 4dac6718e..05b5daf3d 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/end-to-end.yml @@ -20,4 +20,4 @@ jobs: run: docker run -d --name miden-node -p 57291:57291 miden-node-image - name: Run Integration tests - run: ./scripts/run-integration-tests.sh + run: ./scripts/run-end-to-end-tests.sh diff --git a/Dockerfile b/Dockerfile index da0860bec..6f4920302 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,14 @@ RUN cd miden-node && make ### Run Miden-Node FROM ubuntu:22.04 -RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev +RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev curl +RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +RUN source .bashrc +RUN brew install grpcurl COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh -COPY --from=builder /app/miden-node/scripts/run-integration-tests.sh run-integration-tests.sh COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node RUN chmod +x /start-miden-node.sh -RUN chmod +x /run-integration-tests.sh EXPOSE 57291 CMD [ "/start-miden-node.sh" ] diff --git a/node/miden-node.toml b/node/miden-node.toml index f0811acd7..527591c0f 100644 --- a/node/miden-node.toml +++ b/node/miden-node.toml @@ -10,7 +10,7 @@ verify_tx_proofs = true [rpc] # port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-rpc', 1)) % 2**16 -endpoint = { host = "localhost", port = 57291 } +endpoint = { host = "0.0.0.0", port = 57291 } block_producer_url = "http://localhost:48046" store_url = "http://localhost:28943" diff --git a/response.json b/response.json new file mode 100644 index 000000000..61abeef7a --- /dev/null +++ b/response.json @@ -0,0 +1,39 @@ +{ + "blockHeader": { + "prevHash": { + "d0": "6398695836811786589", + "d1": "14541780618405867067", + "d2": "18309246713074791287", + "d3": "11927195725429385645" + }, + "blockNum": 129, + "chainRoot": { + "d0": "6152173786445611527", + "d1": "12213282796883358200", + "d2": "5666228917238202571", + "d3": "14567701656560191134" + }, + "accountRoot": { + "d0": "1019533849608021994", + "d1": "16121494290198329666", + "d2": "10539252255452553521", + "d3": "4737450342655994723" + }, + "nullifierRoot": { + "d0": "15321474589252129342", + "d1": "17373224439259377994", + "d2": "15071539326562317628", + "d3": "3312677166725950353" + }, + "noteRoot": { + "d0": "7078477424334594989", + "d1": "9975053207879493059", + "d2": "5220656123503260168", + "d3": "13795787984352794188" + }, + "batchRoot": {}, + "proofHash": {}, + "version": 1, + "timestamp": "1709255943149" + } +} diff --git a/scripts/run-end-to-end-tests.sh b/scripts/run-end-to-end-tests.sh new file mode 100755 index 000000000..af13ae154 --- /dev/null +++ b/scripts/run-end-to-end-tests.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +grpcurl -plaintext -proto rpc.proto -import-path proto/proto/ localhost:57291 rpc.Api/GetBlockHeaderByNumber > response.json + +if grep -q "blockHeader" response.json; then + echo "gRPC test passed." + exit 0 +else + echo "gRPC test failed." + exit 1 +fi diff --git a/scripts/run-integration-tests.sh b/scripts/run-integration-tests.sh deleted file mode 100755 index 2a43bb269..000000000 --- a/scripts/run-integration-tests.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -echo "hello world" From 20b42625e2818d110a325d4e3245c94aa1989cc4 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Mon, 4 Mar 2024 08:18:31 -0700 Subject: [PATCH 07/23] Docker works --- .github/workflows/end-to-end.yml | 23 ------------------- Dockerfile | 7 ++---- response.json | 39 -------------------------------- scripts/run-end-to-end-tests.sh | 11 --------- scripts/start-miden-node.sh | 2 +- 5 files changed, 3 insertions(+), 79 deletions(-) delete mode 100644 .github/workflows/end-to-end.yml delete mode 100644 response.json delete mode 100755 scripts/run-end-to-end-tests.sh diff --git a/.github/workflows/end-to-end.yml b/.github/workflows/end-to-end.yml deleted file mode 100644 index 05b5daf3d..000000000 --- a/.github/workflows/end-to-end.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Integration - -on: - push: - branches: - - main - -jobs: - run-container: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Build Docker image - run: docker build -t miden-node-image . - - - name: Run Docker image - run: docker run -d --name miden-node -p 57291:57291 miden-node-image - - - name: Run Integration tests - run: ./scripts/run-end-to-end-tests.sh diff --git a/Dockerfile b/Dockerfile index 6f4920302..88868c2e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,13 +15,10 @@ RUN cd miden-node && make ### Run Miden-Node FROM ubuntu:22.04 RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev curl -RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -RUN source .bashrc -RUN brew install grpcurl COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node -RUN chmod +x /start-miden-node.sh +RUN chmod +x start-miden-node.sh EXPOSE 57291 -CMD [ "/start-miden-node.sh" ] +CMD [ "./start-miden-node.sh" ] diff --git a/response.json b/response.json deleted file mode 100644 index 61abeef7a..000000000 --- a/response.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "blockHeader": { - "prevHash": { - "d0": "6398695836811786589", - "d1": "14541780618405867067", - "d2": "18309246713074791287", - "d3": "11927195725429385645" - }, - "blockNum": 129, - "chainRoot": { - "d0": "6152173786445611527", - "d1": "12213282796883358200", - "d2": "5666228917238202571", - "d3": "14567701656560191134" - }, - "accountRoot": { - "d0": "1019533849608021994", - "d1": "16121494290198329666", - "d2": "10539252255452553521", - "d3": "4737450342655994723" - }, - "nullifierRoot": { - "d0": "15321474589252129342", - "d1": "17373224439259377994", - "d2": "15071539326562317628", - "d3": "3312677166725950353" - }, - "noteRoot": { - "d0": "7078477424334594989", - "d1": "9975053207879493059", - "d2": "5220656123503260168", - "d3": "13795787984352794188" - }, - "batchRoot": {}, - "proofHash": {}, - "version": 1, - "timestamp": "1709255943149" - } -} diff --git a/scripts/run-end-to-end-tests.sh b/scripts/run-end-to-end-tests.sh deleted file mode 100755 index af13ae154..000000000 --- a/scripts/run-end-to-end-tests.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -grpcurl -plaintext -proto rpc.proto -import-path proto/proto/ localhost:57291 rpc.Api/GetBlockHeaderByNumber > response.json - -if grep -q "blockHeader" response.json; then - echo "gRPC test passed." - exit 0 -else - echo "gRPC test failed." - exit 1 -fi diff --git a/scripts/start-miden-node.sh b/scripts/start-miden-node.sh index fe97fc18c..bfc4d535b 100755 --- a/scripts/start-miden-node.sh +++ b/scripts/start-miden-node.sh @@ -1,3 +1,3 @@ #!/bin/bash miden-node make-genesis --inputs-path genesis.toml -miden-node start --config miden-node.toml \ No newline at end of file +miden-node start --config miden-node.toml From 3e77d004d4144e0f566444d1879126f02bae6069 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Mon, 4 Mar 2024 13:15:22 -0600 Subject: [PATCH 08/23] Working Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88868c2e7..428d3eae2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Miden-node Dockerfile -#### Setup image builder +# Setup image builder FROM rust:1.75.0-bullseye AS builder # Install dependencies @@ -12,7 +12,7 @@ WORKDIR /app COPY . miden-node RUN cd miden-node && make -### Run Miden-Node +# Run Miden-Node FROM ubuntu:22.04 RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev curl COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh From 96f4a8b455f8506491cd24162b7505b5a18d2ff4 Mon Sep 17 00:00:00 2001 From: Augusto Hack Date: Tue, 5 Mar 2024 20:32:43 +0100 Subject: [PATCH 09/23] ci: turn doc warnings into errors (#259) --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89ffaea71..409295f92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,14 @@ jobs: uses: actions-rs/cargo@v1 with: command: doc - args: ${{matrix.args}} + args: + - name: Check docs + uses: actions-rs/cargo@v1 + env: + RUSTDOCFLAGS: -D warnings + with: + command: doc + args: --verbose --keep-going ${{matrix.args}} test: name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}} From 8298f8fd3b3a6fc73e43ff499e8b5cdaf0ab9ea3 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Wed, 6 Mar 2024 12:37:40 +0100 Subject: [PATCH 10/23] Removed makefile, removing start.sh file moving in Dockerfile --- Dockerfile | 11 +++++------ Makefile | 8 -------- 2 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 Makefile diff --git a/Dockerfile b/Dockerfile index 428d3eae2..0a3aa7827 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,21 +4,20 @@ FROM rust:1.75.0-bullseye AS builder # Install dependencies -RUN apt-get update && apt-get -y upgrade -RUN apt-get install -y gcc llvm clang bindgen pkg-config +RUN apt-get update && apt-get -y upgrade && apt-get install -y gcc llvm clang bindgen pkg-config # Setup workdir WORKDIR /app COPY . miden-node RUN cd miden-node && make +RUN miden-node make-genesis --inputs-path node/genesis.toml # Run Miden-Node FROM ubuntu:22.04 RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev curl -COPY --from=builder /app/miden-node/scripts/start-miden-node.sh start-miden-node.sh COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml -COPY --from=builder /app/miden-node/node/genesis.toml genesis.toml +COPY --from=builder /app/miden-node/genesis.dat genesis.dat +COPY --from=builder /app/miden-node/accounts accounts COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node -RUN chmod +x start-miden-node.sh EXPOSE 57291 -CMD [ "./start-miden-node.sh" ] +CMD ["miden-node start --config miden-node.toml"] diff --git a/Makefile b/Makefile deleted file mode 100644 index 1729790ca..000000000 --- a/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -FEATURES=testing - -install: - cargo install --features=${FEATURES} --path node - -run: - miden-node make-genesis --inputs-path node/genesis.toml - miden-node start --config node/miden-node.toml From 891f77e30f94c19d4ee92e7fb207f13c993c4d1e Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Wed, 6 Mar 2024 14:25:42 +0100 Subject: [PATCH 11/23] Added bookworm + alpine + removed gcc + added caching --- .dockerignore | 4 ++++ Dockerfile | 47 ++++++++++++++++++++++++++++++++++------------- README.md | 2 +- 3 files changed, 39 insertions(+), 14 deletions(-) diff --git a/.dockerignore b/.dockerignore index fff0f0394..8286f079b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -30,3 +30,7 @@ /target LICENSE README.md +accounts +genesis.dat +miden-store.* +store.* diff --git a/Dockerfile b/Dockerfile index 0a3aa7827..3bec1fbf2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,44 @@ -# Miden-node Dockerfile +# Miden node Dockerfile # Setup image builder -FROM rust:1.75.0-bullseye AS builder +FROM rust:1.76-slim-bookworm AS builder # Install dependencies -RUN apt-get update && apt-get -y upgrade && apt-get install -y gcc llvm clang bindgen pkg-config +RUN apt-get update && \ + apt-get -y upgrade && \ + apt-get install -y llvm clang bindgen pkg-config libssl-dev libsqlite3-dev && \ + rm -rf /var/lib/apt/lists/* -# Setup workdir +# Copy source code WORKDIR /app -COPY . miden-node -RUN cd miden-node && make +COPY . . + +# Cache Cargo dependencies +RUN --mount=type=cache,target=/usr/local/cargo/registry \ + cargo fetch --manifest-path node/Cargo.toml + +# Build the node crate +RUN cargo install --features testing --path node RUN miden-node make-genesis --inputs-path node/genesis.toml -# Run Miden-Node -FROM ubuntu:22.04 -RUN apt-get update && apt-get -y upgrade && apt-get install -y make libssl-dev libsqlite3-dev curl -COPY --from=builder /app/miden-node/node/miden-node.toml miden-node.toml -COPY --from=builder /app/miden-node/genesis.dat genesis.dat -COPY --from=builder /app/miden-node/accounts accounts +# Run Miden node +FROM debian:bookworm-slim + +# Install required packages +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + libssl-dev \ + libsqlite3-dev \ + && rm -rf /var/lib/apt/lists/* + +# Copy artifacts from the builder stage +COPY --from=builder /app/node/miden-node.toml miden-node.toml +COPY --from=builder /app/genesis.dat genesis.dat +COPY --from=builder /app/accounts accounts COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node + +# Expose RPC port EXPOSE 57291 -CMD ["miden-node start --config miden-node.toml"] + +# Start the Miden node +CMD miden-node start --config miden-node.toml diff --git a/README.md b/README.md index e548b6a45..cd8d4b13a 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Before you can build and run the Miden node or any of its components, you'll nee Depending on the platform, you may need to install additional libraries. For example, on Ubuntu 22.04 the following command ensures that all required libraries are installed. ```sh -sudo apt install gcc llvm clang bindgen pkg-config libssl-dev libsqlite3-dev +sudo apt install llvm clang bindgen pkg-config libssl-dev libsqlite3-dev ``` ### Installing the node From 21ee551acbbaa4e77c3142203c44831fee8a9d0d Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Sat, 9 Mar 2024 11:28:52 +0100 Subject: [PATCH 12/23] Moved Dockerfile to node and added Makefile.toml --- Makefile.toml | 21 +++++++++++++++++++++ Dockerfile => node/Dockerfile | 15 +++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 Makefile.toml rename Dockerfile => node/Dockerfile (66%) diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 000000000..e00e80d36 --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,21 @@ +# Cargo Makefile + +[env] +CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true + +[tasks.format] +toolchain = "nightly" +command = "cargo" +args = ["fmt", "--", "--emit=files"] + +[tasks.clippy] +toolchain = "nightly" +command = "cargo" +args = ["clippy"] + +[tasks.prepare] +toolchain = "nightly" +dependencies = [ + "format", + "clippy", +] diff --git a/Dockerfile b/node/Dockerfile similarity index 66% rename from Dockerfile rename to node/Dockerfile index 3bec1fbf2..204e40171 100644 --- a/Dockerfile +++ b/node/Dockerfile @@ -31,6 +31,21 @@ RUN apt-get update && \ libsqlite3-dev \ && rm -rf /var/lib/apt/lists/* +# Set labels +LABEL org.opencontainers.image.authors=miden@polygon.io \ + org.opencontainers.image.url=https://0xpolygonmiden.github.io/ \ + org.opencontainers.image.documentation=https://github.com/0xPolygonMiden/miden-node \ + org.opencontainers.image.source=https://github.com/0xPolygonMiden/miden-node \ + org.opencontainers.image.vendor=Polygon \ + org.opencontainers.image.licenses=MIT + +ARG CREATED +ARG VERSION +ARG COMMIT +LABEL org.opencontainers.image.created=$CREATED \ + org.opencontainers.image.version=$VERSION \ + org.opencontainers.image.revision=$COMMIT + # Copy artifacts from the builder stage COPY --from=builder /app/node/miden-node.toml miden-node.toml COPY --from=builder /app/genesis.dat genesis.dat From 29f38c51588c601a10c37448b3b750cc2ea97a14 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Mon, 11 Mar 2024 11:07:35 +0100 Subject: [PATCH 13/23] cargo make works + builds dockerfile for node --- Makefile.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index e00e80d36..c5befd287 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -13,6 +13,11 @@ toolchain = "nightly" command = "cargo" args = ["clippy"] +[tasks.docker-build-node] +command = "docker" +args = ["build", "-f", "node/Dockerfile", "-t", "miden-node-image", "."] +workspace = false + [tasks.prepare] toolchain = "nightly" dependencies = [ From 494bb558ad1bdf1e0060a1a5f40440cd8ad9db32 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Tue, 12 Mar 2024 10:37:21 +0100 Subject: [PATCH 14/23] remove start script --- scripts/start-miden-node.sh | 3 --- 1 file changed, 3 deletions(-) delete mode 100755 scripts/start-miden-node.sh diff --git a/scripts/start-miden-node.sh b/scripts/start-miden-node.sh deleted file mode 100755 index bfc4d535b..000000000 --- a/scripts/start-miden-node.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -miden-node make-genesis --inputs-path genesis.toml -miden-node start --config miden-node.toml From c9ed28f1df188b1080aea8bc88d7872cf946c8cd Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Tue, 12 Mar 2024 10:51:32 +0100 Subject: [PATCH 15/23] added comment regarding PID1 --- node/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/node/Dockerfile b/node/Dockerfile index 204e40171..cb390ad0d 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -56,4 +56,5 @@ COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node EXPOSE 57291 # Start the Miden node +# Miden node does not spawn sub-processes, so it can be used as the PID1 CMD miden-node start --config miden-node.toml From 5fb96796cd8c0c0cd7b96fdce94a9aa2bdbc59d2 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Wed, 13 Mar 2024 15:16:49 +0100 Subject: [PATCH 16/23] Set labels at top of Dockerfile + added comments --- Makefile.toml | 2 ++ node/Dockerfile | 31 ++++++++++++++++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 236477afe..d82429c1a 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1,5 +1,7 @@ # Cargo Makefile +# If running cargo-make in a workspace you need to add this env variable to make sure it function correctly. +# See docs: https://github.com/sagiegurari/cargo-make?tab=readme-ov-file#usage [env] CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true diff --git a/node/Dockerfile b/node/Dockerfile index cb390ad0d..77acd22ab 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -3,6 +3,21 @@ # Setup image builder FROM rust:1.76-slim-bookworm AS builder +# Set labels +LABEL org.opencontainers.image.authors=miden@polygon.io \ + org.opencontainers.image.url=https://0xpolygonmiden.github.io/ \ + org.opencontainers.image.documentation=https://github.com/0xPolygonMiden/miden-node \ + org.opencontainers.image.source=https://github.com/0xPolygonMiden/miden-node \ + org.opencontainers.image.vendor=Polygon \ + org.opencontainers.image.licenses=MIT + +ARG CREATED +ARG VERSION +ARG COMMIT +LABEL org.opencontainers.image.created=$CREATED \ + org.opencontainers.image.version=$VERSION \ + org.opencontainers.image.revision=$COMMIT + # Install dependencies RUN apt-get update && \ apt-get -y upgrade && \ @@ -26,26 +41,12 @@ FROM debian:bookworm-slim # Install required packages RUN apt-get update && \ + apt-get -y upgrade && \ apt-get install -y --no-install-recommends \ libssl-dev \ libsqlite3-dev \ && rm -rf /var/lib/apt/lists/* -# Set labels -LABEL org.opencontainers.image.authors=miden@polygon.io \ - org.opencontainers.image.url=https://0xpolygonmiden.github.io/ \ - org.opencontainers.image.documentation=https://github.com/0xPolygonMiden/miden-node \ - org.opencontainers.image.source=https://github.com/0xPolygonMiden/miden-node \ - org.opencontainers.image.vendor=Polygon \ - org.opencontainers.image.licenses=MIT - -ARG CREATED -ARG VERSION -ARG COMMIT -LABEL org.opencontainers.image.created=$CREATED \ - org.opencontainers.image.version=$VERSION \ - org.opencontainers.image.revision=$COMMIT - # Copy artifacts from the builder stage COPY --from=builder /app/node/miden-node.toml miden-node.toml COPY --from=builder /app/genesis.dat genesis.dat From 89883af4695dac39ce88241a7b82fc14d3e66da6 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Wed, 13 Mar 2024 23:00:54 +0100 Subject: [PATCH 17/23] Added correct dependencies and explanation --- node/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/Dockerfile b/node/Dockerfile index 77acd22ab..1481862f7 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -39,12 +39,12 @@ RUN miden-node make-genesis --inputs-path node/genesis.toml # Run Miden node FROM debian:bookworm-slim -# Install required packages +# Update machine & install required packages +# The instalation of sqlite3 is needed for correct function of the sqlite database RUN apt-get update && \ apt-get -y upgrade && \ apt-get install -y --no-install-recommends \ - libssl-dev \ - libsqlite3-dev \ + sqlite3 \ && rm -rf /var/lib/apt/lists/* # Copy artifacts from the builder stage From 203f6b1b1ad69e68c17b4e9750be22c6c11b33d0 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 14 Mar 2024 11:52:52 +0100 Subject: [PATCH 18/23] Volume works persisting db files between runs --- node/Dockerfile | 5 ++++- node/miden-node.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/node/Dockerfile b/node/Dockerfile index 1481862f7..accdf725b 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -40,13 +40,16 @@ RUN miden-node make-genesis --inputs-path node/genesis.toml FROM debian:bookworm-slim # Update machine & install required packages -# The instalation of sqlite3 is needed for correct function of the sqlite database +# The instalation of sqlite3 is needed for correct function of the SQLite database RUN apt-get update && \ apt-get -y upgrade && \ apt-get install -y --no-install-recommends \ sqlite3 \ && rm -rf /var/lib/apt/lists/* +# Define volume for SQLite database files +VOLUME db + # Copy artifacts from the builder stage COPY --from=builder /app/node/miden-node.toml miden-node.toml COPY --from=builder /app/genesis.dat genesis.dat diff --git a/node/miden-node.toml b/node/miden-node.toml index 527591c0f..04f582981 100644 --- a/node/miden-node.toml +++ b/node/miden-node.toml @@ -17,5 +17,5 @@ store_url = "http://localhost:28943" [store] # port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-store', 1)) % 2**16 endpoint = { host = "localhost", port = 28943 } -database_filepath = "miden-store.sqlite3" +database_filepath = "db/miden-store.sqlite3" genesis_filepath = "genesis.dat" From 8600cf599fbcc3e7d0f599e47d0a381a514694ef Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 14 Mar 2024 12:05:26 +0100 Subject: [PATCH 19/23] Added documentation --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index a461b870d..4dad628e1 100644 --- a/README.md +++ b/README.md @@ -91,5 +91,33 @@ Please, refer to each component's documentation: Each directory containing the executables also contains an example configuration file. Make sure that the configuration files are mutually consistent. That is, make sure that the URLs are valid and point to the right endpoint. +### Running the node using Docker + +If you intend on running the node inside a Docker container, you will need to follow these steps: + +1. Build the docker image from source + + ```sh + cargo make docker-build-node + ``` + + This command will build the docker image for the Miden node and save it locally. + +2. Run the Docker container + + ```sh + docker run --name miden-node -p 57291:57291 -d miden-node-image + ``` + + This command will run the node as a container named `miden-node` using the `miden-node-image` and make port `57291` available (rpc endpoint). + +3. Monitor container + + ```sh + docker ps + ``` + + After running this command you should see the name of the container `miden-node` being outputed and marked as `Up`. + ## License This project is [MIT licensed](./LICENSE). From d04e71e8d07780d3de3d096e483256b24d99d64c Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 14 Mar 2024 14:52:05 +0100 Subject: [PATCH 20/23] Moved labels + enable mounting of miden-node.toml --- miden-node.toml | 21 +++++++++++++++++++++ node/Dockerfile | 31 +++++++++++++++---------------- 2 files changed, 36 insertions(+), 16 deletions(-) create mode 100644 miden-node.toml diff --git a/miden-node.toml b/miden-node.toml new file mode 100644 index 000000000..04f582981 --- /dev/null +++ b/miden-node.toml @@ -0,0 +1,21 @@ +# This is an example configuration file for the Miden node. + +[block_producer] +# port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-block-producer', 1)) % 2**16 +endpoint = { host = "localhost", port = 48046 } +store_url = "http://localhost:28943" +# enables or disables the verification of transaction proofs before they are accepted into the +# transaction queue. +verify_tx_proofs = true + +[rpc] +# port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-rpc', 1)) % 2**16 +endpoint = { host = "0.0.0.0", port = 57291 } +block_producer_url = "http://localhost:48046" +store_url = "http://localhost:28943" + +[store] +# port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-store', 1)) % 2**16 +endpoint = { host = "localhost", port = 28943 } +database_filepath = "db/miden-store.sqlite3" +genesis_filepath = "genesis.dat" diff --git a/node/Dockerfile b/node/Dockerfile index accdf725b..61b3349f0 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -3,21 +3,6 @@ # Setup image builder FROM rust:1.76-slim-bookworm AS builder -# Set labels -LABEL org.opencontainers.image.authors=miden@polygon.io \ - org.opencontainers.image.url=https://0xpolygonmiden.github.io/ \ - org.opencontainers.image.documentation=https://github.com/0xPolygonMiden/miden-node \ - org.opencontainers.image.source=https://github.com/0xPolygonMiden/miden-node \ - org.opencontainers.image.vendor=Polygon \ - org.opencontainers.image.licenses=MIT - -ARG CREATED -ARG VERSION -ARG COMMIT -LABEL org.opencontainers.image.created=$CREATED \ - org.opencontainers.image.version=$VERSION \ - org.opencontainers.image.revision=$COMMIT - # Install dependencies RUN apt-get update && \ apt-get -y upgrade && \ @@ -51,11 +36,25 @@ RUN apt-get update && \ VOLUME db # Copy artifacts from the builder stage -COPY --from=builder /app/node/miden-node.toml miden-node.toml COPY --from=builder /app/genesis.dat genesis.dat COPY --from=builder /app/accounts accounts COPY --from=builder /usr/local/cargo/bin/miden-node /usr/local/bin/miden-node +# Set labels +LABEL org.opencontainers.image.authors=miden@polygon.io \ + org.opencontainers.image.url=https://0xpolygonmiden.github.io/ \ + org.opencontainers.image.documentation=https://github.com/0xPolygonMiden/miden-node \ + org.opencontainers.image.source=https://github.com/0xPolygonMiden/miden-node \ + org.opencontainers.image.vendor=Polygon \ + org.opencontainers.image.licenses=MIT + +ARG CREATED +ARG VERSION +ARG COMMIT +LABEL org.opencontainers.image.created=$CREATED \ + org.opencontainers.image.version=$VERSION \ + org.opencontainers.image.revision=$COMMIT + # Expose RPC port EXPOSE 57291 From d09f6f900bbd2ddb0f75a27f49a550900936331a Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 14 Mar 2024 15:38:11 +0100 Subject: [PATCH 21/23] Added docker-run-node command + added build arguments --- .dockerignore | 2 ++ Makefile.toml | 26 ++++++++++++++++++++++++-- node/Dockerfile | 7 ------- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.dockerignore b/.dockerignore index 8286f079b..b5dbe9424 100644 --- a/.dockerignore +++ b/.dockerignore @@ -26,6 +26,8 @@ **/npm-debug.log **/secrets.dev.yaml **/values.dev.yaml +./bin +./target /bin /target LICENSE diff --git a/Makefile.toml b/Makefile.toml index 6c0ba344f..fc0cd42c4 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -50,6 +50,28 @@ args = ["test", "--all-features", "--workspace", "--", "--nocapture"] # docker [tasks.docker-build-node] -command = "docker" -args = ["build", "-f", "node/Dockerfile", "-t", "miden-node-image", "."] workspace = false +script = ''' +CREATED=$(date) +VERSION=$(cat node/Cargo.toml | grep -m 1 '^version' | cut -d '"' -f 2) +COMMIT=1 +docker build --build-arg CREATED="$CREATED" \ + --build-arg VERSION="$VERSION" \ + --build-arg COMMIT="$COMMIT" \ + -f node/Dockerfile \ + -t miden-node-image . +''' + +[tasks.docker-run-node] +workspace = false +script = ''' +docker volume create miden-db + +ABSOLUTE_PATH="$(pwd)/node/miden-node.toml" + +docker run --name miden-node \ + -p 57291:57291 \ + -v miden-db:/db \ + -v "${ABSOLUTE_PATH}:/miden-node.toml" \ + -d miden-node-image +''' diff --git a/node/Dockerfile b/node/Dockerfile index 61b3349f0..6fc95e69c 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -13,10 +13,6 @@ RUN apt-get update && \ WORKDIR /app COPY . . -# Cache Cargo dependencies -RUN --mount=type=cache,target=/usr/local/cargo/registry \ - cargo fetch --manifest-path node/Cargo.toml - # Build the node crate RUN cargo install --features testing --path node RUN miden-node make-genesis --inputs-path node/genesis.toml @@ -32,9 +28,6 @@ RUN apt-get update && \ sqlite3 \ && rm -rf /var/lib/apt/lists/* -# Define volume for SQLite database files -VOLUME db - # Copy artifacts from the builder stage COPY --from=builder /app/genesis.dat genesis.dat COPY --from=builder /app/accounts accounts From 8d138ec27b5340e72c9abff152c670209e03d762 Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 14 Mar 2024 15:46:25 +0100 Subject: [PATCH 22/23] Add git commit as arg to docker container --- Makefile.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.toml b/Makefile.toml index fc0cd42c4..19722b899 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -54,7 +54,7 @@ workspace = false script = ''' CREATED=$(date) VERSION=$(cat node/Cargo.toml | grep -m 1 '^version' | cut -d '"' -f 2) -COMMIT=1 +COMMIT=$(git rev-parse HEAD) docker build --build-arg CREATED="$CREATED" \ --build-arg VERSION="$VERSION" \ --build-arg COMMIT="$COMMIT" \ From 17326664d815f13547c62c1dbb66055e80cba90d Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Thu, 14 Mar 2024 16:10:00 +0100 Subject: [PATCH 23/23] Added spacing --- Makefile.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.toml b/Makefile.toml index 19722b899..2266170e7 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -55,6 +55,7 @@ script = ''' CREATED=$(date) VERSION=$(cat node/Cargo.toml | grep -m 1 '^version' | cut -d '"' -f 2) COMMIT=$(git rev-parse HEAD) + docker build --build-arg CREATED="$CREATED" \ --build-arg VERSION="$VERSION" \ --build-arg COMMIT="$COMMIT" \