Skip to content

Update tcp_stats_bpf_test to work with qemu#1308

Merged
vihangm merged 1 commit intopixie-io:mainfrom
ddelnano:ddelnano/fix-tcp_stats_trace_bpf_test-with-qemu
May 11, 2023
Merged

Update tcp_stats_bpf_test to work with qemu#1308
vihangm merged 1 commit intopixie-io:mainfrom
ddelnano:ddelnano/fix-tcp_stats_trace_bpf_test-with-qemu

Conversation

@ddelnano
Copy link
Copy Markdown
Member

@ddelnano ddelnano commented May 9, 2023

Summary: Update tcp_stats_bpf_test to work with qemu

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Verified that the test ran successfully for our various test runners

  • Running test multiple times within docker to verify that adding the nc server doesn't cause flakiness (P376). Also verified that each test is in its own network namespace so that the servers can't conflict with each other (P378)
  • Running test within qemu passes (P377)
  • Verified that when a test times out that the test prints the accumulated records found (otherwise it's difficult to see why the assertion failed) - P379

@ddelnano ddelnano changed the title Update tcp_stats_bpf_test to work with qemu Update tcp_stats_bpf_test to work with qemu May 9, 2023
@ddelnano ddelnano requested a review from a team May 9, 2023 16:21
Comment thread src/stirling/source_connectors/tcp_stats/tcp_stats_bpf_test.cc
Comment thread src/stirling/source_connectors/tcp_stats/tcp_stats_bpf_test.cc Outdated
Comment thread src/stirling/source_connectors/tcp_stats/tcp_stats_bpf_test.cc Outdated
@ddelnano ddelnano force-pushed the ddelnano/fix-tcp_stats_trace_bpf_test-with-qemu branch from 166f84a to c0c5246 Compare May 9, 2023 18:37
@ddelnano
Copy link
Copy Markdown
Member Author

ddelnano commented May 9, 2023

/perf nightly

1 similar comment
@ddelnano
Copy link
Copy Markdown
Member Author

ddelnano commented May 9, 2023

/perf nightly

@ddelnano ddelnano force-pushed the ddelnano/fix-tcp_stats_trace_bpf_test-with-qemu branch from 495f313 to 6dea43c Compare May 9, 2023 20:42
Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
@ddelnano ddelnano force-pushed the ddelnano/fix-tcp_stats_trace_bpf_test-with-qemu branch from 7fd3bfe to 0459333 Compare May 10, 2023 00:28
@vihangm vihangm merged commit c5e92c4 into pixie-io:main May 11, 2023
vihangm pushed a commit that referenced this pull request May 11, 2023
Summary: Remove `no_qemu` tag for tcp_stats_bpf_test

The long lived PR for adding our CI jobs to GitHub actions finished up
just as the qemu incompatibility was addressed. We can now opt this test
into qemu testing.

Relevant Issues: N/A

Type of change: /kind buf

Test Plan: Verified in #1308 that this test works with qemu

Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
@ddelnano ddelnano deleted the ddelnano/fix-tcp_stats_trace_bpf_test-with-qemu branch February 1, 2024 03:03
ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Update `tcp_stats_bpf_test` to work with qemu

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Verified that the test ran successfully for our various test
runners
- [x] Running test multiple times within docker to verify that adding
the `nc` server doesn't cause flakiness
([P376](https://phab.corp.pixielabs.ai/P376)). Also verified that each
test is in its own network namespace so that the servers can't conflict
with each other ([P378](https://phab.corp.pixielabs.ai/P378))
- [x] Running test within qemu passes
([P377](https://phab.corp.pixielabs.ai/P377))
- [x] Verified that when a test times out that the test prints the
accumulated records found (otherwise it's difficult to see why the
assertion failed) - [P379](https://phab.corp.pixielabs.ai/P379)

Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Remove `no_qemu` tag for tcp_stats_bpf_test

The long lived PR for adding our CI jobs to GitHub actions finished up
just as the qemu incompatibility was addressed. We can now opt this test
into qemu testing.

Relevant Issues: N/A

Type of change: /kind buf

Test Plan: Verified in pixie-io#1308 that this test works with qemu

Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Update `tcp_stats_bpf_test` to work with qemu

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Verified that the test ran successfully for our various test
runners
- [x] Running test multiple times within docker to verify that adding
the `nc` server doesn't cause flakiness
([P376](https://phab.corp.pixielabs.ai/P376)). Also verified that each
test is in its own network namespace so that the servers can't conflict
with each other ([P378](https://phab.corp.pixielabs.ai/P378))
- [x] Running test within qemu passes
([P377](https://phab.corp.pixielabs.ai/P377))
- [x] Verified that when a test times out that the test prints the
accumulated records found (otherwise it's difficult to see why the
assertion failed) - [P379](https://phab.corp.pixielabs.ai/P379)

Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Remove `no_qemu` tag for tcp_stats_bpf_test

The long lived PR for adding our CI jobs to GitHub actions finished up
just as the qemu incompatibility was addressed. We can now opt this test
into qemu testing.

Relevant Issues: N/A

Type of change: /kind buf

Test Plan: Verified in pixie-io#1308 that this test works with qemu

Signed-off-by: Dom Del Nano <ddelnano@pixielabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants