Skip to content

agent: add tcp connection disruptor #1063

agent: add tcp connection disruptor

agent: add tcp connection disruptor #1063

Triggered via pull request October 20, 2023 12:21
Status Failure
Total duration 3m 33s
Artifacts

ci.yml

on: pull_request
build-with-xk6-docker
2m 44s
build-with-xk6-docker
run-linter
48s
run-linter
Codespell
12s
Codespell
Matrix: build-with-xk6
Matrix: run-unit-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Codespell: pkg/agent/tcpconn/handler.go#L57
directes ==> directs
run-linter: pkg/agent/tcpconn/handler.go#L11
could not import github.com/AkihiroSuda/go-netfilter-queue (-: go build github.com/AkihiroSuda/go-netfilter-queue:
run-linter: pkg/agent/tcpconn/handler.go#L101
undefined: netfilter (typecheck)
run-linter: pkg/agent/tcpconn/handler.go#L127
undefined: netfilter (typecheck)
run-linter: pkg/agent/tcpconn/handler.go#L67
undefined: netfilter (typecheck)
run-linter: pkg/agent/tcpconn/handler.go#L131
undefined: netfilter (typecheck)
run-linter: pkg/agent/tcpconn/handler.go#L135
undefined: netfilter (typecheck)
run-linter
issues found
run-unit-tests (ubuntu-latest)
Process completed with exit code 1.
run-unit-tests (macos-latest)
The job was canceled because "ubuntu-latest" failed.
run-unit-tests (macos-latest)
The operation was canceled.
run-linter: pkg/iptables/ruler.go#L65
receiver-naming: receiver name r should be consistent with previous receiver name i for Iptables (revive)
run-linter: pkg/iptables/ruler.go#L19
exported: exported function New should have comment or be unexported (revive)
run-linter: pkg/iptables/ruler.go#L25
exported: exported method Iptables.Add should have comment or be unexported (revive)
run-linter: pkg/iptables/ruler.go#L35
exported: exported method Iptables.AddRule should have comment or be unexported (revive)