alibaba/opentelemetry-go-auto-instrumentation

otelbuild build 失败

Closed this issue · 2 comments

Describe the bug

image otelbuild cmd/apiserver/main.go [preprocess] 2024/09/10 17:47:23 Backup /root/lodge/go.mod [preprocess] 2024/09/10 17:47:23 Add go.opentelemetry.io/otel import to cmd/apiserver/main.go [preprocess] 2024/09/10 17:47:23 Add go.opentelemetry.io/otel/baggage import to cmd/apiserver/main.go [preprocess] 2024/09/10 17:47:23 Add go.opentelemetry.io/otel/sdk/trace import to cmd/apiserver/main.go [preprocess] 2024/09/10 17:47:23 Backup cmd/apiserver/main.go [preprocess] 2024/09/10 17:47:28 Match file rule @runtime@ {.otel-build/preprocess/embededfs/runtime_linker.go} [preprocess] 2024/09/10 17:47:29 Match func rule @runtime@@newproc1 {defer func(){ retVal0.ot_trace_context = contextPropagate(callergp.ot_trace_context); retVal0.ot_baggage_container = contextPropagate(callergp.ot_baggage_container); }() } [preprocess] 2024/09/10 17:47:29 Match struct rule @runtime@ {g} [preprocess] 2024/09/10 17:47:29 Match struct rule @runtime@ {g} [preprocess] 2024/09/10 17:47:29 Match func rule @net/http@@(*Transport).RoundTrip {clientOnEnter clientOnExit} [preprocess] 2024/09/10 17:47:29 Match func rule @net/http@@(serverHandler).ServeHTTP {serverOnEnter serverOnExit} [preprocess] 2024/09/10 17:47:29 Match func rule @github.com/gin-gonic/gin@[1.7.0,1.10.1)@(*Context).HTML {htmlOnEnter htmlOnExit} [preprocess] 2024/09/10 17:47:29 Match func rule @github.com/gin-gonic/gin@[1.7.0,1.10.1)@(*Context).Next {nextOnEnter nextOnExit} [preprocess] 2024/09/10 17:47:29 Match func rule @github.com/sirupsen/logrus@[1.5.0,1.9.4)@SetFormatter { logNewOnExit} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/baggage/context.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_util.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_linker.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel@ {.otel-build/preprocess/embededfs/trace-context/trace.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/tracer.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/span.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/ot_trace_context.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/ot_trace_context_linker.go} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Stmt).QueryContext {beforeStmtQueryContextInstrumentation afterStmtQueryContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Stmt).ExecContext {beforeStmtExecContextInstrumentation afterStmtExecContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).Rollback {beforeTxRollbackInstrumentation afterTxRollbackInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).Commit {beforeTxCommitInstrumentation afterTxCommitInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).QueryContext {beforeTxQueryContextInstrumentation afterTxQueryContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).ExecContext {beforeTxExecContextInstrumentation afterTxExecContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).PrepareContext {beforeTxPrepareContextInstrumentation afterTxPrepareContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).StmtContext {beforeTxStmtContextInstrumentation afterTxStmtContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).BeginTx {beforeConnTxInstrumentation afterConnTxInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).QueryContext {beforeConnQueryContextInstrumentation afterConnQueryContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).ExecContext {beforeConnExecContextInstrumentation afterConnExecContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).PrepareContext {beforeConnPrepareContextInstrumentation afterConnPrepareContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).PingContext {beforeConnPingContextInstrumentation afterConnPingContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).Conn {beforeConnInstrumentation afterConnInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).BeginTx {beforeTxInstrumentation afterTxInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).QueryContext {beforeQueryContextInstrumentation afterQueryContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).ExecContext {beforeExecContextInstrumentation afterExecContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).PrepareContext {beforePrepareContextInstrumentation afterPrepareContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).PingContext {beforePingContextInstrumentation afterPingContextInstrumentation} [preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@OPEN {beforeOpenInstrumentation afterOpenInstrumentation} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Conn} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Conn} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Conn} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Tx} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Tx} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Tx} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Stmt} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Stmt} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Stmt} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {DB} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {DB} [preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {DB} [preprocess] 2024/09/10 17:47:29 Match func rule @gorm.io/gorm@[1.22.0,1.25.10)@OPEN { afterGormOpen} [preprocess] 2024/09/10 17:47:29 Match struct rule @gorm.io/driver/mysql@ {Dialector} [preprocess] 2024/09/10 17:47:29 Try to match additional [.otel-build/preprocess/embededfs/runtime_linker.go] for runtime [preprocess] 2024/09/10 17:47:29 Match file rule @runtime@ {.otel-build/preprocess/embededfs/runtime_linker.go} [preprocess] 2024/09/10 17:47:29 Try to match additional [.otel-build/preprocess/embededfs/ot_baggage_util.go .otel-build/preprocess/embededfs/ot_baggage_linker.go] for go.opentelemetry.io/otel/baggage [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/baggage/context.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_util.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_linker.go} [preprocess] 2024/09/10 17:47:29 Try to match additional [] for go.opentelemetry.io/otel [preprocess] 2024/09/10 17:47:29 Try to match additional [.otel-build/preprocess/embededfs/trace-context/ot_trace_context.go .otel-build/preprocess/embededfs/ot_trace_context_linker.go] for go.opentelemetry.io/otel/sdk/trace [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/tracer.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/span.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/ot_trace_context.go} [preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/ot_trace_context_linker.go} [preprocess] 2024/09/10 17:47:29 Add lodge/otel_rules import to cmd/apiserver/main.go [preprocess] 2024/09/10 17:47:29 Setup rules took 5.962058742s go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/db go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/http go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/net go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api/instrumenter go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/verifier go: finding module for package go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/db in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1 go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/http in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1 go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/net in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1 go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api/instrumenter in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1 go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/verifier in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1 go: found go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.29.0

go: finding module for package github.com/prometheus/common/log
go: lodge/api/rest imports
gitlab.idc.xiaozhu.com/xz-go/common/log tested by
gitlab.idc.xiaozhu.com/xz-go/common/log.test imports
github.com/prometheus/common/log: module github.com/prometheus/common@latest found (v0.59.1), but does not contain package github.com/prometheus/common/log
[preprocess] 2024/09/10 17:47:37 Restore /root/lodge/go.mod
[preprocess] 2024/09/10 17:47:37 Restore cmd/apiserver/main.go
[preprocess] 2024/09/10 17:47:37 failed to run the tool: failed to run mod tidy: exit status 1

Steps to reproduce

Go build 成功, 但是otelbuild 失败

Expected behavior

打包成功

Actual behavior

失败

opentelemetry-go-auto-instrumentation version

otelbuild version 1.0.0_0c1efac

Environment

Go:
OS:
go version go1.22.0 linux/amd64

Additional context

No response

[preprocess] 2024/09/10 17:47:23 Backup /root/lodge/go.mod
[preprocess] 2024/09/10 17:47:23 Add go.opentelemetry.io/otel import to cmd/apiserver/main.go
[preprocess] 2024/09/10 17:47:23 Add go.opentelemetry.io/otel/baggage import to cmd/apiserver/main.go
[preprocess] 2024/09/10 17:47:23 Add go.opentelemetry.io/otel/sdk/trace import to cmd/apiserver/main.go
[preprocess] 2024/09/10 17:47:23 Backup cmd/apiserver/main.go
[preprocess] 2024/09/10 17:47:28 Match file rule @runtime@ {.otel-build/preprocess/embededfs/runtime_linker.go}
[preprocess] 2024/09/10 17:47:29 Match func rule @runtime@@newproc1 {defer func(){ retVal0.ot_trace_context = contextPropagate(callergp.ot_trace_context); retVal0.ot_baggage_container = contextPropagate(callergp.ot_baggage_container); }() }
[preprocess] 2024/09/10 17:47:29 Match struct rule @runtime@ {g}
[preprocess] 2024/09/10 17:47:29 Match struct rule @runtime@ {g}
[preprocess] 2024/09/10 17:47:29 Match func rule @net/http@@(*Transport).RoundTrip {clientOnEnter clientOnExit}
[preprocess] 2024/09/10 17:47:29 Match func rule @net/http@@(serverHandler).ServeHTTP {serverOnEnter serverOnExit}
[preprocess] 2024/09/10 17:47:29 Match func rule @github.com/gin-gonic/gin@[1.7.0,1.10.1)@(*Context).HTML {htmlOnEnter htmlOnExit}
[preprocess] 2024/09/10 17:47:29 Match func rule @github.com/gin-gonic/gin@[1.7.0,1.10.1)@(*Context).Next {nextOnEnter nextOnExit}
[preprocess] 2024/09/10 17:47:29 Match func rule @github.com/sirupsen/logrus@[1.5.0,1.9.4)@SetFormatter { logNewOnExit}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/baggage/context.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_util.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_linker.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel@ {.otel-build/preprocess/embededfs/trace-context/trace.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/tracer.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/span.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/ot_trace_context.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/ot_trace_context_linker.go}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Stmt).QueryContext {beforeStmtQueryContextInstrumentation afterStmtQueryContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Stmt).ExecContext {beforeStmtExecContextInstrumentation afterStmtExecContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).Rollback {beforeTxRollbackInstrumentation afterTxRollbackInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).Commit {beforeTxCommitInstrumentation afterTxCommitInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).QueryContext {beforeTxQueryContextInstrumentation afterTxQueryContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).ExecContext {beforeTxExecContextInstrumentation afterTxExecContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).PrepareContext {beforeTxPrepareContextInstrumentation afterTxPrepareContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Tx).StmtContext {beforeTxStmtContextInstrumentation afterTxStmtContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).BeginTx {beforeConnTxInstrumentation afterConnTxInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).QueryContext {beforeConnQueryContextInstrumentation afterConnQueryContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).ExecContext {beforeConnExecContextInstrumentation afterConnExecContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).PrepareContext {beforeConnPrepareContextInstrumentation afterConnPrepareContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*Conn).PingContext {beforeConnPingContextInstrumentation afterConnPingContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).Conn {beforeConnInstrumentation afterConnInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).BeginTx {beforeTxInstrumentation afterTxInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).QueryContext {beforeQueryContextInstrumentation afterQueryContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).ExecContext {beforeExecContextInstrumentation afterExecContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).PrepareContext {beforePrepareContextInstrumentation afterPrepareContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@(*DB).PingContext {beforePingContextInstrumentation afterPingContextInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match func rule @database/sql@@Open {beforeOpenInstrumentation afterOpenInstrumentation}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Conn}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Conn}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Conn}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Tx}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Tx}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Tx}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Stmt}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Stmt}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {Stmt}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {DB}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {DB}
[preprocess] 2024/09/10 17:47:29 Match struct rule @database/sql@ {DB}
[preprocess] 2024/09/10 17:47:29 Match func rule @gorm.io/gorm@[1.22.0,1.25.10)@Open { afterGormOpen}
[preprocess] 2024/09/10 17:47:29 Match struct rule @gorm.io/driver/mysql@ {Dialector}
[preprocess] 2024/09/10 17:47:29 Try to match additional [.otel-build/preprocess/embededfs/runtime_linker.go] for runtime
[preprocess] 2024/09/10 17:47:29 Match file rule @runtime@ {.otel-build/preprocess/embededfs/runtime_linker.go}
[preprocess] 2024/09/10 17:47:29 Try to match additional [.otel-build/preprocess/embededfs/ot_baggage_util.go .otel-build/preprocess/embededfs/ot_baggage_linker.go] for go.opentelemetry.io/otel/baggage
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/baggage/context.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_util.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/baggage@ {.otel-build/preprocess/embededfs/ot_baggage_linker.go}
[preprocess] 2024/09/10 17:47:29 Try to match additional [] for go.opentelemetry.io/otel
[preprocess] 2024/09/10 17:47:29 Try to match additional [.otel-build/preprocess/embededfs/trace-context/ot_trace_context.go .otel-build/preprocess/embededfs/ot_trace_context_linker.go] for go.opentelemetry.io/otel/sdk/trace
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/tracer.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/span.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/trace-context/ot_trace_context.go}
[preprocess] 2024/09/10 17:47:29 Match file rule @go.opentelemetry.io/otel/sdk/trace@ {.otel-build/preprocess/embededfs/ot_trace_context_linker.go}
[preprocess] 2024/09/10 17:47:29 Add lodge/otel_rules import to cmd/apiserver/main.go
[preprocess] 2024/09/10 17:47:29 Setup rules took 5.962058742s
go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/db
go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/http
go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/net
go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api/instrumenter
go: finding module for package github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/verifier
go: finding module for package go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/db in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1
go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/http in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1
go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api-semconv/instrumenter/net in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1
go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/inst-api/instrumenter in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1
go: found github.com/alibaba/opentelemetry-go-auto-instrumentation/pkg/verifier in github.com/alibaba/opentelemetry-go-auto-instrumentation v0.0.1
go: found go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.29.0

go: finding module for package github.com/prometheus/common/log
go: lodge/api/rest imports
	gitlab.idc.xiaozhu.com/xz-go/common/log tested by
	gitlab.idc.xiaozhu.com/xz-go/common/log.test imports
	github.com/prometheus/common/log: module github.com/prometheus/common@latest found (v0.59.1), but does not contain package github.com/prometheus/common/log
[preprocess] 2024/09/10 17:47:37 Restore /root/lodge/go.mod
[preprocess] 2024/09/10 17:47:37 Restore cmd/apiserver/main.go
[preprocess] 2024/09/10 17:47:37 failed to run the tool: failed to run mod tidy: exit status 1

打包日志

close as incomplete given I can not reproduce