Description of problem: When I ran default molecule test, molecule test failed Version-Release number of selected component (if applicable): python3-testinfra-1.17.0-1.fc29.noarch How reproducible: Always Steps to Reproduce: Install requirement on fresh fedora 29: dnf install -y python3-molecule yamllint python3-ansible-lint docker python3-$docker git systemctl start docker # to fix https://bugzilla.redhat.com/show_bug.cgi?id=1653467 git clone https://github.com/ansible/molecule.git rsync -av molecule/molecule/provisioner/ansible /usr/lib/python3.7/site-packages/molecule/provisioner/ Actual results: --> Action: 'verify' [11/1538] Traceback (most recent call last): File "/usr/bin/molecule", line 10, in <module> sys.exit(main()) File "/usr/lib/python3.7/site-packages/click/core.py", line 721, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3.7/site-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/lib/python3.7/site-packages/click/core.py", line 1065, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.7/site-packages/click/core.py", line 894, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.7/site-packages/click/core.py", line 534, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/usr/lib/python3.7/site-packages/molecule/command/test.py", line 135, in test base.execute_subcommand(scenario.config, action) File "/usr/lib/python3.7/site-packages/molecule/command/base.py", line 100, in execute_subcommand return command(config).execute() File "/usr/lib/python3.7/site-packages/molecule/command/verify.py", line 72, in execute self._config.verifier.execute() File "/usr/lib/python3.7/site-packages/molecule/verifier/testinfra.py", line 183, in execute self.bake() File "/usr/lib/python3.7/site-packages/molecule/verifier/testinfra.py", line 162, in bake self._testinfra_command = sh.Command('py.test').bake( File "/usr/lib/python3.7/site-packages/sh.py", line 1202, in __init__ raise CommandNotFound(path) sh.CommandNotFound: py.test Expected results: The test are executed Additional info: I found py.test but only on python2-pytest, do you think I could open a bug report on python-pytest instead testinfra ? Have a nice day
I found the issue on molecule package, so I will close this bug FYI: https://bugzilla.redhat.com/show_bug.cgi?id=1653777 Thanks