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-community-postgresql.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-107244-67046/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-community-postgresql.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-community-postgresql-3.0.0-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-community-postgresql.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-107244-67046/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-community-postgresql.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.fztlhj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf community.postgresql-3.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/community.postgresql-3.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd community.postgresql-3.0.0 + /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 + find -type f '!' -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + ./plugins/module_utils/version.py ./plugins/module_utils/saslprep.py ./plugins/module_utils/postgres.py ./plugins/module_utils/database.py ./plugins/module_utils/_version.py ./plugins/modules/postgresql_set.py ./plugins/modules/postgresql_subscription.py ./plugins/modules/postgresql_db.py ./plugins/modules/postgresql_slot.py ./plugins/modules/postgresql_info.py ./plugins/modules/postgresql_tablespace.py ./plugins/modules/postgresql_schema.py ./plugins/modules/postgresql_privs.py ./plugins/modules/postgresql_lang.py ./plugins/modules/postgresql_owner.py ./plugins/modules/postgresql_table.py ./plugins/modules/postgresql_query.py ./plugins/modules/postgresql_user.py ./plugins/modules/postgresql_script.py ./plugins/modules/postgresql_ping.py ./plugins/modules/postgresql_publication.py ./plugins/modules/postgresql_idx.py ./plugins/modules/postgresql_copy.py ./plugins/modules/postgresql_sequence.py ./plugins/modules/postgresql_user_obj_stat_info.py ./plugins/modules/postgresql_membership.py ./plugins/modules/postgresql_pg_hba.py ./plugins/modules/postgresql_ext.py ./plugins/doc_fragments/postgres.py ./tests/unit/plugins/module_utils/test_postgres.py ./tests/unit/plugins/module_utils/__init__.py ./tests/unit/plugins/module_utils/test_saslprep.py ./tests/unit/plugins/modules/test_postgresql_set.py ./tests/unit/plugins/modules/__init__.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6TN4Pd + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 community.postgresql-3.0.0 + ansible-galaxy collection build Created collection for community.postgresql at /builddir/build/BUILD/community.postgresql-3.0.0/community-postgresql-3.0.0.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GL5xwn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch + cd community.postgresql-3.0.0 + /usr/lib/rpm/ansible_collection.py install --collections-dir /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/ansible/collections/ansible_collections --filelist /builddir/build/BUILD/community.postgresql-3.0.0/.ansible-packaging/ansible_collection_files Loading collection metadata from /builddir/build/BUILD/community.postgresql-3.0.0/galaxy.yml Running: ('ansible-galaxy', 'collection', 'install', '-n', '-p', '/builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/ansible/collections/ansible_collections', '/builddir/build/BUILD/community.postgresql-3.0.0/community-postgresql-3.0.0.tar.gz') [WARNING]: The specified collections path '/builddir/build/BUILDROOT/ansible- collection-community-postgresql-3.0.0- 1.oc9.noarch/usr/share/ansible/collections/ansible_collections' is not part of the configured Ansible collections paths '/builddir/.ansible/collections:/usr/share/ansible/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 'community.postgresql:3.0.0' to '/builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/ansible/collections/ansible_collections/community/postgresql' community.postgresql:3.0.0 was installed successfully Writing filelist to /builddir/build/BUILD/community.postgresql-3.0.0/.ansible-packaging/ansible_collection_files + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.0.0-1.oc9 --unique-debug-suffix -3.0.0-1.oc9.noarch --unique-debug-src-base ansible-collection-community-postgresql-3.0.0-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/community.postgresql-3.0.0 + /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.ZIt6I9 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 community.postgresql-3.0.0 + /usr/lib/rpm/ansible_collection.py test -- --python-interpreter /usr/bin/python3 --local Loading collection metadata from /builddir/build/BUILD/community.postgresql-3.0.0/galaxy.yml Running: ('ansible-test', 'units', '--python-interpreter', '/usr/bin/python3', '--local') Unit test modules with Python 3.11 ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/tmp8kvww95t/ansible_collections/community/postgresql configfile: ../../../../../usr/lib/python3.11/site-packages/ansible_test/_data/pytest/config/default.ini plugins: forked-1.6.0, mock-3.11.1, xdist-3.3.1 created: 32/32 workers 32 workers [12 items] ............ [100%] - generated xml file: /tmp/tmp8kvww95t/ansible_collections/community/postgresql/tests/output/junit/python3.11-modules-units.xml - ============================== 12 passed in 1.54s ============================== Unit test module_utils with Python 3.11 ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /tmp/tmp8kvww95t/ansible_collections/community/postgresql configfile: ../../../../../usr/lib/python3.11/site-packages/ansible_test/_data/pytest/config/default.ini plugins: forked-1.6.0, mock-3.11.1, xdist-3.3.1 created: 32/32 workers 32 workers [39 items] ....................................... [100%] - generated xml file: /tmp/tmp8kvww95t/ansible_collections/community/postgresql/tests/output/junit/python3.11-module_utils-units.xml - ============================== 39 passed in 1.54s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ansible-collection-community-postgresql-3.0.0-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TIAKx9 + umask 022 + cd /builddir/build/BUILD + cd community.postgresql-3.0.0 + DOCDIR=/builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/doc/ansible-collection-community-postgresql + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/doc/ansible-collection-community-postgresql + cp -pr README.md /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/doc/ansible-collection-community-postgresql + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/doc/ansible-collection-community-postgresql + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Pr4aag + umask 022 + cd /builddir/build/BUILD + cd community.postgresql-3.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/licenses/ansible-collection-community-postgresql + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/licenses/ansible-collection-community-postgresql + cp -pr COPYING /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/licenses/ansible-collection-community-postgresql + cp -pr PSF-license.txt /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/licenses/ansible-collection-community-postgresql + cp -pr simplified_bsd.txt /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch/usr/share/licenses/ansible-collection-community-postgresql + RPM_EC=0 ++ jobs -p + exit 0 Provides: ansible-collection(community.postgresql) = 3.0.0 ansible-collection-community-postgresql = 3.0.0-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-community-postgresql-3.0.0-1.oc9.noarch Wrote: /builddir/build/RPMS/ansible-collection-community-postgresql-3.0.0-1.oc9.noarch.rpm Child return code was: 0