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-middleware.spec'], chrootPath='/var/lib/mock/1243755-epel-8-x86_64-1582019753.250548/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.ssdnjop4:/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.ssdnjop4:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c90f81792c984669afc3912d74166156', '-D', '/var/lib/mock/1243755-epel-8-x86_64-1582019753.250548/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ssdnjop4:/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-middleware.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-middleware-3.38.1-0.20191004114631.9bae80e.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-middleware.spec'], chrootPath='/var/lib/mock/1243755-epel-8-x86_64-1582019753.250548/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.ssdnjop4:/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.ssdnjop4:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '562c2ac25b0e4d8e9c346d5052be3227', '-D', '/var/lib/mock/1243755-epel-8-x86_64-1582019753.250548/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ssdnjop4:/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-middleware.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.tURYoG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.middleware-3.38.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.middleware-3.38.1-0.20191004114631.9bae80e.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.middleware-3.38.1 + /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-middleware-3.38.1 base' + rm -rf test-requirements.txt requirements.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WCSVVZ + umask 022 + cd /builddir/build/BUILD + cd oslo.middleware-3.38.1 + 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_middleware creating build/lib/oslo_middleware/healthcheck copying oslo_middleware/healthcheck/__init__.py -> build/lib/oslo_middleware/healthcheck copying oslo_middleware/healthcheck/__main__.py -> build/lib/oslo_middleware/healthcheck copying oslo_middleware/healthcheck/disable_by_file.py -> build/lib/oslo_middleware/healthcheck copying oslo_middleware/healthcheck/opts.py -> build/lib/oslo_middleware/healthcheck copying oslo_middleware/healthcheck/pluginbase.py -> build/lib/oslo_middleware/healthcheck copying oslo_middleware/__init__.py -> build/lib/oslo_middleware copying oslo_middleware/_i18n.py -> build/lib/oslo_middleware copying oslo_middleware/base.py -> build/lib/oslo_middleware copying oslo_middleware/catch_errors.py -> build/lib/oslo_middleware copying oslo_middleware/correlation_id.py -> build/lib/oslo_middleware copying oslo_middleware/cors.py -> build/lib/oslo_middleware copying oslo_middleware/debug.py -> build/lib/oslo_middleware copying oslo_middleware/http_proxy_to_wsgi.py -> build/lib/oslo_middleware copying oslo_middleware/opts.py -> build/lib/oslo_middleware copying oslo_middleware/request_id.py -> build/lib/oslo_middleware copying oslo_middleware/sizelimit.py -> build/lib/oslo_middleware copying oslo_middleware/ssl.py -> build/lib/oslo_middleware copying oslo_middleware/stats.py -> build/lib/oslo_middleware copying oslo_middleware/version.py -> build/lib/oslo_middleware creating build/lib/oslo_middleware/tests copying oslo_middleware/tests/__init__.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_base.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_catch_errors.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_correlation_id.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_cors.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_entry_points.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_healthcheck.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_http_proxy_to_wsgi.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_opts.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_request_id.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_sizelimit.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_ssl.py -> build/lib/oslo_middleware/tests copying oslo_middleware/tests/test_stats.py -> build/lib/oslo_middleware/tests running egg_info writing oslo.middleware.egg-info/PKG-INFO writing dependency_links to oslo.middleware.egg-info/dependency_links.txt writing entry points to oslo.middleware.egg-info/entry_points.txt deleting oslo.middleware.egg-info/requires.txt writing top-level names to oslo.middleware.egg-info/top_level.txt writing pbr to oslo.middleware.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.middleware.egg-info/SOURCES.txt' creating build/lib/oslo_middleware/locale creating build/lib/oslo_middleware/locale/de creating build/lib/oslo_middleware/locale/de/LC_MESSAGES copying oslo_middleware/locale/de/LC_MESSAGES/oslo_middleware.po -> build/lib/oslo_middleware/locale/de/LC_MESSAGES creating build/lib/oslo_middleware/locale/en_GB creating build/lib/oslo_middleware/locale/en_GB/LC_MESSAGES copying oslo_middleware/locale/en_GB/LC_MESSAGES/oslo_middleware.po -> build/lib/oslo_middleware/locale/en_GB/LC_MESSAGES creating build/lib/oslo_middleware/locale/fr creating build/lib/oslo_middleware/locale/fr/LC_MESSAGES copying oslo_middleware/locale/fr/LC_MESSAGES/oslo_middleware.po -> build/lib/oslo_middleware/locale/fr/LC_MESSAGES + sleep 1 + python3 setup.py compile_catalog -d build/lib/oslo_middleware/locale running compile_catalog compiling catalog build/lib/oslo_middleware/locale/fr/LC_MESSAGES/oslo_middleware.po to build/lib/oslo_middleware/locale/fr/LC_MESSAGES/oslo_middleware.mo compiling catalog build/lib/oslo_middleware/locale/en_GB/LC_MESSAGES/oslo_middleware.po to build/lib/oslo_middleware/locale/en_GB/LC_MESSAGES/oslo_middleware.mo compiling catalog build/lib/oslo_middleware/locale/de/LC_MESSAGES/oslo_middleware.po to build/lib/oslo_middleware/locale/de/LC_MESSAGES/oslo_middleware.mo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.x4KTro + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 + cd oslo.middleware-3.38.1 + 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-middleware-3.38.1-0.20191004114631.9bae80e.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-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/fr creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/fr/LC_MESSAGES copying build/lib/oslo_middleware/locale/fr/LC_MESSAGES/oslo_middleware.mo -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/fr/LC_MESSAGES copying build/lib/oslo_middleware/locale/fr/LC_MESSAGES/oslo_middleware.po -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/fr/LC_MESSAGES creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/en_GB/LC_MESSAGES copying build/lib/oslo_middleware/locale/en_GB/LC_MESSAGES/oslo_middleware.mo -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/en_GB/LC_MESSAGES copying build/lib/oslo_middleware/locale/en_GB/LC_MESSAGES/oslo_middleware.po -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/en_GB/LC_MESSAGES creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/de creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/de/LC_MESSAGES copying build/lib/oslo_middleware/locale/de/LC_MESSAGES/oslo_middleware.mo -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/de/LC_MESSAGES copying build/lib/oslo_middleware/locale/de/LC_MESSAGES/oslo_middleware.po -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/de/LC_MESSAGES creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_stats.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_ssl.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_sizelimit.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_request_id.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_opts.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_http_proxy_to_wsgi.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_healthcheck.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_entry_points.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_cors.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_correlation_id.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_catch_errors.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/test_base.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests copying build/lib/oslo_middleware/version.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/stats.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/ssl.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/sizelimit.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/request_id.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/opts.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/http_proxy_to_wsgi.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/debug.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/cors.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/correlation_id.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/catch_errors.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/base.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware copying build/lib/oslo_middleware/__init__.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware creating /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck copying build/lib/oslo_middleware/healthcheck/pluginbase.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck copying build/lib/oslo_middleware/healthcheck/opts.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck copying build/lib/oslo_middleware/healthcheck/disable_by_file.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck copying build/lib/oslo_middleware/healthcheck/__main__.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck copying build/lib/oslo_middleware/healthcheck/__init__.py -> /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_stats.py to test_stats.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_ssl.py to test_ssl.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_sizelimit.py to test_sizelimit.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_request_id.py to test_request_id.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_opts.py to test_opts.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_http_proxy_to_wsgi.py to test_http_proxy_to_wsgi.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_healthcheck.py to test_healthcheck.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_entry_points.py to test_entry_points.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_cors.py to test_cors.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_correlation_id.py to test_correlation_id.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_catch_errors.py to test_catch_errors.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/test_base.py to test_base.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/tests/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/version.py to version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/stats.py to stats.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/ssl.py to ssl.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/sizelimit.py to sizelimit.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/request_id.py to request_id.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/opts.py to opts.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/http_proxy_to_wsgi.py to http_proxy_to_wsgi.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/debug.py to debug.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/cors.py to cors.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/correlation_id.py to correlation_id.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/catch_errors.py to catch_errors.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/base.py to base.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/_i18n.py to _i18n.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck/pluginbase.py to pluginbase.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck/opts.py to opts.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck/disable_by_file.py to disable_by_file.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck/__main__.py to __main__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/healthcheck/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmp1lod56qp.py' /usr/libexec/platform-python /tmp/tmp1lod56qp.py removing /tmp/tmp1lod56qp.py running install_egg_info running egg_info writing oslo.middleware.egg-info/PKG-INFO writing dependency_links to oslo.middleware.egg-info/dependency_links.txt writing entry points to oslo.middleware.egg-info/entry_points.txt writing top-level names to oslo.middleware.egg-info/top_level.txt writing pbr to oslo.middleware.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.middleware.egg-info/SOURCES.txt' Copying oslo.middleware.egg-info to /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo.middleware-3.38.1-py3.6.egg-info running install_scripts /usr/lib/python3.6/site-packages/pbr/packaging.py:435: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/de/LC_MESSAGES/oslo_middleware.po /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/en_GB/LC_MESSAGES/oslo_middleware.po /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/fr/LC_MESSAGES/oslo_middleware.po + rm -f '/builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/lib/python3.6/site-packages/oslo_middleware/locale /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 oslo_middleware --all-name + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.38.1-0.20191004114631.9bae80e.el8 --unique-debug-suffix -3.38.1-0.20191004114631.9bae80e.el8.x86_64 --unique-debug-src-base python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/oslo.middleware-3.38.1 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-middleware-3.38.1-0.20191004114631.9bae80e.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.aamljQ + umask 022 + cd /builddir/build/BUILD + cd oslo.middleware-3.38.1 + python3 setup.py test running test running egg_info WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. writing oslo.middleware.egg-info/PKG-INFO writing dependency_links to oslo.middleware.egg-info/dependency_links.txt writing entry points to oslo.middleware.egg-info/entry_points.txt writing top-level names to oslo.middleware.egg-info/top_level.txt writing pbr to oslo.middleware.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.middleware.egg-info/SOURCES.txt' running build_ext test_extend_with_request (oslo_middleware.tests.test_base.TestBase) oslo_middleware.tests.test_base.TestBase.test_extend_with_request ... ok test_extend_without_request (oslo_middleware.tests.test_base.TestBase) oslo_middleware.tests.test_base.TestBase.test_extend_without_request ... ok test_no_content_type_added (oslo_middleware.tests.test_base.TestBase) oslo_middleware.tests.test_base.TestBase.test_no_content_type_added ... ok test_paste_deploy_configurable (oslo_middleware.tests.test_base.TestBase) oslo_middleware.tests.test_base.TestBase.test_paste_deploy_configurable ... ok test_paste_deploy_legacy (oslo_middleware.tests.test_base.TestBase) oslo_middleware.tests.test_base.TestBase.test_paste_deploy_legacy ... ok test_filter_tokens_from_log (oslo_middleware.tests.test_catch_errors.CatchErrorsTest) oslo_middleware.tests.test_catch_errors.CatchErrorsTest.test_filter_tokens_from_log ... ERROR [oslo_middleware.catch_errors] An error occurred during processing the request: POST /test HTTP/1.0 Content-Length: 9 Host: localhost:80 X-Auth-Token: ***** X-Other-Token: ***** X-Service-Token: ***** test data Traceback (most recent call last): File "/builddir/build/BUILD/oslo.middleware-3.38.1/oslo_middleware/catch_errors.py", line 40, in __call__ response = req.get_response(self.application) File "/usr/lib/python3.6/site-packages/webob/request.py", line 1314, in send application, catch_exc_info=False) File "/usr/lib/python3.6/site-packages/webob/request.py", line 1278, in call_application app_iter = application(self.environ, start_response) File "/usr/lib/python3.6/site-packages/webob/dec.py", line 129, in __call__ resp = self.call_func(req, *args, **kw) File "/usr/lib/python3.6/site-packages/webob/dec.py", line 193, in call_func return self.func(req, *args, **kwargs) File "/builddir/build/BUILD/oslo.middleware-3.38.1/oslo_middleware/tests/test_catch_errors.py", line 58, in application raise Exception() Exception ok test_internal_server_error (oslo_middleware.tests.test_catch_errors.CatchErrorsTest) oslo_middleware.tests.test_catch_errors.CatchErrorsTest.test_internal_server_error ... ok test_success_response (oslo_middleware.tests.test_catch_errors.CatchErrorsTest) oslo_middleware.tests.test_catch_errors.CatchErrorsTest.test_success_response ... ok test_process_request (oslo_middleware.tests.test_correlation_id.CorrelationIdTest) oslo_middleware.tests.test_correlation_id.CorrelationIdTest.test_process_request ... ok test_process_request_should_not_regenerate_correlation_id (oslo_middleware.tests.test_correlation_id.CorrelationIdTest) oslo_middleware.tests.test_correlation_id.CorrelationIdTest.test_process_request_should_not_regenerate_correlation_id ... ok test_allow_headers (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_allow_headers ... /builddir/build/BUILD/oslo.middleware-3.38.1/oslo_middleware/cors.py:187: DeprecationWarning: Multiple configuration blocks are deprecated and will be removed in future versions. Please consolidate your configuration in the [cors] configuration block. debtcollector.deprecate('Multiple configuration blocks are ' ok test_allow_methods (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_allow_methods ... ok test_application_options_response (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_application_options_response ... ok test_case_sensitive_origin (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_case_sensitive_origin ... ok test_config_overrides (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_config_overrides ... ok test_credentials (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_credentials ... ok test_invalid_method (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_invalid_method ... ok test_no_origin_header (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_no_origin_header ... ok test_no_parse_request_headers (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_no_parse_request_headers ... ok test_no_request_headers (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_no_request_headers ... ok test_no_request_method (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_no_request_method ... ok test_optional_max_age (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_optional_max_age ... ok test_request_headers (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_request_headers ... ok test_request_headers_not_permitted (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_request_headers_not_permitted ... ok test_simple_header_response (oslo_middleware.tests.test_cors.CORSPreflightRequestTest) oslo_middleware.tests.test_cors.CORSPreflightRequestTest.test_simple_header_response ... ok test_application_options_response (oslo_middleware.tests.test_cors.CORSRegularRequestTest) oslo_middleware.tests.test_cors.CORSRegularRequestTest.test_application_options_response ... ok test_application_vary_respected (oslo_middleware.tests.test_cors.CORSRegularRequestTest) oslo_middleware.tests.test_cors.CORSRegularRequestTest.test_application_vary_respected ... ok test_config_overrides (oslo_middleware.tests.test_cors.CORSRegularRequestTest) oslo_middleware.tests.test_cors.CORSRegularRequestTest.test_config_overrides ... ok test_expose_headers (oslo_middleware.tests.test_cors.CORSRegularRequestTest) oslo_middleware.tests.test_cors.CORSRegularRequestTest.test_expose_headers ... ok test_no_origin_header (oslo_middleware.tests.test_cors.CORSRegularRequestTest) oslo_middleware.tests.test_cors.CORSRegularRequestTest.test_no_origin_header ... ok test_origin_headers (oslo_middleware.tests.test_cors.CORSRegularRequestTest) oslo_middleware.tests.test_cors.CORSRegularRequestTest.test_origin_headers ... ok test_supports_credentials (oslo_middleware.tests.test_cors.CORSRegularRequestTest) oslo_middleware.tests.test_cors.CORSRegularRequestTest.test_supports_credentials ... ok test_cascading_override (oslo_middleware.tests.test_cors.CORSTestDefaultOverrides) oslo_middleware.tests.test_cors.CORSTestDefaultOverrides.test_cascading_override ... ok test_config_defaults (oslo_middleware.tests.test_cors.CORSTestDefaultOverrides) oslo_middleware.tests.test_cors.CORSTestDefaultOverrides.test_config_defaults ... ok test_invalid_default_option (oslo_middleware.tests.test_cors.CORSTestDefaultOverrides) oslo_middleware.tests.test_cors.CORSTestDefaultOverrides.test_invalid_default_option ... ok test_cor_config_sections_with_defaults (oslo_middleware.tests.test_cors.CORSTestFilterFactory) oslo_middleware.tests.test_cors.CORSTestFilterFactory.test_cor_config_sections_with_defaults ... ok test_filter_factory (oslo_middleware.tests.test_cors.CORSTestFilterFactory) oslo_middleware.tests.test_cors.CORSTestFilterFactory.test_filter_factory ... ok test_filter_factory_multiorigin (oslo_middleware.tests.test_cors.CORSTestFilterFactory) oslo_middleware.tests.test_cors.CORSTestFilterFactory.test_filter_factory_multiorigin ... ok test_no_origin_but_oslo_config_project (oslo_middleware.tests.test_cors.CORSTestFilterFactory) oslo_middleware.tests.test_cors.CORSTestFilterFactory.test_no_origin_but_oslo_config_project ... ok test_no_origin_fail (oslo_middleware.tests.test_cors.CORSTestFilterFactory) oslo_middleware.tests.test_cors.CORSTestFilterFactory.test_no_origin_fail ... ok test_config_overrides (oslo_middleware.tests.test_cors.CORSTestWildcard) oslo_middleware.tests.test_cors.CORSTestWildcard.test_config_overrides ... ok test_wildcard_domain (oslo_middleware.tests.test_cors.CORSTestWildcard) oslo_middleware.tests.test_cors.CORSTestWildcard.test_wildcard_domain ... ok test_entry_points (oslo_middleware.tests.test_entry_points.TestPasteDeploymentEntryPoints) oslo_middleware.tests.test_entry_points.TestPasteDeploymentEntryPoints.test_entry_points ... ok test_startup_response (oslo_middleware.tests.test_healthcheck.HealthcheckMainTests) oslo_middleware.tests.test_healthcheck.HealthcheckMainTests.test_startup_response ... 127.0.0.1 - - [18/Feb/2020 09:56:42] "GET / HTTP/1.1" 200 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 56328) Traceback (most recent call last): File "/usr/lib64/python3.6/socketserver.py", line 320, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib64/python3.6/socketserver.py", line 351, in process_request self.finish_request(request, client_address) File "/usr/lib64/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib64/python3.6/socketserver.py", line 724, in __init__ self.handle() File "/usr/lib64/python3.6/http/server.py", line 418, in handle self.handle_one_request() File "/usr/lib64/python3.6/http/server.py", line 407, in handle_one_request self.wfile.flush() #actually send the response if not already done. ValueError: I/O operation on closed file. ---------------------------------------- /usr/lib/python3.6/site-packages/testtools/runtest.py:174: ResourceWarning: unclosed function, arguments, keywordArguments = self.case._cleanups.pop() ok test_configured_path_match (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_configured_path_match ... ok test_configured_path_not_match (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_configured_path_not_match ... ok test_default_path_match (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_default_path_match ... ok test_default_path_not_match (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_default_path_not_match ... ok test_disable_by_port_file (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disable_by_port_file ... ok test_disable_by_port_many_files (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disable_by_port_many_files ... ok test_disablefile_disabled (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disablefile_disabled ... ok test_disablefile_disabled_head (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disablefile_disabled_head ... ok test_disablefile_disabled_html_detailed (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disablefile_disabled_html_detailed ... ok test_disablefile_enabled (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disablefile_enabled ... ok test_disablefile_enabled_head (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disablefile_enabled_head ... ok test_disablefile_enabled_html_detailed (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disablefile_enabled_html_detailed ... ok test_disablefile_unconfigured (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_disablefile_unconfigured ... ok test_json_response (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_json_response ... ok test_no_disable_by_port_file (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_no_disable_by_port_file ... WARNING [oslo_middleware.healthcheck.disable_by_file] DisableByFilesPorts healthcheck middleware enabled without disable_by_file_paths set for port 80 ok test_two_backends (oslo_middleware.tests.test_healthcheck.HealthcheckTests) oslo_middleware.tests.test_healthcheck.HealthcheckTests.test_two_backends ... ok test__parse_rfc7239_header (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test__parse_rfc7239_header ... ok test_backward_compat (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_backward_compat ... ok test_forwarded_for_headers (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_forwarded_for_headers ... ok test_no_headers (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_no_headers ... ok test_rfc7239_invalid (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_rfc7239_invalid ... ok test_rfc7239_proto (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_rfc7239_proto ... ok test_rfc7239_proto_host (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_rfc7239_proto_host ... ok test_rfc7239_proto_host_base (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_rfc7239_proto_host_base ... ok test_url_translate_base (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_url_translate_base ... ok test_url_translate_host_ipv6 (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_url_translate_host_ipv6 ... ok test_url_translate_port_and_base_and_proto_and_host (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_url_translate_port_and_base_and_proto_and_host ... ok test_url_translate_ssl (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_url_translate_ssl ... ok test_url_translate_ssl_port (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGI.test_url_translate_ssl_port ... ok test_no_headers (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGIDisabled) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGIDisabled.test_no_headers ... ok test_url_translate_ssl_has_no_effect (oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGIDisabled) oslo_middleware.tests.test_http_proxy_to_wsgi.TestHTTPProxyToWSGIDisabled.test_url_translate_ssl_has_no_effect ... ok test_all (oslo_middleware.tests.test_opts.TestOptionDiscovery) oslo_middleware.tests.test_opts.TestOptionDiscovery.test_all ... ok test_cors (oslo_middleware.tests.test_opts.TestOptionDiscovery) oslo_middleware.tests.test_opts.TestOptionDiscovery.test_cors ... ok test_sizelimit (oslo_middleware.tests.test_opts.TestOptionDiscovery) oslo_middleware.tests.test_opts.TestOptionDiscovery.test_sizelimit ... ok test_ssl (oslo_middleware.tests.test_opts.TestOptionDiscovery) oslo_middleware.tests.test_opts.TestOptionDiscovery.test_ssl ... ok test_compat_headers (oslo_middleware.tests.test_request_id.RequestIdTest) oslo_middleware.tests.test_request_id.RequestIdTest.test_compat_headers ... ok test_generate_request_id (oslo_middleware.tests.test_request_id.RequestIdTest) oslo_middleware.tests.test_request_id.RequestIdTest.test_generate_request_id ... ok test_global_request_id_drop (oslo_middleware.tests.test_request_id.RequestIdTest) oslo_middleware.tests.test_request_id.RequestIdTest.test_global_request_id_drop ... ok test_global_request_id_set (oslo_middleware.tests.test_request_id.RequestIdTest) oslo_middleware.tests.test_request_id.RequestIdTest.test_global_request_id_set ... ok test_limiting_reader (oslo_middleware.tests.test_sizelimit.TestLimitingReader) oslo_middleware.tests.test_sizelimit.TestLimitingReader.test_limiting_reader ... ok test_limiting_reader_fails (oslo_middleware.tests.test_sizelimit.TestLimitingReader) oslo_middleware.tests.test_sizelimit.TestLimitingReader.test_limiting_reader_fails ... ok test_read_default_value (oslo_middleware.tests.test_sizelimit.TestLimitingReader) oslo_middleware.tests.test_sizelimit.TestLimitingReader.test_read_default_value ... ok test_content_length_acceptable (oslo_middleware.tests.test_sizelimit.TestRequestBodySizeLimiter) oslo_middleware.tests.test_sizelimit.TestRequestBodySizeLimiter.test_content_length_acceptable ... ok test_content_length_too_large (oslo_middleware.tests.test_sizelimit.TestRequestBodySizeLimiter) oslo_middleware.tests.test_sizelimit.TestRequestBodySizeLimiter.test_content_length_too_large ... ok test_with_custom_header (oslo_middleware.tests.test_ssl.SSLMiddlewareTest) oslo_middleware.tests.test_ssl.SSLMiddlewareTest.test_with_custom_header ... /builddir/build/BUILD/oslo.middleware-3.38.1/oslo_middleware/ssl.py:36: DeprecationWarning: The 'oslo_middleware.ssl' module usage is deprecated, please use oslo_middleware.http_proxy_to_wsgi instead removals.removed_module(__name__, "oslo_middleware.http_proxy_to_wsgi") ok test_with_custom_header_and_forwarded_protocol (oslo_middleware.tests.test_ssl.SSLMiddlewareTest) oslo_middleware.tests.test_ssl.SSLMiddlewareTest.test_with_custom_header_and_forwarded_protocol ... ok test_with_forwarded_protocol (oslo_middleware.tests.test_ssl.SSLMiddlewareTest) oslo_middleware.tests.test_ssl.SSLMiddlewareTest.test_with_forwarded_protocol ... ok test_without_forwarded_protocol (oslo_middleware.tests.test_ssl.SSLMiddlewareTest) oslo_middleware.tests.test_ssl.SSLMiddlewareTest.test_without_forwarded_protocol ... ok test_removes_short_uuid (oslo_middleware.tests.test_stats.TestStaticMethods) oslo_middleware.tests.test_stats.TestStaticMethods.test_removes_short_uuid ... ok test_removes_uuid (oslo_middleware.tests.test_stats.TestStaticMethods) oslo_middleware.tests.test_stats.TestStaticMethods.test_removes_uuid ... ok test_strips_dots_from_version (oslo_middleware.tests.test_stats.TestStaticMethods) oslo_middleware.tests.test_stats.TestStaticMethods.test_strips_dots_from_version ... ok test_always_mutates_version_id (oslo_middleware.tests.test_stats.TestStatsMiddleware) oslo_middleware.tests.test_stats.TestStatsMiddleware.test_always_mutates_version_id ... ok test_empty_path_has_sane_stat_name (oslo_middleware.tests.test_stats.TestStatsMiddleware) oslo_middleware.tests.test_stats.TestStatsMiddleware.test_empty_path_has_sane_stat_name ... ok test_sends_counter_to_statsd (oslo_middleware.tests.test_stats.TestStatsMiddleware) oslo_middleware.tests.test_stats.TestStatsMiddleware.test_sends_counter_to_statsd ... ok test_strips_both_uuid_types_if_configured (oslo_middleware.tests.test_stats.TestStatsMiddleware) oslo_middleware.tests.test_stats.TestStatsMiddleware.test_strips_both_uuid_types_if_configured ... ok test_strips_short_uuid_if_configured (oslo_middleware.tests.test_stats.TestStatsMiddleware) oslo_middleware.tests.test_stats.TestStatsMiddleware.test_strips_short_uuid_if_configured ... ok test_strips_uuid_if_configured (oslo_middleware.tests.test_stats.TestStatsMiddleware) oslo_middleware.tests.test_stats.TestStatsMiddleware.test_strips_uuid_if_configured ... ok ---------------------------------------------------------------------- Ran 101 tests in 0.286s OK + exit 0 Processing files: python3-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bSMSzl + umask 022 + cd /builddir/build/BUILD + cd oslo.middleware-3.38.1 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/doc/python3-oslo-middleware + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/doc/python3-oslo-middleware + cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/doc/python3-oslo-middleware + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7i2uRQ + umask 022 + cd /builddir/build/BUILD + cd oslo.middleware-3.38.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/licenses/python3-oslo-middleware + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/licenses/python3-oslo-middleware + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/licenses/python3-oslo-middleware + exit 0 Provides: python3-oslo-middleware = 3.38.1-0.20191004114631.9bae80e.el8 python3.6dist(oslo.middleware) = 3.38.1 python3dist(oslo.middleware) = 3.38.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: python(abi) = 3.6 Processing files: python3-oslo-middleware-tests-3.38.1-0.20191004114631.9bae80e.el8.noarch Provides: python3-oslo-middleware-tests = 3.38.1-0.20191004114631.9bae80e.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-middleware-lang-3.38.1-0.20191004114631.9bae80e.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.w56gcD + umask 022 + cd /builddir/build/BUILD + cd oslo.middleware-3.38.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/licenses/python-oslo-middleware-lang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/licenses/python-oslo-middleware-lang + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64/usr/share/licenses/python-oslo-middleware-lang + exit 0 Provides: python-oslo-middleware-lang = 3.38.1-0.20191004114631.9bae80e.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-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 Wrote: /builddir/build/RPMS/python3-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-middleware-tests-3.38.1-0.20191004114631.9bae80e.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-middleware-lang-3.38.1-0.20191004114631.9bae80e.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qFCvJp + umask 022 + cd /builddir/build/BUILD + cd oslo.middleware-3.38.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-middleware-3.38.1-0.20191004114631.9bae80e.el8.x86_64 + exit 0 Child return code was: 0