You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Existing open issues along with etcd frequently asked questions have been checked and this is not a duplicate.
What happened?
There were a couple of errors when running make verify by following the CONTRIBUTING.md guide in a fresh environment:
jq is needed to run make verify-dep:
root@dc1067d9dddc:/go/etcd# make verify-dep
PASSES="dep" ./scripts/test.sh
Running with --race
Starting at: Fri Dec 27 16:43:41 UTC 2024
'dep' started at Fri Dec 27 16:43:41 UTC 2024
% (cd api && 'go' 'list' '-m')
./scripts/test.sh: line 514: jq: command not found
% (cd api && 'go' 'mod' 'edit' '-json')
FAIL: (code:141):
% (cd api && 'go' 'mod' 'edit' '-json')
There was a Failure in module api, aborting...
FAIL: 'dep' FAILED at Fri Dec 27 16:43:41 UTC 2024
make: *** [Makefile:90: verify-dep] Error 255
xz is needed to run make verify-shellcheck:
root@dc1067d9dddc:/go/etcd# make verify-shellcheck
PASSES="shellcheck" ./scripts/test.sh
Running with --race
Starting at: Fri Dec 27 16:47:37 UTC 2024
'shellcheck' started at Fri Dec 27 16:47:37 UTC 2024
Tool: 'shellcheck' not found on PATH. https://github.com/koalaman/shellcheck#installing
Installing shellcheck v0.10.0
tar (grandchild): xz: Cannot exec: No such file or directory
tar (grandchild): Error is not recoverable: exiting now
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
mv: cannot stat '/tmp/shellcheck': No such file or directory
% './bin/shellcheck' '-fgcc' 'scripts/build-binary.sh' 'scripts/build-docker.sh' 'scripts/build-release.sh' 'scripts/build.sh' 'scripts/build_lib.sh' 'scripts/build_tools.sh' 'scripts/codecov_upload.sh' 'scripts/fix.sh' 'scripts/fuzzing.sh' 'scripts/genproto.sh' 'scripts/measure-testgrid-flakiness.sh' 'scripts/release.sh' 'scripts/release_mod.sh' 'scripts/sync_go_toolchain_directive.sh' 'scripts/test.sh' 'scripts/test_images.sh' 'scripts/test_lib.sh' 'scripts/update_dep.sh' 'scripts/update_proto_annotations.sh' 'scripts/updatebom.sh' 'scripts/verify_genproto.sh' 'scripts/verify_go_versions.sh' 'scripts/verify_proto_annotations.sh'
FAIL: (code:127):
% './bin/shellcheck' '-fgcc' 'scripts/build-binary.sh' 'scripts/build-docker.sh' 'scripts/build-release.sh' 'scripts/build.sh' 'scripts/build_lib.sh' 'scripts/build_tools.sh' 'scripts/codecov_upload.sh' 'scripts/fix.sh' 'scripts/fuzzing.sh' 'scripts/genproto.sh' 'scripts/measure-testgrid-flakiness.sh' 'scripts/release.sh' 'scripts/release_mod.sh' 'scripts/sync_go_toolchain_directive.sh' 'scripts/test.sh' 'scripts/test_images.sh' 'scripts/test_lib.sh' 'scripts/update_dep.sh' 'scripts/update_proto_annotations.sh' 'scripts/updatebom.sh' 'scripts/verify_genproto.sh' 'scripts/verify_go_versions.sh' 'scripts/verify_proto_annotations.sh'
stderr: ./scripts/test_lib.sh: line 148: ./bin/shellcheck: No such file or directory
FAIL: 'run ./bin/shellcheck -fgcc scripts/build-binary.sh scripts/build-docker.sh scripts/build-release.sh scripts/build.sh scripts/build_lib.sh scripts/build_tools.sh scripts/codecov_upload.sh scripts/fix.sh scripts/fuzzing.sh scripts/genproto.sh scripts/measure-testgrid-flakiness.sh scripts/release.sh scripts/release_mod.sh scripts/sync_go_toolchain_directive.sh scripts/test.sh scripts/test_images.sh scripts/test_lib.sh scripts/update_dep.sh scripts/update_proto_annotations.sh scripts/updatebom.sh scripts/verify_genproto.sh scripts/verify_go_versions.sh scripts/verify_proto_annotations.sh' checking failed (!=0 return code)
FAIL: 'shellcheck' FAILED at Fri Dec 27 16:47:37 UTC 2024
make: *** [Makefile:102: verify-shellcheck] Error 255
The following links in the guide are no longer valid:
Bug report criteria
What happened?
There were a couple of errors when running
make verify
by following theCONTRIBUTING.md
guide in a fresh environment:jq
is needed to runmake verify-dep
:xz
is needed to runmake verify-shellcheck
:The following links in the guide are no longer valid:
What did you expect to happen?
make verify
should succeed for all checks:make verify-dep
:make verify-shellcheck
:How can we reproduce it (as minimally and precisely as possible)?
Run a Docker container with Go v1.23.4:
Clone this repo:
Navigate to the repo:
cd etcd
Run
make verify-dep
andmake verify-shellcheck
Anything else we need to know?
No response
Etcd version (please run commands below)
Running on top of this commit: a37bee0
Etcd configuration (command line flags or environment variables)
N/A
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
N/A
Relevant log output
No response
The text was updated successfully, but these errors were encountered: