Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-pack/packetbeat: System tests failure on Windows #38142

Open
sharbuz opened this issue Feb 28, 2024 · 6 comments · May be fixed by #42172
Open

x-pack/packetbeat: System tests failure on Windows #38142

sharbuz opened this issue Feb 28, 2024 · 6 comments · May be fixed by #42172
Labels
failed-test indicates a failed automation test relates Team:Security-Linux Platform Linux Platform Team in Security Solution windows-10 Enable builds in the CI for windows-10 windows-2022 x-pack Issues and pull requests for X-Pack features.

Comments

@sharbuz
Copy link
Contributor

sharbuz commented Feb 28, 2024

Failed Test

Buildkite builds: https://buildkite.com/elastic/beats-xpack-packetbeat/builds/5706#_

Stack Trace

=== FAIL: x-pack/packetbeat/tests/system TestDevices (0.21s)
--
  | app_test.go:58: Output:
  | 0: \Device\NPF_{8058D1FD-C1F5-4A20-A848-0188AB321A97} (WAN Miniport (Network Monitor)) (Not assigned ip address)
  | 1: \Device\NPF_{4265A7ED-129C-497F-B1AC-A60DB44D0DC7} (WAN Miniport (IPv6)) (Not assigned ip address)
  | 2: \Device\NPF_{608080BA-7C74-441B-918A-AEA32DD991B4} (WAN Miniport (IP)) (Not assigned ip address)
  | 3: \Device\NPF_{5F3CCF6B-3314-4F07-9284-5AE0B33202A8} (Google VirtIO Ethernet Adapter) (10.224.0.241)
  | 4: \Device\NPF_Loopback (Adapter for loopback traffic capture) (::1 127.0.0.1)
  | PASS
  | coverage: 43.9% of statements in ./...
  | app_test.go:66: Expect interfaces:
  | [7:Ethernet 2:up\|broadcast\|multicast\|running 1:Loopback Pseudo-Interface 1:up\|loopback\|multicast\|running]
  | app_test.go:69:
  | Error Trace:	C:/buildkite-agent/builds/bk-agent-prod-gcp-1723456393706198410/elastic/beats-xpack-packetbeat/x-pack/packetbeat/tests/system/app_test.go:69
  | Error:      	"0: \\Device\\NPF_{8058D1FD-C1F5-4A20-A848-0188AB321A97} (WAN Miniport (Network Monitor)) (Not assigned ip address)\n1: \\Device\\NPF_{4265A7ED-129C-497F-B1AC-A60DB44D0DC7} (WAN Miniport (IPv6)) (Not assigned ip address)\n2: \\Device\\NPF_{608080BA-7C74-441B-918A-AEA32DD991B4} (WAN Miniport (IP)) (Not assigned ip address)\n3: \\Device\\NPF_{5F3CCF6B-3314-4F07-9284-5AE0B33202A8} (Google VirtIO Ethernet Adapter) (10.224.0.241)\n4: \\Device\\NPF_Loopback (Adapter for loopback traffic capture) (::1 127.0.0.1)\nPASS\ncoverage: 43.9% of statements in ./..." does not contain "Ethernet 2"
  | Test:       	TestDevices
  | app_test.go:69:
  | Error Trace:	C:/buildkite-agent/builds/bk-agent-prod-gcp-1723456393706198410/elastic/beats-xpack-packetbeat/x-pack/packetbeat/tests/system/app_test.go:69
  | Error:      	"0: \\Device\\NPF_{8058D1FD-C1F5-4A20-A848-0188AB321A97} (WAN Miniport (Network Monitor)) (Not assigned ip address)\n1: \\Device\\NPF_{4265A7ED-129C-497F-B1AC-A60DB44D0DC7} (WAN Miniport (IPv6)) (Not assigned ip address)\n2: \\Device\\NPF_{608080BA-7C74-441B-918A-AEA32DD991B4} (WAN Miniport (IP)) (Not assigned ip address)\n3: \\Device\\NPF_{5F3CCF6B-3314-4F07-9284-5AE0B33202A8} (Google VirtIO Ethernet Adapter) (10.224.0.241)\n4: \\Device\\NPF_Loopback (Adapter for loopback traffic capture) (::1 127.0.0.1)\nPASS\ncoverage: 43.9% of statements in ./..." does not contain "Loopback Pseudo-Interface 1"
  | Test:       	TestDevices
@sharbuz sharbuz added the failed-test indicates a failed automation test relates label Feb 28, 2024
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 28, 2024
@sharbuz sharbuz changed the title x-pack packetbeat system test fails x-pack packetbeat Windows system test fails Feb 28, 2024
@sharbuz sharbuz added windows-10 Enable builds in the CI for windows-10 windows-2022 Packetbeat x-pack Issues and pull requests for X-Pack features. and removed Packetbeat labels Feb 28, 2024
@dliappis dliappis added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Mar 27, 2024
@oakrizan oakrizan self-assigned this Jul 24, 2024
@oakrizan oakrizan changed the title x-pack packetbeat Windows system test fails x-pack/packetbeat: System tests failure on Windows Aug 12, 2024
@oakrizan oakrizan removed their assignment Aug 12, 2024
@ycombinator ycombinator added the Team:Security-Linux Platform Linux Platform Team in Security Solution label Aug 13, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/sec-linux-platform (Team:Security-Linux Platform)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 13, 2024
@rowlandgeoff
Copy link
Contributor

During the migration of beats-ci from Jenkins to Buildkite, a number of tests were failing consistently due to issues unrelated to the migration. Those tests were disabled to stabilize the CI, with the intent to revisit them post-migration. @oakrizan has reviewed them all in her draft PRs linked above in the description, and has opened tickets such as this one to highlight to the product teams the tests that are currently still disabled and could use some attention.

@ycombinator
Copy link
Contributor

@pierrehilbert @jlind23 Can we prioritize this issue (re-enabling the test mentioned in this issue as it is currently skipped) in an upcoming sprint, please? See #41909 (comment) for the rationale.

@jlind23
Copy link
Collaborator

jlind23 commented Dec 16, 2024

@ycombinator looks like this is owned by @elastic/sec-linux-platform.
@nfritts is there anyone on your end able to pick this up?

@nfritts
Copy link

nfritts commented Dec 17, 2024

@jlind23 I'm not sure. I'm doing some research to see what all is required. Even if we picked it up though, I think having this fixed by the next feature freeze is unlikely looking at the PTO calendar.

@jlind23
Copy link
Collaborator

jlind23 commented Dec 17, 2024

I think having this fixed by the next feature freeze is unlikely looking at the PTO calendar.

It has been disabled for quite some time so I don't think we need to rush that hard to get it back on track but the sooner the better.

@marc-gr marc-gr linked a pull request Dec 27, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test indicates a failed automation test relates Team:Security-Linux Platform Linux Platform Team in Security Solution windows-10 Enable builds in the CI for windows-10 windows-2022 x-pack Issues and pull requests for X-Pack features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants