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: Do not emit health_status event for each health check attempt. #24005

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Fix Go fmt

4597408
Select commit
Loading
Failed to load commit list.
Open

Fix: Do not emit health_status event for each health check attempt. #24005

Fix Go fmt
4597408
Select commit
Loading
Failed to load commit list.
Cirrus CI / Windows Cross failed Sep 20, 2024 in 4m 58s

Task Summary

Instruction main failed in 04:33

Details

✅ 00:19 clone
✅ 00:02 setup
❌ 04:33 main

************************************************************
+ cd /var/tmp/go/src/github.com/containers/podman
+ case "$ALT_NAME" in
+ showrun make .install.pre-commit
+ local -a context
+ context=($(caller 0))
++ caller 0
+ echo '+ make .install.pre-commit  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:276 in _run_altbuild()'
+ make .install.pre-commit  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:276 in _run_altbuild()
+ make .install.pre-commit
if [ -z "/usr/bin/pre-commit" ]; then \
	/usr/bin/python3 -m pip install --user pre-commit; \
fi
+ showrun make lint GOOS=windows CGO_ENABLED=0
+ local -a context
+ context=($(caller 0))
++ caller 0
+ echo '+ make lint GOOS=windows CGO_ENABLED=0  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:277 in _run_altbuild()'
+ make lint GOOS=windows CGO_ENABLED=0  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:277 in _run_altbuild()
+ make lint GOOS=windows CGO_ENABLED=0
VERSION=1.61.0 ./hack/install_golangci.sh
Installing golangci-lint v1.61.0 into ./bin/golangci-lint
golangci/golangci-lint info checking GitHub for tag 'v1.61.0'
golangci/golangci-lint info found version: 1.61.0 for v1.61.0/linux/amd64
golangci/golangci-lint info installed ./bin/golangci-lint
hack/golangci-lint.sh run

Running golangci-lint for REMOTE
Build Tags REMOTE: remote,containers_image_openpgp
Skipped directories REMOTE: libpod/events,pkg/machine/qemu,pkg/machine/wsl,test
+ ./bin/golangci-lint run --timeout=10m --build-tags=remote,containers_image_openpgp --exclude-dirs=libpod/events,pkg/machine/qemu,pkg/machine/wsl,test
/usr/bin/pre-commit run -a
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.git.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.git.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
Mixed line ending........................................................Passed
check BOM - deprecated: use fix-byte-order-marker........................Passed
Check that executables have shebangs.....................................Passed
Check for merge conflicts................................................Passed
Check Yaml...............................................................Passed
codespell................................................................Failed
- hook id: codespell
- exit code: 65

libpod/events/config.go:115: toggeled ==> toggled

make: *** [Makefile:281: lint] Error 1

Exit status: 2