Skip to content

Build node_exporter, there is an error message #2934

Closed
@linuxgcc

Description

Host operating system: output of uname -a

Linux centos_os 4.18.0-240.el8.x86_64 #1 SMP Fri Sep 25 19:48:47 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux `

node_exporter version: output of node_exporter --version

node_exporter, version 1.7.0 (branch: dev, revision: 1219247)
build user: root@centos_os
build date: 20240222-06:58:01
go version: go1.20
platform: linux/amd64
tags: netgo osusergo static_build

make command line flags

make

make command log output

....
ts=2024-02-22T06:58:11.090Z caller=node_exporter.go:117 level=info collector=zoneinfo
ts=2024-02-22T06:58:11.091Z caller=tls_config.go:313 level=info msg="Listening on" address=127.0.0.1:12965
ts=2024-02-22T06:58:11.091Z caller=tls_config.go:316 level=info msg="TLS is disabled." http2=false address=127.0.0.1:12965

make: *** [Makefile:120:test-e2e] 错误 1
[root@centos_os node_exporter]#

Are you running node_exporter in Docker?

no

What did you do that produced an error?

I run the make command but an error message appears at the end

[root@centos_os node_exporter]# git remote -v
origin git@github.com:prometheus/node_exporter.git (fetch)
origin git@github.com:prometheus/node_exporter.git (push)
[root@centos_os node_exporter]# pwd
/home/node_exporter
[root@centos_os node_exporter]# make

What did you expect to see?

No error message when building all target

What did you see instead?

make: *** [Makefile:120:test-e2e] 错误 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions