This job view page is being replaced by Spyglass soon. Check out the new job view.
PRsanposhiho: Support custom plugins in the simulator
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2022-05-21 09:06
Elapsed3m32s
Revision1f1d0653d6c11b3260ce2e086a67839621f74876
Refs 177

No Test Failures!


Error lines from build-log.txt

... skipping 5829 lines ...
	var nonMatchScore int64 = 0
	                          ^
docs/how-to-use-custom-plugins/nodenumber/plugin.go:130:6: exported: type name will be used as nodenumber.NodeNumberArgs by other packages, and that stutters; consider calling this Args (revive)
type NodeNumberArgs struct {
     ^
scheduler/plugin/plugins.go:21:1: calculated cyclomatic complexity for function NewRegistry is 11, max is 10 (cyclop)
func NewRegistry(informerFactory informers.SharedInformerFactory, client clientset.Interface) (map[string]schedulerRuntime.PluginFactory, error) {
^
docs/how-to-use-custom-plugins/nodenumber/plugin.go:87:2: type assertion must be checked (forcetypeassert)
	s := data.(*preScoreState)
	^
scheduler/plugin/plugins.go:170:1: directive `//nolint:cyclop` is unused for linter "cyclop" (nolintlint)
//nolint:cyclop
^
make: *** [Makefile:12: lint] Error 1