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-ocs23-epol9-build-279203-26609/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=981gid=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.ocs23.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-ocs23-epol9-build-279203-26609/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=981gid=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.5FkfnF + 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}' '{}' + ./tests/unit/plugins/module_utils/test_postgres.py ./tests/unit/plugins/module_utils/test_saslprep.py ./tests/unit/plugins/module_utils/__init__.py ./tests/unit/plugins/modules/test_postgresql_set.py ./tests/unit/plugins/modules/__init__.py ./plugins/module_utils/_version.py ./plugins/module_utils/version.py ./plugins/module_utils/saslprep.py ./plugins/module_utils/postgres.py ./plugins/module_utils/database.py ./plugins/doc_fragments/postgres.py ./plugins/modules/postgresql_user_obj_stat_info.py ./plugins/modules/postgresql_tablespace.py ./plugins/modules/postgresql_ext.py ./plugins/modules/postgresql_db.py ./plugins/modules/postgresql_ping.py ./plugins/modules/postgresql_publication.py ./plugins/modules/postgresql_info.py ./plugins/modules/postgresql_query.py ./plugins/modules/postgresql_pg_hba.py ./plugins/modules/postgresql_privs.py ./plugins/modules/postgresql_table.py ./plugins/modules/postgresql_owner.py ./plugins/modules/postgresql_subscription.py ./plugins/modules/postgresql_sequence.py ./plugins/modules/postgresql_membership.py ./plugins/modules/postgresql_schema.py ./plugins/modules/postgresql_set.py ./plugins/modules/postgresql_script.py ./plugins/modules/postgresql_copy.py ./plugins/modules/postgresql_idx.py ./plugins/modules/postgresql_lang.py ./plugins/modules/postgresql_user.py ./plugins/modules/postgresql_slot.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QvXtoL + 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 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.ChHUXc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.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.ocs23.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.ocs23.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.ocs23.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.ocs23.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 -j8 --strict-build-id -m -i --build-id-seed 3.0.0-1.ocs23 --unique-debug-suffix -3.0.0-1.ocs23.noarch --unique-debug-src-base ansible-collection-community-postgresql-3.0.0-1.ocs23.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.3h9O6B + 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 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') WARNING: Using locale "C.UTF-8" instead of "en_US.UTF-8". Tests which depend on the locale may behave unexpectedly. 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/tmpdhe9xip1/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: 8/8 workers 8 workers [12 items] ............ [100%] - generated xml file: /tmp/tmpdhe9xip1/ansible_collections/community/postgresql/tests/output/junit/python3.11-modules-units.xml - ============================== 12 passed in 1.20s ============================== 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/tmpdhe9xip1/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: 8/8 workers 8 workers [39 items] ....................................... [100%] - generated xml file: /tmp/tmpdhe9xip1/ansible_collections/community/postgresql/tests/output/junit/python3.11-module_utils-units.xml - ============================== 39 passed in 1.29s ============================== WARNING: Reviewing previous 1 warning(s): WARNING: Using locale "C.UTF-8" instead of "en_US.UTF-8". Tests which depend on the locale may behave unexpectedly. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.x3Pr5U + umask 022 + cd /builddir/build/BUILD + cd community.postgresql-3.0.0 + DOCDIR=/builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.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.ocs23.noarch/usr/share/doc/ansible-collection-community-postgresql + cp -pr README.md /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch/usr/share/doc/ansible-collection-community-postgresql + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch/usr/share/doc/ansible-collection-community-postgresql + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WTCnFU + umask 022 + cd /builddir/build/BUILD + cd community.postgresql-3.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.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.ocs23.noarch/usr/share/licenses/ansible-collection-community-postgresql + cp -pr COPYING /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch/usr/share/licenses/ansible-collection-community-postgresql + cp -pr PSF-license.txt /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch/usr/share/licenses/ansible-collection-community-postgresql + cp -pr simplified_bsd.txt /builddir/build/BUILDROOT/ansible-collection-community-postgresql-3.0.0-1.ocs23.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.ocs23 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.ocs23.noarch Wrote: /builddir/build/RPMS/ansible-collection-community-postgresql-3.0.0-1.ocs23.noarch.rpm Child return code was: 0