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:34
Elapsed3m15s
Revision07f7acd265f7d5c791579b2c9b1feee2ba5c2aaf
Refs 177

No Test Failures!


Error lines from build-log.txt

... skipping 5799 lines ...
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/pvcontroller	[no test files]
ok  	github.com/kubernetes-sigs/kube-scheduler-simulator/replicateexistingcluster	0.037s
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/replicateexistingcluster/mock_replicateexistingcluster	[no test files]
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/reset	[no test files]
ok  	github.com/kubernetes-sigs/kube-scheduler-simulator/scheduler	0.046s
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/scheduler/config	[no test files]
E0521 09:37:58.914576   25783 wrappedplugin.go:224] failed to run score plugin: Error, Score returned
E0521 09:37:58.915143   25783 wrappedplugin.go:191] failed to run normalize score: Error, normalize failed
--- FAIL: TestConvertForSimulator (0.00s)
    --- FAIL: TestConvertForSimulator/success_when_user_disable_all_plugins_with_'*' (0.00s)
        plugins_test.go:183: 
            	Error Trace:	plugins_test.go:183
            	Error:      	Not equal: 
            	            	expected: &v1beta2.Plugins{QueueSort:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PreFilter:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Filter:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin{v1beta2.Plugin{Name:"*", Weight:(*int32)(nil)}}}, PostFilter:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PreScore:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Score:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin{v1beta2.Plugin{Name:"PodTopologySpreadWrapped", Weight:(*int32)(0xc000436104)}, v1beta2.Plugin{Name:"TaintTolerationWrapped", Weight:(*int32)(0xc000436100)}}, Disabled:[]v1beta2.Plugin{v1beta2.Plugin{Name:"*", Weight:(*int32)(nil)}}}, Reserve:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Permit:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PreBind:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Bind:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PostBind:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}}
            	            	actual  : &v1beta2.Plugins{QueueSort:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PreFilter:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Filter:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin{}, Disabled:[]v1beta2.Plugin{v1beta2.Plugin{Name:"*", Weight:(*int32)(nil)}}}, PostFilter:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PreScore:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Score:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin{v1beta2.Plugin{Name:"PodTopologySpreadWrapped", Weight:(*int32)(0xc0005ec018)}, v1beta2.Plugin{Name:"TaintTolerationWrapped", Weight:(*int32)(0xc0005ec01c)}}, Disabled:[]v1beta2.Plugin{v1beta2.Plugin{Name:"*", Weight:(*int32)(nil)}}}, Reserve:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Permit:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PreBind:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, Bind:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}, PostBind:v1beta2.PluginSet{Enabled:[]v1beta2.Plugin(nil), Disabled:[]v1beta2.Plugin(nil)}}
            	            	
            	            	Diff:
            	            	--- Expected
            	            	+++ Actual
            	            	@@ -10,3 +10,4 @@
            	            	  Filter: (v1beta2.PluginSet) {
            	            	-  Enabled: ([]v1beta2.Plugin) <nil>,
            	            	+  Enabled: ([]v1beta2.Plugin) {
            	            	+  },
            	            	   Disabled: ([]v1beta2.Plugin) (len=1) {
            	Test:       	TestConvertForSimulator/success_when_user_disable_all_plugins_with_'*'
E0521 09:37:58.915444   25783 wrappedplugin.go:224] failed to run score plugin: Error, Score returned
E0521 09:37:58.915487   25783 wrappedplugin.go:224] failed to run score plugin: Error, score failed
E0521 09:37:58.916602   25783 wrappedplugin.go:191] failed to run normalize score: Error, NormalizeScore returned
FAIL
FAIL	github.com/kubernetes-sigs/kube-scheduler-simulator/scheduler/plugin	0.056s
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/scheduler/plugin/annotation	[no test files]
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/scheduler/plugin/mock	[no test files]
ok  	github.com/kubernetes-sigs/kube-scheduler-simulator/scheduler/plugin/resultstore	0.053s
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/server	[no test files]
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/server/di	[no test files]
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/server/handler	[no test files]
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/storageclass	[no test files]
?   	github.com/kubernetes-sigs/kube-scheduler-simulator/util	[no test files]
FAIL
make: *** [Makefile:20: test] Error 1