bug(zen): rpm build failing #366

Closed
opened 2026-03-28 04:23:53 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #1096
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1096
Original created: 2025-06-23T15:36:49Z


Building zen (rpm)...
Build method: 'rust'
Dockerfile: 'docker/rpm/Dockerfile.rpm.rust.zen'
Source path: ''
Building RPM with Dockerfile docker/rpm/Dockerfile.rpm.rust.zen...
Verifying context contents...
-rw-r--r-- 1 runner docker 3302 Jun 23 15:14 /home/runner/work/serviceradar/serviceradar/go.mod
Note: Source path not available or not required
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile.rpm.rust.zen
#1 transferring dockerfile: 2.50kB done
#1 DONE 0.0s

#2 [internal] load metadata for ghcr.io/carverauto/rockylinux9-rust-rpm-base:latest
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/rockylinux:9
#3 DONE 0.3s

#4 [internal] load .dockerignore
#4 transferring context: 107B done
#4 DONE 0.0s

#5 [stage-1 1/4] FROM docker.io/library/rockylinux:9@sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6
#5 DONE 0.0s

#6 [builder  1/17] FROM ghcr.io/carverauto/rockylinux9-rust-rpm-base:latest
#6 DONE 0.0s

#7 [builder  2/17] WORKDIR /src/
#7 DONE 0.0s

#8 [internal] load build context
#8 transferring context: 361B 0.1s done
#8 DONE 0.1s

#9 [builder  4/17] RUN echo "BINARY_PATH=" &&     echo "COMPONENT=zen" &&     echo "VERSION=1.0.44" &&     echo "RELEASE=1" &&     echo "Current directory: $(pwd)" &&     ls -la /src || echo "No /src directory yet"
#9 CACHED

#10 [builder  5/17] COPY /Cargo.toml .
#10 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/Cargo.toml": not found

#11 [builder  9/17] COPY /monitoring_descriptor.bin .
#11 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/monitoring_descriptor.bin": not found

#12 [builder  6/17] COPY /Cargo.lock .
#12 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/Cargo.lock": not found

#13 [builder 10/17] COPY /rperf_descriptor.bin .
#13 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/rperf_descriptor.bin": not found

#14 [builder  8/17] COPY /build.rs .
#14 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/build.rs": not found

#15 [builder  7/17] COPY /src ./src/
#15 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/src": not found

#16 [builder  3/17] RUN rustup update nightly && rustup default nightly
#16 0.126 info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
#16 CANCELED
------
 > [builder  5/17] COPY /Cargo.toml .:
------
------
 > [builder  6/17] COPY /Cargo.lock .:
------
------
 > [builder  7/17] COPY /src ./src/:
------
------
 > [builder  8/17] COPY /build.rs .:
------
------
 > [builder  9/17] COPY /monitoring_descriptor.bin .:
------
------
 > [builder 10/17] COPY /rperf_descriptor.bin .:
------
Dockerfile.rpm.rust.zen:28
--------------------
  26 |     COPY ${BINARY_PATH}/build.rs .
  27 |     COPY ${BINARY_PATH}/monitoring_descriptor.bin .
  28 | >>> COPY ${BINARY_PATH}/rperf_descriptor.bin .
  29 |     
  30 |     # Build the Rust binary
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/rperf_descriptor.bin": not found
Error: Docker build failed
Imported from GitHub. Original GitHub issue: #1096 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1096 Original created: 2025-06-23T15:36:49Z --- ```shell Building zen (rpm)... Build method: 'rust' Dockerfile: 'docker/rpm/Dockerfile.rpm.rust.zen' Source path: '' Building RPM with Dockerfile docker/rpm/Dockerfile.rpm.rust.zen... Verifying context contents... -rw-r--r-- 1 runner docker 3302 Jun 23 15:14 /home/runner/work/serviceradar/serviceradar/go.mod Note: Source path not available or not required #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile.rpm.rust.zen #1 transferring dockerfile: 2.50kB done #1 DONE 0.0s #2 [internal] load metadata for ghcr.io/carverauto/rockylinux9-rust-rpm-base:latest #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/rockylinux:9 #3 DONE 0.3s #4 [internal] load .dockerignore #4 transferring context: 107B done #4 DONE 0.0s #5 [stage-1 1/4] FROM docker.io/library/rockylinux:9@sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6 #5 DONE 0.0s #6 [builder 1/17] FROM ghcr.io/carverauto/rockylinux9-rust-rpm-base:latest #6 DONE 0.0s #7 [builder 2/17] WORKDIR /src/ #7 DONE 0.0s #8 [internal] load build context #8 transferring context: 361B 0.1s done #8 DONE 0.1s #9 [builder 4/17] RUN echo "BINARY_PATH=" && echo "COMPONENT=zen" && echo "VERSION=1.0.44" && echo "RELEASE=1" && echo "Current directory: $(pwd)" && ls -la /src || echo "No /src directory yet" #9 CACHED #10 [builder 5/17] COPY /Cargo.toml . #10 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/Cargo.toml": not found #11 [builder 9/17] COPY /monitoring_descriptor.bin . #11 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/monitoring_descriptor.bin": not found #12 [builder 6/17] COPY /Cargo.lock . #12 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/Cargo.lock": not found #13 [builder 10/17] COPY /rperf_descriptor.bin . #13 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/rperf_descriptor.bin": not found #14 [builder 8/17] COPY /build.rs . #14 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/build.rs": not found #15 [builder 7/17] COPY /src ./src/ #15 ERROR: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/src": not found #16 [builder 3/17] RUN rustup update nightly && rustup default nightly #16 0.126 info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu' #16 CANCELED ------ > [builder 5/17] COPY /Cargo.toml .: ------ ------ > [builder 6/17] COPY /Cargo.lock .: ------ ------ > [builder 7/17] COPY /src ./src/: ------ ------ > [builder 8/17] COPY /build.rs .: ------ ------ > [builder 9/17] COPY /monitoring_descriptor.bin .: ------ ------ > [builder 10/17] COPY /rperf_descriptor.bin .: ------ Dockerfile.rpm.rust.zen:28 -------------------- 26 | COPY ${BINARY_PATH}/build.rs . 27 | COPY ${BINARY_PATH}/monitoring_descriptor.bin . 28 | >>> COPY ${BINARY_PATH}/rperf_descriptor.bin . 29 | 30 | # Build the Rust binary -------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 4ca5f8f9-d1e5-429a-9961-5c9d88442667::x54x3g48vmd3iehicordrsqws: "/rperf_descriptor.bin": not found Error: Docker build failed ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#366
No description provided.