Github messages for voidlinux
 help / color / mirror / Atom feed
From: PaperMountainStudio <PaperMountainStudio@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: ansible: update to 2.9.14
Date: Thu, 15 Oct 2020 22:58:20 +0200	[thread overview]
Message-ID: <20201015205820.Ko7qXjAZ0UbV_ztsi8KzxAoNw-qjaFy-3Qot2q_WXwU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25475@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 8384 bytes --]

New comment by PaperMountainStudio on void-packages repository

https://github.com/void-linux/void-packages/pull/25475#issuecomment-709586417

Comment:
@Piraty thank you for your help, but it keeps failing. If you want to fix the tests, feel free to open a new issue replacing this one, otherwise I think I will have to disable the tests again.
```
=> ansible-2.9.14_1: running do_check ...
============================= test session starts ==============================
platform linux -- Python 3.9.0, pytest-6.0.2, py-1.9.0, pluggy-0.13.1
rootdir: /builddir/ansible-2.9.14
collected 10924 items / 11 errors / 22 skipped / 10891 selected

==================================== ERRORS ====================================
_ ERROR collecting test/ansible_test/validate-modules-unit/test_validate_modules_regex.py _
ImportError while importing test module '/builddir/ansible-2.9.14/test/ansible_test/validate-modules-unit/test_validate_modules_regex.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/ansible_test/validate-modules-unit/test_validate_modules_regex.py:7: in <module>
    from validate_modules.main import TYPE_REGEX
E   ModuleNotFoundError: No module named 'validate_modules'
____ ERROR collecting test/integration/targets/async/library/async_test.py _____
test/integration/targets/async/library/async_test.py:43: in <module>
    main()
test/integration/targets/async/library/async_test.py:16: in main
    module = AnsibleModule(
build/lib/ansible/module_utils/basic.py:728: in __init__
    self._load_params()
build/lib/ansible/module_utils/basic.py:1962: in _load_params
    self.params = _load_params()
build/lib/ansible/module_utils/basic.py:621: in _load_params
    buffer = sys.stdin.buffer.read()
/usr/lib/python3.9/site-packages/_pytest/capture.py:216: in read
    raise OSError(
E   OSError: pytest: reading from stdin while output is captured!  Consider using `-s`.
__ ERROR collecting test/integration/targets/async_fail/library/async_test.py __
test/integration/targets/async_fail/library/async_test.py:50: in <module>
    main()
test/integration/targets/async_fail/library/async_test.py:17: in main
    module = AnsibleModule(
build/lib/ansible/module_utils/basic.py:728: in __init__
    self._load_params()
build/lib/ansible/module_utils/basic.py:1962: in _load_params
    self.params = _load_params()
build/lib/ansible/module_utils/basic.py:621: in _load_params
    buffer = sys.stdin.buffer.read()
/usr/lib/python3.9/site-packages/_pytest/capture.py:216: in read
    raise OSError(
E   OSError: pytest: reading from stdin while output is captured!  Consider using `-s`.
________ ERROR collecting test/integration/targets/cli/test_k_and_K.py _________
test/integration/targets/cli/test_k_and_K.py:17: in <module>
    '-m command -a whoami -Kkb --become-user cliuser2 localhost'.format(sys.argv[1]),
E   IndexError: list index out of range
____ ERROR collecting test/integration/targets/expect/files/test_command.py ____
test/integration/targets/expect/files/test_command.py:11: in <module>
    user_input = input_function(prompt)
/usr/lib/python3.9/site-packages/_pytest/capture.py:216: in read
    raise OSError(
E   OSError: pytest: reading from stdin while output is captured!  Consider using `-s`.
------------------------------- Captured stdout --------------------------------
foo
_ ERROR collecting test/integration/targets/module_utils/library/test_env_override.py _
ImportError while importing test module '/builddir/ansible-2.9.14/test/integration/targets/module_utils/library/test_env_override.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/integration/targets/module_utils/library/test_env_override.py:6: in <module>
    from ansible.module_utils.json_utils import data
E   ImportError: cannot import name 'data' from 'ansible.module_utils.json_utils' (/builddir/ansible-2.9.14/build/lib/ansible/module_utils/json_utils.py)
_ ERROR collecting test/integration/targets/module_utils/library/test_failure.py _
test/integration/targets/module_utils/library/test_failure.py:14: in <module>
    AnsibleModule(argument_spec=dict()).exit_json(**results)
build/lib/ansible/module_utils/basic.py:728: in __init__
    self._load_params()
build/lib/ansible/module_utils/basic.py:1962: in _load_params
    self.params = _load_params()
build/lib/ansible/module_utils/basic.py:621: in _load_params
    buffer = sys.stdin.buffer.read()
/usr/lib/python3.9/site-packages/_pytest/capture.py:216: in read
    raise OSError(
E   OSError: pytest: reading from stdin while output is captured!  Consider using `-s`.
_ ERROR collecting test/integration/targets/module_utils/library/test_override.py _
ImportError while importing test module '/builddir/ansible-2.9.14/test/integration/targets/module_utils/library/test_override.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/integration/targets/module_utils/library/test_override.py:3: in <module>
    from ansible.module_utils.facts import data
E   ImportError: cannot import name 'data' from 'ansible.module_utils.facts' (/builddir/ansible-2.9.14/build/lib/ansible/module_utils/facts/__init__.py)
_ ERROR collecting test/integration/targets/plugin_namespace/filter_plugins/test_filter.py _
import file mismatch:
imported module 'test_filter' has this __file__ attribute:
  /builddir/ansible-2.9.14/test/integration/targets/collections_plugin_namespace/collection_root/ansible_collections/my_ns/my_col/plugins/filter/test_filter.py
which is not the same as the test file we want to collect:
  /builddir/ansible-2.9.14/test/integration/targets/plugin_namespace/filter_plugins/test_filter.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
_ ERROR collecting test/integration/targets/plugin_namespace/test_plugins/test_test.py _
import file mismatch:
imported module 'test_test' has this __file__ attribute:
  /builddir/ansible-2.9.14/test/integration/targets/collections_plugin_namespace/collection_root/ansible_collections/my_ns/my_col/plugins/test/test_test.py
which is not the same as the test file we want to collect:
  /builddir/ansible-2.9.14/test/integration/targets/plugin_namespace/test_plugins/test_test.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
_____ ERROR collecting test/integration/targets/throttle/test_throttle.py ______
test/integration/targets/throttle/test_throttle.py:11: in <module>
    throttledir, inventory_hostname, max_throttle = sys.argv[1:]
E   ValueError: not enough values to unpack (expected 3, got 0)
=========================== short test summary info ============================
ERROR test/ansible_test/validate-modules-unit/test_validate_modules_regex.py
ERROR test/integration/targets/async/library/async_test.py - OSError: pytest:...
ERROR test/integration/targets/async_fail/library/async_test.py - OSError: py...
ERROR test/integration/targets/cli/test_k_and_K.py - IndexError: list index o...
ERROR test/integration/targets/expect/files/test_command.py - OSError: pytest...
ERROR test/integration/targets/module_utils/library/test_env_override.py
ERROR test/integration/targets/module_utils/library/test_failure.py - OSError...
ERROR test/integration/targets/module_utils/library/test_override.py
ERROR test/integration/targets/plugin_namespace/filter_plugins/test_filter.py
ERROR test/integration/targets/plugin_namespace/test_plugins/test_test.py
ERROR test/integration/targets/throttle/test_throttle.py - ValueError: not en...
!!!!!!!!!!!!!!!!!!! Interrupted: 11 errors during collection !!!!!!!!!!!!!!!!!!!
======================= 22 skipped, 11 errors in 48.26s ========================
=> ERROR: ansible-2.9.14_1: do_check: 'PYTHONPATH=$(pwd)/build/lib python3 -m pytest' exited with 2
=> ERROR:   in do_check() at srcpkgs/ansible/template:26
```

  parent reply	other threads:[~2020-10-15 20:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 19:38 [PR PATCH] " PaperMountainStudio
2020-10-11  9:13 ` [PR PATCH] [Updated] " PaperMountainStudio
2020-10-11  9:15 ` PaperMountainStudio
2020-10-15 20:58 ` PaperMountainStudio
2020-10-15 20:58 ` PaperMountainStudio [this message]
2020-10-16  9:21 ` Piraty
2020-10-25  8:37 ` PaperMountainStudio
2020-10-25  8:37 ` [PR PATCH] [Closed]: " PaperMountainStudio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201015205820.Ko7qXjAZ0UbV_ztsi8KzxAoNw-qjaFy-3Qot2q_WXwU@z \
    --to=papermountainstudio@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).