Mock Version: 2.10
Mock Version: 2.10
Mock Version: 2.10
Mock Version: 2.10
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-upgradecheck.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f3edc963be0>timeout=0uid=1026gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-upgradecheck.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.src.rpm
Child return code was: 0
Mock Version: 2.10
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-upgradecheck.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f2cb39f3ba8>timeout=0uid=1026gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-upgradecheck.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.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-upgradecheck.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f2cb39f3ba8>timeout=0uid=1026gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-upgradecheck.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fLYRYQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf oslo.upgradecheck-2.1.1
+ /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.upgradecheck-2.1.1-0.20230223075119.eeedfc9.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd oslo.upgradecheck-2.1.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 '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'python-oslo-upgradecheck-2.1.1 base'
+ rm -rf oslo.upgradecheck.egg-info
+ sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
+ rm -rf requirements.txt test-requirements.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r1nPll
+ umask 022
+ cd /builddir/build/BUILD
+ cd oslo.upgradecheck-2.1.1
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s'
running build
running build_py
creating build
creating build/lib
creating build/lib/oslo_upgradecheck
creating build/lib/oslo_upgradecheck/tests
copying oslo_upgradecheck/tests/test_upgradecheck.py -> build/lib/oslo_upgradecheck/tests
copying oslo_upgradecheck/tests/test_common_checks.py -> build/lib/oslo_upgradecheck/tests
copying oslo_upgradecheck/tests/__init__.py -> build/lib/oslo_upgradecheck/tests
copying oslo_upgradecheck/upgradecheck.py -> build/lib/oslo_upgradecheck
copying oslo_upgradecheck/common_checks.py -> build/lib/oslo_upgradecheck
copying oslo_upgradecheck/_i18n.py -> build/lib/oslo_upgradecheck
copying oslo_upgradecheck/__init__.py -> build/lib/oslo_upgradecheck
running egg_info
creating oslo.upgradecheck.egg-info
writing oslo.upgradecheck.egg-info/PKG-INFO
writing dependency_links to oslo.upgradecheck.egg-info/dependency_links.txt
writing top-level names to oslo.upgradecheck.egg-info/top_level.txt
writing pbr to oslo.upgradecheck.egg-info/pbr.json
[pbr] Processing SOURCES.txt
writing manifest file 'oslo.upgradecheck.egg-info/SOURCES.txt'
[pbr] In git context, generating filelist from git
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'oslo.upgradecheck.egg-info/SOURCES.txt'
+ sphinx-build-3 -b html doc/source doc/build/html
Running Sphinx v3.4.3
[openstackdocstheme] version: 3.0.0
[openstackdocstheme] connecting html-page-context event handler
making output directory... done
[openstackdocstheme] overriding configured project name (Python) with name extracted from the package (oslo.upgradecheck); you can disable this behavior with the 'openstackdocs_auto_name' option
[openstackdocstheme] using theme from /usr/lib/python3.9/site-packages/openstackdocstheme/theme
[openstackdocstheme] no /builddir/build/BUILD/oslo.upgradecheck-2.1.1/.gitreview found
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 5 source files that are out of date
updating environment: [new config] 5 added, 0 changed, 0 removed
reading sources... [ 20%] api
reading sources... [ 40%] contributing
reading sources... [ 60%] index
reading sources... [ 80%] installation
reading sources... [100%] usage
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 20%] api
writing output... [ 40%] contributing
writing output... [ 60%] index
writing output... [ 80%] installation
writing output... [100%] usage
generating indices... genindex py-modindex [openstackdocstheme] could not determine last_updated for 'py-modindex'
done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.
The HTML pages are in doc/build/html.
+ rm -rf doc/build/html/.doctrees doc/build/html/.buildinfo
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZlKvEz
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64
++ dirname /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64
+ cd oslo.upgradecheck-2.1.1
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.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-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr
creating /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib
creating /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9
creating /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages
creating /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck
copying build/lib/oslo_upgradecheck/__init__.py -> /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck
copying build/lib/oslo_upgradecheck/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck
copying build/lib/oslo_upgradecheck/common_checks.py -> /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck
copying build/lib/oslo_upgradecheck/upgradecheck.py -> /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck
creating /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/tests
copying build/lib/oslo_upgradecheck/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/tests
copying build/lib/oslo_upgradecheck/tests/test_common_checks.py -> /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/tests
copying build/lib/oslo_upgradecheck/tests/test_upgradecheck.py -> /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/tests
byte-compiling /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/__init__.py to __init__.cpython-39.pyc
byte-compiling /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/_i18n.py to _i18n.cpython-39.pyc
byte-compiling /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/common_checks.py to common_checks.cpython-39.pyc
byte-compiling /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/upgradecheck.py to upgradecheck.cpython-39.pyc
byte-compiling /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/tests/__init__.py to __init__.cpython-39.pyc
byte-compiling /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/tests/test_common_checks.py to test_common_checks.cpython-39.pyc
byte-compiling /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo_upgradecheck/tests/test_upgradecheck.py to test_upgradecheck.cpython-39.pyc
writing byte-compilation script '/tmp/tmp77x2u0b_.py'
/usr/bin/python3 /tmp/tmp77x2u0b_.py
removing /tmp/tmp77x2u0b_.py
running install_egg_info
running egg_info
writing oslo.upgradecheck.egg-info/PKG-INFO
writing dependency_links to oslo.upgradecheck.egg-info/dependency_links.txt
writing top-level names to oslo.upgradecheck.egg-info/top_level.txt
writing pbr to oslo.upgradecheck.egg-info/pbr.json
[pbr] Processing SOURCES.txt
[pbr] In git context, generating filelist from git
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'oslo.upgradecheck.egg-info/SOURCES.txt'
Copying oslo.upgradecheck.egg-info to /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9/site-packages/oslo.upgradecheck-2.1.1-py3.9.egg-info
running install_scripts
+ rm -rfv /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/bin/__pycache__
+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.1-0.20230223075119.eeedfc9.el9 --unique-debug-suffix -2.1.1-0.20230223075119.eeedfc9.el9.x86_64 --unique-debug-src-base python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/oslo.upgradecheck-2.1.1
find: 'debug': No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0
Bytecompiling .py files below /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/lib/python3.9 using python3.9
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.n0goIa
+ umask 022
+ cd /builddir/build/BUILD
+ cd oslo.upgradecheck-2.1.1
+ export PYTHONPATH=.
+ PYTHONPATH=.
+ PYTHON=/usr/bin/python3
+ stestr-3 run
{2} oslo_upgradecheck.tests.test_common_checks.TestUpgradeCheckPolicyJSON.test_default_policy_yaml_file_pass_upgrade [0.003032s] ... ok
{2} oslo_upgradecheck.tests.test_common_checks.TestUpgradeCheckPolicyJSON.test_no_policy_file_pass_upgrade [0.001761s] ... ok
{2} oslo_upgradecheck.tests.test_common_checks.TestUpgradeCheckPolicyJSON.test_old_default_policy_json_file_fail_upgrade [0.002144s] ... ok
+-------------------------------------------+
| Upgrade Check Results                     |
+-------------------------------------------+
| Check: Policy File JSON to YAML Migration |
| Result: Success                           |
| Details: None                             |
+-------------------------------------------+
+-------------------------------------------+
| Upgrade Check Results                     |
+-------------------------------------------+
| Check: Policy File JSON to YAML Migration |
| Result: Success                           |
| Details: None                             |
+-------------------------------------------+
+----------------------------------------------------------------------+
| Upgrade Check Results                                                |
+----------------------------------------------------------------------+
| Check: Policy File JSON to YAML Migration                            |
| Result: Failure                                                      |
| Details: Your policy file is JSON-formatted which is deprecated. You |
|   need to switch to YAML-formatted file. Use the                     |
|   ``oslopolicy-convert-json-to-yaml`` tool to convert the            |
|   existing JSON-formatted files to YAML in a backwards-              |
|   compatible manner: https://docs.openstack.org/oslo.policy/         |
|   latest/cli/oslopolicy-convert-json-to-yaml.html.                   |
+----------------------------------------------------------------------+
{0} oslo_upgradecheck.tests.test_upgradecheck.TestMain.test_main_exception [0.005175s] ... ok
{0} oslo_upgradecheck.tests.test_upgradecheck.TestMain.test_main_success [0.001076s] ... ok
{0} oslo_upgradecheck.tests.test_upgradecheck.TestUpgradeCommands.test_get_details [0.000312s] ... ok
Error:
Traceback (most recent call last):
  File "/builddir/build/BUILD/oslo.upgradecheck-2.1.1/oslo_upgradecheck/upgradecheck.py", line 195, in run
    return conf.command.action_fn()
  File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__
    return self._mock_call(*args, **kwargs)
  File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call
    return self._execute_mock_call(*args, **kwargs)
  File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call
    raise effect
Exception: test exception
+-----------------------+
| Upgrade Check Results |
+-----------------------+
{1} oslo_upgradecheck.tests.test_common_checks.TestUpgradeCheckPolicyJSON.test_policy_yaml_file_pass_upgrade [0.002920s] ... ok
{1} oslo_upgradecheck.tests.test_upgradecheck.TestUpgradeCheckResult.test_details [0.000272s] ... ok
{1} oslo_upgradecheck.tests.test_upgradecheck.TestUpgradeCommands.test_check [0.000607s] ... ok
+-------------------------------------------+
| Upgrade Check Results                     |
+-------------------------------------------+
| Check: Policy File JSON to YAML Migration |
| Result: Success                           |
| Details: None                             |
+-------------------------------------------+
+--------------------------+
| Upgrade Check Results    |
+--------------------------+
| Check: always succeeds   |
| Result: Success          |
| Details: Always succeeds |
+--------------------------+
| Check: always warns      |
| Result: Warning          |
| Details: Always warns    |
+--------------------------+
| Check: always fails      |
| Result: Failure          |
| Details: Always fails    |
+--------------------------+
{3} oslo_upgradecheck.tests.test_common_checks.TestUpgradeCheckPolicyJSON.test_policy_json_file_fail_upgrade [0.003647s] ... ok
+--------------------------+
| Upgrade Check Results    |
+--------------------------+
| Check: always succeeds   |
| Result: Success          |
| Details: Always succeeds |
+--------------------------+
| Check: always fails      |
| Result: Failure          |
| Details: Always fails    |
+--------------------------+
{3} oslo_upgradecheck.tests.test_upgradecheck.TestExampleFile.test_example_main [0.127378s] ... ok
{3} oslo_upgradecheck.tests.test_upgradecheck.TestMain.test_main [0.004542s] ... ok
+----------------------------------------------------------------------+
| Upgrade Check Results                                                |
+----------------------------------------------------------------------+
| Check: Policy File JSON to YAML Migration                            |
| Result: Failure                                                      |
| Details: Your policy file is JSON-formatted which is deprecated. You |
|   need to switch to YAML-formatted file. Use the                     |
|   ``oslopolicy-convert-json-to-yaml`` tool to convert the            |
|   existing JSON-formatted files to YAML in a backwards-              |
|   compatible manner: https://docs.openstack.org/oslo.policy/         |
|   latest/cli/oslopolicy-convert-json-to-yaml.html.                   |
+----------------------------------------------------------------------+
+--------------------------+
| Upgrade Check Results    |
+--------------------------+
| Check: always succeeds   |
| Result: Success          |
| Details: Always succeeds |
+--------------------------+
| Check: always warns      |
| Result: Warning          |
| Details: Always warns    |
+--------------------------+
| Check: always fails      |
| Result: Failure          |
| Details: Always fails    |
+--------------------------+
======
Totals
======
Ran: 12 tests in 0.2030 sec.
 - Passed: 12
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 0.1529 sec.
==============
Worker Balance
==============
 - Worker 0 (3 tests) => 0:00:00.006784
 - Worker 1 (3 tests) => 0:00:00.004052
 - Worker 2 (3 tests) => 0:00:00.007103
 - Worker 3 (3 tests) => 0:00:00.136348
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: python3-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DUDBYz
+ umask 022
+ cd /builddir/build/BUILD
+ cd oslo.upgradecheck-2.1.1
+ DOCDIR=/builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/doc/python3-oslo-upgradecheck
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/doc/python3-oslo-upgradecheck
+ cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/doc/python3-oslo-upgradecheck
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.i87c6T
+ umask 022
+ cd /builddir/build/BUILD
+ cd oslo.upgradecheck-2.1.1
+ LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/licenses/python3-oslo-upgradecheck
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/licenses/python3-oslo-upgradecheck
+ cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/licenses/python3-oslo-upgradecheck
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: python-oslo-upgradecheck = 2.1.1-0.20230223075119.eeedfc9.el9 python3-oslo-upgradecheck = 2.1.1-0.20230223075119.eeedfc9.el9 python3.9-oslo-upgradecheck = 2.1.1-0.20230223075119.eeedfc9.el9 python3.9dist(oslo-upgradecheck) = 2.1.1 python3.9dist(oslo.upgradecheck) = 2.1.1 python3dist(oslo-upgradecheck) = 2.1.1 python3dist(oslo.upgradecheck) = 2.1.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.9
Obsoletes: python-oslo-upgradecheck < 2.1.1-0.20230223075119.eeedfc9.el9 python39-oslo-upgradecheck < 2.1.1-0.20230223075119.eeedfc9.el9
Processing files: python-oslo-upgradecheck-doc-2.1.1-0.20230223075119.eeedfc9.el9.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Dg9PRV
+ umask 022
+ cd /builddir/build/BUILD
+ cd oslo.upgradecheck-2.1.1
+ DOCDIR=/builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/doc/python-oslo-upgradecheck-doc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/doc/python-oslo-upgradecheck-doc
+ cp -pr doc/build/html /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/doc/python-oslo-upgradecheck-doc
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ll5yqL
+ umask 022
+ cd /builddir/build/BUILD
+ cd oslo.upgradecheck-2.1.1
+ LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/licenses/python-oslo-upgradecheck-doc
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/licenses/python-oslo-upgradecheck-doc
+ cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64/usr/share/licenses/python-oslo-upgradecheck-doc
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: python-oslo-upgradecheck-doc = 2.1.1-0.20230223075119.eeedfc9.el9
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-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64
Wrote: /builddir/build/RPMS/python3-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.noarch.rpm
Wrote: /builddir/build/RPMS/python-oslo-upgradecheck-doc-2.1.1-0.20230223075119.eeedfc9.el9.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AhxRSA
+ umask 022
+ cd /builddir/build/BUILD
+ cd oslo.upgradecheck-2.1.1
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-upgradecheck-2.1.1-0.20230223075119.eeedfc9.el9.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0