Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-mdellweg-filters.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90390-59044/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-mdellweg-filters.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/ansible-collection-mdellweg-filters-0.0.3-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-mdellweg-filters.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90390-59044/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-mdellweg-filters.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zDwWOF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ansible_filters-0.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mdwellweg.filters-0.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ansible_filters-0.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/build_ignore.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bv1cz1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ansible_filters-0.0.3 + ansible-galaxy collection build Created collection for mdellweg.filters at /builddir/build/BUILD/ansible_filters-0.0.3/mdellweg-filters-0.0.3.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KxXGjE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch + cd ansible_filters-0.0.3 + /usr/lib/rpm/ansible_collection.py install --collections-dir /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/ansible/collections/ansible_collections --filelist /builddir/build/BUILD/ansible_filters-0.0.3/.ansible-packaging/ansible_collection_files Loading collection metadata from /builddir/build/BUILD/ansible_filters-0.0.3/galaxy.yml Running: ('ansible-galaxy', 'collection', 'install', '-n', '-p', '/builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/ansible/collections/ansible_collections', '/builddir/build/BUILD/ansible_filters-0.0.3/mdellweg-filters-0.0.3.tar.gz') [WARNING]: The specified collections path '/builddir/build/BUILDROOT/ansible- collection-mdellweg- filters-0.0.3-1.oc9.noarch/usr/share/ansible/collections/ansible_collections' is not part of the configured Ansible collections paths '/builddir/build/BUILD/ansible_filters-0.0.3/build/collections'. The installed collection will not be picked up in an Ansible run, unless within a playbook- adjacent collections directory. Starting galaxy collection install process Process install dependency map Starting collection install process Installing 'mdellweg.filters:0.0.3' to '/builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/ansible/collections/ansible_collections/mdellweg/filters' mdellweg.filters:0.0.3 was installed successfully Writing filelist to /builddir/build/BUILD/ansible_filters-0.0.3/.ansible-packaging/ansible_collection_files + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.0.3-1.oc9 --unique-debug-suffix -0.0.3-1.oc9.noarch --unique-debug-src-base ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/ansible_filters-0.0.3 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vJLED5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ansible_filters-0.0.3 + echo 'localhost ansible_connection=local' + export ANSIBLE_COLLECTIONS_PATH=/builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/ansible/collections/ansible_collections ANSIBLE_INVENTORY=hosts.ini + ANSIBLE_COLLECTIONS_PATH=/builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/ansible/collections/ansible_collections + ANSIBLE_INVENTORY=hosts.ini ++ find tests/playbooks/canonical_semver.yaml tests/playbooks/empty.yaml tests/playbooks/jq.yaml tests/playbooks/repr.yaml -not -name jq.yaml + ansible-playbook tests/playbooks/canonical_semver.yaml tests/playbooks/empty.yaml tests/playbooks/repr.yaml PLAY [localhost] *************************************************************** TASK [Test canonical_semver filter] ******************************************** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.value | mdellweg.filters.canonical_semver == item.result }} ok: [localhost] => (item={'value': '1.2.3', 'result': '1.2.3'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "1.2.3", "value": "1.2.3" }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': '1.2.0', 'result': '1.2.0'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "1.2.0", "value": "1.2.0" }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': '0.2.0a0', 'result': '0.2.0a0'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "0.2.0a0", "value": "0.2.0a0" }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': '0.2.0a1.dev', 'result': '0.2.0a1.dev0'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "0.2.0a1.dev0", "value": "0.2.0a1.dev" }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': '0.2.0a', 'result': '0.2.0a0'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "0.2.0a0", "value": "0.2.0a" }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': '0.2.0a.dev', 'result': '0.2.0a0.dev0'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "0.2.0a0.dev0", "value": "0.2.0a.dev" }, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 PLAY [localhost] *************************************************************** TASK [Test empty test] ********************************************************* ok: [localhost] => (item=False) => { "ansible_loop_var": "item", "changed": false, "item": false, "msg": "All assertions passed" } ok: [localhost] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "msg": "All assertions passed" } ok: [localhost] => (item={}) => { "ansible_loop_var": "item", "changed": false, "item": {}, "msg": "All assertions passed" } ok: [localhost] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "msg": "All assertions passed" } TASK [Test non-empty test] ***************************************************** ok: [localhost] => (item=True) => { "ansible_loop_var": "item", "changed": false, "item": true, "msg": "All assertions passed" } ok: [localhost] => (item=[1, 2, 3]) => { "ansible_loop_var": "item", "changed": false, "item": [ 1, 2, 3 ], "msg": "All assertions passed" } ok: [localhost] => (item={'a': 4}) => { "ansible_loop_var": "item", "changed": false, "item": { "a": 4 }, "msg": "All assertions passed" } ok: [localhost] => (item=test) => { "ansible_loop_var": "item", "changed": false, "item": "test", "msg": "All assertions passed" } TASK [Test undefined is empty] ************************************************* ok: [localhost] => { "changed": false, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 PLAY [localhost] *************************************************************** TASK [Test repr filter] ******************************************************** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.value | mdellweg.filters.repr == item.result }} ok: [localhost] => (item={'value': True, 'result': 'True'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "True", "value": true }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': False, 'result': 'False'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "False", "value": false }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': 'test', 'result': "'test'"}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "'test'", "value": "test" }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': [], 'result': '[]'}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "[]", "value": [] }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': [1, 'a', True], 'result': "[1, 'a', True]"}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "[1, 'a', True]", "value": [ 1, "a", true ] }, "msg": "All assertions passed" } ok: [localhost] => (item={'value': {'1': [], 'a': True}, 'result': "{'1': [], 'a': True}"}) => { "ansible_loop_var": "item", "changed": false, "item": { "result": "{'1': [], 'a': True}", "value": { "1": [], "a": true } }, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* localhost : ok=5 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6UC7DE + umask 022 + cd /builddir/build/BUILD + cd ansible_filters-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/doc/ansible-collection-mdellweg-filters + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/doc/ansible-collection-mdellweg-filters + cp -pr README.md /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/doc/ansible-collection-mdellweg-filters + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XuMEsE + umask 022 + cd /builddir/build/BUILD + cd ansible_filters-0.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/licenses/ansible-collection-mdellweg-filters + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/licenses/ansible-collection-mdellweg-filters + cp -pr LICENSE /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch/usr/share/licenses/ansible-collection-mdellweg-filters + RPM_EC=0 ++ jobs -p + exit 0 Provides: ansible-collection(mdellweg.filters) = 0.0.3 ansible-collection-mdellweg-filters = 0.0.3-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (ansible-core or (ansible < 2.10.0 with ansible >= 2.9.10)) Suggests: ansible-core Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch Wrote: /builddir/build/RPMS/ansible-collection-mdellweg-filters-0.0.3-1.oc9.noarch.rpm Child return code was: 0