Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests did not run sucessfully with phpIPAM v1.7.x #121

Open
cmeissner opened this issue Dec 13, 2024 · 0 comments
Open

Tests did not run sucessfully with phpIPAM v1.7.x #121

cmeissner opened this issue Dec 13, 2024 · 0 comments
Labels
accepted This issue can reproduced and was accepted bug Something isn't working help wanted Extra attention is needed

Comments

@cmeissner
Copy link
Member

cmeissner commented Dec 13, 2024

Describe the bug

Running the complete test suite of this repository against a phpIPAM version 1.7.x will fail for several modules.

====== short test summary info ======
FAILED tests/test_crud.py::test_crud[domain_vlan_mapping]
FAILED tests/test_crud.py::test_crud[domain_vlan_subnet_mapping]
FAILED tests/test_crud.py::test_crud[domain]
FAILED tests/test_crud.py::test_crud[device]
FAILED tests/test_crud.py::test_crud[nameserver]
FAILED tests/test_crud.py::test_crud[subnet]
FAILED tests/test_crud.py::test_crud[subnet_vrf_mapping]
FAILED tests/test_crud.py::test_crud[vrf]
====== 8 failed, 10 passed in 19.51s ======

To Reproduce
Steps to reproduce the behavior:

  1. running make clean
  2. set PHPIPAM_VERSION to 1.7.0
  3. running make setup-phpipam
  4. running make test-example_setup
  5. running make test-all

Observe the command output.

Expected behavior

All tests should run without failures, with the following output:

========== 18 passed in 22.33s ==========

Versions:

  • Ansible:

    $ ansible [core 2.15.12]
    config file = /home/cme/Development/github/cmeissner/phpipam-ansible-modules/ansible.cfg
    configured module search path = ['/home/cme/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
    ansible python module location = /home/cme/.pyenv/versions/3.9.11/envs/pam_3.9.11/lib/python3.9/site-packages/ansible
    ansible collection location = /home/cme/Development/github/cmeissner/phpipam-ansible-modules/build/collections
    executable location = /home/cme/.pyenv/versions/3.9.11/envs/pam_3.9.11/bin/ansible
    python version = 3.9.11 (main, Mar 21 2022, 19:15:19) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] (/home/cme/.pyenv/versions/3.9.11/envs/pam_3.9.11/bin/python)
    jinja version = 3.1.4
    libyaml = True
  • phpipam-ansible-modules:

    $ ansible-galaxy collection list codeaffen.phpipam
    
    # /home/cme/Development/github/cmeissner/phpipam-ansible-modules/build/collections/ansible_collections
    Collection        Version
    ----------------- -------
    codeaffen.phpipam 1.7.0 
  • phpypam:

    $ pip freeze | grep phpypam
    phpypam==1.0.2
  • phpIPAM:

    $ Version from webUI
    v1.7.0
  • python version

    $ python -V
    Python 3.9.11

Additional context

This is a meta bug. It should be used to investigate all affected modules and create subsequent bug reports to fix each bug separately.

@cmeissner cmeissner added bug Something isn't working help wanted Extra attention is needed accepted This issue can reproduced and was accepted labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue can reproduced and was accepted bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant