Skip to content

make e2e-test failed on macos #534

@gyliu513

Description

@gyliu513
(hermes-agent) gyliu-cary@Mac llm-d-kv-cache % make e2e-test
Checking if ZMQ is already installed...
bash: line 1: pkg-config: command not found
Installing ZMQ dependencies...
==> Auto-updating Homebrew...
Adjust how often this is run with `$HOMEBREW_AUTO_UPDATE_SECS` or disable with
`$HOMEBREW_NO_AUTO_UPDATE=1`. Hide these hints with `$HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
try: Quickly manage and navigate project directories for experiments
vite-plus: Unified toolchain and entry point for web development
==> New Casks
hop: View and edit HWP documents

You have 13 outdated formulae installed.

==> Fetching downloads for: zeromq and pkgconf
✔︎ Bottle Manifest pkgconf (2.5.1)                                                        Downloaded   12.2KB/ 12.2KB
✔︎ Bottle Manifest zeromq (4.3.5_2)                                                       Downloaded   11.0KB/ 11.0KB
✔︎ Bottle Manifest libsodium (1.0.22)                                                     Downloaded    7.3KB/  7.3KB
✔︎ Bottle libsodium (1.0.22)                                                              Downloaded  408.8KB/408.8KB
✔︎ Bottle pkgconf (2.5.1)                                                                 Downloaded  121.7KB/121.7KB
✔︎ Bottle zeromq (4.3.5_2)                                                                Downloaded    1.7MB/  1.7MB
==> Installing zeromq dependency: libsodium
==> Pouring libsodium--1.0.22.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libsodium/1.0.22: 88 files, 1.1MB
==> Pouring zeromq--4.3.5_2.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/zeromq/4.3.5_2: 85 files, 6.7MB
==> Running `brew cleanup zeromq`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Pouring pkgconf--2.5.1.arm64_tahoe.bottle.tar.gz
🍺  /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 532.3KB
==> Running `brew cleanup pkgconf`...
✅ ZMQ dependencies installed.
==== Building UDS tokenizer image llm-d-uds-tokenizer:e2e-test ====
docker build \
		--platform darwin/arm64 \
		--build-arg TARGETOS=darwin \
		--build-arg TARGETARCH=arm64 \
		-t llm-d-uds-tokenizer:e2e-test services/uds_tokenizer
[+] Building 3.7s (2/2) FINISHED                                                               docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                           0.0s
 => => transferring dockerfile: 2.52kB                                                                         0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 16)                                0.0s
 => WARN: RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as thi  0.0s
 => WARN: RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as thi  0.0s
 => ERROR [internal] load metadata for docker.io/library/python:3.12-slim                                      3.6s
------
 > [internal] load metadata for docker.io/library/python:3.12-slim:
------

 3 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 16)
 - RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior (line 16)
 - RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior (line 29)
Dockerfile:16
--------------------
  14 |
  15 |     # Build stage
  16 | >>> FROM --platform=$TARGETPLATFORM python:3.12-slim as builder
  17 |
  18 |     # Set build arguments
--------------------
ERROR: failed to build: failed to solve: python:3.12-slim: failed to resolve source metadata for docker.io/library/python:3.12-slim: no match for platform in manifest: not found
make: *** [image-build-uds] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions