Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Running make tests #1804

@hridambasu

Description

@hridambasu

What command(s) is the bug in?

make test-all

Describe the bug

I am unable to run the library tests using make test-all.
I get the following error:
warning: [email protected]: gethutil/mpt/trie/stacktrie.go:27:2: package slices is not in GOROOT (/usr/local/Cellar/go/1.17.2/libexec/src/slices)

error: failed to run custom build command for geth-utils v0.1.0 (/Users/hridambasu/Downloads/giro labs/zkevm-circuits/geth-utils)

Caused by:
process didn't exit successfully: /Users/hridambasu/Downloads/giro labs/zkevm-circuits/target/debug/build/geth-utils-0089910310de80d4/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-changed=./lib/lib.go
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-apple-darwin")
HOST = Some("x86_64-apple-darwin")
cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
CC_x86_64-apple-darwin = None
cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
CC_x86_64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3")
cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
CFLAGS_x86_64-apple-darwin = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
CFLAGS_x86_64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:warning=gethutil/mpt/trie/stacktrie.go:27:2: package slices is not in GOROOT (/usr/local/Cellar/go/1.17.2/libexec/src/slices)
exit status: 1

--- stderr

Error while building geth-utils: Command CC="cc" CGO_ENABLED="1" GOARCH="amd64" GOOS="darwin" "go" "build" "-buildmode" "c-archive" "-o" "/Users/hridambasu/Downloads/giro labs/zkevm-circuits/target/debug/build/geth-utils-ab43ec9b9b59400d/out/libgo-geth-utils.a" "./lib/lib.go" with args "go-geth-utils" did not execute successfully (status code exit status: 1).

warning: build failed, waiting for other jobs to finish...
make: *** [fmt] Error 101

Concrete steps to reproduce the bug. If it's able reproduce via testool, please share test_id from jenkins report

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions