You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mr TheSegfault (JIRA)" <ji...@apache.org> on 2019/04/11 11:57:00 UTC
[jira] [Resolved] (MINIFICPP-462) Docker verify integration tests
are failing
[ https://issues.apache.org/jira/browse/MINIFICPP-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mr TheSegfault resolved MINIFICPP-462.
--------------------------------------
Resolution: Fixed
Resolved in 0.6.0
> 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
> Priority: Minor
> Fix For: 0.6.0
>
>
> 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)