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

Upgraded cucumber/godog v0.8.0 => v0.8.1, updated sum hashes. #733

Merged
merged 1 commit into from
Mar 16, 2020
Merged

Upgraded cucumber/godog v0.8.0 => v0.8.1, updated sum hashes. #733

merged 1 commit into from
Mar 16, 2020

Conversation

yekurtal
Copy link
Contributor

Reason

cucumber/godog v0.8.0 is/was causing go mod SECURITY ERROR for @euskadi31 (#732), @yinjun622 (#731) and me.

Cause

The issue is only presenting itself on MacOS and seems te be caused by go#29278.

Go test

➜ go test ./... ok go.elastic.co/apm 0.134s [no tests to run] ? go.elastic.co/apm/apmconfig [no test files] ? go.elastic.co/apm/apmtest [no test files] ? go.elastic.co/apm/internal/apmcontext [no test files] ? go.elastic.co/apm/internal/apmgodog [no test files] ok go.elastic.co/apm/internal/apmhostutil 0.032s [no tests to run] ok go.elastic.co/apm/internal/apmhttputil 0.028s [no tests to run] ok go.elastic.co/apm/internal/apmlog 0.025s [no tests to run] ? go.elastic.co/apm/internal/apmschema [no test files] ok go.elastic.co/apm/internal/apmstrings 0.028s [no tests to run] ? go.elastic.co/apm/internal/apmversion [no test files] ok go.elastic.co/apm/internal/configutil 0.023s [no tests to run] ok go.elastic.co/apm/internal/iochan 0.029s [no tests to run] ? go.elastic.co/apm/internal/pkgerrorsutil [no test files] ok go.elastic.co/apm/internal/ringbuffer 0.026s [no tests to run] ok go.elastic.co/apm/internal/sqlscanner 0.027s [no tests to run] ? go.elastic.co/apm/internal/sqlutil [no test files] ok go.elastic.co/apm/internal/wildcard 0.028s [no tests to run] ok go.elastic.co/apm/model 0.020s [no tests to run] ? go.elastic.co/apm/scripts [no test files] ok go.elastic.co/apm/stacktrace 0.027s [no tests to run] ok go.elastic.co/apm/transport 0.015s [no tests to run] ? go.elastic.co/apm/transport/transporttest [no test files]

Go env

GO111MODULE="" GOARCH="amd64" GOBIN="/Users/yekurtal/Desktop/Other/go/bin" GOCACHE="/Users/yekurtal/Library/Caches/go-build" GOENV="/Users/yekurtal/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/yekurtal/Desktop/Other/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/yekurtal/Desktop/Projects/apm-agent-go/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/qg/qmq8003505l_zhp_jqr1n4rh0000gn/T/go-build543883094=/tmp/go-build -gno-record-gcc-switches -fno-common"

Copy link
Member

@axw axw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @yekurtal!

Just for clarification, did you already try running go clean -modcache to see if it resolved the issue?

@axw
Copy link
Member

axw commented Mar 16, 2020

jenkins run the tests please

@codecov-io
Copy link

Codecov Report

Merging #733 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #733      +/-   ##
==========================================
- Coverage   84.64%   84.60%   -0.04%     
==========================================
  Files         127      127              
  Lines        8276     8278       +2     
==========================================
- Hits         7005     7004       -1     
- Misses        889      891       +2     
- Partials      382      383       +1     
Impacted Files Coverage Δ
internal/apmgodog/formatter.go 79.03% <ø> (ø)
internal/apmgodog/suitecontext.go 84.31% <ø> (ø)
breakdown.go 95.27% <100.00%> (+0.06%) ⬆️
profiling.go 75.40% <0.00%> (-6.56%) ⬇️
tracer.go 87.99% <0.00%> (-0.32%) ⬇️
module/apmsql/driver_go110.go 76.00% <0.00%> (+12.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 112d670...dc1ecde. Read the comment docs.

@axw axw merged commit f16aafb into elastic:master Mar 16, 2020
@yekurtal
Copy link
Contributor Author

Sorry, life was a bit hectic the last few days.

Thanks, @yekurtal!

Just for clarification, did you already try running go clean -modcache to see if it resolved the issue?

Yes, also tried nuking the GOPATH and the Go install.

Anyway, 🥂 for merging it!

@axw
Copy link
Member

axw commented Mar 19, 2020

I keep getting reports of this. Despite not being able to reproduce it myself, I'm going to create a patch release. Version numbers are free after all.

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

Successfully merging this pull request may close these issues.

3 participants