allexport off braceexpand on emacs off errexit on errtrace off functrace off hashall on histexpand off history off ignoreeof off interactive-comments on keyword off monitor off noclobber off noexec off noglob off nolog off notify off nounset on onecmd off physical off pipefail on posix off privileged off verbose off vi off xtrace on +++ readlink -f scripts/run_ansible_test ++ dirname /workspace/src/github.com/openstack-k8s-operators/ci-framework/scripts/run_ansible_test + PROJECT_DIR=/workspace/src/github.com/openstack-k8s-operators/ci-framework/scripts/../ + USE_VENV=no + HOME=/tmp + ANSIBLE_GALAXY_RETIRES=5 + export HOME=/tmp + HOME=/tmp + export ANSIBLE_LOCAL_TMP=/tmp + ANSIBLE_LOCAL_TMP=/tmp + export ANSIBLE_REMOTE_TMP=/tmp + ANSIBLE_REMOTE_TMP=/tmp + ansible_test=ansible-test + collection_path=/usr/share/ansible/collections/ansible_collections + case ${USE_VENV} in + n=0 + '[' 0 -ge 5 ']' + ansible-galaxy collection install --upgrade --force /workspace/src/github.com/openstack-k8s-operators/ci-framework/scripts/../ Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/ansible-podman-collections04twacu3'... Note: switching to '1.16.2'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 4c84135 Release 1.16.2 version (#873) Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/community.generalgkbav26x'... Note: switching to '10.0.1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at eb4c01260 Release 10.0.1. Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/ansible.posix76ulr5ga'... Note: switching to '1.6.2'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 31376a3 Merge pull request #583 from saito-hideki/stable-1_v1.6.2 Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/ansible.utils6ifz53c_'... Note: switching to 'v5.1.2'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at e213ad9 Release 5.1.2 (#378) Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/community.libvirt4p72j0wf'... Note: switching to '1.3.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 7109cb7 Release 1.3.0 commit Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/community.cryptoumdubusd'... Note: switching to '2.22.3'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 7adca3ef Release 2.22.3. Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/kubernetes.coretomos4vn'... Note: switching to '5.0.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 7b0190f Prepare release 5.0.0 (#733) Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/ansible.netcommonb_86nnqf'... Note: switching to 'v7.1.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at d2c5fd0 Prep release 7.1.0 (#666) Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/ansible-config_templateb93v_zuu'... Note: switching to '2.1.1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 931f6aa Bump version for bugfix release Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/junipernetworks.junosv7337agi'... Note: switching to 'v9.1.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 27bf936 Prepare minor release 9.1.0 (#529) Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/cisco.iosat2tbhmx'... Note: switching to 'v9.0.3'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at a71f345d Release PR 9.0.3 (#1125) Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/mellanox.onyx1yq4cayp'... Already on 'master' Your branch is up to date with 'origin/master'. Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/community.okdwa81yexn'... Note: switching to '4.0.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 97ed9be Release 4.0.0 (#235) Cloning into '/tmp/.ansible/tmp/ansible-local-763308kto8e/tmp3j_k356m/ovirt-ansible-collection01t1ay3q'... Note: switching to '3.2.0-1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at ab2e793 ovirt_role: Fix administrative option when set to False [WARNING]: Skipping '/workspace/src/github.com/openstack-k8s-operators/ci- framework/scripts/../ci/playbooks/group_vars' as it is a symbolic link to a directory outside the collection [WARNING]: Skipping '/workspace/src/github.com/openstack-k8s-operators/ci-frame work/scripts/../ci/playbooks/collections/ansible_collections/cifmw/general/plug ins/module_utils/encoding' as it is a symbolic link to a directory outside the collection [WARNING]: Skipping '/workspace/src/github.com/openstack-k8s-operators/ci-frame work/scripts/../ci/playbooks/collections/ansible_collections/cifmw/general/plug ins/module_utils/net_map' as it is a symbolic link to a directory outside the collection [WARNING]: Skipping '/workspace/src/github.com/openstack-k8s-operators/ci- framework/scripts/../playbooks/group_vars' as it is a symbolic link to a directory outside the collection [WARNING]: Skipping '/workspace/src/github.com/openstack-k8s-operators/ci- framework/scripts/../roles/ci_gen_kustomize_values/templates/dz-storage' as it is a symbolic link to a directory outside the collection [WARNING]: Skipping '/workspace/src/github.com/openstack-k8s-operators/ci- framework/scripts/../roles/ci_gen_kustomize_values/templates/hci-adoption' as it is a symbolic link to a directory outside the collection Starting galaxy collection install process Process install dependency map Starting collection install process Installing 'cifmw.general:1.0.0+67f4fe05' to '/tmp/.ansible/collections/ansible_collections/cifmw/general' Created collection for cifmw.general:1.0.0+67f4fe05 at /tmp/.ansible/collections/ansible_collections/cifmw/general cifmw.general:1.0.0+67f4fe05 was installed successfully Installing 'containers.podman:1.16.2' to '/tmp/.ansible/collections/ansible_collections/containers/podman' Created collection for containers.podman:1.16.2 at /tmp/.ansible/collections/ansible_collections/containers/podman containers.podman:1.16.2 was installed successfully Installing 'community.general:10.0.1' to '/tmp/.ansible/collections/ansible_collections/community/general' Created collection for community.general:10.0.1 at /tmp/.ansible/collections/ansible_collections/community/general community.general:10.0.1 was installed successfully Installing 'ansible.posix:1.6.2' to '/tmp/.ansible/collections/ansible_collections/ansible/posix' Created collection for ansible.posix:1.6.2 at /tmp/.ansible/collections/ansible_collections/ansible/posix ansible.posix:1.6.2 was installed successfully Installing 'ansible.utils:5.1.2' to '/tmp/.ansible/collections/ansible_collections/ansible/utils' Created collection for ansible.utils:5.1.2 at /tmp/.ansible/collections/ansible_collections/ansible/utils ansible.utils:5.1.2 was installed successfully Installing 'community.libvirt:1.3.0' to '/tmp/.ansible/collections/ansible_collections/community/libvirt' Created collection for community.libvirt:1.3.0 at /tmp/.ansible/collections/ansible_collections/community/libvirt community.libvirt:1.3.0 was installed successfully Installing 'community.crypto:2.22.3' to '/tmp/.ansible/collections/ansible_collections/community/crypto' Created collection for community.crypto:2.22.3 at /tmp/.ansible/collections/ansible_collections/community/crypto community.crypto:2.22.3 was installed successfully Installing 'kubernetes.core:5.0.0' to '/tmp/.ansible/collections/ansible_collections/kubernetes/core' Created collection for kubernetes.core:5.0.0 at /tmp/.ansible/collections/ansible_collections/kubernetes/core kubernetes.core:5.0.0 was installed successfully Installing 'ansible.netcommon:7.1.0' to '/tmp/.ansible/collections/ansible_collections/ansible/netcommon' Created collection for ansible.netcommon:7.1.0 at /tmp/.ansible/collections/ansible_collections/ansible/netcommon ansible.netcommon:7.1.0 was installed successfully Installing 'openstack.config_template:2.1.1' to '/tmp/.ansible/collections/ansible_collections/openstack/config_template' Created collection for openstack.config_template:2.1.1 at /tmp/.ansible/collections/ansible_collections/openstack/config_template openstack.config_template:2.1.1 was installed successfully Installing 'junipernetworks.junos:9.1.0' to '/tmp/.ansible/collections/ansible_collections/junipernetworks/junos' Created collection for junipernetworks.junos:9.1.0 at /tmp/.ansible/collections/ansible_collections/junipernetworks/junos junipernetworks.junos:9.1.0 was installed successfully Installing 'cisco.ios:9.0.3' to '/tmp/.ansible/collections/ansible_collections/cisco/ios' Created collection for cisco.ios:9.0.3 at /tmp/.ansible/collections/ansible_collections/cisco/ios cisco.ios:9.0.3 was installed successfully Installing 'mellanox.onyx:1.0.0' to '/tmp/.ansible/collections/ansible_collections/mellanox/onyx' Created collection for mellanox.onyx:1.0.0 at /tmp/.ansible/collections/ansible_collections/mellanox/onyx mellanox.onyx:1.0.0 was installed successfully Installing 'community.okd:4.0.0' to '/tmp/.ansible/collections/ansible_collections/community/okd' Created collection for community.okd:4.0.0 at /tmp/.ansible/collections/ansible_collections/community/okd community.okd:4.0.0 was installed successfully Installing '@NAMESPACE@.@NAME@:3.1.4' to '/tmp/.ansible/collections/ansible_collections/@NAMESPACE@/@NAME@' Created collection for @NAMESPACE@.@NAME@:3.1.4 at /tmp/.ansible/collections/ansible_collections/@NAMESPACE@/@NAME@ @NAMESPACE@.@NAME@:3.1.4 was installed successfully + break ++ python3 -c 'import ansible; print(ansible.__version__)' ++ sed 's/\.[^.]*$//' + ansible_version=2.15 + cat /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/sanity/ignore.txt + pushd /tmp/.ansible/collections/ansible_collections/cifmw/general ~/.ansible/collections/ansible_collections/cifmw/general /workspace/src/github.com/openstack-k8s-operators/ci-framework + '[' -d tests/unit ']' + ansible-test units --color=yes --requirements -vv Configured locale: en_US.UTF-8 RLIMIT_NOFILE: (1024, 524288) Creating container database. Run command: /usr/bin/python3 -c 'import cryptography' Working directory: /tmp/.ansible/collections/ansible_collections/cifmw/general Program found: /usr/bin/python3 HOME=/tmp LC_ALL=en_US.UTF-8 PATH=/workspace/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Installing requirements for Python 3.9 Stream command with data: /usr/bin/python3 Working directory: /tmp/.ansible/collections/ansible_collections/cifmw/general Program found: /usr/bin/python3 HOME=/tmp LC_ALL=en_US.UTF-8 PATH=/workspace/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Execute command: /usr/bin/python3 /tmp/ansible-test-if0ks6xd-pip.py install --disable-pip-version-check -r requirements/ansible.txt -r requirements/units.txt -c requirements/constraints.txt Collecting pytest-mock (from -r requirements/units.txt (line 3)) Downloading pytest_mock-3.15.1-py3-none-any.whl.metadata (3.9 kB) Collecting pytest-forked (from -r requirements/units.txt (line 5)) Downloading pytest_forked-1.6.0-py3-none-any.whl.metadata (3.5 kB) Collecting tomli>=1 (from pytest->-r requirements/units.txt (line 2)) Downloading tomli-2.2.1-py3-none-any.whl.metadata (10 kB) Collecting py (from pytest-forked->-r requirements/units.txt (line 5)) Downloading py-1.11.0-py2.py3-none-any.whl.metadata (2.8 kB) Downloading pytest_mock-3.15.1-py3-none-any.whl (10 kB) Downloading pytest_forked-1.6.0-py3-none-any.whl (4.9 kB) Downloading tomli-2.2.1-py3-none-any.whl (14 kB) Downloading py-1.11.0-py2.py3-none-any.whl (98 kB) Installing collected packages: tomli, py, pytest-mock, pytest-forked Successfully installed py-1.11.0 pytest-forked-1.6.0 pytest-mock-3.15.1 tomli-2.2.1 Run command: /usr/bin/python3 /usr/local/lib/python3.9/site-packages/ansible_test/_util/target/tools/yamlcheck.py Working directory: /tmp/.ansible/collections/ansible_collections/cifmw/general Program found: /usr/bin/python3 HOME=/tmp LC_ALL=en_US.UTF-8 PATH=/workspace/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin WARNING: Skipping unit tests on Python 3.10 because it could not be found. WARNING: Skipping unit tests on Python 3.11 because it could not be found. Unit test controller with Python 3.9 Initializing "/tmp/ansible-test-3cvk4tci-injector" as the temporary injector directory. Injecting "/tmp/python-3i_w9flb-ansible/python" as a execv wrapper for the "/usr/bin/python3" interpreter. Stream command: pytest --forked -r a -n auto --color yes -p no:cacheprovider -c /usr/local/lib/python3.9/site-packages/ansible_test/_data/pytest/config/default.ini --junit-xml /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/junit/python3.9-controller-units.xml --strict-markers --rootdir /tmp/.ansible/collections/ansible_collections/cifmw/general --confcutdir /tmp/.ansible/collections/ansible_collections/cifmw/general -vv tests/unit/module_utils/net_map/test_networking_definitions_all.py tests/unit/module_utils/net_map/test_networking_definitions_group_template.py tests/unit/module_utils/net_map/test_networking_definitions_instance.py tests/unit/module_utils/net_map/test_networking_definitions_network.py tests/unit/module_utils/net_map/test_networking_definitions_ranges.py tests/unit/module_utils/net_map/test_networking_mapper.py tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py tests/unit/modules/test_approve_csr.py tests/unit/modules/test_bridge_vlan.py tests/unit/modules/test_crawl_n_mask.py Working directory: /tmp/.ansible/collections/ansible_collections/cifmw/general Program found: /tmp/ansible-test-3cvk4tci-injector/pytest ANSIBLE_COLLECTIONS_PATH=/tmp/.ansible/collections ANSIBLE_CONFIG=/usr/local/lib/python3.9/site-packages/ansible_test/_data/ansible.cfg ANSIBLE_CONTROLLER_MIN_PYTHON_VERSION=3.9 ANSIBLE_DEPRECATION_WARNINGS=false ANSIBLE_DEVEL_WARNING=false ANSIBLE_FORCE_COLOR=true ANSIBLE_FORCE_HANDLERS=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_HOST_PATTERN_MISMATCH=error ANSIBLE_INVENTORY=/dev/null ANSIBLE_LIBRARY=/dev/null ANSIBLE_PYTHON_MODULE_RLIMIT_NOFILE=1024 ANSIBLE_RETRY_FILES_ENABLED=false ANSIBLE_TEST_PYTHON_INTERPRETER=/usr/bin/python3 ANSIBLE_TEST_PYTHON_VERSION=3.9 ANSIBLE_WORKER_SHUTDOWN_POLL_COUNT=100 ANSIBLE_WORKER_SHUTDOWN_POLL_DELAY=0.1 HOME=/tmp LC_ALL=en_US.UTF-8 PAGER=/bin/cat PATH=/tmp/ansible-test-3cvk4tci-injector:/tmp/python-3i_w9flb-ansible:/tmp/ansible-test-gfkq3wkd-bin:/workspace/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PYTEST_PLUGINS=ansible_pytest_collections PYTHONPATH=/tmp/ansible-test-su1hpnz8:/usr/local/lib/python3.9/site-packages/ansible_test/_util/target/pytest/plugins ============================= test session starts ============================== platform linux -- Python 3.9.23, pytest-8.3.3, pluggy-1.6.0 -- /usr/bin/python3 metadata: {'Python': '3.9.23', 'Platform': 'Linux-5.14.0-427.50.2.el9_4.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '8.3.3', 'pluggy': '1.6.0'}, 'Plugins': {'xdist': '3.6.1', 'testinfra': '10.1.1', 'metadata': '3.1.1', 'cov': '6.0.0', 'html': '4.1.1', 'mock': '3.15.1', 'forked': '1.6.0'}} rootdir: /tmp/.ansible/collections/ansible_collections/cifmw/general configfile: ../../../../../../usr/local/lib/python3.9/site-packages/ansible_test/_data/pytest/config/default.ini plugins: xdist-3.6.1, testinfra-10.1.1, metadata-3.1.1, cov-6.0.0, html-4.1.1, mock-3.15.1, forked-1.6.0 created: 8/8 workers 8 workers [128 items] scheduling tests via LoadScheduling tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_colliding_ranges_fail tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_trunk_parent_fail tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_networks_mixed_ok tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_invalid_ip_version_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_int_conversion_all_ok tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_all_tools_ipv6_only_ok tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_networks_no_tools_v6_ok tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_trunk_parent_no_trunks [gw4] [ 0%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_networks_no_tools_v6_ok tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_networks_no_tools_mixed_ok [gw3] [ 1%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_trunk_parent_fail tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_no_trunk_parent_fail [gw0] [ 2%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_colliding_ranges_fail tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_1_ok [gw7] [ 3%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_int_conversion_all_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_tools_v4_ok [gw3] [ 3%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_no_trunk_parent_fail tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_trunk_parent_no_trunks_ok [gw4] [ 4%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_networks_no_tools_mixed_ok tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_invalid_ip_fail [gw6] [ 5%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_trunk_parent_no_trunks [gw2] [ 6%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_networks_mixed_ok tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_invalid_range_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_ok [gw5] [ 7%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_invalid_ip_version_fail tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_trunk_parent_ok [gw5] [ 7%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_trunk_parent_ok tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_trunk_parent_fail [gw2] [ 8%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_invalid_range_fail tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_invalid_net_fail [gw1] [ 9%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_all_tools_ipv6_only_ok tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_simple_ok [gw0] [ 10%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_1_ok tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_all_tools_ok [gw7] [ 10%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_tools_v4_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_tools_v6_ok [gw4] [ 11%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_invalid_ip_fail [gw6] [ 12%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_ok [gw3] [ 13%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_trunk_parent_no_trunks_ok tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_networks_no_tools_v4_ok [gw5] [ 14%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_trunk_parent_fail tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_invalid_net_fail [gw1] [ 14%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_simple_ok tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_networks_v4_ok [gw2] [ 15%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_invalid_net_fail tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_no_trunk_parent_fail tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_trunk_parent_ok [gw6] [ 16%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_ok [gw1] [ 17%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_networks_v4_ok [gw7] [ 17%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_tools_v6_ok [gw4] [ 18%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_invalid_net_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[3.33] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_dual_stack_ok tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_networks_v6_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_gateway_fail [gw2] [ 19%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_trunk_parent_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[1] [gw3] [ 20%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_networks_no_tools_v4_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_dns_fail [gw5] [ 21%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_instance.py::test_instance_definition_parse_no_trunk_parent_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_tools_ranges_collision_dual_stack_ok [gw4] [ 21%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[3.33] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[invalid_test_input3] [gw1] [ 22%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_group_template.py::test_group_template_definition_parse_networks_v6_ok [gw0] [ 23%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_all_tools_ok [gw2] [ 24%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[1] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[bool] [gw7] [ 25%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_gateway_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[invalid_test_input5] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[3.33] [gw6] [ 25%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_all_dual_stack_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[invalid_test_input4] tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_all_tools_dual_stack_ok [gw3] [ 26%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_dns_fail [gw2] [ 27%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[bool] [gw5] [ 28%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_tools_ranges_collision_dual_stack_ok [gw1] [ 28%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[3.33] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_tools_ranges_collision_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_ranges_check_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[foo] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[3.33] [gw4] [ 29%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[invalid_test_input3] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[invalid_test_input4] [gw7] [ 30%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[invalid_test_input5] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_missing_mandatory_fail [gw2] [ 31%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[3.33] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[invalid_test_input3] [gw5] [ 32%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_ranges_check_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_network_fail [gw3] [ 32%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_tools_ranges_collision_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[1] [gw4] [ 33%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[invalid_test_input4] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[invalid_test_input5] [gw7] [ 34%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_missing_mandatory_fail [gw1] [ 35%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[foo] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[invalid_test_input4] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_valid_router_ok [gw2] [ 35%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[invalid_test_input3] tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_from_raw_ok [gw6] [ 36%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[invalid_test_input4] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[invalid_test_input5] [gw3] [ 37%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[1] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[bool] [gw4] [ 38%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[invalid_test_input5] [gw2] [ 39%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_from_raw_ok tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_ipv6_fail tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_from_raw_ipv6_ok [gw7] [ 39%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_valid_router_ok tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_get_version_from_raw_ok [gw6] [ 40%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_external_network_fail[invalid_test_input5] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[1] [gw1] [ 41%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[invalid_test_input4] tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_network_definition_parse_range_from_raw_ok [gw0] [ 42%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_all.py::test_networking_definition_load_networking_definition_all_tools_dual_stack_ok tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_tools_route_version_fail [gw5] [ 42%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_network_fail tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_network_ip_version_fail [gw7] [ 43%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_get_version_from_raw_ok [gw2] [ 44%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_from_raw_ipv6_ok tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_get_version_from_raw_mixed_fail [gw1] [ 45%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_network_definition_parse_range_from_raw_ok tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_fail [gw4] [ 46%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_ipv6_fail tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_network_definition_parse_range_from_raw_fail tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_in_ok [gw3] [ 46%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_search_domain_fail[bool] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid-all-tools-dual-stack.yml-networking-definition-valid-all-tools-dual-stack-networks-out.json] [gw6] [ 47%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[1] tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[bool] [gw0] [ 48%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_tools_route_version_fail tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_ok [gw2] [ 49%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_fail [gw1] [ 50%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_network_definition_parse_range_from_raw_fail [gw4] [ 50%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_in_ok [gw7] [ 51%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_get_version_from_raw_mixed_fail tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_routers_map_ok[network-definition-valid-router-template.yml-network-definition-valid-router-template-out.json] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[reduced-ipv6-only] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[dual-stack-all-tools] tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_correct_family_fail [gw5] [ 52%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_network_ip_version_fail tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid-all-tools-ipv6-only.yml-networking-definition-valid-all-tools-ipv6-only-networks-out.json] [gw0] [ 53%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_ok tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_ipv6_ok [gw6] [ 53%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_network.py::test_network_definition_parse_invalid_router_networks_fail[bool] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[all-tools] [gw4] [ 54%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_correct_family_fail tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid-all-tools-dual-stack.yml-networking-definition-valid-all-tools-dual-stack-full-map-out.json-None] [gw0] [ 55%] PASSED tests/unit/module_utils/net_map/test_networking_definitions_ranges.py::test_host_network_range_ipv6_ok tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid.yml-networking-definition-valid-full-map-out.json-None] [gw1] [ 56%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[reduced-ipv6-only] [gw7] [ 57%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_routers_map_ok[network-definition-valid-router-template.yml-network-definition-valid-router-template-out.json] [gw3] [ 57%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid-all-tools-dual-stack.yml-networking-definition-valid-all-tools-dual-stack-networks-out.json] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[ipv6-only] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[reduced-dual-stack-all-tools] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid.yml-networking-definition-valid-networks-out.json] [gw2] [ 58%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[dual-stack-all-tools] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[no-tools] [gw6] [ 59%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[all-tools] [gw0] [ 60%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid.yml-networking-definition-valid-full-map-out.json-None] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid-all-tools-ipv6-only.yml-networking-definition-valid-all-tools-ipv6-only-full-map-out.json-test_interfaces_info2] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[network-definition-valid-all-tools-no-group-templates.yml-network-definition-valid-all-tools-no-group-templates-out.json-None] [gw5] [ 60%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid-all-tools-ipv6-only.yml-networking-definition-valid-all-tools-ipv6-only-networks-out.json] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid-all-tools.yml-networking-definition-valid-all-tools-networks-out.json] [gw4] [ 61%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid-all-tools-dual-stack.yml-networking-definition-valid-all-tools-dual-stack-full-map-out.json-None] [gw1] [ 62%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[ipv6-only] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid-all-tools.yml-networking-definition-valid-all-tools-full-map-out.json-test_interfaces_info3] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_invalid_facts_fail [gw2] [ 63%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[no-tools] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_map_invalid_ifaces_info_fail [gw3] [ 64%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid.yml-networking-definition-valid-networks-out.json] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_missing_ansible_hostname_ok [gw7] [ 64%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_partial_map_ok[reduced-dual-stack-all-tools] [gw0] [ 65%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[network-definition-valid-all-tools-no-group-templates.yml-network-definition-valid-all-tools-no-group-templates-out.json-None] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_missing_ansible_interfaces_ok tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_search_domain_override_ok [gw6] [ 66%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid-all-tools-ipv6-only.yml-networking-definition-valid-all-tools-ipv6-only-full-map-out.json-test_interfaces_info2] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_mac_not_found_ok [gw5] [ 67%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_basic_networks_map_ok[networking-definition-valid-all-tools.yml-networking-definition-valid-all-tools-networks-out.json] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_invalid_instance_fail [gw4] [ 67%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_ok[networking-definition-valid-all-tools.yml-networking-definition-valid-all-tools-full-map-out.json-test_interfaces_info3] tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_map_duplicated_net_group_templates_fail [gw2] [ 68%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_map_invalid_ifaces_info_fail tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_ok [gw0] [ 69%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_search_domain_override_ok [gw1] [ 70%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_invalid_facts_fail tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_reserve_method_ok [gw3] [ 71%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_missing_ansible_hostname_ok [gw2] [ 71%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_reserve_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_reserve_out_of_range [gw7] [ 72%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_missing_ansible_interfaces_ok [gw6] [ 73%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_full_map_mac_not_found_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_reserve_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_reserve_method_ok [gw3] [ 74%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_reserve_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_host_ip_pool_manager_get_ip_unknown_fail [gw5] [ 75%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_invalid_instance_fail [gw2] [ 75%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_reserve_out_of_range [gw0] [ 76%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_reserve_method_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_exhausted_fail tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_host_ip_pool_manager_get_ip_v4_ok tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_multiple_iterations_on_wait [gw1] [ 77%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_ok tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_host_ip_pool_manager_get_ip_v6_ok [gw7] [ 78%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_reserve_ok [gw6] [ 78%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv6_reserve_method_ok tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_negative_approving_cert_requests tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_negative_gathering_pending_requests [gw5] [ 79%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_exhausted_fail tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_apply_vlan_on_success [gw4] [ 80%] PASSED tests/unit/module_utils/net_map/test_networking_mapper.py::test_networking_mapper_map_duplicated_net_group_templates_fail tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_reserve_out_of_range [gw3] [ 81%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_host_ip_pool_manager_get_ip_unknown_fail tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_one_iteration_on_wait [gw0] [ 82%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_host_ip_pool_manager_get_ip_v4_ok tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_invalid_network [gw6] [ 82%] PASSED tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_negative_gathering_pending_requests tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_network_with_no_tap [gw1] [ 83%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_host_ip_pool_manager_get_ip_v6_ok [gw4] [ 84%] PASSED tests/unit/module_utils/net_map/test_networking_mapping_ip_pools.py::test_ip_pool_ipv4_reserve_out_of_range [gw5] [ 85%] PASSED tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_apply_vlan_on_success tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_missing_params tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_true[/test-expected_files0] [gw7] [ 85%] PASSED tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_negative_approving_cert_requests tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_no_vlan_ids tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_network_with_no_physical_port [gw0] [ 86%] PASSED tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_invalid_network tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[/tmp-expected_files0] [gw6] [ 87%] PASSED tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_network_with_no_tap tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[/controller-expected_files1] [gw1] [ 88%] PASSED tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_missing_params tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[venv-expected_files2] [gw4] [ 89%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_true[/test-expected_files0] tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[crc-expected_files3] [gw7] [ 89%] PASSED tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_network_with_no_physical_port tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_2 [gw6] [ 90%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[/controller-expected_files1] [gw5] [ 91%] PASSED tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_no_vlan_ids tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_1 [gw0] [ 92%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[/tmp-expected_files0] [gw4] [ 92%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[crc-expected_files3] tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_4 tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_3 [gw1] [ 93%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_false[venv-expected_files2] [gw7] [ 94%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_2 [gw5] [ 95%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_1 [gw6] [ 96%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_4 [gw0] [ 96%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_partial_mask_scenario_3 [gw3] [ 97%] PASSED tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_one_iteration_on_wait tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_true[/controller-expected_files1] [gw3] [ 98%] PASSED tests/unit/modules/test_crawl_n_mask.py::TestCrawlNMask::test_crawl_true[/controller-expected_files1] [gw2] [ 99%] PASSED tests/unit/modules/test_approve_csr.py::TestApproveCSRCore::test_multiple_iterations_on_wait tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_failed_to_apply_vlan [gw2] [100%] PASSED tests/unit/modules/test_bridge_vlan.py::TestBridgeVLAN::test_negative_failed_to_apply_vlan - generated xml file: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/junit/python3.9-controller-units.xml - ============================= 128 passed in 31.86s ============================= WARNING: Reviewing previous 2 warning(s): WARNING: Skipping unit tests on Python 3.10 because it could not be found. WARNING: Skipping unit tests on Python 3.11 because it could not be found. Cleaning up temporary python directory: /tmp/python-3i_w9flb-ansible + ansible-test sanity --test validate-modules Running sanity test "validate-modules" Installing requirements for Python 3.9 [venv] Downloading pip 21.3.1 bootstrap script: https://ci-files.testing.ansible.com/ansible-test/get-pip-21.3.1.py Cached pip 21.3.1 bootstrap script: /tmp/.ansible/test/cache/get_pip_21_3_1.py Collecting pip==21.3.1 Downloading pip-21.3.1-py3-none-any.whl (1.7 MB) Collecting setuptools==60.8.2 Downloading setuptools-60.8.2-py3-none-any.whl (1.1 MB) Collecting wheel==0.37.1 Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: wheel, setuptools, pip Successfully installed pip-21.3.1 setuptools-60.8.2 wheel-0.37.1 Collecting pyyaml==6.0 Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB) Saved ./PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl Collecting antsibull-docs-parser==0.2.0 Downloading antsibull_docs_parser-0.2.0-py3-none-any.whl (30 kB) Collecting Jinja2==3.1.2 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting MarkupSafe==2.1.2 Downloading MarkupSafe-2.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting PyYAML==6.0 Using cached PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB) Collecting voluptuous==0.13.1 Downloading voluptuous-0.13.1-py3-none-any.whl (29 kB) Installing collected packages: MarkupSafe, voluptuous, PyYAML, Jinja2, antsibull-docs-parser Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.2 PyYAML-6.0 antsibull-docs-parser-0.2.0 voluptuous-0.13.1 + '[' -d tests/integration ']' + ansible-test integration --color=yes WARNING: Unable to determine context for the following test targets, they will be run on the target host: kustomize, make, script Running filter_reproducer_gerrit_infix integration test role PLAY [testhost] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [testhost] TASK [filter_reproducer_gerrit_infix : Test reproducer_gerrit_infix filter] **** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_gerrit_infix : Test reproducer_gerrit_infix bad argument] *** fatal: [testhost]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{input | cifmw.general.reproducer_gerrit_infix}}): reproducer_gerrit_infix requires a str, got . reproducer_gerrit_infix requires a str, got "} ...ignoring TASK [filter_reproducer_gerrit_infix : Verify reproducer_gerrit_infix showed an error message] *** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* testhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 Running filter_reproducer_refspec integration test role PLAY [testhost] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [testhost] TASK [filter_reproducer_refspec : Test reproducer_refspec bad argument] ******** fatal: [testhost]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{input | cifmw.general.reproducer_refspec}}): reproducer_refspec requires a dict, got . reproducer_refspec requires a dict, got "} ...ignoring TASK [filter_reproducer_refspec : Verify reproducer_refspec showed an error message] *** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec bad argument, no project] *** fatal: [testhost]: FAILED! => {"msg": "repo information does not contain 'project' field"} ...ignoring TASK [filter_reproducer_refspec : Verify reproducer_refspec showed an error message] *** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec bad argument, no hostname] *** fatal: [testhost]: FAILED! => {"msg": "repo information does not contain 'canonical_hostname' field"} ...ignoring TASK [filter_reproducer_refspec : Verify reproducer_refspec showed an error message] *** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec bad argument, no patchset] *** fatal: [testhost]: FAILED! => {"msg": "repo information does not contain 'patchset' field"} ...ignoring TASK [filter_reproducer_refspec : Verify reproducer_refspec showed an error message] *** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec no patchset in github] *** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec no change] *********** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec periodic job] ******** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec github refspec] ****** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec gitlab refspec] ****** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec gerrit refspec] ****** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [filter_reproducer_refspec : Test reproducer_refspec code.eng gerrit refspec] *** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* testhost : ok=16 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=4 Running kustomize integration test role PLAY [testhost] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [testhost] TASK [kustomize : Create a directory to download each kustomization tool] ****** changed: [testhost] TASK [kustomize : Set files dir as a fact] ************************************* ok: [testhost] TASK [kustomize : Create OC and kustomize binaries path] *********************** changed: [testhost] => (item=/tmp/ansible.4hxhvw2ucifmw-ci-kustomize-bins-dir/oc) changed: [testhost] => (item=/tmp/ansible.4hxhvw2ucifmw-ci-kustomize-bins-dir/kustomize) TASK [kustomize : Fetch oc from OCP mirror] ************************************ changed: [testhost] TASK [kustomize : Fetch kustomize from sigs Github] **************************** changed: [testhost] TASK [kustomize : Recursively find scenario files] ***************************** ok: [testhost] TASK [kustomize : Run scenario file] ******************************************* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_extras_scenario.yml for testhost => (item=/tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_extras_scenario.yml) included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_failures_scenario.yml for testhost => (item=/tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_failures_scenario.yml) included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_file_input_scenario.yml for testhost => (item=/tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_file_input_scenario.yml) included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_mixed_input_scenario.yml for testhost => (item=/tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_mixed_input_scenario.yml) included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_vars_input_scenario.yml for testhost => (item=/tmp/.ansible/collections/ansible_collections/cifmw/general/tests/integration/targets/kustomize/tasks/scenarios/ci_kustomize_vars_input_scenario.yml) TASK [kustomize : Apply a single string based kustomization using kustomize instead of oc] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.c7vbh6vucifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Run TC] *************** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 1, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.c7vbh6vucifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-bare-kustomize-bin] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.c7vbh6vucifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply colliding kustomizations with reversed priority] ******* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-extras-reversed-priority] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.jex2naqbcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.jex2naqbcifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) TASK [kustomize : [tc-success-extras-reversed-priority] Run TC] **************** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-extras-reversed-priority] Assert idempotence] **** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-extras-reversed-priority] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 2, "failed": false, "kustomizations_paths": [ "/tmp/ansible.jex2naqbcifmw-ci-kustomize-scenario-dir/kustomization.yaml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.jex2naqbcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-extras-reversed-priority] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-extras-reversed-priority] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-extras-reversed-priority] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-reversed-priority] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.jex2naqbcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply kustomization overriding the output file] ************** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-extras-override-output-file] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.4oj36yytcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.4oj36yytcifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) TASK [kustomize : [tc-success-extras-override-output-file] Run TC] ************* changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-extras-override-output-file] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-extras-override-output-file] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 2, "failed": false, "kustomizations_paths": [ "/tmp/ansible.4oj36yytcifmw-ci-kustomize-scenario-dir/kustomization.yaml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.4oj36yytcifmw-ci-kustomize-scenario-dir/kustomization-result.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-extras-override-output-file] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-extras-override-output-file] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-extras-override-output-file] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-override-output-file] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.4oj36yytcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Preserve the workspace folder after a successful kustomization] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.5v6r4keucifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Run TC] *********** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 1, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.5v6r4keucifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Check if the workspace dir is present] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Assert workspace dir is presence] *** ok: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-extras-preserve-workspace-dir] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.5v6r4keucifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply an invalid kustomization that should fail when applied by kustomize] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-invalid-kustomization-operation] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.ed95r5kscifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-invalid-kustomization-operation] Run TC] ********* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "changed": false, "details": "error: Unexpected kind: nonexistingop\n", "error": "Unexpected kind: nonexistingop", "kustomization": {"apiVersion": "kustomize.config.k8s.io/v1beta1", "kind": "Kustomization", "patches": [{"patch": "- op: nonexistingop\n path: /metadata/labels/cifmw-label-2\n value: \"cifmw-label-2-value\"", "target": {"kind": "Deployment"}}], "resources": ["cifmw-kustomization-result.yaml"]}, "kustomization_path": "/tmp/ansible.ed95r5kscifmw-ci-kustomize-scenario-dir/cifmw-kustomize-workspace/kustomization.yaml", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the details field is present, if expected, and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that an argument validation error is properly formated if expected] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the expected fields that points and contains the kustomization are present] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Fetch kustomization pointed by kustomization_path] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the path exists] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Fetch the kustomization_path file content] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the fetched content is the same as the provided by the plugin exists] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Assert that the kustomization content is the expected one in case of validation failure] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-operation] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.ed95r5kscifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a yaml that has no apiVersion] ************************* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.vyhqtczpcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Run TC] ******* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "changed": false, "error": "Failed to load a kustomization. YAML Error while scanning a block scalar\n in \"\", line 4, column 11:\n patch: |-sss\n ^\nexpected chomping or indentation indicators, but found 's'\n in \"\", line 4, column 13:\n patch: |-sss\n ^", "kustomization": "apiVersion: kustomize.config.k8s.io/v1beta1\nkind: Kustomization\npatches:\n patch: |-sss\n - op: replace\n path: /metadata/labels/cifmw-label-2\n value: \"cifmw-label-2-value\"\n target:\n kind: Deployment", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that an argument validation error is properly formated if expected] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Assert that the kustomization content is the expected one in case of validation failure] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-kustomization-yaml-string] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.vyhqtczpcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a yaml that has no apiVersion] ************************* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-invalid-api-version] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.ul92z_xecifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-invalid-api-version] Run TC] ********************* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "changed": false, "error": "Kustomization input contains a manifest without apiVersion field", "kustomization": "kind: Kustomization\npatches:\n- patch: \"- op: add\\n path: /metadata/labels/cifmw-label-1\\n value: \\\"cifmw-label-1-value\\\"\"\n target:\n kind: Deployment\n", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-invalid-api-version] Assert idempotence] ********* skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-invalid-api-version] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-invalid-api-version] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that an argument validation error is properly formated if expected] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the kustomization content is the expected one in case of validation failure] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Delete temporal dirs] ******* changed: [testhost] => (item=/tmp/ansible.ul92z_xecifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a yaml that has an apiVersion that is not the kustomization one] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-invalid-api-version] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.a264bdqscifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-invalid-api-version] Run TC] ********************* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "changed": false, "error": "Kustomization input contains a manifest with a apiVersion that is not kustomize.config.k8s.io", "kustomization": "apiVersion: apps/v1\nkind: Kustomization\npatches:\n- patch: \"- op: add\\n path: /metadata/labels/cifmw-label-1\\n value: \\\"cifmw-label-1-value\\\"\"\n target:\n kind: Deployment\n", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-invalid-api-version] Assert idempotence] ********* skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-invalid-api-version] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-invalid-api-version] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that an argument validation error is properly formated if expected] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Assert that the kustomization content is the expected one in case of validation failure] *** ok: [testhost] TASK [kustomize : [tc-failure-invalid-api-version] Delete temporal dirs] ******* changed: [testhost] => (item=/tmp/ansible.a264bdqscifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a yaml that has no kind] ******************************* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-no-kind-field] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Check if source file exits] ******* skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.d5vze1ebcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-no-kind-field] Run TC] *************************** failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "changed": false, "error": "Kustomization input contains a manifest without kind field", "kustomization": "apiVersion: kustomize.config.k8s.io/v1beta1\npatches:\n- patch: \"- op: add\\n path: /metadata/labels/cifmw-label-1\\n value: \\\"cifmw-label-1-value\\\"\"\n target:\n kind: Deployment\n", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-no-kind-field] Assert idempotence] *************** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Verify ci_kustomize call] ********* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-no-kind-field] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Validations for failed runs] ****** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-no-kind-field] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that an argument validation error is properly formated if expected] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the path exists] ****** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Assert that the kustomization content is the expected one in case of validation failure] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kind-field] Delete temporal dirs] ************* changed: [testhost] => (item=/tmp/ansible.d5vze1ebcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a yaml that has a kind that is not kustomization] ****** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-kind-not-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.vyzt7b09cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-kind-not-kustomization] Run TC] ****************** failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "changed": false, "error": "Kustomization input contains a manifest with a kind that is not Kustomization", "kustomization": "apiVersion: kustomize.config.k8s.io/v1beta1\nkind: Deployment\npatches:\n- patch: \"- op: add\\n path: /metadata/labels/cifmw-label-1\\n value: \\\"cifmw-label-1-value\\\"\"\n target:\n kind: Deployment\n", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-kind-not-kustomization] Assert idempotence] ****** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that an argument validation error is properly formated if expected] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Assert that the kustomization content is the expected one in case of validation failure] *** ok: [testhost] TASK [kustomize : [tc-failure-kind-not-kustomization] Delete temporal dirs] **** changed: [testhost] => (item=/tmp/ansible.vyzt7b09cifmw-ci-kustomize-scenario-dir) TASK [kustomize : Assert that the target_path is mandatory] ******************** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-target-path-mandatory] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Check if source file exits] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Copy files to each desidered dest] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Run TC] ******************* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "argument": "target_path", "changed": false, "error": "target path is mandatory", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-target-path-mandatory] Assert idempotence] ******* skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-target-path-mandatory] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that an argument validation error is properly formated if expected] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Assert that the kustomization content is the expected one in case of validation failure] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-mandatory] Delete temporal dirs] ***** changed: [testhost] => (item=/tmp/ansible.mw9e24ipcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Assert that the target_path exists] ************************** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-target-path-exists] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Check if source file exits] *** ok: [testhost] => (item=this-file-does-not-exist.yaml) TASK [kustomize : [tc-failure-target-path-exists] Filter source files to include only the existing ones] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Copy files to each desidered dest] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Run TC] ********************** failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "argument": "target_path", "changed": false, "error": "path does not exist", "kustomize_tc_run_num": 1, "value": "/tmp/ansible.5qc4cxu0cifmw-ci-kustomize-scenario-dir/this-file-does-not-exist.yaml"} ...ignoring TASK [kustomize : [tc-failure-target-path-exists] Assert idempotence] ********** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Verify ci_kustomize call] **** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-target-path-exists] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-target-path-exists] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that an argument validation error is properly formated if expected] *** ok: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Assert that the kustomization content is the expected one in case of validation failure] *** skipping: [testhost] TASK [kustomize : [tc-failure-target-path-exists] Delete temporal dirs] ******** changed: [testhost] => (item=/tmp/ansible.5qc4cxu0cifmw-ci-kustomize-scenario-dir) TASK [kustomize : Assert that if output_path given is not an existing dir] ***** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-output-file-not-dir] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.pog33bxzcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-output-file-not-dir] Run TC] ********************* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "argument": "output_path", "changed": false, "error": "output file cannot point to a directory", "kustomize_tc_run_num": 1, "value": "/tmp"} ...ignoring TASK [kustomize : [tc-failure-output-file-not-dir] Assert idempotence] ********* skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-output-file-not-dir] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that an argument validation error is properly formated if expected] *** ok: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Assert that the kustomization content is the expected one in case of validation failure] *** skipping: [testhost] TASK [kustomize : [tc-failure-output-file-not-dir] Delete temporal dirs] ******* changed: [testhost] => (item=/tmp/ansible.pog33bxzcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Assert that if no kustomization tool given is a formatted error raises] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-no-kustomization-tool] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.uynw3mjbcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-no-kustomization-tool] Run TC] ******************* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "changed": false, "error": "Cannot find oc nor kustomize in PATH", "kustomize_tc_run_num": 1} ...ignoring TASK [kustomize : [tc-failure-no-kustomization-tool] Assert idempotence] ******* skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that an argument validation error is properly formated if expected] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Assert that the kustomization content is the expected one in case of validation failure] *** skipping: [testhost] TASK [kustomize : [tc-failure-no-kustomization-tool] Delete temporal dirs] ***** changed: [testhost] => (item=/tmp/ansible.uynw3mjbcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Assert that kustomizations_paths has the proper format] ****** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-failure-kustomizations-paths-format] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.0lmqup42cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-failure-kustomizations-paths-format] Run TC] ************* failed: [testhost] (item=Run 1) => {"ansible_loop_var": "kustomize_tc_run_num", "argument": "kustomizations_paths", "changed": false, "error": "kustomizations_paths should be a list of paths", "kustomize_tc_run_num": 1, "value": "abcde1234"} ...ignoring TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the expected variables are present if success] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the expected variables are present if failed] *** ok: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Print run output in case of success] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Validations for succeeded runs] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Validations for failed runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_failure.yml for testhost TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the error field is present and its content is the expected one] *** ok: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the details field is present, if expected, and its content is the expected one] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that an argument validation error is properly formated if expected] *** ok: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the expected fields that points and contains the kustomization are present] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Fetch kustomization pointed by kustomization_path] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the path exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Fetch the kustomization_path file content] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the fetched content is the same as the provided by the plugin exists] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Assert that the kustomization content is the expected one in case of validation failure] *** skipping: [testhost] TASK [kustomize : [tc-failure-kustomizations-paths-format] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.0lmqup42cifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply the file based kustomizations to the CR] *************** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-single-file-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=single-kustomization-file-1.yaml) skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml', 'value': 'single-kustomization-file-1.yaml'}) TASK [kustomize : [tc-success-files-single-file-kustomization] Run TC] ********* changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-files-single-file-kustomization] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-single-file-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 3, "failed": false, "kustomizations_paths": [ "/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-single-file-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-single-file-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value', 'expected': 'cifmw-label-3-value'}) TASK [kustomize : [tc-success-files-single-file-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.0l48tiybcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply the file based kustomizations to a couple of CRs] ****** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-dir-target-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=testing-cm.yml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=multiple-kustomizations-in-one-file.yml) skipping: [testhost] => (item=cm-kustomization-1.yml) skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/testing-cm.yml', 'value': 'testing-cm.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/multiple-kustomizations-in-one-file.yml', 'value': 'multiple-kustomizations-in-one-file.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml', 'value': 'cm-kustomization-1.yml'}) TASK [kustomize : [tc-success-files-dir-target-kustomization] Run TC] ********** changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 5, "failed": false, "kustomizations_paths": [ "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml", "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/multiple-kustomizations-in-one-file.yml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-cm" } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 5, "failed": false, "kustomizations_paths": [ "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml", "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/multiple-kustomizations-in-one-file.yml" ], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-cm" } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-4', 'value': 'cifmw-label-4-value', 'expected': 'cifmw-label-4-value'}) ok: [testhost] => (item={'label': 'cifmw-label-5', 'value': 'cifmw-label-5-value', 'expected': 'cifmw-label-5-value'}) ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.jzkrfanxcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply the files based kustomizations (with extras) to the CR] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Create extra directories if requested] *** changed: [testhost] => (item=['single-kustomization-file-2.yaml']) changed: [testhost] => (item=['multiple-kustomizations-in-one-file.yml']) TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=single-kustomization-file-1.yaml) skipping: [testhost] => (item=single-kustomization-file-2.yaml) skipping: [testhost] => (item=multiple-kustomizations-in-one-file.yml) skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml', 'value': 'single-kustomization-file-1.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.dkq3jfjrcifmw-ci-kustomize-scenario-extras-dir/single-kustomization-file-2.yaml', 'value': 'single-kustomization-file-2.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.om17zifvcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml', 'value': 'multiple-kustomizations-in-one-file.yml'}) TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Run TC] *** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 6, "failed": false, "kustomizations_paths": [ "/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.om17zifvcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml", "/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml", "/tmp/ansible.dkq3jfjrcifmw-ci-kustomize-scenario-extras-dir/single-kustomization-file-2.yaml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value", "cifmw-label-6": "cifmw-label-6-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value', 'expected': 'cifmw-label-3-value'}) ok: [testhost] => (item={'label': 'cifmw-label-4', 'value': 'cifmw-label-4-value', 'expected': 'cifmw-label-4-value'}) ok: [testhost] => (item={'label': 'cifmw-label-5', 'value': 'cifmw-label-5-value', 'expected': 'cifmw-label-5-value'}) ok: [testhost] => (item={'label': 'cifmw-label-6', 'value': 'cifmw-label-6-value', 'expected': 'cifmw-label-6-value'}) TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-single-file-extras-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.kr9jdp5icifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.dkq3jfjrcifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.om17zifvcifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply the file based kustomizations to a couple of CRs (with extras)] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Create extra directories if requested] *** changed: [testhost] => (item=cm-kustomization-2.yml) changed: [testhost] => (item=['multiple-kustomizations-in-one-file.yml']) TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=testing-cm.yml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=cm-kustomization-1.yml) skipping: [testhost] => (item=cm-kustomization-2.yml) skipping: [testhost] => (item=multiple-kustomizations-in-one-file.yml) skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/testing-cm.yml', 'value': 'testing-cm.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml', 'value': 'cm-kustomization-1.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.ms2b5cdocifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml', 'value': 'cm-kustomization-2.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.jgq_zudqcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml', 'value': 'multiple-kustomizations-in-one-file.yml'}) TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Run TC] *** changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 6, "failed": false, "kustomizations_paths": [ "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml", "/tmp/ansible.ms2b5cdocifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml", "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.jgq_zudqcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value" }, "name": "testing-cm" } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 6, "failed": false, "kustomizations_paths": [ "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml", "/tmp/ansible.ms2b5cdocifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml", "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.jgq_zudqcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml" ], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value" }, "name": "testing-cm" } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-4', 'value': 'cifmw-label-4-value', 'expected': 'cifmw-label-4-value'}) ok: [testhost] => (item={'label': 'cifmw-label-5', 'value': 'cifmw-label-5-value', 'expected': 'cifmw-label-5-value'}) ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.n1uq6p6fcifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.ms2b5cdocifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.jgq_zudqcifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply overlapping file based kustomizations to a CR (ascending)] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Create extra directories if requested] *** changed: [testhost] => (item=['c-sorting-kustomization.yml']) changed: [testhost] => (item=['a-sorting-kustomization.yml']) TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=b-sorting-kustomization.yml) skipping: [testhost] => (item=c-sorting-kustomization.yml) skipping: [testhost] => (item=a-sorting-kustomization.yml) skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.cvjp4odvcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.cvjp4odvcifmw-ci-kustomize-scenario-dir/b-sorting-kustomization.yml', 'value': 'b-sorting-kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.0g2z7kftcifmw-ci-kustomize-scenario-extras-dir/c-sorting-kustomization.yml', 'value': 'c-sorting-kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.blrxddo_cifmw-ci-kustomize-scenario-extras-dir/a-sorting-kustomization.yml', 'value': 'a-sorting-kustomization.yml'}) TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Run TC] ***** changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 3, "failed": false, "kustomizations_paths": [ "/tmp/ansible.blrxddo_cifmw-ci-kustomize-scenario-extras-dir/a-sorting-kustomization.yml", "/tmp/ansible.cvjp4odvcifmw-ci-kustomize-scenario-dir/b-sorting-kustomization.yml", "/tmp/ansible.0g2z7kftcifmw-ci-kustomize-scenario-extras-dir/c-sorting-kustomization.yml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.cvjp4odvcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value-override-b", "cifmw-label-2": "cifmw-label-2-value-override-c", "cifmw-label-3": "cifmw-label-3-value-override-c" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 3, "failed": false, "kustomizations_paths": [ "/tmp/ansible.blrxddo_cifmw-ci-kustomize-scenario-extras-dir/a-sorting-kustomization.yml", "/tmp/ansible.cvjp4odvcifmw-ci-kustomize-scenario-dir/b-sorting-kustomization.yml", "/tmp/ansible.0g2z7kftcifmw-ci-kustomize-scenario-extras-dir/c-sorting-kustomization.yml" ], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.cvjp4odvcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value-override-b", "cifmw-label-2": "cifmw-label-2-value-override-c", "cifmw-label-3": "cifmw-label-3-value-override-c" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value-override-b', 'expected': 'cifmw-label-1-value-override-b'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value-override-c', 'expected': 'cifmw-label-2-value-override-c'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value-override-c', 'expected': 'cifmw-label-3-value-override-c'}) TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-asc-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.cvjp4odvcifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.0g2z7kftcifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.blrxddo_cifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply overlapping file based kustomizations to a CR (descending)] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Create extra directories if requested] *** changed: [testhost] => (item=['c-sorting-kustomization.yml']) changed: [testhost] => (item=['b-sorting-kustomization.yml']) TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=a-sorting-kustomization.yml) skipping: [testhost] => (item=c-sorting-kustomization.yml) skipping: [testhost] => (item=b-sorting-kustomization.yml) skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.fsfjdrx3cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.fsfjdrx3cifmw-ci-kustomize-scenario-dir/a-sorting-kustomization.yml', 'value': 'a-sorting-kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.7t0f18bfcifmw-ci-kustomize-scenario-extras-dir/c-sorting-kustomization.yml', 'value': 'c-sorting-kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.27n1ppsqcifmw-ci-kustomize-scenario-extras-dir/b-sorting-kustomization.yml', 'value': 'b-sorting-kustomization.yml'}) TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Run TC] ***** changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 3, "failed": false, "kustomizations_paths": [ "/tmp/ansible.7t0f18bfcifmw-ci-kustomize-scenario-extras-dir/c-sorting-kustomization.yml", "/tmp/ansible.27n1ppsqcifmw-ci-kustomize-scenario-extras-dir/b-sorting-kustomization.yml", "/tmp/ansible.fsfjdrx3cifmw-ci-kustomize-scenario-dir/a-sorting-kustomization.yml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.fsfjdrx3cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 3, "failed": false, "kustomizations_paths": [ "/tmp/ansible.7t0f18bfcifmw-ci-kustomize-scenario-extras-dir/c-sorting-kustomization.yml", "/tmp/ansible.27n1ppsqcifmw-ci-kustomize-scenario-extras-dir/b-sorting-kustomization.yml", "/tmp/ansible.fsfjdrx3cifmw-ci-kustomize-scenario-dir/a-sorting-kustomization.yml" ], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.fsfjdrx3cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value', 'expected': 'cifmw-label-3-value'}) TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-sorting-dsc-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.fsfjdrx3cifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.7t0f18bfcifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.27n1ppsqcifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply the files based kustomizations to a filtered set of resources (skip regex)] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Create extra directories if requested] *** changed: [testhost] => (item=cm-kustomization-2.yml) changed: [testhost] => (item=['multiple-kustomizations-in-one-file.yml']) TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=testing-cm.yml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=cm-kustomization-1.yml) skipping: [testhost] => (item=cm-kustomization-2.yml) skipping: [testhost] => (item=multiple-kustomizations-in-one-file.yml) skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/testing-cm.yml', 'value': 'testing-cm.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml', 'value': 'cm-kustomization-1.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.lhjg9ocgcifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml', 'value': 'cm-kustomization-2.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.smni3x01cifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml', 'value': 'multiple-kustomizations-in-one-file.yml'}) TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Run TC] *** changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 3, "failed": false, "kustomizations_paths": [ "/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.smni3x01cifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 3, "failed": false, "kustomizations_paths": [ "/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.smni3x01cifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml" ], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-4', 'value': 'cifmw-label-4-value', 'expected': 'cifmw-label-4-value'}) ok: [testhost] => (item={'label': 'cifmw-label-5', 'value': 'cifmw-label-5-value', 'expected': 'cifmw-label-5-value'}) TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert that the expected number of resources has been outputed] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-skip-regex-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.3_blmrf7cifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.lhjg9ocgcifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.smni3x01cifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply the files based kustomizations to a filtered set of resources (include regex)] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Create extra directories if requested] *** changed: [testhost] => (item=cm-kustomization-2.yml) changed: [testhost] => (item=['multiple-kustomizations-in-one-file.yml']) TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=testing-cm.yml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=cm-kustomization-1.yml) skipping: [testhost] => (item=cm-kustomization-2.yml) skipping: [testhost] => (item=multiple-kustomizations-in-one-file.yml) skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/testing-cm.yml', 'value': 'testing-cm.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml', 'value': 'cm-kustomization-1.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.qnuzbt68cifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml', 'value': 'cm-kustomization-2.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.n3_efsdxcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml', 'value': 'multiple-kustomizations-in-one-file.yml'}) TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Run TC] *** changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 1, "failed": false, "kustomizations_paths": [ "/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-cm" } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 1, "failed": false, "kustomizations_paths": [ "/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/cm-kustomization-1.yml" ], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-cm" } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert that the expected number of resources has been outputed] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-files-dir-target-extras-inc-regex-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.45ubbp5tcifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.qnuzbt68cifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.n3_efsdxcifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply the file and variables kustomizations to the CR] ******* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Create extra directories if requested] *** changed: [testhost] => (item=['single-kustomization-file-2.yaml']) changed: [testhost] => (item=['multiple-kustomizations-in-one-file.yml']) TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=single-kustomization-file-1.yaml) skipping: [testhost] => (item=single-kustomization-file-2.yaml) skipping: [testhost] => (item=multiple-kustomizations-in-one-file.yml) skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml', 'value': 'single-kustomization-file-1.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.6h_1n5xbcifmw-ci-kustomize-scenario-extras-dir/single-kustomization-file-2.yaml', 'value': 'single-kustomization-file-2.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.g9copbi9cifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml', 'value': 'multiple-kustomizations-in-one-file.yml'}) TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Run TC] ******** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 9, "failed": false, "kustomizations_paths": [ "/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.g9copbi9cifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml", "/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml", "/tmp/ansible.6h_1n5xbcifmw-ci-kustomize-scenario-extras-dir/single-kustomization-file-2.yaml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value", "cifmw-label-6": "cifmw-label-6-value", "cifmw-label-7": "cifmw-label-7-value", "cifmw-label-8": "cifmw-label-8-value", "cifmw-label-9": "cifmw-label-9-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value', 'expected': 'cifmw-label-3-value'}) ok: [testhost] => (item={'label': 'cifmw-label-4', 'value': 'cifmw-label-4-value', 'expected': 'cifmw-label-4-value'}) ok: [testhost] => (item={'label': 'cifmw-label-5', 'value': 'cifmw-label-5-value', 'expected': 'cifmw-label-5-value'}) ok: [testhost] => (item={'label': 'cifmw-label-6', 'value': 'cifmw-label-6-value', 'expected': 'cifmw-label-6-value'}) ok: [testhost] => (item={'label': 'cifmw-label-7', 'value': 'cifmw-label-7-value', 'expected': 'cifmw-label-7-value'}) ok: [testhost] => (item={'label': 'cifmw-label-8', 'value': 'cifmw-label-8-value', 'expected': 'cifmw-label-8-value'}) ok: [testhost] => (item={'label': 'cifmw-label-9', 'value': 'cifmw-label-9-value', 'expected': 'cifmw-label-9-value'}) TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-single-file-kustomizations] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.mzsimc4lcifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.6h_1n5xbcifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.g9copbi9cifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply the file and variables kustomizations to multiple CRs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Create extra directories if requested] *** changed: [testhost] => (item=['cm-kustomization-2.yml', 'single-kustomization-file-2.yaml']) changed: [testhost] => (item=multiple-kustomizations-in-one-file.yml) changed: [testhost] => (item=['cm-kustomization-1.yml']) TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=testing-cm.yml) skipping: [testhost] => (item=kustomization.yml) skipping: [testhost] => (item=kustomization.yaml) skipping: [testhost] => (item=single-kustomization-file-1.yaml) skipping: [testhost] => (item=cm-kustomization-2.yml) skipping: [testhost] => (item=single-kustomization-file-2.yaml) skipping: [testhost] => (item=multiple-kustomizations-in-one-file.yml) skipping: [testhost] => (item=cm-kustomization-1.yml) skipping: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/testing-cm.yml', 'value': 'testing-cm.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/kustomization.yml', 'value': 'kustomization.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/kustomization.yaml', 'value': 'kustomization.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml', 'value': 'single-kustomization-file-1.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.3ffqjcxxcifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml', 'value': 'cm-kustomization-2.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.3ffqjcxxcifmw-ci-kustomize-scenario-extras-dir/single-kustomization-file-2.yaml', 'value': 'single-kustomization-file-2.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.b7_k6vldcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml', 'value': 'multiple-kustomizations-in-one-file.yml'}) changed: [testhost] => (item={'key': '/tmp/ansible.kpmppkv7cifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-1.yml', 'value': 'cm-kustomization-1.yml'}) TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Run TC] ********* changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 12, "failed": false, "kustomizations_paths": [ "/tmp/ansible.kpmppkv7cifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-1.yml", "/tmp/ansible.3ffqjcxxcifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml", "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.b7_k6vldcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml", "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml", "/tmp/ansible.3ffqjcxxcifmw-ci-kustomize-scenario-extras-dir/single-kustomization-file-2.yaml" ], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value", "cifmw-label-4": "cifmw-label-4-value" }, "name": "testing-cm" } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value", "cifmw-label-6": "cifmw-label-6-value", "cifmw-label-7": "cifmw-label-7-value", "cifmw-label-8": "cifmw-label-8-value", "cifmw-label-9": "cifmw-label-9-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 12, "failed": false, "kustomizations_paths": [ "/tmp/ansible.kpmppkv7cifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-1.yml", "/tmp/ansible.3ffqjcxxcifmw-ci-kustomize-scenario-extras-dir/cm-kustomization-2.yml", "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/kustomization.yaml", "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/kustomization.yml", "/tmp/ansible.b7_k6vldcifmw-ci-kustomize-scenario-extras-dir/multiple-kustomizations-in-one-file.yml", "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/single-kustomization-file-1.yaml", "/tmp/ansible.3ffqjcxxcifmw-ci-kustomize-scenario-extras-dir/single-kustomization-file-2.yaml" ], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value", "cifmw-label-4": "cifmw-label-4-value" }, "name": "testing-cm" } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value", "cifmw-label-4": "cifmw-label-4-value", "cifmw-label-5": "cifmw-label-5-value", "cifmw-label-6": "cifmw-label-6-value", "cifmw-label-7": "cifmw-label-7-value", "cifmw-label-8": "cifmw-label-8-value", "cifmw-label-9": "cifmw-label-9-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value', 'expected': 'cifmw-label-3-value'}) ok: [testhost] => (item={'label': 'cifmw-label-4', 'value': 'cifmw-label-4-value', 'expected': 'cifmw-label-4-value'}) ok: [testhost] => (item={'label': 'cifmw-label-5', 'value': 'cifmw-label-5-value', 'expected': 'cifmw-label-5-value'}) ok: [testhost] => (item={'label': 'cifmw-label-6', 'value': 'cifmw-label-6-value', 'expected': 'cifmw-label-6-value'}) ok: [testhost] => (item={'label': 'cifmw-label-7', 'value': 'cifmw-label-7-value', 'expected': 'cifmw-label-7-value'}) ok: [testhost] => (item={'label': 'cifmw-label-8', 'value': 'cifmw-label-8-value', 'expected': 'cifmw-label-8-value'}) ok: [testhost] => (item={'label': 'cifmw-label-9', 'value': 'cifmw-label-9-value', 'expected': 'cifmw-label-9-value'}) ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value', 'expected': 'cifmw-label-3-value'}) TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-dir-target-kustomizations] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.g6fkys0ycifmw-ci-kustomize-scenario-dir) changed: [testhost] => (item=/tmp/ansible.3ffqjcxxcifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.b7_k6vldcifmw-ci-kustomize-scenario-extras-dir) changed: [testhost] => (item=/tmp/ansible.kpmppkv7cifmw-ci-kustomize-scenario-extras-dir) TASK [kustomize : Apply a single string based kustomization] ******************* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-single-string-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.ufvifsf7cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-success-single-string-kustomization] Run TC] ************* changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-single-string-kustomization] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-single-string-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 1, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.ufvifsf7cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 1, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.ufvifsf7cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-single-string-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-single-string-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-single-string-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-single-string-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.ufvifsf7cifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply two different kustomizations on a single string targeting a directory] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-two-string-dir-kustomizations] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] => (item=testing-cm.yml) skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.lknh68tmcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) changed: [testhost] => (item={'key': '/tmp/ansible.lknh68tmcifmw-ci-kustomize-scenario-dir/testing-cm.yml', 'value': 'testing-cm.yml'}) TASK [kustomize : [tc-success-two-string-dir-kustomizations] Run TC] *********** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 2, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.lknh68tmcifmw-ci-kustomize-scenario-dir/cifmw-kustomization-result.yaml", "result": [ { "apiVersion": "v1", "data": { "test1.properties": "test-var=test-value\n", "test2.properties": "test-var2=test-value2\n" }, "kind": "ConfigMap", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-cm" } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-dir-kustomizations] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.lknh68tmcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply two different kustomizations on a single string targeting a combined file] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Check if source file exits] *** skipping: [testhost] => (item=testing-combined-manifests.yml) skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.27599ku_cifmw-ci-kustomize-scenario-dir/testing-combined-manifests.yml', 'value': 'testing-combined-manifests.yml'}) TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Run TC] *** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 2, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.27599ku_cifmw-ci-kustomize-scenario-dir/testing-combined-manifests.yml", "result": [ { "apiVersion": "v1", "data": { ".secret-file": "dmFsdWUtMg0KDQo=" }, "kind": "Secret", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-secret" } }, { "apiVersion": "batch/v1", "kind": "Job", "metadata": { "labels": { "app": "test", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-job" }, "spec": { "backoffLimit": 4, "template": { "spec": { "containers": [ { "command": [ "perl", "-Mbignum=bpi", "-wle", "print bpi(2000)" ], "image": "perl:5.34.0", "name": "pi" } ], "restartPolicy": "Never" } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-combined-file-kustomizations] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.27599ku_cifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a string with multiple string kustomizations] ********** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-two-string-kustomizations] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.xbt5pdzkcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-success-two-string-kustomizations] Run TC] *************** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-two-string-kustomizations] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-two-string-kustomizations] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 2, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.xbt5pdzkcifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-two-string-kustomizations] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-two-string-kustomizations] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) TASK [kustomize : [tc-success-two-string-kustomizations] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-two-string-kustomizations] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.xbt5pdzkcifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a single dict based kustomization] ********************* included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-single-dict-kustomization] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.ydynd8v6cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-success-single-dict-kustomization] Run TC] *************** changed: [testhost] => (item=Run 1) TASK [kustomize : [tc-success-single-dict-kustomization] Assert idempotence] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-single-dict-kustomization] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 1, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.ydynd8v6cifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-single-dict-kustomization] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-single-dict-kustomization] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) TASK [kustomize : [tc-success-single-dict-kustomization] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-single-dict-kustomization] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.ydynd8v6cifmw-ci-kustomize-scenario-dir) TASK [kustomize : Apply a couple of mixed string/dict kustomizations] ********** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case.yml for testhost TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Create temporary directory for the scenario] *** changed: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Create extra directories if requested] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Set a fact with the all the files that needs to be copied] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Check if source file exits] *** skipping: [testhost] => (item=testing-deployment.yaml) skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Filter source files to include only the existing ones] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Copy files to each desidered dest] *** changed: [testhost] => (item={'key': '/tmp/ansible.mycmz20scifmw-ci-kustomize-scenario-dir/testing-deployment.yaml', 'value': 'testing-deployment.yaml'}) TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Run TC] ******** changed: [testhost] => (item=Run 1) ok: [testhost] => (item=Run 2) TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert idempotence] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Verify ci_kustomize call] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate.yml for testhost TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert that failed is present in the command output] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert that the expected variables are present if success] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert that the expected variables are present if failed] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Print run output in case of success] *** ok: [testhost] => { "_ci_kustomize_last_output": { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "kustomize_tc_run_num", "changed": true, "count": 3, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 1, "output_path": "/tmp/ansible.mycmz20scifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] }, { "ansible_loop_var": "kustomize_tc_run_num", "changed": false, "count": 3, "failed": false, "kustomizations_paths": [], "kustomize_tc_run_num": 2, "output_path": "/tmp/ansible.mycmz20scifmw-ci-kustomize-scenario-dir/testing-deployment.yaml", "result": [ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "labels": { "app": "nginx", "cifmw-label-1": "cifmw-label-1-value", "cifmw-label-2": "cifmw-label-2-value", "cifmw-label-3": "cifmw-label-3-value" }, "name": "testing-deployment" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "nginx" } }, "template": { "metadata": { "labels": { "app": "nginx" } }, "spec": { "containers": [ { "image": "nginx:1.14.2", "name": "nginx", "ports": [ { "containerPort": 80 } ] } ] } } } } ] } ], "skipped": false } } TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert that the kustomization result failed/succeeded and changed base on param] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Validations for succeeded runs] *** included: /tmp/.ansible/collections/ansible_collections/cifmw/general/tests/output/.tmp/integration/kustomize-c6h373bx-ÅÑŚÌβŁÈ/tests/integration/targets/kustomize/tasks/run_test_case_validate_success.yml for testhost TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert the expected labels and values are in place] *** ok: [testhost] => (item={'label': 'cifmw-label-1', 'value': 'cifmw-label-1-value', 'expected': 'cifmw-label-1-value'}) ok: [testhost] => (item={'label': 'cifmw-label-2', 'value': 'cifmw-label-2-value', 'expected': 'cifmw-label-2-value'}) ok: [testhost] => (item={'label': 'cifmw-label-3', 'value': 'cifmw-label-3-value', 'expected': 'cifmw-label-3-value'}) TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert that the expected number of resources has been outputed] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Set the expected kustomization files] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert that the expected number of kustomization has been applied] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert that the expected kustomization files have been discovered] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert the output points to an output path] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert the output points to the proper output path if necessary] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Fetch output file stat] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert the expected output file exists] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Fetch the output file content] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert the file content is the same as the output in result] *** ok: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Check if the workspace dir is present] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Assert workspace dir is presence] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Validations for failed runs] *** skipping: [testhost] TASK [kustomize : [tc-success-mixed-string-dict-kustomizations] Delete temporal dirs] *** changed: [testhost] => (item=/tmp/ansible.mycmz20scifmw-ci-kustomize-scenario-dir) TASK [kustomize : Delete the temporal bins directory] ************************** changed: [testhost] PLAY RECAP ********************************************************************* testhost : ok=621 changed=124 unreachable=0 failed=0 skipped=309 rescued=0 ignored=11 Running make integration test role PLAY [testhost] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [testhost] TASK [make : Set files dir as a fact] ****************************************** ok: [testhost] TASK [make : Run the target module] ******************************************** ok: [testhost] TASK [make : Debug] ************************************************************ ok: [testhost] => { "get_makefiles_env_output.makefiles_values": { "ANSIBLEEE": "config/samples/_v1beta1_ansibleee.yaml", "ANSIBLEEE_BRANCH": "main", "ANSIBLEEE_CR": "/home/test-user/out/operator/openstack-ansibleee-operator/config/samples/_v1beta1_ansibleee.yaml", "ANSIBLEEE_IMG": "quay.io/openstack-k8s-operators/openstack-ansibleee-operator-index:latest", "ANSIBLEEE_KUTTL_CONF": "/home/test-user/out/operator/openstack-ansibleee-operator/kuttl-test.yaml", "ANSIBLEEE_KUTTL_DIR": "/home/test-user/out/operator/openstack-ansibleee-operator/tests/kuttl/tests", "ANSIBLEEE_KUTTL_NAMESPACE": "ansibleee-kuttl-tests", "ANSIBLEEE_REPO": "https://github.com/openstack-k8s-operators/openstack-ansibleee-operator", "BAREMETAL_BRANCH": "main", "BAREMETAL_IMG": "quay.io/openstack-k8s-operators/openstack-baremetal-operator-index:latest", "BAREMETAL_REPO": "https://github.com/openstack-k8s-operators/openstack-baremetal-operator.git", "BMAAS_BRIDGE_IPADDRESS": "172.20.1.2", "BMAAS_INSTANCE_DISK_SIZE": "20", "BMAAS_INSTANCE_MEMORY": "4096", "BMAAS_INSTANCE_NAME_PREFIX": "crc-bmaas", "BMAAS_INSTANCE_NET_MODEL": "virtio", "BMAAS_INSTANCE_OS_VARIANT": "centos-stream9", "BMAAS_INSTANCE_VCPUS": "2", "BMAAS_INSTANCE_VIRT_TYPE": "kvm", "BMAAS_LIBVIRT_USER": "sushyemu", "BMAAS_NETWORK_IPADDRESS": "172.20.1.1", "BMAAS_NETWORK_NAME": "crc-bmaas", "BMAAS_NETWORK_NETMASK": "255.255.255.0", "BMAAS_NODE_COUNT": "1", "BMAAS_REDFISH_PASSWORD": "password", "BMAAS_REDFISH_USERNAME": "admin", "BMAAS_SUSHY_EMULATOR_NAMESPACE": "sushy-emulator", "BMH_NAMESPACE": "openstack", "BMO_BRANCH": "main", "BMO_IRONIC_HOST": "192.168.122.10", "BMO_PROVISIONING_INTERFACE": "enp6s0", "BMO_REPO": "https://github.com/metal3-io/baremetal-operator", "BMO_SETUP": "", "BM_INSTANCE_NAME_PREFIX": "edpm-compute", "BM_NETWORK_IPADDRESS": "192.168.122.1", "BM_NETWORK_NAME": "default", "BM_NODE_COUNT": "1", "BM_PROVISIONING_INTERFACE": "enp6s0", "CEILOMETER_CENTRAL_DEPL_IMG": "unused", "CEILOMETER_NOTIFICATION_DEPL_IMG": "unused", "CEPH_IMG": "quay.io/ceph/demo:latest", "CERTMANAGER_TIMEOUT": "300s", "CINDER": "config/samples/cinder_v1beta1_cinder.yaml", "CINDER_BRANCH": "main", "CINDER_CR": "/home/test-user/out/operator/cinder-operator/config/samples/cinder_v1beta1_cinder.yaml", "CINDER_IMG": "quay.io/openstack-k8s-operators/cinder-operator-index:latest", "CINDER_KUTTL_CONF": "/home/test-user/out/operator/cinder-operator/kuttl-test.yaml", "CINDER_KUTTL_DIR": "/home/test-user/out/operator/cinder-operator/tests/kuttl/tests", "CINDER_KUTTL_NAMESPACE": "cinder-kuttl-tests", "CINDER_REPO": "https://github.com/openstack-k8s-operators/cinder-operator.git", "CLEANUP_DIR_CMD": "rm -Rf", "CRC_DEFAULT_NETWORK_IP": "192.168.122.10", "CRC_STORAGE_RETRIES": "3", "CRC_URL": "'https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.19.0/crc-linux-amd64.tar.xz'", "DATAPLANE_ANSIBLE_SECRET": "dataplane-ansible-ssh-private-key-secret", "DATAPLANE_ANSIBLE_USER": "", "DATAPLANE_COMPUTE_1_IP": "192.168.122.101", "DATAPLANE_COMPUTE_IP": "192.168.122.100", "DATAPLANE_CONTAINER_TAG": "current-podified", "DATAPLANE_DEFAULT_GW": "192.168.122.1", "DATAPLANE_DEPLOY_STRATEGY_DEPLOY": "false", "DATAPLANE_NETWORK_INTERFACE_NAME": "eth0", "DATAPLANE_NTP_SERVER": "pool.ntp.org", "DATAPLANE_OVN_METADATA_AGENT_BIND_HOST": "127.0.0.1", "DATAPLANE_REGISTRY_URL": "quay.io/podified-antelope-centos9", "DATAPLANE_RUNNER_IMG": "quay.io/openstack-k8s-operators/openstack-ansibleee-runner:latest", "DATAPLANE_SINGLE_NODE": "true", "DATAPLANE_SSHD_ALLOWED_RANGES": "['192.168.122.0/24']", "DATAPLANE_TOTAL_NODES": "2", "DBSERVICE": "galera", "DESIGNATE": "config/samples/designate_v1beta1_designate.yaml", "DESIGNATE_BRANCH": "main", "DESIGNATE_CR": "/home/test-user/out/operator/designate-operator/config/samples/designate_v1beta1_designate.yaml", "DESIGNATE_IMG": "quay.io/openstack-k8s-operators/designate-operator-index:latest", "DESIGNATE_KUTTL_CONF": "/home/test-user/out/operator/designate-operator/kuttl-test.yaml", "DESIGNATE_KUTTL_DIR": "/home/test-user/out/operator/designate-operator/tests/kuttl/tests", "DESIGNATE_KUTTL_NAMESPACE": "designate-kuttl-tests", "DESIGNATE_REPO": "https://github.com/openstack-k8s-operators/designate-operator.git", "DNSDATA": "config/samples/network_v1beta1_dnsdata.yaml", "DNSDATA_CR": "/home/test-user/out/operator/infra-operator/config/samples/network_v1beta1_dnsdata.yaml", "DNSMASQ": "config/samples/network_v1beta1_dnsmasq.yaml", "DNSMASQ_CR": "/home/test-user/out/operator/infra-operator/config/samples/network_v1beta1_dnsmasq.yaml", "DNS_DEPL_IMG": "unused", "EDPM_COMPUTE_SUFFIX": "0", "EDPM_CONTAINER_TAG": "current-podified", "EDPM_REGISTRY_URL": "quay.io/podified-antelope-centos9", "EDPM_TOTAL_NODES": "1", "GALERA_REPLICAS": "", "GIT_CLONE_OPTS": "", "GLANCE": "config/samples/glance_v1beta1_glance.yaml", "GLANCEAPI_DEPL_IMG": "unused", "GLANCE_BRANCH": "main", "GLANCE_CR": "/home/test-user/out/operator/glance-operator/config/samples/glance_v1beta1_glance.yaml", "GLANCE_IMG": "quay.io/openstack-k8s-operators/glance-operator-index:latest", "GLANCE_KUTTL_CONF": "/home/test-user/out/operator/glance-operator/kuttl-test.yaml", "GLANCE_KUTTL_DIR": "/home/test-user/out/operator/glance-operator/tests/kuttl/tests", "GLANCE_KUTTL_NAMESPACE": "glance-kuttl-tests", "GLANCE_REPO": "https://github.com/openstack-k8s-operators/glance-operator.git", "HEAT": "config/samples/heat_v1beta1_heat.yaml", "HEATAPI_DEPL_IMG": "unused", "HEATCFNAPI_DEPL_IMG": "unused", "HEATENGINE_DEPL_IMG": "unused", "HEAT_AUTH_ENCRYPTION_KEY": "767c3ed056cbaa3b9dfedb8c6f825bf0", "HEAT_BRANCH": "main", "HEAT_CR": "/home/test-user/out/operator/heat-operator/config/samples/heat_v1beta1_heat.yaml", "HEAT_IMG": "quay.io/openstack-k8s-operators/heat-operator-index:latest", "HEAT_KUTTL_CONF": "/home/test-user/out/operator/heat-operator/kuttl-test.yaml", "HEAT_KUTTL_DIR": "/home/test-user/out/operator/heat-operator/tests/kuttl/tests", "HEAT_KUTTL_NAMESPACE": "heat-kuttl-tests", "HEAT_REPO": "https://github.com/openstack-k8s-operators/heat-operator.git", "HORIZON": "config/samples/horizon_v1beta1_horizon.yaml", "HORIZON_BRANCH": "main", "HORIZON_CR": "/home/test-user/out/operator/horizon-operator/config/samples/horizon_v1beta1_horizon.yaml", "HORIZON_DEPL_IMG": "unused", "HORIZON_IMG": "quay.io/openstack-k8s-operators/horizon-operator-index:latest", "HORIZON_KUTTL_CONF": "/home/test-user/out/operator/horizon-operator/kuttl-test.yaml", "HORIZON_KUTTL_DIR": "/home/test-user/out/operator/horizon-operator/tests/kuttl/tests", "HORIZON_KUTTL_NAMESPACE": "horizon-kuttl-tests", "HORIZON_REPO": "https://github.com/openstack-k8s-operators/horizon-operator.git", "INFRA_BRANCH": "main", "INFRA_IMG": "quay.io/openstack-k8s-operators/infra-operator-index:latest", "INFRA_KUTTL_CONF": "/home/test-user/out/operator/infra-operator/kuttl-test.yaml", "INFRA_KUTTL_DIR": "/home/test-user/out/operator/infra-operator/tests/kuttl/tests", "INFRA_KUTTL_NAMESPACE": "infra-kuttl-tests", "INFRA_REPO": "https://github.com/openstack-k8s-operators/infra-operator.git", "IRONIC": "config/samples/ironic_v1beta1_ironic.yaml", "IRONICAPI_DEPL_IMG": "unused", "IRONICCON_DEPL_IMG": "unused", "IRONICINS_DEPL_IMG": "unused", "IRONICNAG_DEPL_IMG": "unused", "IRONICPXE_DEPL_IMG": "unused", "IRONIC_BRANCH": "main", "IRONIC_CR": "/home/test-user/out/operator/ironic-operator/config/samples/ironic_v1beta1_ironic.yaml", "IRONIC_IMG": "quay.io/openstack-k8s-operators/ironic-operator-index:latest", "IRONIC_KUTTL_CONF": "/home/test-user/out/operator/ironic-operator/kuttl-test.yaml", "IRONIC_KUTTL_DIR": "/home/test-user/out/operator/ironic-operator/tests/kuttl/tests", "IRONIC_KUTTL_NAMESPACE": "ironic-kuttl-tests", "IRONIC_REPO": "https://github.com/openstack-k8s-operators/ironic-operator.git", "KEYSTONEAPI": "config/samples/keystone_v1beta1_keystoneapi.yaml", "KEYSTONEAPI_CR": "/home/test-user/out/operator/keystone-operator/config/samples/keystone_v1beta1_keystoneapi.yaml", "KEYSTONEAPI_DEPL_IMG": "unused", "KEYSTONE_BRANCH": "main", "KEYSTONE_IMG": "quay.io/openstack-k8s-operators/keystone-operator-index:latest", "KEYSTONE_KUTTL_CONF": "/home/test-user/out/operator/keystone-operator/kuttl-test.yaml", "KEYSTONE_KUTTL_DIR": "/home/test-user/out/operator/keystone-operator/tests/kuttl/tests", "KEYSTONE_KUTTL_NAMESPACE": "keystone-kuttl-tests", "KEYSTONE_REPO": "https://github.com/openstack-k8s-operators/keystone-operator.git", "KUBEADMIN_PWD": "12345678", "MANILA": "config/samples/manila_v1beta1_manila.yaml", "MANILA_BRANCH": "main", "MANILA_CR": "/home/test-user/out/operator/manila-operator/config/samples/manila_v1beta1_manila.yaml", "MANILA_IMG": "quay.io/openstack-k8s-operators/manila-operator-index:latest", "MANILA_KUTTL_CONF": "/home/test-user/out/operator/manila-operator/kuttl-test.yaml", "MANILA_KUTTL_DIR": "/home/test-user/out/operator/manila-operator/tests/kuttl/tests", "MANILA_KUTTL_TIMEOUT": "180", "MANILA_REPO": "https://github.com/openstack-k8s-operators/manila-operator.git", "MARIADB": "config/samples/mariadb_v1beta1_galera.yaml", "MARIADB_BRANCH": "main", "MARIADB_CR": "/home/test-user/out/operator/mariadb-operator/config/samples/mariadb_v1beta1_galera.yaml", "MARIADB_DEPL_IMG": "unused", "MARIADB_IMG": "quay.io/openstack-k8s-operators/mariadb-operator-index:latest", "MARIADB_KUTTL_CONF": "/home/test-user/out/operator/mariadb-operator/kuttl-test.yaml", "MARIADB_KUTTL_DIR": "/home/test-user/out/operator/mariadb-operator/tests/kuttl/tests", "MARIADB_KUTTL_NAMESPACE": "mariadb-kuttl-tests", "MARIADB_REPO": "https://github.com/openstack-k8s-operators/mariadb-operator.git", "MEMCACHED": "config/samples/memcached_v1beta1_memcached.yaml", "MEMCACHED_CR": "/home/test-user/out/operator/infra-operator/config/samples/memcached_v1beta1_memcached.yaml", "MEMCACHED_DEPL_IMG": "unused", "METADATA_SHARED_SECRET": "1234567842", "METALLB_POOL": "192.168.122.80-192.168.122.90", "MICROSHIFT": "0", "NAMESPACE": "openstack", "NETCONFIG": "config/samples/network_v1beta1_netconfig.yaml", "NETCONFIG_CR": "/home/test-user/out/operator/infra-operator/config/samples/network_v1beta1_netconfig.yaml", "NETCONFIG_DEPL_IMG": "unused", "NETWORK_ISOLATION": "true", "NETWORK_MTU": "1500", "NEUTRONAPI": "config/samples/neutron_v1beta1_neutronapi.yaml", "NEUTRONAPI_CR": "/home/test-user/out/operator/neutron-operator/config/samples/neutron_v1beta1_neutronapi.yaml", "NEUTRONAPI_DEPL_IMG": "unused", "NEUTRON_BRANCH": "main", "NEUTRON_IMG": "quay.io/openstack-k8s-operators/neutron-operator-index:latest", "NEUTRON_KUTTL_CONF": "/home/test-user/out/operator/neutron-operator/kuttl-test.yaml", "NEUTRON_KUTTL_DIR": "/home/test-user/out/operator/neutron-operator/test/kuttl/tests", "NEUTRON_KUTTL_NAMESPACE": "neutron-kuttl-tests", "NEUTRON_REPO": "https://github.com/openstack-k8s-operators/neutron-operator.git", "NNCP_CLEANUP_TIMEOUT": "120s", "NNCP_INTERFACE": "enp6s0", "NNCP_TIMEOUT": "240s", "NOVA": "config/samples/nova_v1beta1_nova_collapsed_cell.yaml", "NOVA_BRANCH": "main", "NOVA_CR": "/home/test-user/out/operator/nova-operator/config/samples/nova_v1beta1_nova_collapsed_cell.yaml", "NOVA_IMG": "quay.io/openstack-k8s-operators/nova-operator-index:latest", "NOVA_REPO": "https://github.com/openstack-k8s-operators/nova-operator.git", "OCTAVIA": "config/samples/octavia_v1beta1_octavia.yaml", "OCTAVIA_BRANCH": "main", "OCTAVIA_CR": "/home/test-user/out/operator/octavia-operator/config/samples/octavia_v1beta1_octavia.yaml", "OCTAVIA_IMG": "quay.io/openstack-k8s-operators/octavia-operator-index:latest", "OCTAVIA_KUTTL_CONF": "/home/test-user/out/operator/octavia-operator/kuttl-test.yaml", "OCTAVIA_KUTTL_DIR": "/home/test-user/out/operator/octavia-operator/tests/kuttl/tests", "OCTAVIA_KUTTL_NAMESPACE": "octavia-kuttl-tests", "OCTAVIA_REPO": "https://github.com/openstack-k8s-operators/octavia-operator.git", "OPENSTACK_BRANCH": "main", "OPENSTACK_BUNDLE_IMG": "quay.io/openstack-k8s-operators/openstack-operator-bundle:latest", "OPENSTACK_CR": "/home/test-user/out/operator/openstack-operator/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml", "OPENSTACK_CRDS_DIR": "openstack_crds", "OPENSTACK_CTLPLANE": "config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml", "OPENSTACK_IMG": "quay.io/openstack-k8s-operators/openstack-operator-index:latest", "OPENSTACK_KUTTL_CONF": "/home/test-user/out/operator/openstack-operator/kuttl-test.yaml", "OPENSTACK_KUTTL_DIR": "/home/test-user/out/operator/openstack-operator/tests/kuttl/tests", "OPENSTACK_KUTTL_NAMESPACE": "openstack-kuttl-tests", "OPENSTACK_REPO": "https://github.com/openstack-k8s-operators/openstack-operator.git", "OPENSTACK_STORAGE_BUNDLE_IMG": "quay.io/openstack-k8s-operators/openstack-operator-storage-bundle:latest", "OPERATOR_BASE_DIR": "/home/test-user/out/operator", "OPERATOR_NAMESPACE": "openstack-operators", "OUT": "/home/test-user/out", "OVNCONTROLLER": "config/samples/ovn_v1beta1_ovncontroller.yaml", "OVNCONTROLLER_CR": "/home/test-user/out/operator/ovn-operator/config/samples/ovn_v1beta1_ovncontroller.yaml", "OVNDBS": "config/samples/ovn_v1beta1_ovndbcluster.yaml", "OVNDBS_CR": "/home/test-user/out/operator/ovn-operator/config/samples/ovn_v1beta1_ovndbcluster.yaml", "OVNNORTHD": "config/samples/ovn_v1beta1_ovnnorthd.yaml", "OVNNORTHD_CR": "/home/test-user/out/operator/ovn-operator/config/samples/ovn_v1beta1_ovnnorthd.yaml", "OVN_BRANCH": "main", "OVN_IMG": "quay.io/openstack-k8s-operators/ovn-operator-index:latest", "OVN_KUTTL_CONF": "/home/test-user/out/operator/ovn-operator/kuttl-test.yaml", "OVN_KUTTL_DIR": "/home/test-user/out/operator/ovn-operator/tests/kuttl/tests", "OVN_KUTTL_NAMESPACE": "ovn-kuttl-tests", "OVN_REPO": "https://github.com/openstack-k8s-operators/ovn-operator.git", "PASSWORD": "12345678", "PLACEMENTAPI": "config/samples/placement_v1beta1_placementapi.yaml", "PLACEMENTAPI_CR": "/home/test-user/out/operator/placement-operator/config/samples/placement_v1beta1_placementapi.yaml", "PLACEMENTAPI_DEPL_IMG": "unused", "PLACEMENT_BRANCH": "main", "PLACEMENT_IMG": "quay.io/openstack-k8s-operators/placement-operator-index:latest", "PLACEMENT_KUTTL_CONF": "/home/test-user/out/operator/placement-operator/kuttl-test.yaml", "PLACEMENT_KUTTL_DIR": "/home/test-user/out/operator/placement-operator/tests/kuttl/tests", "PLACEMENT_KUTTL_NAMESPACE": "placement-kuttl-tests", "PLACEMENT_REPO": "https://github.com/openstack-k8s-operators/placement-operator.git", "RABBITMQ": "docs/examples/default-security-context/rabbitmq.yaml", "RABBITMQ_BRANCH": "patches", "RABBITMQ_CR": "/home/test-user/out/operator/rabbitmq-operator/docs/examples/default-security-context/rabbitmq.yaml", "RABBITMQ_DEPL_IMG": "unused", "RABBITMQ_IMG": "quay.io/openstack-k8s-operators/rabbitmq-cluster-operator-index:latest", "RABBITMQ_REPO": "https://github.com/openstack-k8s-operators/rabbitmq-cluster-operator.git", "SECRET": "osp-secret", "SG_CORE_DEPL_IMG": "unused", "STORAGE_CLASS": "local-storage", "SWIFT": "config/samples/swift_v1beta1_swift.yaml", "SWIFT_BRANCH": "main", "SWIFT_CR": "/home/test-user/out/operator/swift-operator/config/samples/swift_v1beta1_swift.yaml", "SWIFT_IMG": "quay.io/openstack-k8s-operators/swift-operator-index:latest", "SWIFT_KUTTL_CONF": "/home/test-user/out/operator/swift-operator/kuttl-test.yaml", "SWIFT_KUTTL_DIR": "/home/test-user/out/operator/swift-operator/tests/kuttl/tests", "SWIFT_KUTTL_NAMESPACE": "swift-kuttl-tests", "SWIFT_REPO": "https://github.com/openstack-k8s-operators/swift-operator.git", "TELEMETRY": "config/samples/telemetry_v1beta1_telemetry.yaml", "TELEMETRY_BRANCH": "main", "TELEMETRY_CR": "/home/test-user/out/operator/telemetry-operator/config/samples/telemetry_v1beta1_telemetry.yaml", "TELEMETRY_IMG": "quay.io/openstack-k8s-operators/telemetry-operator-index:latest", "TELEMETRY_REPO": "https://github.com/openstack-k8s-operators/telemetry-operator.git", "TIMEOUT": "600s" } } TASK [make : Compare the generated values with the expected ones] ************** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [make : Create some directories] ****************************************** changed: [testhost] => (item=artifacts) changed: [testhost] => (item=logs) changed: [testhost] => (item=project_makefile) TASK [make : Inject dummy Makefile] ******************************************** changed: [testhost] TASK [make : Run ci_script make without any extra_args] ************************ Follow script's output here: /tmp/logs/ci_script_000_run_ci_script_make_without.log changed: [testhost] TASK [make : Inject some non-related file to validate index] ******************* changed: [testhost] TASK [make : Run ci_script make with extra_args] ******************************* Follow script's output here: /tmp/logs/ci_script_001_run_ci_script_make_with_extra.log changed: [testhost] TASK [make : Ensure we have correct output] ************************************ ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [make : Try dry_run parameter] ******************************************** ok: [testhost] TASK [make : Test with extra_args] ********************************************* Follow script's output here: /tmp/logs/ci_script_003_test_with_extra.log changed: [testhost] TASK [make : Set env var] ****************************************************** ok: [testhost] TASK [make : Run ci_script make with custom env variable] ********************** Follow script's output here: /tmp/logs/ci_script_004_run_ci_script_make_with.log changed: [testhost] TASK [make : Run ci_script make custom env var and default] ******************** Follow script's output here: /tmp/logs/ci_script_005_run_ci_script_make_custom_env.log changed: [testhost] TASK [make : Run ci_script make with extra_args and default] ******************* Follow script's output here: /tmp/logs/ci_script_006_run_ci_script_make_with_extra.log changed: [testhost] TASK [make : Run failing target] *********************************************** Follow script's output here: /tmp/logs/ci_script_007_run_failing.log changed: [testhost] PLAY RECAP ********************************************************************* testhost : ok=18 changed=10 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Running pem_read integration test role PLAY [testhost] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [testhost] TASK [pem_read : Create a temporal directory for the certs] ******************** changed: [testhost] TASK [pem_read : Create private key (RSA, 4096 bits)] ************************** changed: [testhost] TASK [pem_read : Generate the CSRs] ******************************************** changed: [testhost] => (item={'cn': 'common-name-test-1', 'ou': 'Some OU'}) changed: [testhost] => (item={'cn': 'common-name-test-2', 'ou': 'Test OU 1'}) changed: [testhost] => (item={'cn': 'another-cert-cn', 'ou': 'Test OU 2'}) changed: [testhost] => (item={'cn': 'cn-1', 'ou': 'Not following any pattern'}) TASK [pem_read : Create simple self-signed certificate] ************************ changed: [testhost] => (item=[['OU', 'Some OU'], ['CN', 'common-name-test-1']]) changed: [testhost] => (item=[['OU', 'Test OU 1'], ['CN', 'common-name-test-2']]) changed: [testhost] => (item=[['OU', 'Test OU 2'], ['CN', 'another-cert-cn']]) changed: [testhost] => (item=[['OU', 'Not following any pattern'], ['CN', 'cn-1']]) TASK [pem_read : Create simple self-signed certificate] ************************ changed: [testhost] TASK [pem_read : Test the module] ********************************************** ok: [testhost] TASK [pem_read : Ensure we got the expected certificates] ********************** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* testhost : ok=8 changed=5 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Running script integration test role PLAY [testhost] **************************************************************** TASK [Gathering Facts] ********************************************************* ok: [testhost] TASK [script : Create needed directories] ************************************** ok: [testhost] => (item=artifacts) ok: [testhost] => (item=logs) TASK [script : Run simple no failing script] *********************************** Follow script's output here: /tmp/logs/ci_script_008_run_simple_no_failing.log changed: [testhost] TASK [script : Run simple failing script] ************************************** Follow script's output here: /tmp/logs/ci_script_009_run_simple_failing.log An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None fatal: [testhost]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 123, "stderr": "", "stderr_lines": [], "stdout": "I am about to fail", "stdout_lines": ["I am about to fail"]} ...ignoring TASK [script : Ensure we have correct output] ********************************** ok: [testhost] => { "changed": false, "msg": "All assertions passed" } TASK [script : Run with global debug enabled] ********************************** Follow script's output here: /tmp/logs/ci_script_010_run_with_global_debug.log changed: [testhost] TASK [script : Run with action debug enabled] ********************************** Follow script's output here: /tmp/logs/ci_script_011_run_with_action_debug.log changed: [testhost] TASK [script : Create dummy chdir target] ************************************** changed: [testhost] TASK [script : Run using chdir option] ***************************************** Follow script's output here: /tmp/logs/ci_script_012_run_using_chdir.log changed: [testhost] TASK [script : Set files attributes] ******************************************* ok: [testhost] TASK [script : Gather files] *************************************************** ok: [testhost] => (item={'key': '/tmp/artifacts/ci_script_008_run_simple_no_failing.sh', 'value': '65f8bf5f39f42bef9d127cdaee5dba2ff5319ea3'}) ok: [testhost] => (item={'key': '/tmp/artifacts/ci_script_009_run_simple_failing.sh', 'value': '020d32682ff902f46f987e9e31a00c4202918f94'}) ok: [testhost] => (item={'key': '/tmp/artifacts/ci_script_010_run_with_global_debug.sh', 'value': '70b4ea1a3e5190a4cfb0d405fbf7182c56dce9b3'}) ok: [testhost] => (item={'key': '/tmp/artifacts/ci_script_011_run_with_action_debug.sh', 'value': '71ec17b1f9e674261c18d8103aedd0e0ddbdc3bd'}) ok: [testhost] => (item={'key': '/tmp/artifacts/ci_script_012_run_using_chdir.sh', 'value': '1364e7f0a086c27267fa7dea9c919d9d7d127224'}) ok: [testhost] => (item={'key': '/tmp/logs/ci_script_008_run_simple_no_failing.log', 'value': '1382103331d56fa62a3f0b12388aad5cdb36389d'}) ok: [testhost] => (item={'key': '/tmp/logs/ci_script_009_run_simple_failing.log', 'value': '67dd35c6c747cc9614633e32694fe9eb5e4a53d1'}) ok: [testhost] => (item={'key': '/tmp/logs/ci_script_010_run_with_global_debug.log', 'value': 'b76a03852f2d614a63af5bc6ac3e9d61a113a34b'}) ok: [testhost] => (item={'key': '/tmp/logs/ci_script_011_run_with_action_debug.log', 'value': 'bb7199b9b6842f10081dc307e0fe4cf9d0ef340a'}) ok: [testhost] => (item={'key': '/tmp/logs/ci_script_012_run_using_chdir.log', 'value': '3588d48b41e8aa6b8e19f3507abfd8770aba7f6d'}) ok: [testhost] => (item={'key': '/tmp/dummy/test/test-file.txt', 'value': 'cff41d666ec6fd5404d5d2fd89136a40ba43671e'}) TASK [script : Assert file status] ********************************************* ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/artifacts/ci_script_008_run_simple_no_failing.sh', 'mode': '0744', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 203, 'inode': 161952834, 'dev': 58, 'nlink': 1, 'atime': 1759272284.0293555, 'mtime': 1759272284.0303555, 'ctime': 1759272284.0503561, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': True, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '65f8bf5f39f42bef9d127cdaee5dba2ff5319ea3', 'mimetype': 'text/x-shellscript', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/artifacts/ci_script_008_run_simple_no_failing.sh', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/artifacts/ci_script_008_run_simple_no_failing.sh', 'value': '65f8bf5f39f42bef9d127cdaee5dba2ff5319ea3'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/artifacts/ci_script_008_run_simple_no_failing.sh" } }, "item": { "key": "/tmp/artifacts/ci_script_008_run_simple_no_failing.sh", "value": "65f8bf5f39f42bef9d127cdaee5dba2ff5319ea3" }, "stat": { "atime": 1759272284.0293555, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65f8bf5f39f42bef9d127cdaee5dba2ff5319ea3", "ctime": 1759272284.0503561, "dev": 58, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 161952834, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/x-shellscript", "mode": "0744", "mtime": 1759272284.0303555, "nlink": 1, "path": "/tmp/artifacts/ci_script_008_run_simple_no_failing.sh", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 203, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/artifacts/ci_script_009_run_simple_failing.sh', 'mode': '0744', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 145, 'inode': 161952835, 'dev': 58, 'nlink': 1, 'atime': 1759272284.2243614, 'mtime': 1759272284.2243614, 'ctime': 1759272284.244362, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': True, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '020d32682ff902f46f987e9e31a00c4202918f94', 'mimetype': 'text/x-shellscript', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/artifacts/ci_script_009_run_simple_failing.sh', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/artifacts/ci_script_009_run_simple_failing.sh', 'value': '020d32682ff902f46f987e9e31a00c4202918f94'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/artifacts/ci_script_009_run_simple_failing.sh" } }, "item": { "key": "/tmp/artifacts/ci_script_009_run_simple_failing.sh", "value": "020d32682ff902f46f987e9e31a00c4202918f94" }, "stat": { "atime": 1759272284.2243614, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "020d32682ff902f46f987e9e31a00c4202918f94", "ctime": 1759272284.244362, "dev": 58, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 161952835, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/x-shellscript", "mode": "0744", "mtime": 1759272284.2243614, "nlink": 1, "path": "/tmp/artifacts/ci_script_009_run_simple_failing.sh", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/artifacts/ci_script_010_run_with_global_debug.sh', 'mode': '0744', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 130, 'inode': 161952836, 'dev': 58, 'nlink': 1, 'atime': 1759272284.4903696, 'mtime': 1759272284.4903696, 'ctime': 1759272284.5103703, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': True, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '70b4ea1a3e5190a4cfb0d405fbf7182c56dce9b3', 'mimetype': 'text/x-shellscript', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/artifacts/ci_script_010_run_with_global_debug.sh', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/artifacts/ci_script_010_run_with_global_debug.sh', 'value': '70b4ea1a3e5190a4cfb0d405fbf7182c56dce9b3'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/artifacts/ci_script_010_run_with_global_debug.sh" } }, "item": { "key": "/tmp/artifacts/ci_script_010_run_with_global_debug.sh", "value": "70b4ea1a3e5190a4cfb0d405fbf7182c56dce9b3" }, "stat": { "atime": 1759272284.4903696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "70b4ea1a3e5190a4cfb0d405fbf7182c56dce9b3", "ctime": 1759272284.5103703, "dev": 58, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 161952836, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/x-shellscript", "mode": "0744", "mtime": 1759272284.4903696, "nlink": 1, "path": "/tmp/artifacts/ci_script_010_run_with_global_debug.sh", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 130, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/artifacts/ci_script_011_run_with_action_debug.sh', 'mode': '0744', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 130, 'inode': 161952837, 'dev': 58, 'nlink': 1, 'atime': 1759272284.6793754, 'mtime': 1759272284.6793754, 'ctime': 1759272284.6993759, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': True, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '71ec17b1f9e674261c18d8103aedd0e0ddbdc3bd', 'mimetype': 'text/x-shellscript', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/artifacts/ci_script_011_run_with_action_debug.sh', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/artifacts/ci_script_011_run_with_action_debug.sh', 'value': '71ec17b1f9e674261c18d8103aedd0e0ddbdc3bd'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/artifacts/ci_script_011_run_with_action_debug.sh" } }, "item": { "key": "/tmp/artifacts/ci_script_011_run_with_action_debug.sh", "value": "71ec17b1f9e674261c18d8103aedd0e0ddbdc3bd" }, "stat": { "atime": 1759272284.6793754, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "71ec17b1f9e674261c18d8103aedd0e0ddbdc3bd", "ctime": 1759272284.6993759, "dev": 58, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 161952837, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/x-shellscript", "mode": "0744", "mtime": 1759272284.6793754, "nlink": 1, "path": "/tmp/artifacts/ci_script_011_run_with_action_debug.sh", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 130, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/artifacts/ci_script_012_run_using_chdir.sh', 'mode': '0744', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 163, 'inode': 161952838, 'dev': 58, 'nlink': 1, 'atime': 1759272285.1123886, 'mtime': 1759272285.1123886, 'ctime': 1759272285.1323893, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': True, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '1364e7f0a086c27267fa7dea9c919d9d7d127224', 'mimetype': 'text/x-shellscript', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/artifacts/ci_script_012_run_using_chdir.sh', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/artifacts/ci_script_012_run_using_chdir.sh', 'value': '1364e7f0a086c27267fa7dea9c919d9d7d127224'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/artifacts/ci_script_012_run_using_chdir.sh" } }, "item": { "key": "/tmp/artifacts/ci_script_012_run_using_chdir.sh", "value": "1364e7f0a086c27267fa7dea9c919d9d7d127224" }, "stat": { "atime": 1759272285.1123886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1364e7f0a086c27267fa7dea9c919d9d7d127224", "ctime": 1759272285.1323893, "dev": 58, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 161952838, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/x-shellscript", "mode": "0744", "mtime": 1759272285.1123886, "nlink": 1, "path": "/tmp/artifacts/ci_script_012_run_using_chdir.sh", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 163, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/logs/ci_script_008_run_simple_no_failing.log', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 10, 'inode': 179772225, 'dev': 58, 'nlink': 1, 'atime': 1759272284.1443589, 'mtime': 1759272284.145359, 'ctime': 1759272284.145359, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '1382103331d56fa62a3f0b12388aad5cdb36389d', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/logs/ci_script_008_run_simple_no_failing.log', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/logs/ci_script_008_run_simple_no_failing.log', 'value': '1382103331d56fa62a3f0b12388aad5cdb36389d'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/logs/ci_script_008_run_simple_no_failing.log" } }, "item": { "key": "/tmp/logs/ci_script_008_run_simple_no_failing.log", "value": "1382103331d56fa62a3f0b12388aad5cdb36389d" }, "stat": { "atime": 1759272284.1443589, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1382103331d56fa62a3f0b12388aad5cdb36389d", "ctime": 1759272284.145359, "dev": 58, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 179772225, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759272284.145359, "nlink": 1, "path": "/tmp/logs/ci_script_008_run_simple_no_failing.log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 10, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/logs/ci_script_009_run_simple_failing.log', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 18, 'inode': 179772226, 'dev': 58, 'nlink': 1, 'atime': 1759272284.339365, 'mtime': 1759272284.339365, 'ctime': 1759272284.339365, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '67dd35c6c747cc9614633e32694fe9eb5e4a53d1', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/logs/ci_script_009_run_simple_failing.log', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/logs/ci_script_009_run_simple_failing.log', 'value': '67dd35c6c747cc9614633e32694fe9eb5e4a53d1'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/logs/ci_script_009_run_simple_failing.log" } }, "item": { "key": "/tmp/logs/ci_script_009_run_simple_failing.log", "value": "67dd35c6c747cc9614633e32694fe9eb5e4a53d1" }, "stat": { "atime": 1759272284.339365, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "67dd35c6c747cc9614633e32694fe9eb5e4a53d1", "ctime": 1759272284.339365, "dev": 58, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 179772226, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759272284.339365, "nlink": 1, "path": "/tmp/logs/ci_script_009_run_simple_failing.log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 18, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/logs/ci_script_010_run_with_global_debug.log', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 26, 'inode': 179772227, 'dev': 58, 'nlink': 1, 'atime': 1759272284.6083732, 'mtime': 1759272284.6083732, 'ctime': 1759272284.6083732, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'b76a03852f2d614a63af5bc6ac3e9d61a113a34b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/logs/ci_script_010_run_with_global_debug.log', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/logs/ci_script_010_run_with_global_debug.log', 'value': 'b76a03852f2d614a63af5bc6ac3e9d61a113a34b'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/logs/ci_script_010_run_with_global_debug.log" } }, "item": { "key": "/tmp/logs/ci_script_010_run_with_global_debug.log", "value": "b76a03852f2d614a63af5bc6ac3e9d61a113a34b" }, "stat": { "atime": 1759272284.6083732, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b76a03852f2d614a63af5bc6ac3e9d61a113a34b", "ctime": 1759272284.6083732, "dev": 58, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 179772227, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759272284.6083732, "nlink": 1, "path": "/tmp/logs/ci_script_010_run_with_global_debug.log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 26, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/logs/ci_script_011_run_with_action_debug.log', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 26, 'inode': 179772228, 'dev': 58, 'nlink': 1, 'atime': 1759272284.7963789, 'mtime': 1759272284.7963789, 'ctime': 1759272284.7963789, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'bb7199b9b6842f10081dc307e0fe4cf9d0ef340a', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/logs/ci_script_011_run_with_action_debug.log', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/logs/ci_script_011_run_with_action_debug.log', 'value': 'bb7199b9b6842f10081dc307e0fe4cf9d0ef340a'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/logs/ci_script_011_run_with_action_debug.log" } }, "item": { "key": "/tmp/logs/ci_script_011_run_with_action_debug.log", "value": "bb7199b9b6842f10081dc307e0fe4cf9d0ef340a" }, "stat": { "atime": 1759272284.7963789, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "bb7199b9b6842f10081dc307e0fe4cf9d0ef340a", "ctime": 1759272284.7963789, "dev": 58, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 179772228, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759272284.7963789, "nlink": 1, "path": "/tmp/logs/ci_script_011_run_with_action_debug.log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 26, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/logs/ci_script_012_run_using_chdir.log', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 85, 'inode': 179772229, 'dev': 58, 'nlink': 1, 'atime': 1759272285.2143917, 'mtime': 1759272285.2143917, 'ctime': 1759272285.2143917, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': '3588d48b41e8aa6b8e19f3507abfd8770aba7f6d', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/logs/ci_script_012_run_using_chdir.log', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/logs/ci_script_012_run_using_chdir.log', 'value': '3588d48b41e8aa6b8e19f3507abfd8770aba7f6d'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/logs/ci_script_012_run_using_chdir.log" } }, "item": { "key": "/tmp/logs/ci_script_012_run_using_chdir.log", "value": "3588d48b41e8aa6b8e19f3507abfd8770aba7f6d" }, "stat": { "atime": 1759272285.2143917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3588d48b41e8aa6b8e19f3507abfd8770aba7f6d", "ctime": 1759272285.2143917, "dev": 58, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 179772229, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759272285.2143917, "nlink": 1, "path": "/tmp/logs/ci_script_012_run_using_chdir.log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 85, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } }, "msg": "All assertions passed" } ok: [testhost] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/dummy/test/test-file.txt', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 8, 'inode': 320421989, 'dev': 58, 'nlink': 1, 'atime': 1759272285.2103915, 'mtime': 1759272285.2103915, 'ctime': 1759272285.2103915, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'cff41d666ec6fd5404d5d2fd89136a40ba43671e', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/dummy/test/test-file.txt', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'key': '/tmp/dummy/test/test-file.txt', 'value': 'cff41d666ec6fd5404d5d2fd89136a40ba43671e'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/dummy/test/test-file.txt" } }, "item": { "key": "/tmp/dummy/test/test-file.txt", "value": "cff41d666ec6fd5404d5d2fd89136a40ba43671e" }, "stat": { "atime": 1759272285.2103915, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cff41d666ec6fd5404d5d2fd89136a40ba43671e", "ctime": 1759272285.2103915, "dev": 58, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 320421989, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759272285.2103915, "nlink": 1, "path": "/tmp/dummy/test/test-file.txt", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8, "uid": 0, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } }, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* testhost : ok=12 changed=6 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 WARNING: Reviewing previous 1 warning(s): WARNING: Unable to determine context for the following test targets, they will be run on the target host: kustomize, make, script