Created
June 14, 2019 04:19
-
-
Save darshanime/1e4da42ec3c2da5024037c42f30b33ad to your computer and use it in GitHub Desktop.
Staticchecker Warnings for cilium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Working on pkg/alignchecker | |
pkg/alignchecker/alignchecker_test.go:37:2: field ipv6 is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:38:2: field misc is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:39:2: field f is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:40:2: field pad4 is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:41:2: field pad5 is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:45:2: field foo is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:49:2: field ipv6 is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:53:2: field ipv6 is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:54:2: field misc is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:55:2: field f is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:56:2: field pad4 is unused (U1000) | |
pkg/alignchecker/alignchecker_test.go:57:2: field pad5 is unused (U1000) | |
* Working on pkg/annotation | |
* Working on pkg/api | |
* Working on pkg/backoff | |
* Working on pkg/bpf | |
pkg/bpf/map.go:61:2: const maxSyncErrors is unused (U1000) | |
pkg/bpf/map.go:66:2: const errorResolverSchedulerMinInterval is unused (U1000) | |
pkg/bpf/map.go:71:2: const errorResolverSchedulerDelay is unused (U1000) | |
pkg/bpf/map.go:75:2: var mapControllers is unused (U1000) | |
pkg/bpf/metrics.go:18:2: const metricOpCreate is unused (U1000) | |
pkg/bpf/metrics.go:19:2: const metricOpUpdate is unused (U1000) | |
pkg/bpf/metrics.go:20:2: const metricOpLookup is unused (U1000) | |
pkg/bpf/metrics.go:21:2: const metricOpDelete is unused (U1000) | |
pkg/bpf/metrics.go:22:2: const metricOpGetNextKey is unused (U1000) | |
pkg/bpf/metrics.go:23:2: const metricOpObjPin is unused (U1000) | |
pkg/bpf/metrics.go:24:2: const metricOpObjGet is unused (U1000) | |
pkg/bpf/metrics.go:25:2: const metricOpGetFDByID is unused (U1000) | |
pkg/bpf/metrics.go:26:2: const metricOpProgGetNextID is unused (U1000) | |
pkg/bpf/metrics.go:27:2: const metricOpObjGetInfoByFD is unused (U1000) | |
pkg/bpf/metrics.go:28:2: const metricOpPerfEventOpen is unused (U1000) | |
pkg/bpf/metrics.go:29:2: const metricOpPerfEventEnable is unused (U1000) | |
pkg/bpf/metrics.go:30:2: const metricOpPerfEventDisable is unused (U1000) | |
* Working on pkg/byteorder | |
* Working on pkg/cgroups | |
pkg/cgroups/cgroups.go:64:20: Mount not declared by package syscall (compile) | |
* Working on pkg/checker | |
* Working on pkg/cidr | |
* Working on pkg/cleanup | |
* Working on pkg/client | |
* Working on pkg/clustermesh | |
* Working on pkg/color | |
* Working on pkg/command | |
* Working on pkg/comparator | |
* Working on pkg/completion | |
* Working on pkg/components | |
* Working on pkg/controller | |
* Working on pkg/counter | |
* Working on pkg/crypto | |
-: no Go files in /Users/darshanime/go/src/github.com/cilium/cilium/pkg/crypto (compile) | |
* Working on pkg/datapath | |
* Working on pkg/debug | |
* Working on pkg/defaults | |
* Working on pkg/elf | |
* Working on pkg/endpoint | |
pkg/endpoint/endpoint.go:2201:20: MapFdFromID not declared by package bpf (compile) | |
pkg/endpoint/endpoint.go:2207:12: ObjPin not declared by package bpf (compile) | |
pkg/endpoint/endpoint.go:1330:25: e.PolicyMap.Close undefined (type *policymap.PolicyMap has no field or method Close) (compile) | |
pkg/endpoint/endpoint.go:1336:28: e.bpfConfigMap.Close undefined (type *configmap.EndpointConfigMap has no field or method Close) (compile) | |
pkg/endpoint/bpf.go:1027:22: e.PolicyMap.Close undefined (type *policymap.PolicyMap has no field or method Close) (compile) | |
pkg/endpoint/bpf.go:821:15: m.Open undefined (type *ctmap.Map has no field or method Open) (compile) | |
pkg/endpoint/bpf.go:831:11: m.Close undefined (type *ctmap.Map has no field or method Close) (compile) | |
pkg/endpoint/bpf.go:783:21: m.Path undefined (type *ctmap.Map has no field or method Path) (compile) | |
pkg/endpoint/bpf.go:599:21: e.PolicyMap.DeleteAll undefined (type *policymap.PolicyMap has no field or method DeleteAll) (compile) | |
pkg/endpoint/bpf.go:111:24: LocalMapName not declared by package bpf (compile) | |
pkg/endpoint/bpf.go:70:13: LocalMapPath not declared by package bpf (compile) | |
pkg/endpoint/bpf.go:65:13: LocalMapPath not declared by package bpf (compile) | |
pkg/endpoint/bpf.go:60:13: LocalMapPath not declared by package bpf (compile) | |
pkg/endpoint/bpf.go:55:13: LocalMapPath not declared by package bpf (compile) | |
-: package github.com/cilium/cilium/pkg/endpoint (test) | |
imports github.com/cilium/cilium/pkg/datapath/linux | |
imports github.com/cilium/cilium/pkg/endpoint/connector | |
imports github.com/containernetworking/plugins/pkg/ns: build constraints exclude all Go files in /Users/darshanime/go/src/github.com/cilium/cilium/vendor/github.com/containernetworking/plugins/pkg/ns (compile) | |
* Working on pkg/endpointmanager | |
pkg/endpointmanager/conntrack.go:47:18: m.Path undefined (type *ctmap.Map has no field or method Path) (compile) | |
pkg/endpointmanager/conntrack.go:49:12: m.Open undefined (type *ctmap.Map has no field or method Open) (compile) | |
pkg/endpointmanager/conntrack.go:64:11: m.Close undefined (type *ctmap.Map has no field or method Close) (compile) | |
pkg/endpointmanager/conntrack.go:66:15: m.MapInfo undefined (type *ctmap.Map has no field or method MapInfo) (compile) | |
pkg/endpointmanager/conntrack.go:71:42: m.MapInfo undefined (type *ctmap.Map has no field or method MapInfo) (compile) | |
pkg/endpointmanager/conntrack.go:47:18: m.Path undefined (type *ctmap.Map has no field or method Path) (compile) | |
pkg/endpointmanager/conntrack.go:49:12: m.Open undefined (type *ctmap.Map has no field or method Open) (compile) | |
pkg/endpointmanager/conntrack.go:64:11: m.Close undefined (type *ctmap.Map has no field or method Close) (compile) | |
pkg/endpointmanager/conntrack.go:66:15: m.MapInfo undefined (type *ctmap.Map has no field or method MapInfo) (compile) | |
pkg/endpointmanager/conntrack.go:71:42: m.MapInfo undefined (type *ctmap.Map has no field or method MapInfo) (compile) | |
pkg/endpointmanager/conntrack.go:47:18: m.Path undefined (type *ctmap.Map has no field or method Path) (compile) | |
pkg/endpointmanager/conntrack.go:49:12: m.Open undefined (type *ctmap.Map has no field or method Open) (compile) | |
pkg/endpointmanager/conntrack.go:64:11: m.Close undefined (type *ctmap.Map has no field or method Close) (compile) | |
pkg/endpointmanager/conntrack.go:66:15: m.MapInfo undefined (type *ctmap.Map has no field or method MapInfo) (compile) | |
pkg/endpointmanager/conntrack.go:71:42: m.MapInfo undefined (type *ctmap.Map has no field or method MapInfo) (compile) | |
* Working on pkg/envoy | |
pkg/envoy/server.go:192:72: GetMapRoot not declared by package bpf (compile) | |
pkg/envoy/server.go:192:72: GetMapRoot not declared by package bpf (compile) | |
pkg/envoy/server.go:192:72: GetMapRoot not declared by package bpf (compile) | |
* Working on pkg/eventqueue | |
* Working on pkg/flowdebug | |
* Working on pkg/fqdn | |
* Working on pkg/health | |
-: no Go files in /Users/darshanime/go/src/github.com/cilium/cilium/pkg/health (compile) | |
* Working on pkg/identity | |
* Working on pkg/idpool | |
* Working on pkg/ip | |
* Working on pkg/ipam | |
pkg/ipam/ipam.go:104:48: FAMILY_V4 not declared by package netlink (compile) | |
pkg/ipam/ipam.go:104:48: FAMILY_V4 not declared by package netlink (compile) | |
pkg/ipam/ipam.go:104:48: FAMILY_V4 not declared by package netlink (compile) | |
* Working on pkg/ipcache | |
* Working on pkg/k8s | |
* Working on pkg/kafka | |
* Working on pkg/kvstore | |
* Working on pkg/labels | |
* Working on pkg/launcher | |
* Working on pkg/loadbalancer | |
* Working on pkg/loadinfo | |
* Working on pkg/lock | |
pkg/lock/lock_test.go:37:2: empty critical section (SA2001) | |
pkg/lock/lock_test.go:40:2: empty critical section (SA2001) | |
pkg/lock/lock_test.go:44:2: empty critical section (SA2001) | |
pkg/lock/lock_test.go:50:2: empty critical section (SA2001) | |
pkg/lock/lock_test.go:53:2: empty critical section (SA2001) | |
pkg/lock/lock_test.go:57:2: empty critical section (SA2001) | |
* Working on pkg/logging | |
* Working on pkg/mac | |
* Working on pkg/maps | |
-: no Go files in /Users/darshanime/go/src/github.com/cilium/cilium/pkg/maps (compile) | |
* Working on pkg/metrics | |
* Working on pkg/modules | |
pkg/modules/modules.go:56:26: undeclared name: moduleLoader (compile) | |
pkg/modules/modules.go:33:22: undeclared name: listModules (compile) | |
pkg/modules/modules_test.go:164:12: undeclared name: listModules (compile) | |
pkg/modules/modules_test.go:157:22: undeclared name: parseModulesFile (compile) | |
pkg/modules/modules.go:56:26: undeclared name: moduleLoader (compile) | |
pkg/modules/modules.go:33:22: undeclared name: listModules (compile) | |
pkg/modules/modules_test.go:164:12: undeclared name: listModules (compile) | |
pkg/modules/modules_test.go:157:22: undeclared name: parseModulesFile (compile) | |
pkg/modules/modules.go:56:26: undeclared name: moduleLoader (compile) | |
pkg/modules/modules.go:33:22: undeclared name: listModules (compile) | |
* Working on pkg/monitor | |
* Working on pkg/mountinfo | |
* Working on pkg/mtu | |
* Working on pkg/netns | |
pkg/netns/netns.go:24:2: could not import github.com/containernetworking/plugins/pkg/ns (invalid package name: "") (compile) | |
* Working on pkg/node | |
* Working on pkg/nodediscovery | |
* Working on pkg/option | |
* Working on pkg/pidfile | |
* Working on pkg/policy | |
pkg/policy/l4_test.go:31:27: func (*PolicyTestSuite).testDPortCoverage is unused (U1000) | |
* Working on pkg/pprof | |
* Working on pkg/proxy | |
pkg/proxy/socket.go:467:63: SO_MARK not declared by package syscall (compile) | |
pkg/proxy/socket.go:81:41: SOL_IP not declared by package unix (compile) | |
pkg/proxy/socket.go:81:54: IP_TRANSPARENT not declared by package unix (compile) | |
pkg/proxy/socket.go:83:41: SOL_IPV6 not declared by package unix (compile) | |
pkg/proxy/socket.go:83:56: IPV6_TRANSPARENT not declared by package unix (compile) | |
pkg/proxy/socket.go:467:63: SO_MARK not declared by package syscall (compile) | |
pkg/proxy/socket.go:81:41: SOL_IP not declared by package unix (compile) | |
pkg/proxy/socket.go:81:54: IP_TRANSPARENT not declared by package unix (compile) | |
pkg/proxy/socket.go:83:41: SOL_IPV6 not declared by package unix (compile) | |
pkg/proxy/socket.go:83:56: IPV6_TRANSPARENT not declared by package unix (compile) | |
pkg/proxy/socket.go:467:63: SO_MARK not declared by package syscall (compile) | |
pkg/proxy/socket.go:81:41: SOL_IP not declared by package unix (compile) | |
pkg/proxy/socket.go:81:54: IP_TRANSPARENT not declared by package unix (compile) | |
pkg/proxy/socket.go:83:41: SOL_IPV6 not declared by package unix (compile) | |
pkg/proxy/socket.go:83:56: IPV6_TRANSPARENT not declared by package unix (compile) | |
* Working on pkg/revert | |
* Working on pkg/safetime | |
* Working on pkg/serializer | |
* Working on pkg/service | |
* Working on pkg/set | |
* Working on pkg/sockops | |
pkg/sockops/sockops.go:247:31: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:209:29: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:183:29: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:176:29: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:131:29: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:133:48: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:157:78: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:97:29: GetMapRoot not declared by package bpf (compile) | |
pkg/sockops/sockops.go:79:29: GetMapRoot not declared by package bpf (compile) | |
* Working on pkg/spanstat | |
* Working on pkg/status | |
* Working on pkg/testutils | |
* Working on pkg/trigger | |
* Working on pkg/tuple | |
pkg/tuple/ipv4.go:46:36: MapValue not declared by package bpf (compile) | |
pkg/tuple/ipv6.go:46:36: MapValue not declared by package bpf (compile) | |
pkg/tuple/zz_generated.deepcopy.go:44:43: MapKey not declared by package bpf (compile) | |
pkg/tuple/zz_generated.deepcopy.go:69:49: MapKey not declared by package bpf (compile) | |
pkg/tuple/zz_generated.deepcopy.go:95:43: MapKey not declared by package bpf (compile) | |
pkg/tuple/zz_generated.deepcopy.go:120:49: MapKey not declared by package bpf (compile) | |
pkg/tuple/zz_generated.deepcopy.go:145:48: MapValue not declared by package bpf (compile) | |
pkg/tuple/tuple.go:34:6: MapKey not declared by package bpf (compile) | |
* Working on pkg/u8proto | |
* Working on pkg/uuid | |
* Working on pkg/version | |
* Working on pkg/versioncheck | |
* Working on pkg/workloads | |
pkg/workloads/docker.go:43:2: could not import github.com/containernetworking/plugins/pkg/ns (invalid package name: "") (compile) | |
pkg/workloads/docker.go:43:2: could not import github.com/containernetworking/plugins/pkg/ns (invalid package name: "") (compile) | |
pkg/workloads/docker.go:43:2: could not import github.com/containernetworking/plugins/pkg/ns (invalid package name: "") (compile) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment