Mock Version: 1.4.19 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-traceback2.spec'], chrootPath='/var/lib/mock/1050127-epel-8-ppc64le-1570521433.683156/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', '--bind=/tmp/mock-resolv.xdblfkx6:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xdblfkx6:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1aead434564d483ea9649ca9d9b2613a', '-D', '/var/lib/mock/1050127-epel-8-ppc64le-1570521433.683156/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xdblfkx6:/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 ppc64le --nodeps /builddir/build/SPECS/python-traceback2.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/python-traceback2-1.4.0-25.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/python-traceback2.spec'], chrootPath='/var/lib/mock/1050127-epel-8-ppc64le-1570521433.683156/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', '--bind=/tmp/mock-resolv.xdblfkx6:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xdblfkx6:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '20819f96882a4c6cbcba27b5d371b0cb', '-D', '/var/lib/mock/1050127-epel-8-ppc64le-1570521433.683156/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xdblfkx6:/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 ppc64le --nodeps /builddir/build/SPECS/python-traceback2.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1spN6x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf traceback2-1.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/traceback2-1.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd traceback2-1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv traceback2/tests . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rrXpWP + umask 022 + cd /builddir/build/BUILD + cd traceback2-1.4.0 + 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 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-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/traceback2 copying traceback2/__init__.py -> build/lib/traceback2 running egg_info writing traceback2.egg-info/PKG-INFO writing dependency_links to traceback2.egg-info/dependency_links.txt writing requirements to traceback2.egg-info/requires.txt writing top-level names to traceback2.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Gxjxy8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le ++ dirname /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le + cd traceback2-1.4.0 + 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 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-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-traceback2-1.4.0-25.el8.ppc64le running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr creating /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/lib creating /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/lib/python3.6/site-packages/traceback2 copying build/lib/traceback2/__init__.py -> /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/lib/python3.6/site-packages/traceback2 byte-compiling /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/lib/python3.6/site-packages/traceback2/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmpemo1ikt7.py' /usr/libexec/platform-python /tmp/tmpemo1ikt7.py removing /tmp/tmpemo1ikt7.py running install_egg_info running egg_info writing traceback2.egg-info/PKG-INFO writing dependency_links to traceback2.egg-info/dependency_links.txt writing requirements to traceback2.egg-info/requires.txt writing top-level names to traceback2.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt Copying traceback2.egg-info to /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/lib/python3.6/site-packages/traceback2-1.4.0-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.4.0-25.el8 --unique-debug-suffix -1.4.0-25.el8.ppc64le --unique-debug-src-base python-traceback2-1.4.0-25.el8.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/traceback2-1.4.0 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-traceback2-1.4.0-25.el8.ppc64le/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.YZvuyr + umask 022 + cd /builddir/build/BUILD + cd traceback2-1.4.0 + mv tests traceback2 + /usr/libexec/platform-python -m unittest2 -v test_clear (traceback2.tests.test_traceback.MiscTracebackCases) ... ok test_cause (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_cause ... ok test_cause_and_context (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_cause_and_context ... ok test_cause_recursive (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_cause_recursive ... ok test_context (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_context ... ok test_context_suppression (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_context_suppression ... FAIL test_simple (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_simple ... ok test_syntax_error_offset_at_eol (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_syntax_error_offset_at_eol ... ok test_bad_indentation (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_bad_indentation ... ok test_base_exception (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_base_exception ... ok test_caret (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_caret ... ok test_encoded_file (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_encoded_file ... ok test_format_exception_only_bad__str__ (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_format_exception_only_bad__str__ ... ok test_format_exception_only_undecodable__str__ (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_format_exception_only_undecodable__str__ ... ok test_nocaret (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_nocaret ... ok test_without_exception (traceback2.tests.test_traceback.SyntaxTracebackCases) traceback2.tests.test_traceback.SyntaxTracebackCases.test_without_exception ... ok test_basics (traceback2.tests.test_traceback.TestFrame) ... ok test_explicit_line (traceback2.tests.test_traceback.TestFrame) ... ok test_lazy_lines (traceback2.tests.test_traceback.TestFrame) ... ok test_extract_stack (traceback2.tests.test_traceback.TestStack) ... ok test_extract_stack_limit (traceback2.tests.test_traceback.TestStack) ... ok test_extract_stack_lookup_lines (traceback2.tests.test_traceback.TestStack) ... ok test_extract_stackup_deferred_lookup_lines (traceback2.tests.test_traceback.TestStack) ... ok test_format_bad_filename (traceback2.tests.test_traceback.TestStack) ... ok test_format_locals (traceback2.tests.test_traceback.TestStack) ... ok test_format_smoke (traceback2.tests.test_traceback.TestStack) ... ok test_format_unicode_filename (traceback2.tests.test_traceback.TestStack) ... ok test_from_list (traceback2.tests.test_traceback.TestStack) ... ok test_locals (traceback2.tests.test_traceback.TestStack) ... ok test_no_locals (traceback2.tests.test_traceback.TestStack) ... ok test_walk_stack (traceback2.tests.test_traceback.TestStack) ... ok test_walk_tb (traceback2.tests.test_traceback.TestStack) ... ok test_cause (traceback2.tests.test_traceback.TestTracebackException) ... ok test_context (traceback2.tests.test_traceback.TestTracebackException) ... ok test_format_bad_filename (traceback2.tests.test_traceback.TestTracebackException) ... skipped 'Applies to 2.x only.' test_format_unicode_filename (traceback2.tests.test_traceback.TestTracebackException) ... skipped 'Applies to 2.x only.' test_from_exception (traceback2.tests.test_traceback.TestTracebackException) ... ok test_limit (traceback2.tests.test_traceback.TestTracebackException) ... ok test_locals (traceback2.tests.test_traceback.TestTracebackException) ... ok test_lookup_lines (traceback2.tests.test_traceback.TestTracebackException) ... ok test_no_locals (traceback2.tests.test_traceback.TestTracebackException) ... ok test_smoke (traceback2.tests.test_traceback.TestTracebackException) ... ok test_syntax_no_extras (traceback2.tests.test_traceback.TestTracebackException) ... ok test_syntax_undecoded_lines (traceback2.tests.test_traceback.TestTracebackException) ... ok test_stack_format (traceback2.tests.test_traceback.TracebackFormatTests) ... ok test_traceback_format (traceback2.tests.test_traceback.TracebackFormatTests) ... ok test_traceback_format_with_cleared_frames (traceback2.tests.test_traceback.TracebackFormatTests) ... ok ====================================================================== FAIL: test_context_suppression (traceback2.tests.test_traceback.PyExcReportingTests) traceback2.tests.test_traceback.PyExcReportingTests.test_context_suppression ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/builddir/build/BUILD/traceback2-1.4.0/traceback2/tests/test_traceback.py", line 425, in test_context_suppression """, doctest.ELLIPSIS)) File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Expected: Traceback (most recent call last): File "...traceback2/tests/test_traceback.py", line ..., in test_context_suppression raise_from(ZeroDivisionError, None) File "", line 2, in raise_from ZeroDivisionError Got: Traceback (most recent call last): File "/builddir/build/BUILD/traceback2-1.4.0/traceback2/tests/test_traceback.py", line 414, in test_context_suppression raise_from(ZeroDivisionError, None) File "", line 3, in raise_from ZeroDivisionError ---------------------------------------------------------------------- Ran 47 tests in 0.585s FAILED (failures=1, skipped=2) + true + mv traceback2/tests . + exit 0 Processing files: python3-traceback2-1.4.0-25.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lS0A4K + umask 022 + cd /builddir/build/BUILD + cd traceback2-1.4.0 + DOCDIR=/builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/share/doc/python3-traceback2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/share/doc/python3-traceback2 + cp -pr AUTHORS /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/share/doc/python3-traceback2 + cp -pr ChangeLog /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/share/doc/python3-traceback2 + cp -pr README.rst /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le/usr/share/doc/python3-traceback2 + exit 0 Provides: python3-traceback2 = 1.4.0-25.el8 python3.6dist(traceback2) = 1.4.0 python3dist(traceback2) = 1.4.0 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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le Wrote: /builddir/build/RPMS/python3-traceback2-1.4.0-25.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uprbO5 + umask 022 + cd /builddir/build/BUILD + cd traceback2-1.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-traceback2-1.4.0-25.el8.ppc64le + exit 0 Child return code was: 0