Mock Version: 1.4.21 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/1243756-epel-8-x86_64-1582019756.519484/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ks53d1el:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ks53d1el:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3adbf97ef99e402b9326ddea861484fd', '-D', '/var/lib/mock/1243756-epel-8-x86_64-1582019756.519484/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ks53d1el:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/1243756-epel-8-x86_64-1582019756.519484/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ks53d1el:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ks53d1el:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd7eaaae20fd4479dacde23f32c383402', '-D', '/var/lib/mock/1243756-epel-8-x86_64-1582019756.519484/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ks53d1el:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.onRL66 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.policy-2.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.policy-2.3.2-0.20190919144636.e433a3c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.policy-2.3.2 + /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 add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-oslo-policy-2.3.2 base' + rm -f requirements.txt test-requirements.txt + sed -i '/^\"PO-Revision-Date: \\n\"/d' oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0SqzcO + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/oslo_policy copying oslo_policy/__init__.py -> build/lib/oslo_policy copying oslo_policy/_cache_handler.py -> build/lib/oslo_policy copying oslo_policy/_checks.py -> build/lib/oslo_policy copying oslo_policy/_external.py -> build/lib/oslo_policy copying oslo_policy/_i18n.py -> build/lib/oslo_policy copying oslo_policy/_parser.py -> build/lib/oslo_policy copying oslo_policy/fixture.py -> build/lib/oslo_policy copying oslo_policy/generator.py -> build/lib/oslo_policy copying oslo_policy/opts.py -> build/lib/oslo_policy copying oslo_policy/policy.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/sphinxpolicygen.py -> build/lib/oslo_policy copying oslo_policy/version.py -> build/lib/oslo_policy creating build/lib/oslo_policy/tests copying oslo_policy/tests/__init__.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/base.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_checks.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_parser.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_shell.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxext.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/token_fixture.py -> build/lib/oslo_policy/tests 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 deleting 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 writing manifest file 'oslo.policy.egg-info/SOURCES.txt' 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 + sleep 1 + python3 setup.py compile_catalog -d build/lib/oslo_policy/locale running compile_catalog compiling catalog build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po to build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.mo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8bhhJA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 + cd oslo.policy-2.3.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.mo -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/token_fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_fixtures.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/base.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/version.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_cache_handler.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/token_fixture.py to token_fixture.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_sphinxpolicygen.py to test_sphinxpolicygen.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_sphinxext.py to test_sphinxext.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_shell.py to test_shell.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_policy.py to test_policy.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_parser.py to test_parser.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_opts.py to test_opts.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_generator.py to test_generator.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_fixtures.py to test_fixtures.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_external.py to test_external.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/test_checks.py to test_checks.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/base.py to base.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/tests/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/version.py to version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/sphinxpolicygen.py to sphinxpolicygen.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/sphinxext.py to sphinxext.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/shell.py to shell.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/policy.py to policy.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/opts.py to opts.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/generator.py to generator.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/fixture.py to fixture.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/_parser.py to _parser.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/_i18n.py to _i18n.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/_external.py to _external.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/_checks.py to _checks.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/_cache_handler.py to _cache_handler.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmphz_t_qqi.py' /usr/libexec/platform-python /tmp/tmphz_t_qqi.py removing /tmp/tmphz_t_qqi.py running install_egg_info 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 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 writing manifest file 'oslo.policy.egg-info/SOURCES.txt' Copying oslo.policy.egg-info to /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo.policy-2.3.2-py3.6.egg-info running install_scripts Installing oslopolicy-checker script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/bin Installing oslopolicy-list-redundant script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/bin Installing oslopolicy-policy-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/bin Installing oslopolicy-policy-upgrade script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/bin Installing oslopolicy-sample-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/bin /usr/lib/python3.6/site-packages/pbr/packaging.py:435: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) + pushd /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64//usr/bin ~/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/bin ~/build/BUILD/oslo.policy-2.3.2 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-checker /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.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-2.3.2-0.20190919144636.e433a3c.el8.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-2.3.2-0.20190919144636.e433a3c.el8.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-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/bin/oslopolicy-sample-generator-3 + popd ~/build/BUILD/oslo.policy-2.3.2 + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + rm -f '/builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6/site-packages/oslo_policy/locale /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 oslo_policy --all-name + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.3.2-0.20190919144636.e433a3c.el8 --unique-debug-suffix -2.3.2-0.20190919144636.e433a3c.el8.x86_64 --unique-debug-src-base python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/oslo.policy-2.3.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.usSkUq + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.2 + export OS_TEST_PATH=./oslo_policy/tests + OS_TEST_PATH=./oslo_policy/tests + PYTHON=python3 + stestr-3 --test-path ./oslo_policy/tests run {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.001603s] ... ok {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.000931s] ... ok {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.000908s] ... ok {0} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.000802s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.004068s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.002461s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.002359s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.002456s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.005570s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.002530s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.002441s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.002453s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.002457s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.002486s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.002403s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.002507s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.000941s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.000875s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.000788s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.000903s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.000791s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.000950s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.000823s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.000871s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.001099s] ... ok {0} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.002425s] ... ok {0} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.002368s] ... ok {0} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.002404s] ... ok {0} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.000799s] ... ok {0} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.000778s] ... ok {0} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.008473s] ... ok {0} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.006295s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.011008s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.011785s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.008097s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.009086s] ... ok {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false [0.016627s] ... ok {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.000996s] ... ok {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.004850s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.006636s] ... ok {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.000941s] ... ok {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.005870s] ... ok {1} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.000942s] ... ok {1} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator [0.009930s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.005907s] ... ok {1} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.000807s] ... ok {1} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.000771s] ... ok {1} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.000774s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.013414s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.003785s] ... ok {0} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.003376s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.002574s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.004608s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.004589s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.002505s] ... ok {0} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.003164s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.004281s] ... ok {1} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.000997s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.001180s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.003142s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.016351s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.000789s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.004728s] ... ok {1} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.006592s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.008628s] ... ok {1} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.016525s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.003642s] ... ok {0} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.000913s] ... ok {0} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.004627s] ... ok {1} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.009818s] ... ok {0} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.004308s] ... ok {1} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.006069s] ... ok {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.006503s] ... ok {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.005600s] ... ok {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.006205s] ... ok {0} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.003256s] ... ok {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.001251s] ... ok {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.001050s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.022127s] ... ok {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.001306s] ... ok {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.001072s] ... ok {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.001314s] ... ok {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.001091s] ... ok {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.001098s] ... ok {0} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.001782s] ... ok {0} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.001248s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.001336s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.012012s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.001224s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.001166s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.001166s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.001313s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.001586s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.002118s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.001122s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.001193s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.001252s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.001211s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.001236s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.018386s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.001380s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.001363s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.001189s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.002501s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.001437s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.001210s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.010072s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.001213s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.001423s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.001568s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.001594s] ... ok {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.003798s] ... ok {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.003153s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.016051s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.004526s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.007597s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.005438s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.011174s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.004114s] ... ok {1} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.003377s] ... ok {1} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.002868s] ... ok {1} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.017009s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.003922s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.014915s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.004052s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.004704s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.003694s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.004111s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_since [0.008115s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.004331s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.003681s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.005791s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.005130s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.008175s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.005803s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.011867s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.007389s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.002831s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.002715s] ... ok {1} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.003744s] ... ok /builddir/build/BUILD/oslo.policy-2.3.2/oslo_policy/policy.py:670: UserWarning: Policy "foo: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.policy] Policies ['foo', 'bar', 'baz'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo', 'bar', 'baz'] are part of a cyclical reference. {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.004367s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.003907s] ... ok WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.003732s] ... ok WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.003817s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.003896s] ... ok WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.003541s] ... ok {1} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.019491s] ... ok WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.003902s] ... ok {0} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.004190s] ... ok {0} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.002909s] ... ok {0} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.003025s] ... ok {1} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.012295s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.003393s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.002728s] ... ok ERROR [oslo_policy._parser] Failed to understand rule foobar Traceback (most recent call last): File "/builddir/build/BUILD/oslo.policy-2.3.2/oslo_policy/_parser.py", line 212, in _parse_check kind, match = rule.split(':', 1) ValueError: not enough values to unpack (expected 2, got 1) {1} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.005162s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.005049s] ... ok {1} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.001269s] ... ok ERROR [oslo_policy._parser] No handler for matches of kind no {1} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.001815s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.006744s] ... ok {1} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.001237s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.004643s] ... ok {1} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.001220s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.003447s] ... ok {1} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.001253s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.003821s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.003718s] ... ok {1} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.003397s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.002678s] ... ok {1} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.001188s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.004280s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.002934s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.004688s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.003140s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.001761s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.005675s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.001615s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.000864s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.001270s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.009400s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.001879s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.001391s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.001572s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.003073s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.002194s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.010052s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.001350s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.001370s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.002506s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.001344s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.001343s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.001338s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.001298s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.001321s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.001145s] ... ok ERROR [oslo_policy._parser] Failed to understand rule test rule Traceback (most recent call last): File "/builddir/build/BUILD/oslo.policy-2.3.2/oslo_policy/_parser.py", line 340, in _parse_text_rule return state.result File "/builddir/build/BUILD/oslo.policy-2.3.2/oslo_policy/_parser.py", line 141, in result raise ValueError('Could not parse rule') ValueError: Could not parse rule {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.016865s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.003263s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.002585s] ... ok {1} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.001498s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.008914s] ... ok {1} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.003837s] ... ok {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.005126s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.007403s] ... ok {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.004598s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.004465s] ... ok {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.003968s] ... ok {0} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.003867s] ... ok {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.005363s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.003979s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.005417s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.004059s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.005795s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.003695s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.002967s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.005729s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.003828s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.005568s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.003986s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_since [0.003418s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.003313s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.003992s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.002944s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.005315s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.004202s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.001244s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.007111s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.002555s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.004392s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.002320s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.003723s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.004045s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.003577s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.003914s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.003282s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.011504s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.003467s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.003464s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.004731s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.002990s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.003851s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.002310s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.001199s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.003937s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.002536s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.001209s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.004809s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.004939s] ... ok {0} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.007156s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.004786s] ... ok {0} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.004974s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.006238s] ... ok {0} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.004721s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.003955s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.005820s] ... ok {0} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.009117s] ... ok {0} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.001551s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.006540s] ... ok {0} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.003314s] ... ok {0} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.001439s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.006471s] ... ok {0} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.004333s] ... ok {0} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.003098s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.007800s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.003388s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.004587s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.004777s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.003246s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.004299s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.004034s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.003607s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.003656s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.003462s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.003631s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.005284s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.005394s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.004726s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.004911s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.005055s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.005156s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.005892s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.003677s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.003766s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.005427s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.004677s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.002920s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.003689s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_map_context_attributes_populated_system [0.002449s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.002853s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.002311s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.002485s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.002174s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.002219s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.002233s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.001487s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.001288s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.001457s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.001198s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.004675s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.003793s] ... ok {1} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.001561s] ... ok {1} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.001212s] ... ok /builddir/build/BUILD/oslo.policy-2.3.2/oslo_policy/policy.py:670: UserWarning: Policy "foo: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) /builddir/build/BUILD/oslo.policy-2.3.2/oslo_policy/policy.py:701: UserWarning: Policy "foo: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) {1} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.002584s] ... ok ====== Totals ====== Ran: 301 tests in 0.8078 sec. - Passed: 301 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1.2402 sec. ============== Worker Balance ============== - Worker 0 (151 tests) => 0:00:00.658134 - Worker 1 (150 tests) => 0:00:00.785917 + exit 0 Processing files: python3-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kTIKKp + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.2 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/doc/python3-oslo-policy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/doc/python3-oslo-policy + cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/doc/python3-oslo-policy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XCo7Bo + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/licenses/python3-oslo-policy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/licenses/python3-oslo-policy + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/licenses/python3-oslo-policy + exit 0 Provides: python3-oslo-policy = 2.3.2-0.20190919144636.e433a3c.el8 python3.6dist(oslo.policy) = 2.3.2 python3dist(oslo.policy) = 2.3.2 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/libexec/platform-python python(abi) = 3.6 Obsoletes: python2-oslo-policy < 2.3.2-0.20190919144636.e433a3c.el8 Processing files: python3-oslo-policy-tests-2.3.2-0.20190919144636.e433a3c.el8.noarch Provides: python3-oslo-policy-tests = 2.3.2-0.20190919144636.e433a3c.el8 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.6 Processing files: python-oslo-policy-lang-2.3.2-0.20190919144636.e433a3c.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SoAikC + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/licenses/python-oslo-policy-lang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/licenses/python-oslo-policy-lang + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64/usr/share/licenses/python-oslo-policy-lang + exit 0 Provides: python-oslo-policy-lang = 2.3.2-0.20190919144636.e433a3c.el8 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-2.3.2-0.20190919144636.e433a3c.el8.x86_64 Wrote: /builddir/build/RPMS/python3-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-policy-tests-2.3.2-0.20190919144636.e433a3c.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-lang-2.3.2-0.20190919144636.e433a3c.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HyEsfQ + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-policy-2.3.2-0.20190919144636.e433a3c.el8.x86_64 + exit 0 Child return code was: 0