Skip to content

ValueError: ids must be list of strings, found: 'docker://zabbix-agent-centos' (type: unicode) #432

@dj-wasabi

Description

@dj-wasabi

Hi,

I've installed the latest molecule version, but when running verify I get the following error:

 (master) $ molecule verify
WARNING:vagrant:The Vagrant executable cannot be found. Please check if it is in the system path.
--> Executing ansible-lint.
--> Executing flake8 on *.py files found in tests/.
--> Executing testinfra tests found in tests/.
============================= test session starts ==============================
platform linux2 -- Python 2.7.5, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
rootdir: /git/ansible/ansible-zabbix-agent, inifile:
plugins: cov-2.3.1, xdist-1.14, testinfra-1.4.1
collected 0 items / 1 errorss

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_docker.py _____________________
/usr/lib/python2.7/site-packages/testinfra/plugin.py:128: in pytest_generate_tests
    "_testinfra_backend", params, ids=ids, scope="module")
/usr/lib/python2.7/site-packages/_pytest/python.py:837: in parametrize
    raise ValueError(msg % (saferepr(id_value), type(id_value).__name__))
E   ValueError: ids must be list of strings, found: 'docker://zabbix-agent-centos' (type: unicode)
============================ pytest-warning summary ============================
WP1 None Modules are already imported so can not be re-written: testinfra
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
================== 1 pytest-warnings, 1 error in 0.41 seconds ==================
ERROR: 

  RAN: '/usr/bin/testinfra tests/test_docker.py --connection=docker'

  STDOUT:


  STDERR:
vagrant@localhost [ /git/ansible/ansible-zabbix-agent -- Fri Sep 02 11:49:23 ]
 (master) $ molecule --version
WARNING:vagrant:The Vagrant executable cannot be found. Please check if it is in the system path.
1.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions