Skip to content

Add packet capture feature #33972

Add packet capture feature

Add packet capture feature #33972

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

go.yml

on: pull_request
Check whether tests need to be run based on diff
18s
Check whether tests need to be run based on diff
Verify docs and spelling
45s
Verify docs and spelling
Unit test (ubuntu-latest)
6m 46s
Unit test (ubuntu-latest)
Unit test (windows-2022)
13m 15s
Unit test (windows-2022)
Integration test
5m 16s
Integration test
Golangci-lint (ubuntu-latest)
4m 13s
Golangci-lint (ubuntu-latest)
Golangci-lint (macos-latest)
3m 48s
Golangci-lint (macos-latest)
Build Antrea and antctl binaries
2m 16s
Build Antrea and antctl binaries
Build Antrea Windows binaries
2m 1s
Build Antrea Windows binaries
Check tidy, code generation and manifest
5m 42s
Check tidy, code generation and manifest
Go benchmark test
5m 5s
Go benchmark test
Fit to window
Zoom out
Zoom in

Annotations

71 errors
Build Antrea Windows binaries: 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
Build Antrea Windows binaries: 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
Build Antrea Windows binaries: 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)
Build Antrea Windows binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Build Antrea Windows binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Build Antrea Windows binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Build Antrea Windows binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Build Antrea Windows binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Build Antrea Windows binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Build Antrea Windows binaries: 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)
Build Antrea and antctl binaries: 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
Build Antrea and antctl binaries: 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
Build Antrea and antctl binaries: 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)
Build Antrea and antctl binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Build Antrea and antctl binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Build Antrea and antctl binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Build Antrea and antctl binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Build Antrea and antctl binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Build Antrea and antctl binaries: pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Build Antrea and antctl binaries: 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)
Golangci-lint (macos-latest): cmd/antrea-agent/agent.go#L48
could not import antrea.io/antrea/pkg/agent/controller/packetcapture (-: # antrea.io/antrea/pkg/agent/controller/packetcapture
Golangci-lint (macos-latest): 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
Golangci-lint (macos-latest): 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
Golangci-lint (macos-latest): 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)
Golangci-lint (macos-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Golangci-lint (macos-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Golangci-lint (macos-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Golangci-lint (macos-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Golangci-lint (macos-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Golangci-lint (macos-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Golangci-lint (ubuntu-latest): cmd/antrea-agent/agent.go#L48
could not import antrea.io/antrea/pkg/agent/controller/packetcapture (-: # antrea.io/antrea/pkg/agent/controller/packetcapture
Golangci-lint (ubuntu-latest): 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
Golangci-lint (ubuntu-latest): 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
Golangci-lint (ubuntu-latest): 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)
Golangci-lint (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Golangci-lint (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Golangci-lint (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Golangci-lint (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Golangci-lint (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Golangci-lint (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Go benchmark test: 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
Go benchmark test: 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
Go benchmark test: 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)
Go benchmark test: pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Go benchmark test: pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Go benchmark test: pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Go benchmark test: pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Go benchmark test: pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Go benchmark test: pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Go benchmark test: 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)
Check tidy, code generation and manifest
Process completed with exit code 1.
Unit test (ubuntu-latest): 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
Unit test (ubuntu-latest): 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
Unit test (ubuntu-latest): 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)
Unit test (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Unit test (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Unit test (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Unit test (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Unit test (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Unit test (ubuntu-latest): pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Unit test (ubuntu-latest): 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)
Unit test (windows-2022): 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
Unit test (windows-2022): 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
Unit test (windows-2022): 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)
Unit test (windows-2022): pkg/agent/controller/packetcapture/packetcapture_controller.go#L500
cannot convert pc.Spec.Packet.TransportHeader.TCP.SrcPort (variable of type *int32) to type uint16
Unit test (windows-2022): pkg/agent/controller/packetcapture/packetcapture_controller.go#L501
cannot convert pc.Spec.Packet.TransportHeader.TCP.DstPort (variable of type *int32) to type uint16
Unit test (windows-2022): pkg/agent/controller/packetcapture/packetcapture_controller.go#L502
invalid operation: pc.Spec.Packet.TransportHeader.TCP.Flags != 0 (mismatched types *int32 and untyped int)
Unit test (windows-2022): pkg/agent/controller/packetcapture/packetcapture_controller.go#L503
cannot convert pc.Spec.Packet.TransportHeader.TCP.Flags (variable of type *int32) to type uint8
Unit test (windows-2022): pkg/agent/controller/packetcapture/packetcapture_controller.go#L506
cannot convert pc.Spec.Packet.TransportHeader.UDP.SrcPort (variable of type *int32) to type uint16
Unit test (windows-2022): pkg/agent/controller/packetcapture/packetcapture_controller.go#L507
cannot convert pc.Spec.Packet.TransportHeader.UDP.DstPort (variable of type *int32) to type uint16
Unit test (windows-2022): 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)