Skip to content

Suggested nits for generalize peer sampling #5170

Suggested nits for generalize peer sampling

Suggested nits for generalize peer sampling #5170

Triggered via pull request May 13, 2024 21:43
Status Failure
Total duration 12m 49s
Artifacts

ci.yml

on: pull_request
Matrix: Unit
Fit to window
Zoom out
Zoom in

Annotations

110 errors and 7 warnings
govulncheck: vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
govulncheck: vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
govulncheck
too many arguments in call to p2p.NewValidators
govulncheck
undefined: p2p.WithValidatorSampling
govulncheck
undefined: p2p.WithValidatorSampling
govulncheck
Process completed with exit code 1.
Unit (self-hosted, linux, ARM64, focal): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, focal)
too many arguments in call to p2p.NewValidators
Unit (self-hosted, linux, ARM64, focal)
undefined: p2p.WithValidatorSampling
Unit (self-hosted, linux, ARM64, focal)
undefined: p2p.WithValidatorSampling
Unit (self-hosted, linux, ARM64, focal): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, focal): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, focal): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, focal)
too many arguments in call to p2p.NewValidators
Unit (self-hosted, linux, ARM64, focal)
undefined: p2p.WithValidatorSampling
Unit (self-hosted, linux, ARM64, focal)
undefined: p2p.WithValidatorSampling
Unit (self-hosted, linux, ARM64, jammy): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, jammy)
too many arguments in call to p2p.NewValidators
Unit (self-hosted, linux, ARM64, jammy)
undefined: p2p.WithValidatorSampling
Unit (self-hosted, linux, ARM64, jammy)
undefined: p2p.WithValidatorSampling
Unit (self-hosted, linux, ARM64, jammy): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, jammy): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, jammy): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (self-hosted, linux, ARM64, jammy)
too many arguments in call to p2p.NewValidators
Unit (self-hosted, linux, ARM64, jammy)
undefined: p2p.WithValidatorSampling
Unit (self-hosted, linux, ARM64, jammy)
undefined: p2p.WithValidatorSampling
Upgrade
No files were found with the provided path: ~/.tmpnet/networks ~/.tmpnet/prometheus/prometheus.log ~/.tmpnet/promtail/promtail.log. No artifacts will be uploaded.
Upgrade: vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Upgrade: vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Upgrade
too many arguments in call to p2p.NewValidators
Upgrade
undefined: p2p.WithValidatorSampling
Upgrade
undefined: p2p.WithValidatorSampling
Upgrade
Process completed with exit code 1.
e2e_existing_network: vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
e2e_existing_network: vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
e2e_existing_network
too many arguments in call to p2p.NewValidators
e2e_existing_network
undefined: p2p.WithValidatorSampling
e2e_existing_network
undefined: p2p.WithValidatorSampling
e2e_existing_network
Process completed with exit code 1.
e2e_existing_network
No files were found with the provided path: ~/.tmpnet/networks ~/.tmpnet/prometheus/prometheus.log ~/.tmpnet/promtail/promtail.log. No artifacts will be uploaded.
e2e
No files were found with the provided path: ~/.tmpnet/networks ~/.tmpnet/prometheus/prometheus.log ~/.tmpnet/promtail/promtail.log. No artifacts will be uploaded.
e2e: vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
e2e: vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
e2e
too many arguments in call to p2p.NewValidators
e2e
undefined: p2p.WithValidatorSampling
e2e
undefined: p2p.WithValidatorSampling
e2e
Process completed with exit code 1.
Up-to-date mocks
too many arguments in call to p2p.NewValidatorSamplingFilter
Up-to-date mocks
too many arguments in call to p2p.NewValidatorSamplingFilter
Up-to-date mocks
too many arguments in call to p2p.NewValidatorSamplingFilter
Up-to-date mocks
too many arguments in call to p2p.NewValidatorSamplingFilter
Up-to-date mocks
no required module provides package github.com/ava-labs/avalanchego/vms/platformvm/state: go.mod file not found in current directory or any parent directory; see 'go help modules'
Up-to-date mocks
no required module provides package go.uber.org/mock/mockgen/model: go.mod file not found in current directory or any parent directory; see 'go help modules'
Up-to-date mocks
Process completed with exit code 1.
Image build
Process completed with exit code 1.
Lint: wallet/chain/c/backend.go#L12
could not import github.com/ava-labs/coreth/plugin/evm (-: # github.com/ava-labs/coreth/plugin/evm
Lint
too many arguments in call to p2p.NewValidators
Lint
undefined: p2p.WithValidatorSampling
Lint
undefined: p2p.WithValidatorSampling) (typecheck)
Lint: wallet/chain/c/backend.go#L8
"fmt" imported and not used (typecheck)
Lint: wallet/chain/c/backend.go#L15
"github.com/ava-labs/avalanchego/utils/math" imported and not used (typecheck)
Lint: wallet/chain/c/backend.go#L16
"github.com/ava-labs/avalanchego/vms/components/avax" imported and not used (typecheck)
Lint: tests/antithesis/main.go#L64
cannot infer T (utils/set/set.go:28:9) (typecheck)
Lint: tests/e2e/c/dynamic_fees.go#L12
could not import github.com/ava-labs/coreth/plugin/evm (-: # github.com/ava-labs/coreth/plugin/evm
Lint
too many arguments in call to p2p.NewValidators
Unit (ubuntu-20.04): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-20.04): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-20.04)
too many arguments in call to p2p.NewValidators
Unit (ubuntu-20.04)
undefined: p2p.WithValidatorSampling
Unit (ubuntu-20.04)
undefined: p2p.WithValidatorSampling
Unit (ubuntu-20.04): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-20.04): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-20.04)
too many arguments in call to p2p.NewValidators
Unit (ubuntu-20.04)
undefined: p2p.WithValidatorSampling
Unit (ubuntu-20.04)
undefined: p2p.WithValidatorSampling
Unit (ubuntu-22.04): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-22.04): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-22.04)
too many arguments in call to p2p.NewValidators
Unit (ubuntu-22.04)
undefined: p2p.WithValidatorSampling
Unit (ubuntu-22.04)
undefined: p2p.WithValidatorSampling
Unit (ubuntu-22.04): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-22.04): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (ubuntu-22.04)
too many arguments in call to p2p.NewValidators
Unit (ubuntu-22.04)
undefined: p2p.WithValidatorSampling
Unit (ubuntu-22.04)
undefined: p2p.WithValidatorSampling
Unit (macos-12): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (macos-12): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (macos-12)
too many arguments in call to p2p.NewValidators
Unit (macos-12)
undefined: p2p.WithValidatorSampling
Unit (macos-12)
undefined: p2p.WithValidatorSampling
Unit (macos-12): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (macos-12): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (macos-12)
too many arguments in call to p2p.NewValidators
Unit (macos-12)
undefined: p2p.WithValidatorSampling
Unit (macos-12)
undefined: p2p.WithValidatorSampling
Unit (windows-2022): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (windows-2022): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (windows-2022)
too many arguments in call to p2p.NewValidators
Unit (windows-2022)
undefined: p2p.WithValidatorSampling
Unit (windows-2022)
undefined: p2p.WithValidatorSampling
Unit (windows-2022): vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (windows-2022): vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Unit (windows-2022)
too many arguments in call to p2p.NewValidators
Unit (windows-2022)
undefined: p2p.WithValidatorSampling
Unit (windows-2022)
undefined: p2p.WithValidatorSampling
Fuzz: vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Fuzz: vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Fuzz: vms/avm/network/network.go#L72
too many arguments in call to p2p.NewValidatorSamplingFilter
Fuzz: vms/platformvm/network/network.go#L70
too many arguments in call to p2p.NewValidatorSamplingFilter
Fuzz
Process completed with exit code 1.
Up-to-date protobuf
No github_token supplied, API requests will be subject to stricter rate limiting
Unit (self-hosted, linux, ARM64, focal)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit (self-hosted, linux, ARM64, jammy)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit (ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit (ubuntu-22.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit (macos-12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit (windows-2022)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.