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:
- running
make clean
- set
PHPIPAM_VERSION to 1.7.0
- running
make setup-phpipam
- running
make test-example_setup
- 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.
Describe the bug
Running the complete test suite of this repository against a phpIPAM version 1.7.x will fail for several modules.
To Reproduce
Steps to reproduce the behavior:
make cleanPHPIPAM_VERSIONto1.7.0make setup-phpipammake test-example_setupmake test-allObserve the command output.
Expected behavior
All tests should run without failures, with the following output:
Versions:
Ansible:
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.0phpypam:
$ pip freeze | grep phpypam phpypam==1.0.2phpIPAM:
python version
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.