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

Add run-govulncheck Makefile target #18182

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

ivanvc
Copy link
Member

@ivanvc ivanvc commented Jun 15, 2024

Add a Makefile target to run govuln across the submodules. This will allow it to be imported into a prow job and remove the logic from the GitHub workflow file.

Part of #18173.

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

Add a `Makefile` target to run govuln across the submodules. So, it can
be imported into a prow job.

Signed-off-by: Ivan Valdes <ivan@vald.es>
@@ -164,6 +164,13 @@ ifeq (, $(shell which yamlfmt))
endif
yamlfmt -conf tools/.yamlfmt .

.PHONY: run-govulncheck
run-govulncheck:
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not 100% convinced of this name. Suggestions are welcome.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 68.57143% with 11 lines in your changes missing coverage. Please review.

Project coverage is 68.88%. Comparing base (45f1453) to head (2cee493).
Report is 8 commits behind head on main.

Current head 2cee493 differs from pull request most recent head 0430960

Please upload reports for the commit 0430960 to get more accurate results.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
Files Coverage Δ
server/storage/mvcc/revision.go 91.48% <80.00%> (-3.39%) ⬇️
etcdutl/snapshot/v3_snapshot.go 57.43% <64.00%> (+8.53%) ⬆️

... and 21 files with indirect coverage changes

@@            Coverage Diff             @@
##             main   #18182      +/-   ##
==========================================
+ Coverage   68.82%   68.88%   +0.06%     
==========================================
  Files         416      416              
  Lines       35128    35151      +23     
==========================================
+ Hits        24177    24215      +38     
+ Misses       9549     9530      -19     
- Partials     1402     1406       +4     

Continue to review full report in Codecov by Sentry.

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

@ivanvc
Copy link
Member Author

ivanvc commented Jun 16, 2024

/retest

2 similar comments
@ivanvc
Copy link
Member Author

ivanvc commented Jun 16, 2024

/retest

@ivanvc
Copy link
Member Author

ivanvc commented Jun 16, 2024

/retest

@ivanvc
Copy link
Member Author

ivanvc commented Jun 17, 2024

It seems like Robustness tests are consistently failing on the prow infra 🤕 https://prow.k8s.io/job-history/gs/kubernetes-jenkins/pr-logs/directory/pull-etcd-robustness-amd64

@jmhbnz
Copy link
Member

jmhbnz commented Jun 17, 2024

It seems like Robustness tests are consistently failing on the prow infra 🤕 https://prow.k8s.io/job-history/gs/kubernetes-jenkins/pr-logs/directory/pull-etcd-robustness-amd64

Issue appears to be permissions for accessing the fuse device required for lazyfs robustness scenarios. I'll raise a pr to fix.

Edit: Opened kubernetes/test-infra#32769

@jmhbnz
Copy link
Member

jmhbnz commented Jun 17, 2024

/retest

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks

Copy link
Member

@jmhbnz jmhbnz left a comment

Choose a reason for hiding this comment

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

Per module scan looks to be working nicely https://github.com/etcd-io/etcd/actions/runs/9531416934/job/26272339407?pr=18182

LGTM - Thanks @ivanvc

@jmhbnz jmhbnz merged commit 047b440 into etcd-io:main Jun 17, 2024
47 checks passed
@ivanvc ivanvc deleted the add-makefile-verify-govulncheck branch June 18, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

6 participants