Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722531724.481816/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.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 warning: bogus date in %changelog: Thu Feb 27 2024 Sergei Petrosian - 2.2.3-2 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ansible-collection-microsoft-sql-2.2.3-2.src.rpm RPM build warnings: bogus date in %changelog: Thu Feb 27 2024 Sergei Petrosian - 2.2.3-2 Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722531724.481816/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.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 warning: bogus date in %changelog: Thu Feb 27 2024 Sergei Petrosian - 2.2.3-2 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ansible-collection-microsoft-sql-2.2.3-2.src.rpm RPM build warnings: bogus date in %changelog: Thu Feb 27 2024 Sergei Petrosian - 2.2.3-2 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722531724.481816/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.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 warning: bogus date in %changelog: Thu Feb 27 2024 Sergei Petrosian - 2.2.3-2 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5j9bVH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf auto-maintenance-eadd06cfa98d244b096cff24cd11b668428b1613 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/auto-maintenance-eadd06cfa98d244b096cff24cd11b668428b1613.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd auto-maintenance-eadd06cfa98d244b096cff24cd11b668428b1613 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mssql-2.2.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv mssql-2.2.3 mssql + '[' -d mssql/tests/roles ']' + find mssql/tests/roles -type l -exec rm '{}' ';' + '[' -d mssql/tests/roles/linux-system-roles.mssql ']' + rm -r mssql/tests/roles/linux-system-roles.mssql + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BWDsgZ + umask 022 + cd /builddir/build/BUILD + cd auto-maintenance-eadd06cfa98d244b096cff24cd11b668428b1613 + mv mssql/.README.html mssql/README.html + mkdir .collections + cp mssql/.collection/galaxy.yml ./ + ./galaxy_transform.py microsoft sql 2.2.3 'Ansible collection for Microsoft SQL Server management' + mv galaxy.yml.tmp galaxy.yml + python3 lsr_role2collection.py --role mssql --src-path mssql --src-owner linux-system-roles --dest-path .collections --readme mssql/.collection/README.md --namespace microsoft --collection sql --new-role server --meta-runtime lsr_role2collection/runtime.yml Run ansible-playbook with environment variable ANSIBLE_COLLECTIONS_PATHS=/builddir/build/BUILD/auto-maintenance-eadd06cfa98d244b096cff24cd11b668428b1613/.collections:~/.ansible/collections:/usr/share/ansible/collections + find .collections/ansible_collections/microsoft/sql/ -type f -exec sed -e 's/linux-system-roles[.]mssql\>/microsoft.sql.server/g' -i '{}' ';' + rm -r .collections/ansible_collections/microsoft/sql/.collection .collections/ansible_collections/microsoft/sql/.commitlintrc-server.js .collections/ansible_collections/microsoft/sql/.markdownlint-server.yaml .collections/ansible_collections/microsoft/sql/.ostree .collections/ansible_collections/microsoft/sql/.pandoc_template-server.html5 + rm -r .collections/ansible_collections/microsoft/sql/tests/server/.fmf + cp .collections/ansible_collections/microsoft/sql/roles/server/CHANGELOG.md .collections/ansible_collections/microsoft/sql + cp -p galaxy.yml .collections/ansible_collections/microsoft/sql + pushd .collections/ansible_collections/microsoft/sql/ ~/build/BUILD/auto-maintenance-eadd06cfa98d244b096cff24cd11b668428b1613/.collections/ansible_collections/microsoft/sql ~/build/BUILD/auto-maintenance-eadd06cfa98d244b096cff24cd11b668428b1613 + ansible-galaxy collection build /var/tmp/rpm-tmp.BWDsgZ: line 76: ansible-galaxy: command not found error: Bad exit status from /var/tmp/rpm-tmp.BWDsgZ (%build) bogus date in %changelog: Thu Feb 27 2024 Sergei Petrosian - 2.2.3-2 Bad exit status from /var/tmp/rpm-tmp.BWDsgZ (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ansible-collection-microsoft-sql.spec