yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73173
[Bug 1773818] Re: Test failures in docker container
Reviewed: https://review.openstack.org/570270
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8930d33c71e394c1cfaa1b9ad5493c79d394cb40
Submitter: Zuul
Branch: master
commit 8930d33c71e394c1cfaa1b9ad5493c79d394cb40
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date: Wed May 23 15:13:42 2018 -0700
Fix UT BridgeLibTest when IPv6 is disabled
There was missing mock of
ipv6_utils.is_enabled_and_bind_by_default() in BridgeLibTest
unit tests and that cause failing some of tests from this module
when tests are running on host with disabled IPv6.
Now it's mocked and tests are running properly and are
testing what they should test.
Closes-Bug: #1773818
Change-Id: I9144450ce85e020c0e33c5214a2178acbbbf5f54
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1773818
Title:
Test failures in docker container
Status in neutron:
Fix Released
Bug description:
There are no enough resources to create the pool of virtual machines
sometimes. People use containers in this case.
There are two tests that fail in docker container:
http://paste.openstack.org/show/722171/
The main reason is that docker container is not a Virtual Machine, so
it doesn't provide all of the architecture in the same way that a
Virtual Machine might. The underlying infrastructure of docker
containers is configured on the Host system, not within the container
itself
These tests use brctl and sysctl. You can use --privileged flag
('docker run' command) for brctl. What about sysctl? You can use
sysctl commands with docker-client. But you can not use it inside a
container.
It would be very cool if the tests were fixed so that they work in
docker containers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1773818/+subscriptions
References