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

Connection issue in PartitionMovementTest.test_deletion_stops_move #5189

Closed
rystsov opened this issue Jun 22, 2022 · 2 comments · Fixed by #5204
Closed

Connection issue in PartitionMovementTest.test_deletion_stops_move #5189

rystsov opened this issue Jun 22, 2022 · 2 comments · Fixed by #5204
Assignees
Labels

Comments

@rystsov
Copy link
Contributor

rystsov commented Jun 22, 2022

https://buildkite.com/redpanda/redpanda/builds/11541#0181898b-41ad-41c0-8c02-e96c1d47b1e7

Module: rptest.tests.partition_movement_test
Class:  PartitionMovementTest
Method: test_deletion_stops_move
test_id:    rptest.tests.partition_movement_test.PartitionMovementTest.test_deletion_stops_move
status:     FAIL
run time:   51.489 seconds


    ConnectionError(MaxRetryError("HTTPConnectionPool(host='docker-rp-21', port=9644): Max retries exceeded with url: /v1/partitions/kafka/test-topic/0/replicas (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f043d6e0220>: Failed to establish a new connection: [Errno 111] Connection refused'))"))
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connection.py", line 159, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/usr/local/lib/python3.9/dist-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 670, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 392, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.9/http/client.py", line 1279, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1325, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1274, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.9/http/client.py", line 974, in send
    self.connect()
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connection.py", line 187, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connection.py", line 171, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f043d6e0220>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 726, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.9/dist-packages/urllib3/util/retry.py", line 446, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='docker-rp-21', port=9644): Max retries exceeded with url: /v1/partitions/kafka/test-topic/0/replicas (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f043d6e0220>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/ducktape/tests/runner_client.py", line 135, in run
    data = self.run_test()
  File "/usr/local/lib/python3.9/dist-packages/ducktape/tests/runner_client.py", line 227, in run_test
    return self.test_context.function(self.test)
  File "/root/tests/rptest/services/cluster.py", line 35, in wrapped
    r = f(self, *args, **kwargs)
  File "/root/tests/rptest/tests/partition_movement_test.py", line 544, in test_deletion_stops_move
    admin.set_partition_replicas(topic, partition, target_assignment)
  File "/root/tests/rptest/services/admin.py", line 504, in set_partition_replicas
    return self._request('post', path, node=node, json=replicas)
  File "/root/tests/rptest/services/admin.py", line 296, in _request
    r = self._session.request(verb, url, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 665, in send
    history = [resp for resp in gen]
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 665, in <listcomp>
    history = [resp for resp in gen]
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 237, in resolve_redirects
    resp = self.send(
  File "/usr/local/lib/python3.9/dist-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='docker-rp-21', port=9644): Max retries exceeded with url: /v1/partitions/kafka/test-topic/0/replicas (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f043d6e0220>: Failed to establish a new connection: [Errno 111] Connection refused'))
@rystsov rystsov added kind/bug Something isn't working area/tests ci-failure labels Jun 22, 2022
@rystsov rystsov self-assigned this Jun 22, 2022
@rystsov
Copy link
Contributor Author

rystsov commented Jun 22, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants