See https://integration.wikimedia.org/ci/job/tox-docker/22023/console, where all the interpreters are being skipped, so no *.log files are generated, so it fails:
22:28:16 SKIPPED: py39-flake8: InterpreterNotFound: python3.9 22:28:16 SKIPPED: py39-pytest: InterpreterNotFound: python3.9 22:28:16 SKIPPED: py310-flake8: InterpreterNotFound: python3.10 22:28:16 SKIPPED: py310-pytest: InterpreterNotFound: python3.10 22:28:16 congratulations :) 22:28:16 + capture_tox_logs 22:28:16 + cp --recursive '/src/.tox/*/log/*.log' /log 22:28:16 cp: cannot stat '/src/.tox/*/log/*.log': No such file or directory 22:28:16 + /bin/true 22:28:16 + cp --recursive /src/.tox/log /log 22:28:17 Archiving artifacts 22:28:17 ERROR: Step ‘Archive the artifacts’ failed: No artifacts found that match the file pattern "log/". Configuration error?