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

CI Failure (ERROR log from aborted Kafka conn) in ManyPartitionsTest.test_many_partitions #12951

Closed
VladLazar opened this issue Aug 23, 2023 · 2 comments · Fixed by #12955
Closed
Assignees
Labels
area/kafka ci-failure kind/bug Something isn't working sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages

Comments

@VladLazar
Copy link
Contributor

https://buildkite.com/redpanda/vtools/builds/9042#018a1c48-0769-4882-9aff-913e6901cd38

Module: rptest.scale_tests.many_partitions_test
Class:  ManyPartitionsTest
Method: test_many_partitions
====================================================================================================
test_id:    rptest.scale_tests.many_partitions_test.ManyPartitionsTest.test_many_partitions
status:     FAIL
run time:   13 minutes 13.255 seconds


    <BadLogLines nodes=ip-172-31-4-173(28),ip-172-31-13-207(44),ip-172-31-3-247(47),ip-172-31-14-108(16),ip-172-31-9-205(20),ip-172-31-4-190(3),ip-172-31-14-231(60),ip-172-31-15-158(36),ip-172-31-3-202(35) example="ERROR 2023-08-22 08:23:16,721 [shard 1:main] kafka - server.cc:154 - Error[applying protocol] remote address: 172.31.13.99:57214 - seastar::abort_requested_exception (abort requested)">
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 135, in run
    data = self.run_test()
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 227, in run_test
    return self.test_context.function(self.test)
  File "/home/ubuntu/redpanda/tests/rptest/services/cluster.py", line 142, in wrapped
    redpanda.raise_on_bad_logs(
  File "/home/ubuntu/redpanda/tests/rptest/services/redpanda.py", line 1233, in raise_on_bad_logs
    raise BadLogLines(bad_lines)
rptest.services.utils.BadLogLines: <BadLogLines nodes=ip-172-31-4-173(28),ip-172-31-13-207(44),ip-172-31-3-247(47),ip-172-31-14-108(16),ip-172-31-9-205(20),ip-172-31-4-190(3),ip-172-31-14-231(60),ip-172-31-15-158(36),ip-172-31-3-202(35) example="ERROR 2023-08-22 08:23:16,721 [shard 1:main] kafka - server.cc:154 - Error[applying protocol] remote address: 172.31.13.99:57214 - seastar::abort_requested_exception (abort requested)">
@VladLazar VladLazar added kind/bug Something isn't working area/kafka ci-failure sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages labels Aug 23, 2023
@VladLazar
Copy link
Contributor Author

VladLazar commented Aug 23, 2023

This seems related to #12021.
When the client disconnects in Kafka::server::apply we set the log and re-throw the exception.
This bubbles up to net::server::apply_proto where we log the exceptional future at error level.

We should special case the client disconnect and log it and different severity level as this is expected in
this test. Alternatively, we could just allow list the log. (cc. @BenPope)

@BenPope
Copy link
Member

BenPope commented Aug 23, 2023

There's some work on it here: #12793, but I think something is still missing.

I've rebased it and added a small fix here: #12955

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kafka ci-failure kind/bug Something isn't working sev/low Bugs which are non-functional paper cuts, e.g. typos, issues in log messages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants