Skip to content

Add packet capture feature #9259

Add packet capture feature

Add packet capture feature #9259

Triggered via pull request September 6, 2024 10:24
Status Failure
Total duration 9m 26s
Artifacts

codeql.yml

on: pull_request
Check whether tests need to be run based on diff
15s
Check whether tests need to be run based on diff
Matrix: Analyze on Linux
Matrix: Analyze on Windows
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L402
cannot use pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) as int32 value in assignment
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L404
cannot use pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) as int32 value in assignment
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L439
pc.Spec.Packet.IPv6Header undefined (type *"antrea.io/antrea/pkg/apis/crd/v1alpha1".Packet has no field or method IPv6Header)
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Analyze on Linux (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L521
packet.IPv6Header undefined (type *"antrea.io/antrea/pkg/apis/crd/v1alpha1".Packet has no field or method IPv6Header)
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L402
cannot use pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) as int32 value in assignment
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L404
cannot use pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) as int32 value in assignment
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L439
pc.Spec.Packet.IPv6Header undefined (type *"antrea.io/antrea/pkg/apis/crd/v1alpha1".Packet has no field or method IPv6Header)
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Analyze on Windows (go): pkg/agent/controller/packetcapture/packetcapture_controller.go#L521
packet.IPv6Header undefined (type *"antrea.io/antrea/pkg/apis/crd/v1alpha1".Packet has no field or method IPv6Header)