Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos10-master-uc-x86_64-5/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=1039gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.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: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.src.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos10-master-uc-x86_64-5/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=1039gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.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: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.src.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos10-master-uc-x86_64-5/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=1039gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.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: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qrpdru + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.policy-4.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/oslo.policy-4.5.1-0.20250318102620.3bb5d92.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.policy-4.5.1 + rm -rf /builddir/build/BUILD/oslo.policy-4.5.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/oslo.policy-4.5.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-oslo-policy-4.5.1 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + sed -i '/^\"PO-Revision-Date: \\n\"/d' oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + sed -i '/^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d' tox.ini + sed -i 's/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/' tox.ini + sed -i '/^minversion.*/d' tox.ini + sed -i '/^requires.*virtualenv.*/d' tox.ini + sed -i '/sphinx-build/ s/-W//' tox.ini + for pkg in doc8 bandit pre-commit hacking flake8-import-order + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^doc8.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^doc8.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^bandit.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^bandit.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^pre-commit.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^pre-commit.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^hacking.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^hacking.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^flake8-import-order.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^flake8-import-order.*/d' test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0v1YAH + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + RPM_TOXENV=py312,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir --output /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires -t -e py312,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.buildreqs.nosrc.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos10-master-uc-x86_64-5/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=1039gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.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: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.DzcDPZ + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + RPM_TOXENV=py312,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir --output /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires -t -e py312,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + cat /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.buildreqs.nosrc.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos10-master-uc-x86_64-5/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=1039gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.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: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jJjjZz + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + RPM_TOXENV=py312,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir --output /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires -t -e py312,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.12) py312: OK ✔ in 0.02 seconds py312: OK (0.02 seconds) docs: OK (0.02 seconds) congratulations :) (0.15 seconds) Handling tox from tox --print-deps-only: py312,docs Requirement satisfied: tox (installed: tox 4.21.2) Handling oslotest>=3.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslotest>=3.2.0 Handling requests-mock>=1.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: requests-mock>=1.2.0 Handling stestr>=2.0.0 from tox --print-deps-only: py312,docs Requirement not satisfied: stestr>=2.0.0 Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling coverage>=4.0 from tox --print-deps-only: py312,docs Requirement not satisfied: coverage>=4.0 Handling requests>=2.14.2 from tox --print-deps-only: py312,docs Requirement satisfied: requests>=2.14.2 (installed: requests 2.32.3) Handling oslo.config>=6.0.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.config>=6.0.0 Handling oslo.context>=2.22.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.context>=2.22.0 Handling oslo.i18n>=3.15.3 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.i18n>=3.15.3 Handling oslo.serialization>=2.18.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.serialization>=2.18.0 Handling PyYAML>=5.1 from tox --print-deps-only: py312,docs Requirement not satisfied: PyYAML>=5.1 Handling stevedore>=1.20.0 from tox --print-deps-only: py312,docs Requirement not satisfied: stevedore>=1.20.0 Handling oslo.utils>=3.40.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.utils>=3.40.0 Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: openstackdocstheme>=2.2.0 Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: sphinxcontrib-apidoc>=0.2.0 Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement not satisfied: reno>=3.1.0 Handling tox from tox --print-deps-only: py312,docs Requirement satisfied: tox (installed: tox 4.21.2) Handling oslotest>=3.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslotest>=3.2.0 Handling requests-mock>=1.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: requests-mock>=1.2.0 Handling stestr>=2.0.0 from tox --print-deps-only: py312,docs Requirement not satisfied: stestr>=2.0.0 Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling coverage>=4.0 from tox --print-deps-only: py312,docs Requirement not satisfied: coverage>=4.0 Handling requests>=2.14.2 from tox --print-deps-only: py312,docs Requirement satisfied: requests>=2.14.2 (installed: requests 2.32.3) Handling oslo.config>=6.0.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.config>=6.0.0 Handling oslo.context>=2.22.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.context>=2.22.0 Handling oslo.i18n>=3.15.3 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.i18n>=3.15.3 Handling oslo.serialization>=2.18.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.serialization>=2.18.0 Handling PyYAML>=5.1 from tox --print-deps-only: py312,docs Requirement not satisfied: PyYAML>=5.1 Handling stevedore>=1.20.0 from tox --print-deps-only: py312,docs Requirement not satisfied: stevedore>=1.20.0 Handling oslo.utils>=3.40.0 from tox --print-deps-only: py312,docs Requirement not satisfied: oslo.utils>=3.40.0 Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: openstackdocstheme>=2.2.0 Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: sphinxcontrib-apidoc>=0.2.0 Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement not satisfied: reno>=3.1.0 Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: openstackdocstheme>=2.2.0 Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement not satisfied: sphinxcontrib-apidoc>=0.2.0 Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement not satisfied: reno>=3.1.0 /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing requirements to oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.egg-info/top_level.txt writing pbr to oslo.policy.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'oslo.policy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/oslo.policy-4.5.1/oslo.policy-4.5.1.dist-info' Handling requests >=2.14.2 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: requests >=2.14.2 (installed: requests 2.32.3) Handling oslo.config >=6.0.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement not satisfied: oslo.config >=6.0.0 Handling oslo.context >=2.22.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement not satisfied: oslo.context >=2.22.0 Handling oslo.i18n >=3.15.3 from hook generated metadata: Requires-Dist (oslo.policy) Requirement not satisfied: oslo.i18n >=3.15.3 Handling oslo.serialization >=2.18.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement not satisfied: oslo.serialization >=2.18.0 Handling PyYAML >=5.1 from hook generated metadata: Requires-Dist (oslo.policy) Requirement not satisfied: PyYAML >=5.1 Handling stevedore >=1.20.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement not satisfied: stevedore >=1.20.0 Handling oslo.utils >=3.40.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement not satisfied: oslo.utils >=3.40.0 + cat /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires + rm -rfv oslo.policy-4.5.1.dist-info/ removed 'oslo.policy-4.5.1.dist-info/AUTHORS' removed 'oslo.policy-4.5.1.dist-info/LICENSE' removed 'oslo.policy-4.5.1.dist-info/METADATA' removed 'oslo.policy-4.5.1.dist-info/entry_points.txt' removed 'oslo.policy-4.5.1.dist-info/pbr.json' removed 'oslo.policy-4.5.1.dist-info/top_level.txt' removed directory 'oslo.policy-4.5.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.buildreqs.nosrc.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos10-master-uc-x86_64-5/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=1039gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.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: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.iOT3Mh + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + RPM_TOXENV=py312,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir --output /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires -t -e py312,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.12) py312: OK ✔ in 0.02 seconds py312: OK (0.02 seconds) docs: OK (0.00 seconds) congratulations :) (0.17 seconds) Handling tox from tox --print-deps-only: py312,docs Requirement satisfied: tox (installed: tox 4.21.2) Handling oslotest>=3.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslotest>=3.2.0 (installed: oslotest 5.0.0) Handling requests-mock>=1.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: requests-mock>=1.2.0 (installed: requests-mock 1.12.1) Handling stestr>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: stestr>=2.0.0 (installed: stestr 4.1.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling coverage>=4.0 from tox --print-deps-only: py312,docs Requirement satisfied: coverage>=4.0 (installed: coverage 7.3.2) Handling requests>=2.14.2 from tox --print-deps-only: py312,docs Requirement satisfied: requests>=2.14.2 (installed: requests 2.32.3) Handling oslo.config>=6.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.config>=6.0.0 (installed: oslo.config 9.7.1) Handling oslo.context>=2.22.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.context>=2.22.0 (installed: oslo.context 5.7.1) Handling oslo.i18n>=3.15.3 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.i18n>=3.15.3 (installed: oslo.i18n 6.5.1) Handling oslo.serialization>=2.18.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.serialization>=2.18.0 (installed: oslo.serialization 5.7.0) Handling PyYAML>=5.1 from tox --print-deps-only: py312,docs Requirement satisfied: PyYAML>=5.1 (installed: PyYAML 6.0.1) Handling stevedore>=1.20.0 from tox --print-deps-only: py312,docs Requirement satisfied: stevedore>=1.20.0 (installed: stevedore 5.4.1) Handling oslo.utils>=3.40.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.utils>=3.40.0 (installed: oslo.utils 8.0.0) Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: openstackdocstheme>=2.2.0 (installed: openstackdocstheme 3.0.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.5.0) Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) Handling tox from tox --print-deps-only: py312,docs Requirement satisfied: tox (installed: tox 4.21.2) Handling oslotest>=3.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslotest>=3.2.0 (installed: oslotest 5.0.0) Handling requests-mock>=1.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: requests-mock>=1.2.0 (installed: requests-mock 1.12.1) Handling stestr>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: stestr>=2.0.0 (installed: stestr 4.1.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling coverage>=4.0 from tox --print-deps-only: py312,docs Requirement satisfied: coverage>=4.0 (installed: coverage 7.3.2) Handling requests>=2.14.2 from tox --print-deps-only: py312,docs Requirement satisfied: requests>=2.14.2 (installed: requests 2.32.3) Handling oslo.config>=6.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.config>=6.0.0 (installed: oslo.config 9.7.1) Handling oslo.context>=2.22.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.context>=2.22.0 (installed: oslo.context 5.7.1) Handling oslo.i18n>=3.15.3 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.i18n>=3.15.3 (installed: oslo.i18n 6.5.1) Handling oslo.serialization>=2.18.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.serialization>=2.18.0 (installed: oslo.serialization 5.7.0) Handling PyYAML>=5.1 from tox --print-deps-only: py312,docs Requirement satisfied: PyYAML>=5.1 (installed: PyYAML 6.0.1) Handling stevedore>=1.20.0 from tox --print-deps-only: py312,docs Requirement satisfied: stevedore>=1.20.0 (installed: stevedore 5.4.1) Handling oslo.utils>=3.40.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.utils>=3.40.0 (installed: oslo.utils 8.0.0) Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: openstackdocstheme>=2.2.0 (installed: openstackdocstheme 3.0.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.5.0) Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: openstackdocstheme>=2.2.0 (installed: openstackdocstheme 3.0.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.5.0) Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing requirements to oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.egg-info/top_level.txt writing pbr to oslo.policy.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'oslo.policy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/oslo.policy-4.5.1/oslo.policy-4.5.1.dist-info' Handling requests >=2.14.2 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: requests >=2.14.2 (installed: requests 2.32.3) Handling oslo.config >=6.0.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.config >=6.0.0 (installed: oslo.config 9.7.1) Handling oslo.context >=2.22.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.context >=2.22.0 (installed: oslo.context 5.7.1) Handling oslo.i18n >=3.15.3 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.i18n >=3.15.3 (installed: oslo.i18n 6.5.1) Handling oslo.serialization >=2.18.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.serialization >=2.18.0 (installed: oslo.serialization 5.7.0) Handling PyYAML >=5.1 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: PyYAML >=5.1 (installed: PyYAML 6.0.1) Handling stevedore >=1.20.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: stevedore >=1.20.0 (installed: stevedore 5.4.1) Handling oslo.utils >=3.40.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.utils >=3.40.0 (installed: oslo.utils 8.0.0) + cat /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires + rm -rfv oslo.policy-4.5.1.dist-info/ removed 'oslo.policy-4.5.1.dist-info/AUTHORS' removed 'oslo.policy-4.5.1.dist-info/LICENSE' removed 'oslo.policy-4.5.1.dist-info/METADATA' removed 'oslo.policy-4.5.1.dist-info/top_level.txt' removed 'oslo.policy-4.5.1.dist-info/pbr.json' removed 'oslo.policy-4.5.1.dist-info/entry_points.txt' removed directory 'oslo.policy-4.5.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.buildreqs.nosrc.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos10-master-uc-x86_64-5/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=1039gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/SPECS/python-oslo-policy.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: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.UNWABt + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + RPM_TOXENV=py312,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir --output /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires -t -e py312,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.12) py312: OK ✔ in 0.05 seconds py312: OK (0.05 seconds) docs: OK (0.02 seconds) congratulations :) (0.32 seconds) Handling tox from tox --print-deps-only: py312,docs Requirement satisfied: tox (installed: tox 4.21.2) Handling oslotest>=3.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslotest>=3.2.0 (installed: oslotest 5.0.0) Handling requests-mock>=1.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: requests-mock>=1.2.0 (installed: requests-mock 1.12.1) Handling stestr>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: stestr>=2.0.0 (installed: stestr 4.1.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling coverage>=4.0 from tox --print-deps-only: py312,docs Requirement satisfied: coverage>=4.0 (installed: coverage 7.3.2) Handling requests>=2.14.2 from tox --print-deps-only: py312,docs Requirement satisfied: requests>=2.14.2 (installed: requests 2.32.3) Handling oslo.config>=6.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.config>=6.0.0 (installed: oslo.config 9.7.1) Handling oslo.context>=2.22.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.context>=2.22.0 (installed: oslo.context 5.7.1) Handling oslo.i18n>=3.15.3 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.i18n>=3.15.3 (installed: oslo.i18n 6.5.1) Handling oslo.serialization>=2.18.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.serialization>=2.18.0 (installed: oslo.serialization 5.7.0) Handling PyYAML>=5.1 from tox --print-deps-only: py312,docs Requirement satisfied: PyYAML>=5.1 (installed: PyYAML 6.0.1) Handling stevedore>=1.20.0 from tox --print-deps-only: py312,docs Requirement satisfied: stevedore>=1.20.0 (installed: stevedore 5.4.1) Handling oslo.utils>=3.40.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.utils>=3.40.0 (installed: oslo.utils 8.0.0) Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: openstackdocstheme>=2.2.0 (installed: openstackdocstheme 3.0.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.5.0) Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) Handling tox from tox --print-deps-only: py312,docs Requirement satisfied: tox (installed: tox 4.21.2) Handling oslotest>=3.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslotest>=3.2.0 (installed: oslotest 5.0.0) Handling requests-mock>=1.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: requests-mock>=1.2.0 (installed: requests-mock 1.12.1) Handling stestr>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: stestr>=2.0.0 (installed: stestr 4.1.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling coverage>=4.0 from tox --print-deps-only: py312,docs Requirement satisfied: coverage>=4.0 (installed: coverage 7.3.2) Handling requests>=2.14.2 from tox --print-deps-only: py312,docs Requirement satisfied: requests>=2.14.2 (installed: requests 2.32.3) Handling oslo.config>=6.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.config>=6.0.0 (installed: oslo.config 9.7.1) Handling oslo.context>=2.22.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.context>=2.22.0 (installed: oslo.context 5.7.1) Handling oslo.i18n>=3.15.3 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.i18n>=3.15.3 (installed: oslo.i18n 6.5.1) Handling oslo.serialization>=2.18.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.serialization>=2.18.0 (installed: oslo.serialization 5.7.0) Handling PyYAML>=5.1 from tox --print-deps-only: py312,docs Requirement satisfied: PyYAML>=5.1 (installed: PyYAML 6.0.1) Handling stevedore>=1.20.0 from tox --print-deps-only: py312,docs Requirement satisfied: stevedore>=1.20.0 (installed: stevedore 5.4.1) Handling oslo.utils>=3.40.0 from tox --print-deps-only: py312,docs Requirement satisfied: oslo.utils>=3.40.0 (installed: oslo.utils 8.0.0) Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: openstackdocstheme>=2.2.0 (installed: openstackdocstheme 3.0.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.5.0) Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) Handling openstackdocstheme>=2.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: openstackdocstheme>=2.2.0 (installed: openstackdocstheme 3.0.0) Handling sphinx>=2.0.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinx>=2.0.0 (installed: sphinx 7.2.6) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py312,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.5.0) Handling reno>=3.1.0 from tox --print-deps-only: py312,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing requirements to oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.egg-info/top_level.txt writing pbr to oslo.policy.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'oslo.policy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/oslo.policy-4.5.1/oslo.policy-4.5.1.dist-info' Handling requests >=2.14.2 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: requests >=2.14.2 (installed: requests 2.32.3) Handling oslo.config >=6.0.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.config >=6.0.0 (installed: oslo.config 9.7.1) Handling oslo.context >=2.22.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.context >=2.22.0 (installed: oslo.context 5.7.1) Handling oslo.i18n >=3.15.3 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.i18n >=3.15.3 (installed: oslo.i18n 6.5.1) Handling oslo.serialization >=2.18.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.serialization >=2.18.0 (installed: oslo.serialization 5.7.0) Handling PyYAML >=5.1 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: PyYAML >=5.1 (installed: PyYAML 6.0.1) Handling stevedore >=1.20.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: stevedore >=1.20.0 (installed: stevedore 5.4.1) Handling oslo.utils >=3.40.0 from hook generated metadata: Requires-Dist (oslo.policy) Requirement satisfied: oslo.utils >=3.40.0 (installed: oslo.utils 8.0.0) + cat /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-buildrequires + rm -rfv oslo.policy-4.5.1.dist-info/ removed 'oslo.policy-4.5.1.dist-info/AUTHORS' removed 'oslo.policy-4.5.1.dist-info/LICENSE' removed 'oslo.policy-4.5.1.dist-info/METADATA' removed 'oslo.policy-4.5.1.dist-info/entry_points.txt' removed 'oslo.policy-4.5.1.dist-info/pbr.json' removed 'oslo.policy-4.5.1.dist-info/top_level.txt' removed directory 'oslo.policy-4.5.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V6RSXp + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oslo.policy-4.5.1 + mkdir -p /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir Processing /builddir/build/BUILD/oslo.policy-4.5.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info creating /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info writing /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/top_level.txt writing pbr to /builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/pbr.json [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/SOURCES.txt' [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-modern-metadata-bie7e4ws/oslo.policy-4.5.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: oslo.policy Building wheel for oslo.policy (pyproject.toml): started Running command Building wheel for oslo.policy (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/oslo_policy creating build/lib/oslo_policy/tests copying oslo_policy/tests/token_fixture.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxext.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_shell.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_parser.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_checks.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_cache_handler.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/base.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/__init__.py -> build/lib/oslo_policy/tests copying oslo_policy/version.py -> build/lib/oslo_policy copying oslo_policy/sphinxpolicygen.py -> build/lib/oslo_policy copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy copying oslo_policy/policy.py -> build/lib/oslo_policy copying oslo_policy/opts.py -> build/lib/oslo_policy copying oslo_policy/generator.py -> build/lib/oslo_policy copying oslo_policy/fixture.py -> build/lib/oslo_policy copying oslo_policy/_parser.py -> build/lib/oslo_policy copying oslo_policy/_i18n.py -> build/lib/oslo_policy copying oslo_policy/_external.py -> build/lib/oslo_policy copying oslo_policy/_checks.py -> build/lib/oslo_policy copying oslo_policy/_cache_handler.py -> build/lib/oslo_policy copying oslo_policy/__init__.py -> build/lib/oslo_policy running egg_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing requirements to oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.egg-info/top_level.txt writing pbr to oslo.policy.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'oslo.policy.egg-info/SOURCES.txt' /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'oslo_policy.locale.en_GB.LC_MESSAGES' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'oslo_policy.locale.en_GB.LC_MESSAGES' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'oslo_policy.locale.en_GB.LC_MESSAGES' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'oslo_policy.locale.en_GB.LC_MESSAGES' to be distributed and are already explicitly excluding 'oslo_policy.locale.en_GB.LC_MESSAGES' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/oslo_policy/locale creating build/lib/oslo_policy/locale/en_GB creating build/lib/oslo_policy/locale/en_GB/LC_MESSAGES copying oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po -> build/lib/oslo_policy/locale/en_GB/LC_MESSAGES installing to build/bdist.linux-x86_64/wheel running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.1s) running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/oslo_policy creating build/bdist.linux-x86_64/wheel/oslo_policy/locale creating build/bdist.linux-x86_64/wheel/oslo_policy/locale/en_GB creating build/bdist.linux-x86_64/wheel/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po -> build/bdist.linux-x86_64/wheel/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/__init__.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/_cache_handler.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/_checks.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/_external.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/_i18n.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/_parser.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/fixture.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/generator.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/opts.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/policy.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/shell.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/sphinxext.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/sphinxpolicygen.py -> build/bdist.linux-x86_64/wheel/oslo_policy copying build/lib/oslo_policy/version.py -> build/bdist.linux-x86_64/wheel/oslo_policy creating build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/__init__.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/base.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_cache_handler.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_checks.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_external.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_fixtures.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_generator.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_opts.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_parser.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_policy.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_shell.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxext.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxpolicygen.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests copying build/lib/oslo_policy/tests/token_fixture.py -> build/bdist.linux-x86_64/wheel/oslo_policy/tests running install_egg_info Copying oslo.policy.egg-info to build/bdist.linux-x86_64/wheel/oslo.policy-4.5.1-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/oslo.policy-4.5.1.dist-info/WHEEL creating '/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir/pip-wheel-b56rnmtj/.tmp-yglzcq7e/oslo.policy-4.5.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'oslo_policy/__init__.py' adding 'oslo_policy/_cache_handler.py' adding 'oslo_policy/_checks.py' adding 'oslo_policy/_external.py' adding 'oslo_policy/_i18n.py' adding 'oslo_policy/_parser.py' adding 'oslo_policy/fixture.py' adding 'oslo_policy/generator.py' adding 'oslo_policy/opts.py' adding 'oslo_policy/policy.py' adding 'oslo_policy/shell.py' adding 'oslo_policy/sphinxext.py' adding 'oslo_policy/sphinxpolicygen.py' adding 'oslo_policy/version.py' adding 'oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po' adding 'oslo_policy/tests/__init__.py' adding 'oslo_policy/tests/base.py' adding 'oslo_policy/tests/test_cache_handler.py' adding 'oslo_policy/tests/test_checks.py' adding 'oslo_policy/tests/test_external.py' adding 'oslo_policy/tests/test_fixtures.py' adding 'oslo_policy/tests/test_generator.py' adding 'oslo_policy/tests/test_opts.py' adding 'oslo_policy/tests/test_parser.py' adding 'oslo_policy/tests/test_policy.py' adding 'oslo_policy/tests/test_shell.py' adding 'oslo_policy/tests/test_sphinxext.py' adding 'oslo_policy/tests/test_sphinxpolicygen.py' adding 'oslo_policy/tests/token_fixture.py' adding 'oslo.policy-4.5.1.dist-info/AUTHORS' adding 'oslo.policy-4.5.1.dist-info/LICENSE' adding 'oslo.policy-4.5.1.dist-info/METADATA' adding 'oslo.policy-4.5.1.dist-info/WHEEL' adding 'oslo.policy-4.5.1.dist-info/entry_points.txt' adding 'oslo.policy-4.5.1.dist-info/pbr.json' adding 'oslo.policy-4.5.1.dist-info/top_level.txt' adding 'oslo.policy-4.5.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for oslo.policy (pyproject.toml): finished with status 'done' Created wheel for oslo.policy: filename=oslo.policy-4.5.1-py3-none-any.whl size=85800 sha256=60e249f7d426088e72588ca6a7301a06abadba40976df3536712ef629ad912b5 Stored in directory: /builddir/.cache/pip/wheels/5a/b4/ad/6f3818bf3bab84ca891435bd167f35fd210f995121927e87ac Successfully built oslo.policy + TOX_TESTENV_PASSENV='*' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e docs Running Sphinx v7.2.6 [openstackdocstheme] version: 3.0.0 [openstackdocstheme] connecting html-page-context event handler making output directory... done [openstackdocstheme] overriding configured project name (Python) with name extracted from the package (oslo.policy); you can disable this behavior with the 'openstackdocs_auto_name' option Creating file /builddir/build/BUILD/oslo.policy-4.5.1/doc/source/reference/api/oslo_policy.rst. Creating file /builddir/build/BUILD/oslo.policy-4.5.1/doc/source/reference/api/modules.rst. [openstackdocstheme] using theme from /usr/lib/python3.12/site-packages/openstackdocstheme/theme [openstackdocstheme] no /builddir/build/BUILD/oslo.policy-4.5.1/.gitreview found building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 25 source files that are out of date updating environment: [new config] 27 added, 0 changed, 0 removed reading sources... [ 4%] admin/index reading sources... [ 7%] admin/policy-json-file reading sources... [ 11%] admin/policy-yaml-file reading sources... [ 15%] cli/common/convert-opts reading sources... [ 19%] cli/common/default-opts reading sources... [ 22%] cli/common/enforcer-opts reading sources... [ 26%] cli/common/generator-opts reading sources... [ 30%] cli/common/rule-opts reading sources... [ 33%] cli/index reading sources... [ 37%] cli/oslopolicy-checker reading sources... [ 41%] cli/oslopolicy-convert-json-to-yaml reading sources... [ 44%] cli/oslopolicy-list-redundant reading sources... [ 48%] cli/oslopolicy-policy-generator reading sources... [ 52%] cli/oslopolicy-sample-generator reading sources... [ 56%] cli/oslopolicy-validator reading sources... [ 59%] configuration/index reading sources... [ 63%] contributor/index reading sources... [ 67%] index reading sources... [ 70%] install/index reading sources... [ 74%] reference/api/modules reading sources... [ 78%] reference/api/oslo_policy reading sources... [ 81%] reference/index reading sources... [ 85%] user/history reading sources... [ 89%] user/index reading sources... [ 93%] user/plugins reading sources... [ 96%] user/sphinxpolicygen reading sources... [100%] user/usage WARNING: autodoc: failed to import module 'fixture' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'generator' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'opts' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'policy' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'shell' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'sphinxext' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'sphinxpolicygen' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' looking for now-outdated files... none found WARNING: autodoc: failed to import module 'version' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') writing output... [ 4%] admin/index /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') writing output... [ 7%] admin/policy-json-file writing output... [ 11%] admin/policy-yaml-file writing output... [ 15%] cli/common/convert-opts writing output... [ 19%] cli/common/default-opts writing output... [ 22%] cli/common/enforcer-opts writing output... [ 26%] cli/common/generator-opts writing output... [ 30%] cli/common/rule-opts writing output... [ 33%] cli/index writing output... [ 37%] cli/oslopolicy-checker /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') writing output... [ 41%] cli/oslopolicy-convert-json-to-yaml writing output... [ 44%] cli/oslopolicy-list-redundant writing output... [ 48%] cli/oslopolicy-policy-generator writing output... [ 52%] cli/oslopolicy-sample-generator writing output... [ 56%] cli/oslopolicy-validator writing output... [ 59%] configuration/index writing output... [ 63%] contributor/index writing output... [ 67%] index writing output... [ 70%] install/index writing output... [ 74%] reference/api/modules [openstackdocstheme] could not determine last_updated for 'reference/api/modules' /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') writing output... [ 78%] reference/api/oslo_policy [openstackdocstheme] could not determine last_updated for 'reference/api/oslo_policy' /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') writing output... [ 81%] reference/index writing output... [ 85%] user/history writing output... [ 89%] user/index writing output... [ 93%] user/plugins writing output... [ 96%] user/sphinxpolicygen writing output... [100%] user/usage /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 9 warnings. The HTML pages are in doc/build/html. docs: OK (6.37 seconds) congratulations :) (6.59 seconds) + rm -rf doc/build/html/.doctrees doc/build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QD7ndG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oslo.policy-4.5.1 ++ ls /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir/oslo.policy-4.5.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=oslo.policy==4.5.1 + '[' -z oslo.policy==4.5.1 ']' + TMPDIR=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir oslo.policy==4.5.1 Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/oslo.policy-4.5.1/pyproject-wheeldir Processing ./pyproject-wheeldir/oslo.policy-4.5.1-py3-none-any.whl Installing collected packages: oslo.policy Creating /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-checker to 755 changing mode of /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-convert-json-to-yaml to 755 changing mode of /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-list-redundant to 755 changing mode of /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-policy-generator to 755 changing mode of /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-policy-upgrade to 755 changing mode of /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-sample-generator to 755 changing mode of /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-validator to 755 Successfully installed oslo.policy-4.5.1 + '[' -d /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-checker /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-convert-json-to-yaml /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-list-redundant /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-policy-generator /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-policy-upgrade /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-sample-generator /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-validator /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-checker: updating /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-convert-json-to-yaml: updating /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-list-redundant: updating /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-policy-generator: updating /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-policy-upgrade: updating /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-sample-generator: updating /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-validator: updating + rm -rfv /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/oslo.policy-4.5.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo.policy-4.5.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 --record /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo.policy-4.5.1.dist-info/RECORD --output /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo.policy-4.5.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo.policy-4.5.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo.policy-4.5.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo.policy-4.5.1.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /builddir/build/BUILD/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64-pyproject-ghost-distinfo + lines=1 + '[' 1 -ne 1 ']' + python3 setup.py compile_catalog -d /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo_policy/locale --domain oslo_policy /usr/lib/python3.12/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running compile_catalog compiling catalog /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po to /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.mo + pushd /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64//usr/bin ~/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin ~/build/BUILD/oslo.policy-4.5.1 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-checker /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-checker-3 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-list-redundant /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-list-redundant-3 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-policy-generator /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-policy-generator-3 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-sample-generator /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin/oslopolicy-sample-generator-3 + popd ~/build/BUILD/oslo.policy-4.5.1 + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + rm -f '/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo_policy/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages/oslo_policy/locale /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 oslo_policy --all-name + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.5.1-0.20250318102620.3bb5d92.el10 --unique-debug-suffix -4.5.1-0.20250318102620.3bb5d92.el10.x86_64 --unique-debug-src-base python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/oslo.policy-4.5.1 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VJury8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oslo.policy-4.5.1 + export OS_TEST_PATH=./oslo_policy/tests + OS_TEST_PATH=./oslo_policy/tests + TOX_TESTENV_PASSENV='*' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/oslo.policy-4.5.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py312 {3} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file [0.002387s] ... ok {3} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.001572s] ... ok {3} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.000270s] ... ok {3} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.001244s] ... ok {3} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.000437s] ... ok {3} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.000444s] ... ok {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.001670s] ... ok {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.001104s] ... ok {3} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.000463s] ... ok {3} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.006234s] ... ok {3} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.000600s] ... ok {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.002543s] ... ok {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.005676s] ... ok {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.004118s] ... ok {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.012214s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.004582s] ... ok {3} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout [0.014918s] ... ok WARNING [oslo_policy.policy] Policies ['rule2_name', 'deprecated_rule1_name'] reference a rule that is not defined. {3} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable [0.017659s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.001736s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.001813s] ... ok WARNING [oslo_config.cfg] Option "format" from group "DEFAULT" is deprecated for removal ( ``policy_file`` support for JSON formatted file is deprecated. So these tools also deprecate the support of generating or upgrading policy file in JSON format. ). Its value may be silently ignored in the future. {3} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.005338s] ... ok {3} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.005887s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates [0.009059s] ... ok {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.001638s] ... ok {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay [0.011751s] ... ok {1} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.000593s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.001886s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.001172s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.005828s] ... ok {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax [0.015386s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.001323s] ... ok {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file [0.007572s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.004083s] ... ok {1} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.000498s] ... ok {1} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.000391s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.000442s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.000768s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.000486s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.000390s] ... ok {1} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.001158s] ... ok {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_success [0.009237s] ... ok {3} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.001223s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.009294s] ... ok {3} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.000838s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.003034s] ... ok {0} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied [0.003881s] ... ok {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.000657s] ... ok {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.000477s] ... ok {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.000404s] ... ok {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.000332s] ... ok {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.000962s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.002214s] ... ok {0} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file [0.001750s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.001753s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.001543s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.000380s] ... ok {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false [0.000520s] ... ok {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.000394s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.000648s] ... ok {0} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.000352s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.003674s] ... ok {1} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.004651s] ... ok {2} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.005819s] ... ok {2} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.000385s] ... ok {2} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator [0.000283s] ... ok {2} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.000242s] ... ok {1} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file [0.002695s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.001451s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.003880s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.007698s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.003158s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.000451s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.007148s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.001119s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.002215s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.000409s] ... ok {1} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file [0.003563s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.000456s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.000377s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.000357s] ... ok {0} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.001150s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.013403s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.001031s] ... ok {0} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.002873s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.007432s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.000943s] ... ok {2} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.000336s] ... ok {2} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.000223s] ... ok {0} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.006151s] ... ok {0} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.000655s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.015032s] ... ok {0} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.002667s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.002326s] ... ok {2} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.011206s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.008248s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.010360s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.015716s] ... ok {2} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.010067s] ... ok WARNING [oslo_config.cfg] Option "format" from group "DEFAULT" is deprecated for removal ( ``policy_file`` support for JSON formatted file is deprecated. So these tools also deprecate the support of generating or upgrading policy file in JSON format. ). Its value may be silently ignored in the future. {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.008216s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.012660s] ... ok {2} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.013098s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.003814s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.106019s] ... ok {0} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.004408s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.000486s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.000430s] ... ok {2} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.010122s] ... ok {1} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning [0.017018s] ... ok {3} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.006548s] ... ok {2} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.007118s] ... ok {1} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.005867s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.001728s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file [0.021082s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.001738s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.002163s] ... ok {2} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.027894s] ... ok {1} oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference [0.014292s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file [0.003681s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.010894s] ... ok {1} oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent [0.006387s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta [0.001210s] ... ok {0} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.025564s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string [0.002682s] ... ok WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:813: UserWarning: Policy "foo:create_bar":"role:fizz" was deprecated in N in favor of "foo:create_bar":"role:bang". Reason: "role:bang" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually. warnings.warn(deprecated_msg) WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.022076s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string [0.002636s] ... ok {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.001618s] ... ok {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.001269s] ... ok {2} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.000662s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.012664s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.009550s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning [0.011435s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.001957s] ... ok {2} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.021171s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.001778s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.005812s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.001650s] ... ok {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.002159s] ... ok {2} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.016388s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.001640s] ... ok {0} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.000456s] ... ok {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped [0.002829s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] Policy Rules ['admin', 'owner'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also. {2} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.022952s] ... ok {2} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.000706s] ... ok {2} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.000620s] ... ok {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.000279s] ... ok WARNING [oslo_config.cfg] Option "format" from group "DEFAULT" is deprecated for removal ( ``policy_file`` support for JSON formatted file is deprecated. So these tools also deprecate the support of generating or upgrading policy file in JSON format. ). Its value may be silently ignored in the future. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped [0.010179s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set [0.002009s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.002553s] ... ok {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.000252s] ... ok WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.005101s] ... ok {1} oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent [0.111163s] ... ok {1} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts [0.001336s] ... ok {1} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.000474s] ... ok {1} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.000746s] ... ok {1} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.000515s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.000524s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.000446s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.000572s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.000576s] ... ok /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:1133: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was system scoped but the policy requires ['domain'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.021976s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.000567s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.000499s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.000460s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.002554s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.000330s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.001066s] ... ok /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:1133: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was project scoped but the policy requires ['domain'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.001633s] ... ok /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:1133: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was system scoped but the policy requires ['project'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:1133: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was domain scoped but the policy requires ['project'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.003163s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string [0.005223s] ... ok WARNING [oslo_config.cfg] Option "format" from group "DEFAULT" is deprecated for removal ( ``policy_file`` support for JSON formatted file is deprecated. So these tools also deprecate the support of generating or upgrading policy file in JSON format. ). Its value may be silently ignored in the future. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:1133: UserWarning: Policy @ failed scope check. The token used to make the request was system scoped but the policy requires ['domain'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string [0.005083s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks [0.004647s] ... ok {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.111380s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.006281s] ... ok {0} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope [0.004404s] ... ok {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.000745s] ... ok {2} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.081553s] ... ok {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.002437s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.002661s] ... ok {0} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.000434s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.000994s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.000726s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.002274s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.000407s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta [0.009714s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.001651s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.003722s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.000233s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.000695s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.001708s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.001895s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.005755s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.000434s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.002707s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.009554s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.006992s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.000509s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.000304s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.000447s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.000277s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.000256s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.000255s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.009067s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.000750s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.000473s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.005169s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.005629s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule [0.015757s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.000834s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.000469s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.010223s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.002637s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.000430s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.001025s] ... ok {0} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.000838s] ... ok {2} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.007055s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.005375s] ... ok {2} oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta [0.001326s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.001573s] ... ok {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.001419s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict [0.002944s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning [0.013851s] ... ok {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.006949s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.001352s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule [0.016960s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.001156s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.004881s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.008842s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.002445s] ... ok {1} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.007182s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.008300s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.002964s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.005388s] ... ok {1} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.002939s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.008923s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.001011s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.016286s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.001626s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.002607s] ... ok {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.009839s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.001990s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied [0.011731s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.002388s] ... ok {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.009916s] ... ok {2} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.001032s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.010342s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule [0.005515s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.005443s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.001351s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.007775s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.008241s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.016896s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.008602s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.001799s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.013791s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.001717s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.020415s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.014124s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.003001s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.007374s] ... ok /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:1133: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was domain scoped but the policy requires ['system'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.013311s] ... ok {0} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.020372s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.007500s] ... ok {0} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.004901s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.003779s] ... ok /builddir/build/BUILD/oslo.policy-4.5.1/oslo_policy/policy.py:1133: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was project scoped but the policy requires ['system'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.011511s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.001399s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.008121s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.002317s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.009527s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.010165s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.001047s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.002357s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.009375s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.012522s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.012204s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.009581s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.002060s] ... ok WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.006331s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update [0.023461s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning [0.008417s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.020853s] ... ok {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.001523s] ... ok {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.001376s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.018236s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.017514s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.030575s] ... ok {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.008524s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.004694s] ... ok WARNING [oslo_policy.policy] Policy Rules ['owner'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also. {3} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.000714s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.000457s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.022042s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.020320s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules [0.011146s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.001409s] ... ok {1} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist [0.008237s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.016940s] ... ok {3} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.020603s] ... ok {1} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file [0.003407s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.002847s] ... ok {3} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.002745s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.005576s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.001911s] ... ok {1} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.010351s] ... ok {3} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.009347s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.001164s] ... ok {3} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.001173s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.001018s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.007745s] ... ok {3} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.001674s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.008410s] ... ok {2} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist [0.002101s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.001353s] ... ok {2} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file [0.001426s] ... ok Failed to parse rule: (bar)) Configured policy file "bogus.yaml" not found WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.005048s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.002253s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.000423s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.001163s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.001093s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.002399s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.001003s] ... ok {2} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist [0.014938s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.000967s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.000864s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.000472s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.001382s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.005683s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.000924s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.000722s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.000327s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.014115s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.001104s] ... ok {2} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.000277s] ... ok {2} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.000310s] ... ok {2} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.000284s] ... ok {2} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.001390s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.010899s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.000388s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.000380s] ... ok {1} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.000809s] ... ok {0} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.006093s] ... ok {1} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.006039s] ... ok Invalid rules found Unknown rule found in policy file: baz Invalid rules found {0} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.001972s] ... ok {0} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner [0.001943s] ... ok {2} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.016799s] ... ok {0} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope [0.002678s] ... ok {0} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.002782s] ... ok ====== Totals ====== Ran: 346 tests in 1.0039 sec. - Passed: 346 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 2.1651 sec. ============== Worker Balance ============== - Worker 0 (87 tests) => 0:00:00.745623 - Worker 1 (87 tests) => 0:00:00.803105 - Worker 2 (86 tests) => 0:00:00.693947 - Worker 3 (86 tests) => 0:00:00.925856 Test id Runtime (s) ---------------------------------------------------------------------------------------- ----------- oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout 0.111 oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent 0.111 oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two 0.106 oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string 0.082 oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload 0.031 oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true 0.028 oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules 0.026 oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update 0.023 oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file 0.023 oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content 0.022 py312: OK (8.57 seconds) congratulations :) (8.92 seconds) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fq4oBD + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/doc/python3-oslo-policy + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/doc/python3-oslo-policy + cp -pr /builddir/build/BUILD/oslo.policy-4.5.1/README.rst /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/doc/python3-oslo-policy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5TbzwT + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python3-oslo-policy + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python3-oslo-policy + cp -pr /builddir/build/BUILD/oslo.policy-4.5.1/LICENSE /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python3-oslo-policy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-oslo-policy = 4.5.1-0.20250318102620.3bb5d92.el10 python3-oslo-policy = 4.5.1-0.20250318102620.3bb5d92.el10 python3.12-oslo-policy = 4.5.1-0.20250318102620.3bb5d92.el10 python3.12dist(oslo-policy) = 4.5.1 python3dist(oslo-policy) = 4.5.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.12 python3.12dist(oslo-config) >= 6 python3.12dist(oslo-context) >= 2.22 python3.12dist(oslo-i18n) >= 3.15.3 python3.12dist(oslo-serialization) >= 2.18 python3.12dist(oslo-utils) >= 3.40 python3.12dist(pyyaml) >= 5.1 python3.12dist(requests) >= 2.14.2 python3.12dist(stevedore) >= 1.20 Obsoletes: python2-oslo-policy < 4.5.1-0.20250318102620.3bb5d92.el10 python3.12-oslo-policy < 4.5.1-0.20250318102620.3bb5d92.el10 Processing files: python-oslo-policy-doc-4.5.1-0.20250318102620.3bb5d92.el10.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.i1wrSM + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/doc/python-oslo-policy-doc + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/doc/python-oslo-policy-doc + cp -pr /builddir/build/BUILD/oslo.policy-4.5.1/doc/build/html /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/doc/python-oslo-policy-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hdXcQs + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python-oslo-policy-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python-oslo-policy-doc + cp -pr /builddir/build/BUILD/oslo.policy-4.5.1/LICENSE /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python-oslo-policy-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-oslo-policy-doc = 4.5.1-0.20250318102620.3bb5d92.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-oslo-policy-tests-4.5.1-0.20250318102620.3bb5d92.el10.noarch Provides: python-oslo-policy-tests = 4.5.1-0.20250318102620.3bb5d92.el10 python3-oslo-policy-tests = 4.5.1-0.20250318102620.3bb5d92.el10 python3.12-oslo-policy-tests = 4.5.1-0.20250318102620.3bb5d92.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.12 Obsoletes: python3.12-oslo-policy-tests < 4.5.1-0.20250318102620.3bb5d92.el10 Processing files: python-oslo-policy-lang-4.5.1-0.20250318102620.3bb5d92.el10.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z5yoJr + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python-oslo-policy-lang + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python-oslo-policy-lang + cp -pr /builddir/build/BUILD/oslo.policy-4.5.1/LICENSE /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64/usr/share/licenses/python-oslo-policy-lang + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-oslo-policy-lang = 4.5.1-0.20250318102620.3bb5d92.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.src.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-lang-4.5.1-0.20250318102620.3bb5d92.el10.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-policy-tests-4.5.1-0.20250318102620.3bb5d92.el10.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-doc-4.5.1-0.20250318102620.3bb5d92.el10.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dwquer + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-policy-4.5.1-0.20250318102620.3bb5d92.el10.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ipXhW7 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/oslo.policy-4.5.1-SPECPARTS + rm -rf oslo.policy-4.5.1 oslo.policy-4.5.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0