Test 'test_container_ipam_request_address_with_existing_port' failed in CI

Bug #1864330 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr-libnetwork
Fix Released
Undecided
Unassigned

Bug Description

2020-02-22 20:24:53.665012 | primary | 2020-02-22 20:24:53.662 | {7} kuryr_libnetwork.tests.fullstack.test_ipam.IpamTest.test_container_ipam_request_address_with_existing_port [20.007964s] ... FAILED
2020-02-22 20:24:53.669046 | primary | 2020-02-22 20:24:53.668 |
2020-02-22 20:24:53.672267 | primary | 2020-02-22 20:24:53.671 | Captured traceback:
2020-02-22 20:24:53.675389 | primary | 2020-02-22 20:24:53.674 | ~~~~~~~~~~~~~~~~~~~
2020-02-22 20:24:53.681234 | primary | 2020-02-22 20:24:53.680 | Traceback (most recent call last):
2020-02-22 20:24:53.684297 | primary | 2020-02-22 20:24:53.683 | File "/opt/stack/new/kuryr-libnetwork/.tox/fullstack/lib/python3.6/site-packages/docker/api/client.py", line 261, in _raise_for_status
2020-02-22 20:24:53.687352 | primary | 2020-02-22 20:24:53.686 | response.raise_for_status()
2020-02-22 20:24:53.690578 | primary | 2020-02-22 20:24:53.689 | File "/opt/stack/new/kuryr-libnetwork/.tox/fullstack/lib/python3.6/site-packages/requests/models.py", line 941, in raise_for_status
2020-02-22 20:24:53.693754 | primary | 2020-02-22 20:24:53.692 | raise HTTPError(http_error_msg, response=self)
2020-02-22 20:24:53.697250 | primary | 2020-02-22 20:24:53.696 | requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://0.0.0.0:2375/v1.35/networks/create
2020-02-22 20:24:53.700386 | primary | 2020-02-22 20:24:53.699 |
2020-02-22 20:24:53.704299 | primary | 2020-02-22 20:24:53.703 | During handling of the above exception, another exception occurred:
2020-02-22 20:24:53.709883 | primary | 2020-02-22 20:24:53.706 |
2020-02-22 20:24:53.714123 | primary | 2020-02-22 20:24:53.712 | Traceback (most recent call last):
2020-02-22 20:24:53.718310 | primary | 2020-02-22 20:24:53.717 | File "/opt/stack/new/kuryr-libnetwork/kuryr_libnetwork/tests/fullstack/test_ipam.py", line 415, in test_container_ipam_request_address_with_existing_port
2020-02-22 20:24:53.722947 | primary | 2020-02-22 20:24:53.721 | ipam=fake_ipam)
2020-02-22 20:24:53.726118 | primary | 2020-02-22 20:24:53.725 | File "/opt/stack/new/kuryr-libnetwork/.tox/fullstack/lib/python3.6/site-packages/docker/api/network.py", line 153, in create_network
2020-02-22 20:24:53.730331 | primary | 2020-02-22 20:24:53.729 | return self._result(res, json=True)
2020-02-22 20:24:53.736338 | primary | 2020-02-22 20:24:53.735 | File "/opt/stack/new/kuryr-libnetwork/.tox/fullstack/lib/python3.6/site-packages/docker/api/client.py", line 267, in _result
2020-02-22 20:24:53.740937 | primary | 2020-02-22 20:24:53.740 | self._raise_for_status(response)
2020-02-22 20:24:53.746130 | primary | 2020-02-22 20:24:53.745 | File "/opt/stack/new/kuryr-libnetwork/.tox/fullstack/lib/python3.6/site-packages/docker/api/client.py", line 263, in _raise_for_status
2020-02-22 20:24:53.750744 | primary | 2020-02-22 20:24:53.748 | raise create_api_error_from_http_exception(e)
2020-02-22 20:24:53.756519 | primary | 2020-02-22 20:24:53.753 | File "/opt/stack/new/kuryr-libnetwork/.tox/fullstack/lib/python3.6/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
2020-02-22 20:24:53.760027 | primary | 2020-02-22 20:24:53.759 | raise cls(e, response=response, explanation=explanation)
2020-02-22 20:24:53.764314 | primary | 2020-02-22 20:24:53.763 | docker.errors.APIError: 500 Server Error: Internal Server Error ("failed to allocate gateway (fe81::1): IpamDriver.RequestAddress: Requested gateway fe81::1 does not match with gateway fe81:: in existed network.")

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-libnetwork (master)

Reviewed: https://review.opendev.org/709319
Committed: https://git.openstack.org/cgit/openstack/kuryr-libnetwork/commit/?id=62ff2f9f58d3dde3f66b0e96deed3f5431b32ce3
Submitter: Zuul
Branch: master

commit 62ff2f9f58d3dde3f66b0e96deed3f5431b32ce3
Author: Hongbin Lu <email address hidden>
Date: Sat Feb 22 20:06:57 2020 +0000

    Fix test_container_ipam_request_address_with_existing_port

    Closes-Bug: #1864330
    Change-Id: Iecd61c0ba0c9ae789b3cf771dc435d7b9513a339

Changed in kuryr-libnetwork:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.