Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix checksum mismatch for build error #2231

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wangfakang
Copy link
Contributor

Issues associated with this PR

build local error and it's happens when Go packages makes two releases with the same number.
here is a same issue

$make build-local
GO111MODULE=on CGO_ENABLED=1 go build  \
        -ldflags "-B 0x30ac4ca9ad2ca939598de2a4f0f47330a087eefe -X main.Version=v1.3.0(4fa9b41b8) -X mosn.io/mosn/pkg/istio.IstioVersion=1.10.6" \
        -v -o mosnd \
        mosn.io/mosn/cmd/mosn/main
verifying github.com/envoyproxy/[email protected]: checksum mismatch
        downloaded: h1:ZyeIGk3fCB8NNzihPKZsCNCc7oTz7IgMsEy0E2G3iu4=
        go.sum:     h1:WVt4HEPbdRbRD/PKKPbPnIVavO6gk/h673jWyIJ016k=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
make: *** [build-local] Error 1

@codecov
Copy link

codecov bot commented Feb 10, 2023

Codecov Report

Base: 60.32% // Head: 61.10% // Increases project coverage by +0.77% 🎉

Coverage data is based on head (225c972) compared to base (ea94051).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2231      +/-   ##
==========================================
+ Coverage   60.32%   61.10%   +0.77%     
==========================================
  Files         422      365      -57     
  Lines       37050    33118    -3932     
==========================================
- Hits        22351    20237    -2114     
+ Misses      12477    10899    -1578     
+ Partials     2222     1982     -240     
Impacted Files Coverage Δ
pkg/stream/http/stream.go 35.23% <100.00%> (+0.13%) ⬆️
pkg/upstream/healthcheck/healthchecker.go 88.65% <100.00%> (ø)
...ream/faulttolerance/regulator/default_regulator.go 81.81% <0.00%> (-18.19%) ⬇️
pkg/module/http2/transport.go 78.62% <0.00%> (ø)
.../istio1106/filter/stream/jwtauthn/filter_config.go
istio/istio1106/istio/mixerclient/client.go
...stio1106/istio/mixerclient/mixer_client_manager.go
istio/istio1106/istio/control/http/report_data.go
istio/istio1106/filter/stream/stats/stats.go
...stio/istio1106/filter/stream/rbac/common/policy.go
... and 55 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

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

Successfully merging this pull request may close these issues.

None yet

1 participant