Aldrin Piri created MINIFICPP-462:
-------------------------------------
Summary: Docker verify integration tests are failing
Key: MINIFICPP-462
URL: https://issues.apache.org/jira/browse/MINIFICPP-462
Project: NiFi MiNiFi C++
Issue Type: Task
Affects Versions: 0.5.0
Reporter: Aldrin Piri
Looks like there may be some incompatibilities in python packages with the
version of Docker being run. Tests fail with the following:
{quote}../docker/test/integration/minifi/test/__init__.py:159: in __exit__
super(DockerTestCluster, self).__exit__(exc_type, exc_val, exc_tb)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <minifi.test.DockerTestCluster object at 0x22bb610>, exc_type = <type
'exceptions.TypeError'>, exc_val = TypeError("<Image: ''> is not JSON
serializable",), exc_tb = <traceback object at 0x2490878>
def __exit__(self, exc_type, exc_val, exc_tb):
"""
Clean up ephemeral cluster resources
"""
# Clean up containers
for container in self.containers:
logging.info('Cleaning up container: %s', container.name)
container.remove(v=True, force=True)
# Clean up images
for image in self.images:
> logging.info('Cleaning up image: %s', image.id)
E AttributeError: 'tuple' object has no attribute 'id'
../docker/test/integration/minifi/__init__.py:255: AttributeError{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)