<86>Dec 27 03:53:44 userdel[1088120]: delete user 'rooter' <86>Dec 27 03:53:44 userdel[1088120]: removed group 'rooter' owned by 'rooter' <86>Dec 27 03:53:44 userdel[1088120]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 27 03:53:44 groupadd[1088131]: group added to /etc/group: name=rooter, GID=624 <86>Dec 27 03:53:44 groupadd[1088131]: group added to /etc/gshadow: name=rooter <86>Dec 27 03:53:44 groupadd[1088131]: new group: name=rooter, GID=624 <86>Dec 27 03:53:44 useradd[1088136]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash <86>Dec 27 03:53:44 userdel[1088148]: delete user 'builder' <86>Dec 27 03:53:44 userdel[1088148]: removed group 'builder' owned by 'builder' <86>Dec 27 03:53:44 userdel[1088148]: removed shadow group 'builder' owned by 'builder' <86>Dec 27 03:53:44 groupadd[1088157]: group added to /etc/group: name=builder, GID=625 <86>Dec 27 03:53:44 groupadd[1088157]: group added to /etc/gshadow: name=builder <86>Dec 27 03:53:44 groupadd[1088157]: new group: name=builder, GID=625 <86>Dec 27 03:53:44 useradd[1088163]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash <13>Dec 27 03:53:46 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 27 03:53:46 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 27 03:53:46 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 27 03:53:46 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Dec 27 03:53:46 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 27 03:53:46 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Dec 27 03:53:46 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Dec 27 03:53:46 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 27 03:53:46 rpmi: libcrypto1.1-1.1.1i-alt1 p9+263105.100.1.1 1607446230 installed <13>Dec 27 03:53:46 rpmi: libssl1.1-1.1.1i-alt1 p9+263105.100.1.1 1607446230 installed <13>Dec 27 03:53:46 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 27 03:53:46 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 27 03:53:47 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 27 03:53:47 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 27 03:53:47 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 27 03:53:51 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Dec 27 03:53:51 rpmi: groff-base-1.22.3-alt2 1502488668 installed <13>Dec 27 03:53:51 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Dec 27 03:53:51 rpmi: python3-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>Dec 27 03:53:51 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 27 03:53:51 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Dec 27 03:53:51 rpmi: python3-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Dec 27 03:53:51 rpmi: python3-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Dec 27 03:53:51 rpmi: python3-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Dec 27 03:53:51 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Dec 27 03:53:51 rpmi: python3-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>Dec 27 03:53:51 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>Dec 27 03:53:51 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>Dec 27 03:53:51 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Dec 27 03:53:51 rpmi: python-sphinx-objects.inv-1:2.3.8.20190514-alt1 p9+229421.100.1.1 1557927689 installed <13>Dec 27 03:53:51 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633038 installed <13>Dec 27 03:53:51 rpmi: python-module-markupsafe-1.1.1-alt1 p9+254838.60.14.1 1602882123 installed <13>Dec 27 03:53:51 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Dec 27 03:53:51 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: libxapian-1.4.15-alt1 p9+258827.100.1.1 1601305414 installed <13>Dec 27 03:53:51 rpmi: libsqlite3-3.33.0-alt1 p9+258834.40.2.1 1601364885 installed <13>Dec 27 03:53:51 rpmi: libpipeline-1.5.1-alt2_1 sisyphus+226877.100.1.1 1554743540 installed <13>Dec 27 03:53:51 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Dec 27 03:53:51 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Dec 27 03:53:51 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Dec 27 03:53:51 rpmi: libxslt-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513910 installed <13>Dec 27 03:53:51 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Dec 27 03:53:51 groupadd[1110277]: group added to /etc/group: name=_keytab, GID=499 <13>Dec 27 03:53:51 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <13>Dec 27 03:53:51 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Dec 27 03:53:51 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Dec 27 03:53:51 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Dec 27 03:53:51 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 27 03:53:51 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-json-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-module-jinja2-2.11.2-alt1 p9+254838.40.14.1 1602882082 installed <13>Dec 27 03:53:51 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:51 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Dec 27 03:53:52 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Dec 27 03:53:52 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Dec 27 03:53:52 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>Dec 27 03:53:52 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:52 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:52 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:52 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Dec 27 03:53:52 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316502 installed <13>Dec 27 03:53:52 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>Dec 27 03:53:52 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Dec 27 03:53:52 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Dec 27 03:53:52 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Dec 27 03:53:52 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus+227493.600.1.3 1555835341 installed <13>Dec 27 03:53:52 rpmi: python-module-lxml-4.4.2-alt1 p9+244111.100.1.1 1578758711 installed <13>Dec 27 03:53:52 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Dec 27 03:53:52 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Dec 27 03:53:52 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Dec 27 03:53:52 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Dec 27 03:53:52 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Dec 27 03:53:52 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Dec 27 03:53:52 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Dec 27 03:53:53 rpmi: python-module-cryptography-2.6.1-alt1 sisyphus+225625.24400.91.1 1555299604 installed <13>Dec 27 03:53:53 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Dec 27 03:53:53 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555293606 installed <13>Dec 27 03:53:53 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Dec 27 03:53:53 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Dec 27 03:53:53 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Dec 27 03:53:53 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Dec 27 03:53:53 rpmi: python-module-urllib3-2:1.25.6-alt1 p9+250567.200.5.1 1590420860 installed <13>Dec 27 03:53:53 rpmi: python-module-requests-2.23.0-alt1 p9+250567.400.5.1 1590420890 installed <13>Dec 27 03:53:53 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Dec 27 03:53:53 rpmi: python-modules-sqlite3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:53:53 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555285684 installed <13>Dec 27 03:53:53 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>Dec 27 03:53:53 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>Dec 27 03:53:53 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968852 installed <13>Dec 27 03:53:53 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus+228364.300.4.1 1556886257 installed <13>Dec 27 03:53:53 rpmi: python-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>Dec 27 03:53:53 rpmi: python-module-xapian-1.4.15-alt1 p9+258827.200.2.1 1601308059 installed <13>Dec 27 03:53:53 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt5 p9+247680.340.15.1 1585331199 installed <13>Dec 27 03:53:53 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Dec 27 03:53:53 rpmi: python-module-Pygments-2.4.2-alt3 p9+263160.400.4.1 1607939146 installed <13>Dec 27 03:53:53 rpmi: python-module-sphinx-1:1.6.5-alt8 p9+250806.100.2.1 1588178467 installed <13>Dec 27 03:53:53 rpmi: python-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>Dec 27 03:53:53 rpmi: less-530-alt1 sisyphus+226367.200.2.2 1554151813 installed <13>Dec 27 03:53:53 rpmi: man-db-2.8.5-alt2 p9+240285.100.1.1 1572999807 installed <13>Dec 27 03:53:53 rpmi: python-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>Dec 27 03:53:53 rpmi: python-module-ptyprocess-0.6.0-alt1 sisyphus+228365.1600.4.1 1556646134 installed <13>Dec 27 03:53:53 rpmi: python-module-pyte-0.4.9-alt1.git20141204.1.1.1 sisyphus+228366.1700.2.3 1556707322 installed <13>Dec 27 03:53:53 rpmi: python3-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>Dec 27 03:53:53 rpmi: python3-module-ptyprocess-0.6.0-alt1 sisyphus+228365.1600.4.1 1556646134 installed <13>Dec 27 03:53:53 rpmi: openssl-1.1.1i-alt1 p9+263105.100.1.1 1607446230 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-pexpect-4.6-alt3.nosrc.rpm <13>Dec 27 03:54:02 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:54:02 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 27 03:54:02 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Dec 27 03:54:02 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 27 03:54:02 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Dec 27 03:54:02 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 27 03:54:02 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Dec 27 03:54:02 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Installing python-module-pexpect-4.6-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.78257 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-pexpect-4.6 + echo 'Source #0 (python-module-pexpect-4.6.tar):' Source #0 (python-module-pexpect-4.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-pexpect-4.6.tar + cd python-module-pexpect-4.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (python-module-pexpect-4.6-alt.patch):' Patch #0 (python-module-pexpect-4.6-alt.patch): + /usr/bin/patch -p1 patching file tests/test_env.py patching file tests/test_expect.py patching file tests/test_interact.py patching file tests/test_performance.py patching file tests/test_replwrap.py + cp -a . ../python3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pexpect-4.6 + xargs sed -i '1s|#!/usr/bin/env python[[:space:]]*$|#!/usr/bin/env python3|' + find -type f -name '*.py' + find tests -type f -name '*.py' -exec 2to3 -f print -f imports -w -n '{}' + RefactoringTool: Refactored tests/depricated_test_filedescriptor.py RefactoringTool: Refactored tests/list100.py RefactoringTool: Refactored tests/pexpectTest.py RefactoringTool: Refactored tests/qa.py RefactoringTool: Refactored tests/swapcase_echo.py RefactoringTool: Refactored tests/test_FSM.py RefactoringTool: Refactored tests/test_filedescriptor.py RefactoringTool: Refactored tests/test_socket.py RefactoringTool: Refactored tests/ticker.py RefactoringTool: Refactored tests/platform_checks/check.py --- tests/depricated_test_filedescriptor.py (original) +++ tests/depricated_test_filedescriptor.py (refactored) @@ -25,7 +25,7 @@ class ExpectTestCase(PexpectTestCase.PexpectTestCase): def setUp(self): - print(self.id()) + print((self.id())) PexpectTestCase.PexpectTestCase.setUp(self) def test_fd (self): --- tests/list100.py (original) +++ tests/list100.py (refactored) @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -print(list(range(100))) +print((list(range(100)))) --- tests/pexpectTest.py (original) +++ tests/pexpectTest.py (refactored) @@ -41,13 +41,13 @@ # will mess up the formatting for the viewer output += child.read_nonblocking(timeout=timeLimit).replace("\r","") except pexpect.EOF as e: - print(str(e)) + print((str(e))) # process terminated normally break except pexpect.TIMEOUT as e: - print(str(e)) + print((str(e))) output += "\nProcess aborted by FlashTest after %s seconds.\n" % timeLimit - print(child.isalive()) + print((child.isalive())) child.kill(9) break @@ -63,7 +63,7 @@ result, duration, exitStatus = getProcessResults(cmd) -print("result: %s" % result) -print("duration: %s" % duration) -print("exit-status: %s" % exitStatus) +print(("result: %s" % result)) +print(("duration: %s" % duration)) +print(("exit-status: %s" % exitStatus)) --- tests/qa.py (original) +++ tests/qa.py (refactored) @@ -18,9 +18,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ''' -import commands +import subprocess import signal signal.signal(signal.SIGCHLD, signal.SIG_IGN) -print(commands.getoutput('/bin/ls -l')) +print((subprocess.getoutput('/bin/ls -l'))) --- tests/swapcase_echo.py (original) +++ tests/swapcase_echo.py (refactored) @@ -22,5 +22,5 @@ while True: x = raw_input () time.sleep(1) # without this delay the test would fail about 75% of the time. Why? - print(x.swapcase()) + print((x.swapcase())) sys.stdout.flush() --- tests/test_FSM.py (original) +++ tests/test_FSM.py (refactored) @@ -4,7 +4,7 @@ try: import builtins except ImportError: - import __builtin__ as builtins + import builtins as builtins PY3 = (sys.version_info[0] >= 3) input_name = 'input' if PY3 else 'raw_input' --- tests/test_filedescriptor.py (original) +++ tests/test_filedescriptor.py (refactored) @@ -26,7 +26,7 @@ class ExpectTestCase(PexpectTestCase.PexpectTestCase): def setUp(self): - print(self.id()) + print((self.id())) PexpectTestCase.PexpectTestCase.setUp(self) def test_fd (self): --- tests/test_socket.py (original) +++ tests/test_socket.py (refactored) @@ -37,7 +37,7 @@ class ExpectTestCase(PexpectTestCase.PexpectTestCase): def setUp(self): - print(self.id()) + print((self.id())) PexpectTestCase.PexpectTestCase.setUp(self) self.host = '127.0.0.1' self.port = 49152 + 10000 --- tests/ticker.py (original) +++ tests/ticker.py (refactored) @@ -22,7 +22,7 @@ import time, sys for i in range(5): - print "tick" + print("tick") time.sleep(1) sys.exit(0) --- tests/platform_checks/check.py (original) +++ tests/platform_checks/check.py (refactored) @@ -5,24 +5,24 @@ import pty def signal_handler (signum, frame): - print 'Signal handler called with signal:', signum - print 'signal.SIGCHLD=', signal.SIGKILL + print('Signal handler called with signal:', signum) + print('signal.SIGCHLD=', signal.SIGKILL) # First thing we do is set up a handler for SIGCHLD. signal.signal (signal.SIGCHLD, signal.SIG_IGN) -print 'PART 1 -- Test signal handling with empty pipe.' +print('PART 1 -- Test signal handling with empty pipe.') # Create a child process for us to kill. try: pid, fd = pty.fork() except Exception as e: - print str(e) + print(str(e)) if pid == 0: # os.write (sys.stdout.fileno(), 'This is a test.\n This is a test.') time.sleep(10000) -print 'Sending SIGKILL to child pid:', pid +print('Sending SIGKILL to child pid:', pid) RefactoringTool: Refactored tests/platform_checks/check2.py RefactoringTool: Refactored tests/platform_checks/check_control_terminal.py RefactoringTool: Refactored tests/platform_checks/check_handler.py os.kill (pid, signal.SIGKILL) # SIGCHLD should interrupt sleep. @@ -30,31 +30,31 @@ # It is possible that the signal handler will get called # before we try to sleep, but this has not happened yet. # But in that case we can only tell by order of printed output. -print 'Entering sleep...' +print('Entering sleep...') try: time.sleep(10) except: - print 'sleep was interrupted by signal.' + print('sleep was interrupted by signal.') # Just for fun let's see if the process is alive. try: os.kill(pid, 0) - print 'Child is alive. This is ambiguous because it may be a Zombie.' + print('Child is alive. This is ambiguous because it may be a Zombie.') except OSError as e: - print 'Child appears to be dead.' + print('Child appears to be dead.') -print 'PART 2 -- Test signal handling with full pipe.' +print('PART 2 -- Test signal handling with full pipe.') # Create a child process for us to kill. try: pid, fd = pty.fork() except Exception as e: - print str(e) + print(str(e)) if pid == 0: os.write (sys.stdout.fileno(), 'This is a test.\n This is a test.') time.sleep(10000) -print 'Sending SIGKILL to child pid:', pid +print('Sending SIGKILL to child pid:', pid) os.kill (pid, signal.SIGKILL) # SIGCHLD should interrupt sleep. @@ -62,16 +62,16 @@ # It is possible that the signal handler will get called # before we try to sleep, but this has not happened yet. # But in that case we can only tell by order of printed output. -print 'Entering sleep...' +print('Entering sleep...') try: time.sleep(10) except: - print 'sleep was interrupted by signal.' + print('sleep was interrupted by signal.') # Just for fun let's see if the process is alive. try: os.kill(pid, 0) - print 'Child is alive. This is ambiguous because it may be a Zombie.' + print('Child is alive. This is ambiguous because it may be a Zombie.') except OSError as e: - print 'Child appears to be dead.' + print('Child appears to be dead.') --- tests/platform_checks/check2.py (original) +++ tests/platform_checks/check2.py (refactored) @@ -4,8 +4,8 @@ import time def signal_handler (signum, frame): - print 'Signal handler called with signal:', signum - print 'signal.SIGCHLD=', signal.SIGKILL + print('Signal handler called with signal:', signum) + print('signal.SIGCHLD=', signal.SIGKILL) # Create a child process for us to kill. pid = os.fork() @@ -15,7 +15,7 @@ #signal.signal (signal.SIGCHLD, signal.SIG_IGN) signal.signal (signal.SIGCHLD, signal_handler) -print 'Sending SIGKILL to child pid:', pid +print('Sending SIGKILL to child pid:', pid) os.kill (pid, signal.SIGKILL) # SIGCHLD should interrupt sleep. @@ -27,18 +27,18 @@ try: time.sleep(10) except: - print 'sleep was interrupted by signal.' + print('sleep was interrupted by signal.') interrupted = 1 if not interrupted: - print 'ERROR. Signal did not interrupt sleep.' + print('ERROR. Signal did not interrupt sleep.') else: - print 'Signal interrupted sleep. This is good.' + print('Signal interrupted sleep. This is good.') # Let's see if the process is alive. try: os.kill(pid, 0) - print 'Child is alive. This is ambiguous because it may be a Zombie.' + print('Child is alive. This is ambiguous because it may be a Zombie.') except OSError as e: - print 'Child appears to be dead.' + print('Child appears to be dead.') --- tests/platform_checks/check_control_terminal.py (original) +++ tests/platform_checks/check_control_terminal.py (refactored) @@ -12,8 +12,8 @@ # Assume ws_xpixel and ws_ypixel are zero. s = struct.pack("HHHH", r,c,0,0) x = fcntl.ioctl(sys.stdout.fileno(), termios.TIOCSWINSZ, s) -print 'stdin tty:', os.ttyname(0) -print 'stdout tty:', os.ttyname(1) -print 'controlling terminal:', os.ctermid() -print 'winsize %d,%d' % getwinsize() -print 'ENDTEST' +print('stdin tty:', os.ttyname(0)) +print('stdout tty:', os.ttyname(1)) +print('controlling terminal:', os.ctermid()) +print('winsize %d,%d' % getwinsize()) +print('ENDTEST') --- tests/platform_checks/check_handler.py (originalRefactoringTool: Refactored tests/platform_checks/check_read.py RefactoringTool: Refactored tests/platform_checks/check_signals.py ) +++ tests/platform_checks/check_handler.py (refactored) @@ -17,15 +17,15 @@ return original_flags def signal_handler (signum, frame): - print '' + print('') global GLOBAL_SIGCHLD_RECEIVED status = os.waitpid (-1, os.WNOHANG) if status[0] == 0: - print 'No process for waitpid:', status + print('No process for waitpid:', status) else: - print 'Status:', status - print 'WIFEXITED(status):', os.WIFEXITED(status[1]) - print 'WEXITSTATUS(status):', os.WEXITSTATUS(status[1]) + print('Status:', status) + print('WIFEXITED(status):', os.WIFEXITED(status[1])) + print('WEXITSTATUS(status):', os.WEXITSTATUS(status[1])) GLOBAL_SIGCHLD_RECEIVED = 1 def main (): @@ -36,23 +36,23 @@ time.sleep(10000) nonblock (fd) tty.setraw(fd) #STDIN_FILENO) - print 'Sending SIGKILL to child pid:', pid + print('Sending SIGKILL to child pid:', pid) time.sleep(2) os.kill (pid, signal.SIGKILL) - print 'Entering to sleep...' + print('Entering to sleep...') try: time.sleep(2) except: - print 'Sleep interrupted' + print('Sleep interrupted') try: os.kill(pid, 0) - print '\tChild is alive. This is ambiguous because it may be a Zombie.' + print('\tChild is alive. This is ambiguous because it may be a Zombie.') except OSError as e: - print '\tChild appears to be dead.' + print('\tChild appears to be dead.') # print str(e) - print - print 'Reading from master fd:', os.read (fd, 1000) + print() + print('Reading from master fd:', os.read (fd, 1000)) --- tests/platform_checks/check_read.py (original) +++ tests/platform_checks/check_read.py (refactored) @@ -1,35 +1,35 @@ import os filename = os.tmpnam() -print 'filename:', filename +print('filename:', filename) fd_out = os.open(filename, os.O_CREAT | os.O_WRONLY) -print 'fd_out:', fd_out +print('fd_out:', fd_out) os.write (fd_out, 'This is a test.\n') os.close(fd_out) -print -print 'testing read on good fd...' +print() +print('testing read on good fd...') fd_in = os.open (filename, os.O_RDONLY) -print 'fd_in:', fd_in +print('fd_in:', fd_in) while 1: data_in = os.read(fd_in, 1) - print 'data_in:', data_in + print('data_in:', data_in) if data_in == '': - print 'data_in was empty' + print('data_in was empty') break #sys.exit(1) os.close(fd_in) -print -print -print 'testing read on closed fd...' +print() +print() +print('testing read on closed fd...') fd_in = os.open ('test_read.py', os.O_RDONLY) -print 'fd_in:', fd_in +print('fd_in:', fd_in) while 1: data_in = os.read(fd_in, 1) - print 'data_in:', data_in + print('data_in:', data_in) if data_in == '': - print 'data_in was empty' + print('data_in was empty') break os.close(fd_in) d = os.read(fd_in, 1) # fd_in should be closed now... if s == '': - print 'd is empty. good.' + print('d is empty. good.') --- tests/platform_checks/check_signals.py (original) +++ tests/platform_checks/check_signals.py (refactored) @@ -7,11 +7,11 @@ GLOBAL_SIGCHLD_RECEIVED = 0 def signal_handler (signum, frame): - print '' + print('') global GLOBAL_SIGCHLD_RECEIVED status = os.waitpid (-1, os.WNOHANG) - print 'WIFEXITED(status):', os.WIFEXITED(status) - print 'WEXITSTATUS(status):', os.WEXITSTATUS(status) + print('WIFEXITED(status):', os.WIFEXITED(status)) + print('WEXITSTATUS(status):', os.WEXITSTATUS(status)) GLOBAL_SIGCHLD_RECEIVED = 1 def main (): @@ -25,10 +25,10 @@ # sig_test ('handler', 'osfork', 'no') def sig_test (sig_handler_type, fork_type, child_output): - print 'Testing with:' - print '\tsig_handler_type:', sig_handler_type - print '\tfork_type:', fork_type - print '\tchild_output:', child_output + print('Testing with:') + print('\tsig_handler_type:', sig_handler_type) + print('\tfork_type:', fork_type) + print('\tchild_output:', child_output) if sig_handler_type == 'SIG_IGN': signal.signal (signal.SIGCHLD, signal.SIG_IGN) @@ -57,11 +57,11 @@ pass try: os.kill(pid, 0) - print '\tChild is alive. This is ambiguous because it may be a Zombie.' + print('\tChild is alive. This is ambiguousRefactoringTool: Files that were modified: RefactoringTool: tests/depricated_test_filedescriptor.py RefactoringTool: tests/list100.py RefactoringTool: tests/pexpectTest.py RefactoringTool: tests/qa.py RefactoringTool: tests/swapcase_echo.py RefactoringTool: tests/test_FSM.py RefactoringTool: tests/test_filedescriptor.py RefactoringTool: tests/test_socket.py RefactoringTool: tests/ticker.py RefactoringTool: tests/platform_checks/check.py RefactoringTool: tests/platform_checks/check2.py RefactoringTool: tests/platform_checks/check_control_terminal.py RefactoringTool: tests/platform_checks/check_handler.py RefactoringTool: tests/platform_checks/check_read.py RefactoringTool: tests/platform_checks/check_signals.py because it may be a Zombie.') except OSError as e: - print '\tChild appears to be dead.' + print('\tChild appears to be dead.') # print str(e) - print + print() if __name__ == '__main__': main () + find tests -type f -name '*.py' + xargs sed -i 's/\(.*pexpect.spawn(\x27python\)\(\(\x27\| \)\)/\13\2/' + sed -i 's|self.runfunc(\x27python exit1.py\x27|self.runfunc(\x27python3 exit1.py\x27|' tests/test_run.py + sed -i '1s|#!/usr/bin/env python[[:space:]]*$|#!/usr/bin/env python3|' tests/fakessh/ssh + popd ~/RPM/BUILD/python-module-pexpect-4.6 + install -pm644 /usr/share/python-sphinx/objects.inv ./ + '[' -e ./conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template ./conf.py + ln -s ../objects.inv doc/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.56430 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pexpect-4.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/pexpect copying pexpect/utils.py -> build/lib/pexpect copying pexpect/spawnbase.py -> build/lib/pexpect copying pexpect/screen.py -> build/lib/pexpect copying pexpect/run.py -> build/lib/pexpect copying pexpect/replwrap.py -> build/lib/pexpect copying pexpect/pxssh.py -> build/lib/pexpect copying pexpect/pty_spawn.py -> build/lib/pexpect copying pexpect/popen_spawn.py -> build/lib/pexpect copying pexpect/fdpexpect.py -> build/lib/pexpect copying pexpect/expect.py -> build/lib/pexpect copying pexpect/exceptions.py -> build/lib/pexpect copying pexpect/_async.py -> build/lib/pexpect copying pexpect/__init__.py -> build/lib/pexpect copying pexpect/FSM.py -> build/lib/pexpect copying pexpect/ANSI.py -> build/lib/pexpect copying pexpect/bashrc.sh -> build/lib/pexpect + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pexpect-4.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/pexpect copying pexpect/ANSI.py -> build/lib/pexpect copying pexpect/FSM.py -> build/lib/pexpect copying pexpect/__init__.py -> build/lib/pexpect copying pexpect/_async.py -> build/lib/pexpect copying pexpect/exceptions.py -> build/lib/pexpect copying pexpect/expect.py -> build/lib/pexpect copying pexpect/fdpexpect.py -> build/lib/pexpect copying pexpect/popen_spawn.py -> build/lib/pexpect copying pexpect/pty_spawn.py -> build/lib/pexpect copying pexpect/pxssh.py -> build/lib/pexpect copying pexpect/replwrap.py -> build/lib/pexpect copying pexpect/run.py -> build/lib/pexpect copying pexpect/screen.py -> build/lib/pexpect copying pexpect/spawnbase.py -> build/lib/pexpect copying pexpect/utils.py -> build/lib/pexpect copying pexpect/bashrc.sh -> build/lib/pexpect /usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) + popd ~/RPM/BUILD/python-module-pexpect-4.6 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.6398 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-pexpect-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-pexpect-buildroot + cd python-module-pexpect-4.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-pexpect-buildroot --force /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running install_lib creating /usr/src/tmp/python-module-pexpect-buildroot creating /usr/src/tmp/python-module-pexpect-buildroot/usr creating /usr/src/tmp/python-module-pexpect-buildroot/usr/lib creating /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/bashrc.sh -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/ANSI.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/FSM.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/__init__.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/_async.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/exceptions.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/expect.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/fdpexpect.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/popen_spawn.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/pty_spawn.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/pxssh.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/replwrap.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/run.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/screen.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/spawnbase.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/utils.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/ANSI.py to ANSI.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/FSM.py to FSM.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/_async.py to _async.pyc File "/usr/lib/python2.7/site-packages/pexpect/_async.py", line 19 transport, pw = yield from asyncio.get_event_loop()\ ^ SyntaxError: invalid syntax byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/expect.py to expect.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/fdpexpect.py to fdpexpect.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/popen_spawn.py to popen_spawn.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pty_spawn.py to pty_spawn.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pxssh.py to pxssh.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/replwrap.py to replwrap.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/run.py to run.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/screen.py to screen.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/spawnbase.py to spawnbase.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/utils.py to utils.pyc running install_egg_info Writing /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect-4.6.0-py2.7.egg-info + cp -fR tests /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/ + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pexpect-4.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-pexpect-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/bashrc.sh -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/utils.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/spawnbase.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/screen.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/run.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/replwrap.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/pxssh.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/pty_spawn.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/popen_spawn.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/fdpexpect.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/expect.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/exceptions.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/_async.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/__init__.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/FSM.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect copying build/lib/pexpect/ANSI.py -> /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/utils.py to utils.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/spawnbase.py to spawnbase.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/screen.py to screen.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/run.py to run.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/replwrap.py to replwrap.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pxssh.py to pxssh.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pty_spawn.py to pty_spawn.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/popen_spawn.py to popen_spawn.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/fdpexpect.py to fdpexpect.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/expect.py to expect.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/exceptions.py to exceptions.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/_async.py to _async.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/FSM.py to FSM.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/ANSI.py to ANSI.cpython-37.pyc running install_egg_info Writing /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect-4.6.0-py3.7.egg-info /usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) + cp -fR tests /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/ + popd ~/RPM/BUILD/python-module-pexpect-4.6 + export PYTHONPATH=/usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages + PYTHONPATH=/usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages + make -C doc pickle make: Entering directory '/usr/src/RPM/BUILD/python-module-pexpect-4.6/doc' sphinx-build -b pickle -d _build/doctrees . _build/pickle Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt Initializing GitHub plugin loading pickled environment... not yet created loading intersphinx inventory from objects.inv... building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 13 source files that are out of date updating environment: 13 added, 0 changed, 0 removed reading sources... [ 7%] FAQ reading sources... [ 15%] api/fdpexpect reading sources... [ 23%] api/index reading sources... [ 30%] api/pexpect reading sources... [ 38%] api/popen_spawn reading sources... [ 46%] api/pxssh reading sources... [ 53%] api/replwrap reading sources... [ 61%] commonissues reading sources... [ 69%] examples reading sources... [ 76%] history reading sources... [ 84%] index reading sources... [ 92%] install reading sources... [100%] overview looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 7%] FAQ writing output... [ 15%] api/fdpexpect writing output... [ 23%] api/index writing output... [ 30%] api/pexpect writing output... [ 38%] api/popen_spawn writing output... [ 46%] api/pxssh writing output... [ 53%] api/replwrap writing output... [ 61%] commonissues writing output... [ 69%] examples writing output... [ 76%] history writing output... [ 84%] index writing output... [ 92%] install writing output... [100%] overview generating indices... genindex py-modindex highlighting module code... [ 11%] pexpect.replwrap highlighting module code... [ 22%] pexpect.run highlighting module code... [ 33%] pexpect.utils highlighting module code... [ 44%] pexpect.exceptions highlighting module code... [ 55%] pexpect.spawnbase highlighting module code... [ 66%] pexpect.pxssh highlighting module code... [ 77%] pexpect.pty_spawn highlighting module code... [ 88%] pexpect.fdpexpect highlighting module code... [100%] pexpect.popen_spawn writing additional pages... search copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-pexpect-4.6/doc/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 1 warning. Build finished; now you can process the pickle files. make: Leaving directory '/usr/src/RPM/BUILD/python-module-pexpect-4.6/doc' + make -C doc html make: Entering directory '/usr/src/RPM/BUILD/python-module-pexpect-4.6/doc' sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt Initializing GitHub plugin loading pickled environment... done loading intersphinx inventory from objects.inv... building [mo]: targets for 0 po files that are out of date building [html]: targets for 13 source files that are out of date updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done writing output... [ 7%] FAQ writing output... [ 15%] api/fdpexpect writing output... [ 23%] api/index writing output... [ 30%] api/pexpect writing output... [ 38%] api/popen_spawn writing output... [ 46%] api/pxssh writing output... [ 53%] api/replwrap writing output... [ 61%] commonissues writing output... [ 69%] examples writing output... [ 76%] history writing output... [ 84%] index writing output... [ 92%] install writing output... [100%] overview generating indices... genindex py-modindex highlighting module code... [ 11%] pexpect.replwrap highlighting module code... [ 22%] pexpect.run highlighting module code... [ 33%] pexpect.exceptions highlighting module code... [ 44%] pexpect.utils highlighting module code... [ 55%] pexpect.spawnbase highlighting module code... [ 66%] pexpect.pxssh highlighting module code... [ 77%] pexpect.fdpexpect highlighting module code... [ 88%] pexpect.pty_spawn highlighting module code... [100%] pexpect.popen_spawn writing additional pages... search copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-pexpect-4.6/doc/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 1 warning. Build finished. The HTML pages are in _build/html. make: Leaving directory '/usr/src/RPM/BUILD/python-module-pexpect-4.6/doc' + cp -fR doc/_build/pickle /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-pexpect-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-pexpect-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-pexpect-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-pexpect-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-pexpect-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-pexpect-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-pexpect-buildroot using /usr/bin/python compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/platform_checks/check_read.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/PexpectTestCase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/alarm_die.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/echo_w_prompt.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/exit1.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/list100.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/sigwinch_report.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_delay.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_pickling.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_repr.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_socket.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_unicode.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_which.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/utils.py unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/ANSI.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/FSM.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/__init__.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/exceptions.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/expect.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/fdpexpect.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/popen_spawn.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pty_spawn.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pxssh.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/replwrap.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/run.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/screen.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/spawnbase.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/utils.pyc compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/ANSI.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/_async.py /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/_async.py can't be compiled : File "/usr/lib/python2.7/site-packages/pexpect/_async.py", line 19 transport, pw = yield from asyncio.get_event_loop()\ ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/exceptions.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/expect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/fdpexpect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pty_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/run.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/screen.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/spawnbase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/utils.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-pexpect-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/platform_checks/check_read.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/PexpectTestCase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/alarm_die.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/echo_w_prompt.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/exit1.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/list100.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/sigwinch_report.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_delay.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_pickling.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_repr.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_socket.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_unicode.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/test_which.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/tests/utils.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/ANSI.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/_async.py /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/_async.py can't be compiled : File "/usr/lib/python2.7/site-packages/pexpect/_async.py", line 19 transport, pw = yield from asyncio.get_event_loop()\ ^ SyntaxError: invalid syntax compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/exceptions.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/expect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/fdpexpect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pty_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/run.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/screen.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/spawnbase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python2.7/site-packages/pexpect/utils.py Bytecompiling python3 modules in /usr/src/tmp/python-module-pexpect-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/ANSI.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/FSM.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/exceptions.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/expect.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/fdpexpect.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/popen_spawn.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/pty_spawn.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/pxssh.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/replwrap.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/run.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/screen.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/spawnbase.cpython-37.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/utils.cpython-37.pyc compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/platform_checks/check_read.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/PexpectTestCase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/alarm_die.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/echo_w_prompt.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/exit1.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/list100.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/sigwinch_report.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_delay.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_pickling.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_repr.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_socket.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_unicode.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_which.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/utils.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/ANSI.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/exceptions.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/expect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/fdpexpect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pty_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/run.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/screen.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/spawnbase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-pexpect-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/platform_checks/check_read.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/PexpectTestCase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/alarm_die.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/echo_w_prompt.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/exit1.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/list100.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/sigwinch_report.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_delay.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_pickling.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_repr.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_socket.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_unicode.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_which.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/utils.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/ANSI.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/exceptions.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/expect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/fdpexpect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pty_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/run.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/screen.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/spawnbase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-pexpect-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/platform_checks/check_read.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/PexpectTestCase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/alarm_die.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/echo_w_prompt.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/exit1.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/list100.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/sigwinch_report.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_delay.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_pickling.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_repr.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_socket.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_unicode.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/test_which.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/tests/utils.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/ANSI.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/FSM.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__init__.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/_async.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/exceptions.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/expect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/fdpexpect.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/popen_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pty_spawn.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pxssh.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/replwrap.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/run.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/screen.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/spawnbase.py compile /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/utils.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pexpect/tests/__pycache__/utils.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/utils.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pxssh.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pxssh.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_delay.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_delay.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_async.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_async.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_FSM.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_FSM.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/sigwinch_report.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/sigwinch_report.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/exit1.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/exit1.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/utils.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/utils.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/spawnbase.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/spawnbase.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/screen.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/screen.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/run.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/run.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/replwrap.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/replwrap.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/pxssh.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/pxssh.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/popen_spawn.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/popen_spawn.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/fdpexpect.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/fdpexpect.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/expect.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/expect.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/exceptions.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/exceptions.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/FSM.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/FSM.cpython-37.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/ANSI.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/ANSI.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/pexpect/utils.pyo' => './usr/lib/python2.7/site-packages/pexpect/utils.pyc' './usr/lib/python2.7/site-packages/pexpect/spawnbase.pyo' => './usr/lib/python2.7/site-packages/pexpect/spawnbase.pyc' './usr/lib/python2.7/site-packages/pexpect/screen.pyo' => './usr/lib/python2.7/site-packages/pexpect/screen.pyc' './usr/lib/python2.7/site-packages/pexpect/run.pyo' => './usr/lib/python2.7/site-packages/pexpect/run.pyc' './usr/lib/python2.7/site-packages/pexpect/replwrap.pyo' => './usr/lib/python2.7/site-packages/pexpect/replwrap.pyc' './usr/lib/python2.7/site-packages/pexpect/pxssh.pyo' => './usr/lib/python2.7/site-packages/pexpect/pxssh.pyc' './usr/lib/python2.7/site-packages/pexpect/popen_spawn.pyo' => './usr/lib/python2.7/site-packages/pexpect/popen_spawn.pyc' './usr/lib/python2.7/site-packages/pexpect/fdpexpect.pyo' => './usr/lib/python2.7/site-packages/pexpect/fdpexpect.pyc' './usr/lib/python2.7/site-packages/pexpect/expect.pyo' => './usr/lib/python2.7/site-packages/pexpect/expect.pyc' './usr/lib/python2.7/site-packages/pexpect/exceptions.pyo' => './usr/lib/python2.7/site-packages/pexpect/exceptions.pyc' './usr/lib/python2.7/site-packages/pexpect/__init__.pyo' => './usr/lib/python2.7/site-packages/pexpect/__init__.pyc' './usr/lib/python2.7/site-packages/pexpect/FSM.pyo' => './usr/lib/python2.7/site-packages/pexpect/FSM.pyc' './usr/lib/python2.7/site-packages/pexpect/ANSI.pyo' => './usr/lib/python2.7/site-packages/pexpect/ANSI.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/utils.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/utils.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/test_pickling.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/test_pickling.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/test_delay.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/test_delay.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/sigwinch_report.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/sigwinch_report.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/list100.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/list100.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/exit1.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/exit1.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/echo_w_prompt.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/echo_w_prompt.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/alarm_die.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/alarm_die.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/__init__.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/__init__.pyc' './usr/lib/python2.7/site-packages/pexpect/tests/platform_checks/check_read.pyo' => './usr/lib/python2.7/site-packages/pexpect/tests/platform_checks/check_read.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.17906 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pexpect-4.6 + export LC_ALL=en_US.UTF-8 + LC_ALL=en_US.UTF-8 + py.test -v ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-3.10.1, py-1.8.0, pluggy-0.11.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/python-module-pexpect-4.6, inifile: setup.cfg collecting ... collected 219 items tests/test_FSM.py::FSMTestCase::test_run_fsm PASSED [ 0%] tests/test_ansi.py::ansiTestCase::test_decode_error PASSED [ 0%] tests/test_ansi.py::ansiTestCase::test_fsm_memory PASSED [ 1%] tests/test_ansi.py::ansiTestCase::test_lines PASSED [ 1%] tests/test_ansi.py::ansiTestCase::test_number_x PASSED [ 2%] tests/test_ansi.py::ansiTestCase::test_tetris PASSED [ 2%] tests/test_ansi.py::ansiTestCase::test_torturet PASSED [ 3%] tests/test_ansi.py::ansiTestCase::test_unicode PASSED [ 3%] tests/test_ansi.py::ansiTestCase::test_utf8_bytes PASSED [ 4%] tests/test_ansi.py::ansiTestCase::test_write PASSED [ 4%] tests/test_async.py::AsyncTests::test_async_and_gc SKIPPED [ 5%] tests/test_async.py::AsyncTests::test_async_and_sync SKIPPED [ 5%] tests/test_async.py::AsyncTests::test_async_utf8 SKIPPED [ 5%] tests/test_async.py::AsyncTests::test_eof SKIPPED [ 6%] tests/test_async.py::AsyncTests::test_expect_exact SKIPPED [ 6%] tests/test_async.py::AsyncTests::test_simple_expect SKIPPED [ 7%] tests/test_async.py::AsyncTests::test_timeout SKIPPED [ 7%] tests/test_command_list_split.py::SplitCommandLineTestCase::testSplitSizes PASSED [ 8%] tests/test_constructor.py::TestCaseConstructor::test_constructor PASSED [ 8%] tests/test_constructor.py::TestCaseConstructor::test_named_parameters PASSED [ 9%] tests/test_ctrl_chars.py::TestCtrlChars::test_bad_sendcontrol_chars PASSED [ 9%] tests/test_ctrl_chars.py::TestCtrlChars::test_control_chars PASSED [ 10%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendcontrol PASSED [ 10%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendeof PASSED [ 10%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendintr PASSED [ 11%] tests/test_delay.py::TestCaseDelay::test_delayafterread PASSED [ 11%] tests/test_delay.py::TestCaseDelay::test_delaybeforesend PASSED [ 12%] tests/test_destructor.py::TestCaseDestructor::test_destructor PASSED [ 12%] tests/test_dotall.py::TestCaseDotall::test_dotall PASSED [ 13%] tests/test_dotall.py::TestCaseDotall::test_precompiled PASSED [ 13%] tests/test_env.py::TestCaseEnv::test_run_uses_env PASSED [ 14%] tests/test_env.py::TestCaseEnv::test_run_uses_env_path PASSED [ 14%] tests/test_env.py::TestCaseEnv::test_run_uses_env_path_over_path PASSED [ 15%] tests/test_env.py::TestCaseEnv::test_spawn_uses_env PASSED [ 15%] tests/test_expect.py::ExpectTestCase::test_bad_arg PASSED [ 15%] tests/test_expect.py::ExpectTestCase::test_before_across_chunks PASSED [ 16%] tests/test_expect.py::ExpectTestCase::test_before_after PASSED [ 16%] tests/test_expect.py::ExpectTestCase::test_before_after_exact PASSED [ 17%] tests/test_expect.py::ExpectTestCase::test_buffer_interface PASSED [ 17%] tests/test_expect.py::ExpectTestCase::test_expect PASSED [ 18%] tests/test_expect.py::ExpectTestCase::test_expect_basic PASSED [ 18%] tests/test_expect.py::ExpectTestCase::test_expect_echo PASSED [ 19%] tests/test_expect.py::ExpectTestCase::test_expect_echo_exact PASSED [ 19%] tests/test_expect.py::ExpectTestCase::test_expect_eof PASSED [ 20%] tests/test_expect.py::ExpectTestCase::test_expect_exact PASSED [ 20%] tests/test_expect.py::ExpectTestCase::test_expect_exact_basic PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case_flag PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_index PASSED [ 22%] tests/test_expect.py::ExpectTestCase::test_expect_index_exact PASSED [ 22%] tests/test_expect.py::ExpectTestCase::test_expect_order PASSED [ 23%] tests/test_expect.py::ExpectTestCase::test_expect_order_exact PASSED [ 23%] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off PASSED [ 24%] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off_exact PASSED [ 24%] tests/test_expect.py::ExpectTestCase::test_expect_timeout PASSED [ 25%] tests/test_expect.py::ExpectTestCase::test_greed PASSED [ 25%] tests/test_expect.py::ExpectTestCase::test_greed_exact PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_ordering PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_ordering_exact PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_signal_handling PASSED [ 27%] tests/test_expect.py::ExpectTestCase::test_stdin_closed PASSED [ 27%] tests/test_expect.py::ExpectTestCase::test_stdin_stdout_closed PASSED [ 28%] tests/test_expect.py::ExpectTestCase::test_timeout_none PASSED [ 28%] tests/test_expect.py::ExpectTestCase::test_unexpected_eof PASSED [ 29%] tests/test_expect.py::ExpectTestCase::test_waitnoecho PASSED [ 29%] tests/test_expect.py::ExpectTestCase::test_waitnoecho_order PASSED [ 30%] tests/test_filedescriptor.py::ExpectTestCase::test_fd PASSED [ 30%] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isalive PASSED [ 31%] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isatty PASSED [ 31%] tests/test_filedescriptor.py::ExpectTestCase::test_fileobj PASSED [ 31%] tests/test_filedescriptor.py::ExpectTestCase::test_maxread PASSED [ 32%] tests/test_interact.py::InteractTestCase::test_interact_escape PASSED [ 32%] tests/test_interact.py::InteractTestCase::test_interact_escape_None PASSED [ 33%] tests/test_interact.py::InteractTestCase::test_interact_exit_unicode PASSED [ 33%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_consistent_multiple_calls PASSED [ 34%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGHUP PASSED [ 34%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGINT PASSED [ 35%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGKILL PASSED [ 35%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_normal_termination PASSED [ 36%] tests/test_isalive.py::IsAliveTestCase::test_expect_wait PASSED [ 36%] tests/test_isalive.py::IsAliveTestCase::test_expect_wait_after_termination PASSED [ 36%] tests/test_isalive.py::IsAliveTestCase::test_forced_terminate PASSED [ 37%] tests/test_isalive.py::IsAliveTestCase::test_signal_wait PASSED [ 37%] tests/test_log.py::TestCaseLog::test_log PASSED [ 38%] tests/test_log.py::TestCaseLog::test_log_logfile_read PASSED [ 38%] tests/test_log.py::TestCaseLog::test_log_logfile_send PASSED [ 39%] tests/test_log.py::TestCaseLog::test_log_send_and_received PASSED [ 39%] tests/test_misc.py::TestCaseMisc::test_bad_arguments_second_arg_is_list PASSED [ 40%] tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn PASSED [ 40%] tests/test_misc.py::TestCaseMisc::test_bad_child_pid PASSED [ 41%] tests/test_misc.py::TestCaseMisc::test_bad_type_in_expect PASSED [ 41%] tests/test_misc.py::TestCaseMisc::test_cwd PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_eof PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_exception_tb PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_isalive PASSED [ 43%] tests/test_misc.py::TestCaseMisc::test_isatty PASSED [ 43%] tests/test_misc.py::TestCaseMisc::test_isatty_poll PASSED [ 44%] tests/test_misc.py::TestCaseMisc::test_iter PASSED [ 44%] tests/test_misc.py::TestCaseMisc::test_nonnative_pty_fork PASSED [ 45%] tests/test_misc.py::TestCaseMisc::test_read PASSED [ 45%] tests/test_misc.py::TestCaseMisc::test_read_after_close_raises_value_error PASSED [ 46%] tests/test_misc.py::TestCaseMisc::test_read_poll PASSED [ 46%] tests/test_misc.py::TestCaseMisc::test_read_poll_timeout PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_readline PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_readline_bin_echo PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_readlines PASSED [ 48%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string PASSED [ 48%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_EOF PASSED [ 49%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_TIMEOUT PASSED [ 49%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string PASSED [ 50%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_EOF PASSED [ 50%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_TIMEOUT PASSED [ 51%] tests/test_misc.py::TestCaseMisc::test_sighup PASSED [ 51%] tests/test_misc.py::TestCaseMisc::test_terminate PASSED [ 52%] tests/test_misc.py::TestCaseMisc::test_with PASSED [ 52%] tests/test_misc.py::TestCaseMisc::test_write PASSED [ 52%] tests/test_misc.py::TestCaseMisc::test_writelines PASSED [ 53%] tests/test_missing_command.py::MissingCommandTestCase::testMissingCommand PASSED [ 53%] tests/test_performance.py::PerformanceTestCase::test_100000 PASSED [ 54%] tests/test_performance.py::PerformanceTestCase::test_large_stdout_stream PASSED [ 54%] tests/test_pickling.py::PickleTest::test_picking PASSED [ 55%] tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg PASSED [ 55%] tests/test_popen_spawn.py::ExpectTestCase::test_crlf PASSED [ 56%] tests/test_popen_spawn.py::ExpectTestCase::test_crlf_encoding PASSED [ 56%] tests/test_popen_spawn.py::ExpectTestCase::test_expect PASSED [ 57%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_basic PASSED [ 57%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_eof PASSED [ 57%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact PASSED [ 58%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact_basic PASSED [ 58%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_timeout PASSED [ 59%] tests/test_popen_spawn.py::ExpectTestCase::test_timeout_none PASSED [ 59%] tests/test_popen_spawn.py::ExpectTestCase::test_unexpected_eof PASSED [ 60%] tests/test_pxssh.py::PxsshTestCase::test_connection_refused PASSED [ 60%] tests/test_pxssh.py::PxsshTestCase::test_failed_set_unique_prompt PASSED [ 61%] tests/test_pxssh.py::PxsshTestCase::test_fake_ssh PASSED [ 61%] tests/test_pxssh.py::PxsshTestCase::test_remote_ssh_tunnel_string PASSED [ 62%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_passing_string PASSED [ 62%] tests/test_pxssh.py::PxsshTestCase::test_ssh_key_string PASSED [ 63%] tests/test_pxssh.py::PxsshTestCase::test_ssh_tunnel_string PASSED [ 63%] tests/test_pxssh.py::PxsshTestCase::test_wrong_pw PASSED [ 63%] tests/test_replwrap.py::REPLWrapTestCase::test_bash PASSED [ 64%] tests/test_replwrap.py::REPLWrapTestCase::test_bash_env PASSED [ 64%] tests/test_replwrap.py::REPLWrapTestCase::test_existing_spawn PASSED [ 65%] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_continuation PASSED [ 65%] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_multiline PASSED [ 66%] tests/test_replwrap.py::REPLWrapTestCase::test_multiline PASSED [ 66%] tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt PASSED [ 67%] tests/test_replwrap.py::REPLWrapTestCase::test_pager_as_cat PASSED [ 67%] tests/test_replwrap.py::REPLWrapTestCase::test_python PASSED [ 68%] tests/test_repr.py::TestCaseMisc::test_str_before_spawn PASSED [ 68%] tests/test_repr.py::TestCaseMisc::test_str_spawn PASSED [ 68%] tests/test_repr.py::TestCaseMisc::test_str_spawnu PASSED [ 69%] tests/test_run.py::RunFuncTestCase::test_run PASSED [ 69%] tests/test_run.py::RunFuncTestCase::test_run_bad_exitstatus PASSED [ 70%] tests/test_run.py::RunFuncTestCase::test_run_callback PASSED [ 70%] tests/test_run.py::RunFuncTestCase::test_run_event_as_function PASSED [ 71%] tests/test_run.py::RunFuncTestCase::test_run_event_as_method PASSED [ 71%] tests/test_run.py::RunFuncTestCase::test_run_event_as_string PASSED [ 72%] tests/test_run.py::RunFuncTestCase::test_run_event_typeerror PASSED [ 72%] tests/test_run.py::RunFuncTestCase::test_run_exit PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_bad_exitstatus PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_callback PASSED [ 74%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_function PASSED [ 74%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_method PASSED [ 75%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_string PASSED [ 75%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_typeerror PASSED [ 76%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_exit PASSED [ 76%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_unicode PASSED [ 77%] tests/test_screen.py::screenTestCase::test_cursor_save PASSED [ 77%] tests/test_screen.py::screenTestCase::test_decoding_errors PASSED [ 78%] tests/test_screen.py::screenTestCase::test_fill PASSED [ 78%] tests/test_screen.py::screenTestCase::test_get_region PASSED [ 78%] tests/test_screen.py::screenTestCase::test_insert PASSED [ 79%] tests/test_screen.py::screenTestCase::test_no_bytes PASSED [ 79%] tests/test_screen.py::screenTestCase::test_put PASSED [ 80%] tests/test_screen.py::screenTestCase::test_scroll PASSED [ 80%] tests/test_screen.py::screenTestCase::test_unicode_ascii PASSED [ 81%] tests/test_screen.py::screenTestCase::test_unicode_cp437 PASSED [ 81%] tests/test_screen.py::screenTestCase::test_unicode_utf8 PASSED [ 82%] tests/test_socket.py::ExpectTestCase::test_fd_isalive PASSED [ 82%] tests/test_socket.py::ExpectTestCase::test_fd_isalive_poll PASSED [ 83%] tests/test_socket.py::ExpectTestCase::test_fd_isatty PASSED [ 83%] tests/test_socket.py::ExpectTestCase::test_fd_isatty_poll PASSED [ 84%] tests/test_socket.py::ExpectTestCase::test_fileobj PASSED [ 84%] tests/test_socket.py::ExpectTestCase::test_interrupt PASSED [ 84%] tests/test_socket.py::ExpectTestCase::test_maxread PASSED [ 85%] tests/test_socket.py::ExpectTestCase::test_multiple_interrupts PASSED [ 85%] tests/test_socket.py::ExpectTestCase::test_not_file_descriptor PASSED [ 86%] tests/test_socket.py::ExpectTestCase::test_not_int PASSED [ 86%] tests/test_socket.py::ExpectTestCase::test_socket PASSED [ 87%] tests/test_socket.py::ExpectTestCase::test_socket_with_write PASSED [ 87%] tests/test_socket.py::ExpectTestCase::test_timeout PASSED [ 88%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_correctStackTrace PASSED [ 88%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_exp_timeout_notThrown PASSED [ 89%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_matches_exp_timeout PASSED [ 89%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_pattern_printout PASSED [ 89%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_stacktraceMunging PASSED [ 90%] tests/test_unicode.py::UnicodeTests::test_expect_basic PASSED [ 90%] tests/test_unicode.py::UnicodeTests::test_expect_echo_exact PASSED [ 91%] tests/test_unicode.py::UnicodeTests::test_expect_exact_basic PASSED [ 91%] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle PASSED [ 92%] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle_exact PASSED [ 92%] tests/test_unicode.py::UnicodeTests::test_log_unicode PASSED [ 93%] tests/test_unicode.py::UnicodeTests::test_readline_bin_echo PASSED [ 93%] tests/test_unicode.py::UnicodeTests::test_spawn_expect_ascii_unicode PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_spawn_send_unicode PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_spawn_utf8_incomplete PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_unicode_argv PASSED [ 95%] tests/test_which.py::TestCaseWhich::test_os_defpath_which PASSED [ 95%] tests/test_which.py::TestCaseWhich::test_path_from_env PASSED [ 96%] tests/test_which.py::TestCaseWhich::test_path_search_which PASSED [ 96%] tests/test_which.py::TestCaseWhich::test_which_finds_ls PASSED [ 97%] tests/test_which.py::TestCaseWhich::test_which_follows_symlink PASSED [ 97%] tests/test_which.py::TestCaseWhich::test_which_should_match_other_group_user PASSED [ 98%] tests/test_which.py::TestCaseWhich::test_which_should_not_match_folders PASSED [ 98%] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize PASSED [ 99%] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize_by_dimension PASSED [ 99%] tests/test_winsize.py::TestCaseWinsize::test_setwinsize PASSED [100%] =============================== warnings summary =============================== pexpect/ANSI.py:29 /usr/src/RPM/BUILD/python-module-pexpect-4.6/pexpect/ANSI.py:29: UserWarning: pexpect.screen and pexpect.ANSI are deprecated. We recommend using pyte to emulate a terminal screen: https://pypi.python.org/pypi/pyte from . import screen -- Docs: https://docs.pytest.org/en/latest/warnings.html ============= 212 passed, 7 skipped, 1 warnings in 160.92 seconds ============== + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pexpect-4.6 + py.test3 -v ============================= test session starts ============================== platform linux -- Python 3.7.4, pytest-3.10.1, py-1.8.0, pluggy-0.11.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/python3, inifile: setup.cfg collecting ... collected 219 items tests/test_FSM.py::FSMTestCase::test_run_fsm PASSED [ 0%] tests/test_ansi.py::ansiTestCase::test_decode_error PASSED [ 0%] tests/test_ansi.py::ansiTestCase::test_fsm_memory PASSED [ 1%] tests/test_ansi.py::ansiTestCase::test_lines PASSED [ 1%] tests/test_ansi.py::ansiTestCase::test_number_x PASSED [ 2%] tests/test_ansi.py::ansiTestCase::test_tetris PASSED [ 2%] tests/test_ansi.py::ansiTestCase::test_torturet PASSED [ 3%] tests/test_ansi.py::ansiTestCase::test_unicode PASSED [ 3%] tests/test_ansi.py::ansiTestCase::test_utf8_bytes PASSED [ 4%] tests/test_ansi.py::ansiTestCase::test_write PASSED [ 4%] tests/test_async.py::AsyncTests::test_async_and_gc PASSED [ 5%] tests/test_async.py::AsyncTests::test_async_and_sync PASSED [ 5%] tests/test_async.py::AsyncTests::test_async_utf8 PASSED [ 5%] tests/test_async.py::AsyncTests::test_eof PASSED [ 6%] tests/test_async.py::AsyncTests::test_expect_exact PASSED [ 6%] tests/test_async.py::AsyncTests::test_simple_expect PASSED [ 7%] tests/test_async.py::AsyncTests::test_timeout PASSED [ 7%] tests/test_command_list_split.py::SplitCommandLineTestCase::testSplitSizes PASSED [ 8%] tests/test_constructor.py::TestCaseConstructor::test_constructor PASSED [ 8%] tests/test_constructor.py::TestCaseConstructor::test_named_parameters PASSED [ 9%] tests/test_ctrl_chars.py::TestCtrlChars::test_bad_sendcontrol_chars PASSED [ 9%] tests/test_ctrl_chars.py::TestCtrlChars::test_control_chars PASSED [ 10%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendcontrol PASSED [ 10%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendeof PASSED [ 10%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendintr PASSED [ 11%] tests/test_delay.py::TestCaseDelay::test_delayafterread PASSED [ 11%] tests/test_delay.py::TestCaseDelay::test_delaybeforesend PASSED [ 12%] tests/test_destructor.py::TestCaseDestructor::test_destructor PASSED [ 12%] tests/test_dotall.py::TestCaseDotall::test_dotall PASSED [ 13%] tests/test_dotall.py::TestCaseDotall::test_precompiled PASSED [ 13%] tests/test_env.py::TestCaseEnv::test_run_uses_env PASSED [ 14%] tests/test_env.py::TestCaseEnv::test_run_uses_env_path PASSED [ 14%] tests/test_env.py::TestCaseEnv::test_run_uses_env_path_over_path PASSED [ 15%] tests/test_env.py::TestCaseEnv::test_spawn_uses_env PASSED [ 15%] tests/test_expect.py::ExpectTestCase::test_bad_arg PASSED [ 15%] tests/test_expect.py::ExpectTestCase::test_before_across_chunks FAILED [ 16%] tests/test_expect.py::ExpectTestCase::test_before_after PASSED [ 16%] tests/test_expect.py::ExpectTestCase::test_before_after_exact PASSED [ 17%] tests/test_expect.py::ExpectTestCase::test_buffer_interface PASSED [ 17%] tests/test_expect.py::ExpectTestCase::test_expect PASSED [ 18%] tests/test_expect.py::ExpectTestCase::test_expect_basic PASSED [ 18%] tests/test_expect.py::ExpectTestCase::test_expect_echo PASSED [ 19%] tests/test_expect.py::ExpectTestCase::test_expect_echo_exact PASSED [ 19%] tests/test_expect.py::ExpectTestCase::test_expect_eof PASSED [ 20%] tests/test_expect.py::ExpectTestCase::test_expect_exact PASSED [ 20%] tests/test_expect.py::ExpectTestCase::test_expect_exact_basic PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case_flag PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_index PASSED [ 22%] tests/test_expect.py::ExpectTestCase::test_expect_index_exact PASSED [ 22%] tests/test_expect.py::ExpectTestCase::test_expect_order PASSED [ 23%] tests/test_expect.py::ExpectTestCase::test_expect_order_exact PASSED [ 23%] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off PASSED [ 24%] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off_exact PASSED [ 24%] tests/test_expect.py::ExpectTestCase::test_expect_timeout PASSED [ 25%] tests/test_expect.py::ExpectTestCase::test_greed PASSED [ 25%] tests/test_expect.py::ExpectTestCase::test_greed_exact PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_ordering PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_ordering_exact PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_signal_handling PASSED [ 27%] tests/test_expect.py::ExpectTestCase::test_stdin_closed PASSED [ 27%] tests/test_expect.py::ExpectTestCase::test_stdin_stdout_closed PASSED [ 28%] tests/test_expect.py::ExpectTestCase::test_timeout_none PASSED [ 28%] tests/test_expect.py::ExpectTestCase::test_unexpected_eof PASSED [ 29%] tests/test_expect.py::ExpectTestCase::test_waitnoecho PASSED [ 29%] tests/test_expect.py::ExpectTestCase::test_waitnoecho_order PASSED [ 30%] tests/test_filedescriptor.py::ExpectTestCase::test_fd PASSED [ 30%] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isalive PASSED [ 31%] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isatty PASSED [ 31%] tests/test_filedescriptor.py::ExpectTestCase::test_fileobj PASSED [ 31%] tests/test_filedescriptor.py::ExpectTestCase::test_maxread PASSED [ 32%] tests/test_interact.py::InteractTestCase::test_interact_escape PASSED [ 32%] tests/test_interact.py::InteractTestCase::test_interact_escape_None PASSED [ 33%] tests/test_interact.py::InteractTestCase::test_interact_exit_unicode PASSED [ 33%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_consistent_multiple_calls PASSED [ 34%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGHUP PASSED [ 34%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGINT PASSED [ 35%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGKILL PASSED [ 35%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_normal_termination PASSED [ 36%] tests/test_isalive.py::IsAliveTestCase::test_expect_wait PASSED [ 36%] tests/test_isalive.py::IsAliveTestCase::test_expect_wait_after_termination PASSED [ 36%] tests/test_isalive.py::IsAliveTestCase::test_forced_terminate PASSED [ 37%] tests/test_isalive.py::IsAliveTestCase::test_signal_wait PASSED [ 37%] tests/test_log.py::TestCaseLog::test_log PASSED [ 38%] tests/test_log.py::TestCaseLog::test_log_logfile_read PASSED [ 38%] tests/test_log.py::TestCaseLog::test_log_logfile_send PASSED [ 39%] tests/test_log.py::TestCaseLog::test_log_send_and_received PASSED [ 39%] tests/test_misc.py::TestCaseMisc::test_bad_arguments_second_arg_is_list PASSED [ 40%] tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn PASSED [ 40%] tests/test_misc.py::TestCaseMisc::test_bad_child_pid PASSED [ 41%] tests/test_misc.py::TestCaseMisc::test_bad_type_in_expect PASSED [ 41%] tests/test_misc.py::TestCaseMisc::test_cwd PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_eof PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_exception_tb PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_isalive PASSED [ 43%] tests/test_misc.py::TestCaseMisc::test_isatty PASSED [ 43%] tests/test_misc.py::TestCaseMisc::test_isatty_poll PASSED [ 44%] tests/test_misc.py::TestCaseMisc::test_iter PASSED [ 44%] tests/test_misc.py::TestCaseMisc::test_nonnative_pty_fork PASSED [ 45%] tests/test_misc.py::TestCaseMisc::test_read PASSED [ 45%] tests/test_misc.py::TestCaseMisc::test_read_after_close_raises_value_error PASSED [ 46%] tests/test_misc.py::TestCaseMisc::test_read_poll PASSED [ 46%] tests/test_misc.py::TestCaseMisc::test_read_poll_timeout PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_readline PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_readline_bin_echo PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_readlines PASSED [ 48%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string PASSED [ 48%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_EOF PASSED [ 49%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_TIMEOUT PASSED [ 49%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string PASSED [ 50%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_EOF PASSED [ 50%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_TIMEOUT PASSED [ 51%] tests/test_misc.py::TestCaseMisc::test_sighup PASSED [ 51%] tests/test_misc.py::TestCaseMisc::test_terminate PASSED [ 52%] tests/test_misc.py::TestCaseMisc::test_with PASSED [ 52%] tests/test_misc.py::TestCaseMisc::test_write PASSED [ 52%] tests/test_misc.py::TestCaseMisc::test_writelines PASSED [ 53%] tests/test_missing_command.py::MissingCommandTestCase::testMissingCommand PASSED [ 53%] tests/test_performance.py::PerformanceTestCase::test_100000 PASSED [ 54%] tests/test_performance.py::PerformanceTestCase::test_large_stdout_stream PASSED [ 54%] tests/test_pickling.py::PickleTest::test_picking PASSED [ 55%] tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg PASSED [ 55%] tests/test_popen_spawn.py::ExpectTestCase::test_crlf PASSED [ 56%] tests/test_popen_spawn.py::ExpectTestCase::test_crlf_encoding PASSED [ 56%] tests/test_popen_spawn.py::ExpectTestCase::test_expect PASSED [ 57%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_basic PASSED [ 57%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_eof PASSED [ 57%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact PASSED [ 58%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact_basic PASSED [ 58%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_timeout PASSED [ 59%] tests/test_popen_spawn.py::ExpectTestCase::test_timeout_none PASSED [ 59%] tests/test_popen_spawn.py::ExpectTestCase::test_unexpected_eof PASSED [ 60%] tests/test_pxssh.py::PxsshTestCase::test_connection_refused PASSED [ 60%] tests/test_pxssh.py::PxsshTestCase::test_failed_set_unique_prompt PASSED [ 61%] tests/test_pxssh.py::PxsshTestCase::test_fake_ssh PASSED [ 61%] tests/test_pxssh.py::PxsshTestCase::test_remote_ssh_tunnel_string PASSED [ 62%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_passing_string PASSED [ 62%] tests/test_pxssh.py::PxsshTestCase::test_ssh_key_string PASSED [ 63%] tests/test_pxssh.py::PxsshTestCase::test_ssh_tunnel_string PASSED [ 63%] tests/test_pxssh.py::PxsshTestCase::test_wrong_pw PASSED [ 63%] tests/test_replwrap.py::REPLWrapTestCase::test_bash PASSED [ 64%] tests/test_replwrap.py::REPLWrapTestCase::test_bash_env PASSED [ 64%] tests/test_replwrap.py::REPLWrapTestCase::test_existing_spawn PASSED [ 65%] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_continuation PASSED [ 65%] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_multiline PASSED [ 66%] tests/test_replwrap.py::REPLWrapTestCase::test_multiline PASSED [ 66%] tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt PASSED [ 67%] tests/test_replwrap.py::REPLWrapTestCase::test_pager_as_cat PASSED [ 67%] tests/test_replwrap.py::REPLWrapTestCase::test_python PASSED [ 68%] tests/test_repr.py::TestCaseMisc::test_str_before_spawn PASSED [ 68%] tests/test_repr.py::TestCaseMisc::test_str_spawn PASSED [ 68%] tests/test_repr.py::TestCaseMisc::test_str_spawnu PASSED [ 69%] tests/test_run.py::RunFuncTestCase::test_run PASSED [ 69%] tests/test_run.py::RunFuncTestCase::test_run_bad_exitstatus PASSED [ 70%] tests/test_run.py::RunFuncTestCase::test_run_callback PASSED [ 70%] tests/test_run.py::RunFuncTestCase::test_run_event_as_function PASSED [ 71%] tests/test_run.py::RunFuncTestCase::test_run_event_as_method PASSED [ 71%] tests/test_run.py::RunFuncTestCase::test_run_event_as_string PASSED [ 72%] tests/test_run.py::RunFuncTestCase::test_run_event_typeerror PASSED [ 72%] tests/test_run.py::RunFuncTestCase::test_run_exit PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_bad_exitstatus PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_callback PASSED [ 74%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_function PASSED [ 74%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_method PASSED [ 75%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_string PASSED [ 75%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_typeerror PASSED [ 76%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_exit PASSED [ 76%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_unicode PASSED [ 77%] tests/test_screen.py::screenTestCase::test_cursor_save PASSED [ 77%] tests/test_screen.py::screenTestCase::test_decoding_errors PASSED [ 78%] tests/test_screen.py::screenTestCase::test_fill PASSED [ 78%] tests/test_screen.py::screenTestCase::test_get_region PASSED [ 78%] tests/test_screen.py::screenTestCase::test_insert PASSED [ 79%] tests/test_screen.py::screenTestCase::test_no_bytes PASSED [ 79%] tests/test_screen.py::screenTestCase::test_put PASSED [ 80%] tests/test_screen.py::screenTestCase::test_scroll PASSED [ 80%] tests/test_screen.py::screenTestCase::test_unicode_ascii PASSED [ 81%] tests/test_screen.py::screenTestCase::test_unicode_cp437 PASSED [ 81%] tests/test_screen.py::screenTestCase::test_unicode_utf8 PASSED [ 82%] tests/test_socket.py::ExpectTestCase::test_fd_isalive PASSED [ 82%] tests/test_socket.py::ExpectTestCase::test_fd_isalive_poll PASSED [ 83%] tests/test_socket.py::ExpectTestCase::test_fd_isatty PASSED [ 83%] tests/test_socket.py::ExpectTestCase::test_fd_isatty_poll PASSED [ 84%] tests/test_socket.py::ExpectTestCase::test_fileobj PASSED [ 84%] tests/test_socket.py::ExpectTestCase::test_interrupt PASSED [ 84%] tests/test_socket.py::ExpectTestCase::test_maxread PASSED [ 85%] tests/test_socket.py::ExpectTestCase::test_multiple_interrupts PASSED [ 85%] tests/test_socket.py::ExpectTestCase::test_not_file_descriptor PASSED [ 86%] tests/test_socket.py::ExpectTestCase::test_not_int PASSED [ 86%] tests/test_socket.py::ExpectTestCase::test_socket PASSED [ 87%] tests/test_socket.py::ExpectTestCase::test_socket_with_write PASSED [ 87%] tests/test_socket.py::ExpectTestCase::test_timeout PASSED [ 88%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_correctStackTrace PASSED [ 88%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_exp_timeout_notThrown PASSED [ 89%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_matches_exp_timeout PASSED [ 89%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_pattern_printout PASSED [ 89%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_stacktraceMunging PASSED [ 90%] tests/test_unicode.py::UnicodeTests::test_expect_basic PASSED [ 90%] tests/test_unicode.py::UnicodeTests::test_expect_echo_exact PASSED [ 91%] tests/test_unicode.py::UnicodeTests::test_expect_exact_basic PASSED [ 91%] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle PASSED [ 92%] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle_exact PASSED [ 92%] tests/test_unicode.py::UnicodeTests::test_log_unicode PASSED [ 93%] tests/test_unicode.py::UnicodeTests::test_readline_bin_echo PASSED [ 93%] tests/test_unicode.py::UnicodeTests::test_spawn_expect_ascii_unicode PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_spawn_send_unicode PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_spawn_utf8_incomplete PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_unicode_argv PASSED [ 95%] tests/test_which.py::TestCaseWhich::test_os_defpath_which PASSED [ 95%] tests/test_which.py::TestCaseWhich::test_path_from_env PASSED [ 96%] tests/test_which.py::TestCaseWhich::test_path_search_which PASSED [ 96%] tests/test_which.py::TestCaseWhich::test_which_finds_ls PASSED [ 97%] tests/test_which.py::TestCaseWhich::test_which_follows_symlink PASSED [ 97%] tests/test_which.py::TestCaseWhich::test_which_should_match_other_group_user PASSED [ 98%] tests/test_which.py::TestCaseWhich::test_which_should_not_match_folders PASSED [ 98%] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize PASSED [ 99%] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize_by_dimension PASSED [ 99%] tests/test_winsize.py::TestCaseWinsize::test_setwinsize PASSED [100%] =================================== FAILURES =================================== ___________________ ExpectTestCase.test_before_across_chunks ___________________ self = def test_before_across_chunks(self): # https://github.com/pexpect/pexpect/issues/478 child = pexpect.spawn( '''/bin/bash -c "openssl rand -base64 {} 2>/dev/null | head -500 | nl --number-format=rz --number-width=5 2>&1 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2), searchwindowsize=128 ) child.expect(['PATTERN']) assert len(child.before.splitlines()) == 500 assert child.after == b'PATTERN' > assert child.buffer == b'!!!\r\n' E AssertionError: assert b'!!!' == b'!!!\r\n' E Right contains more items, first extra item: 13 E Full diff: E - b'!!!' E + b'!!!\r\n' E ? ++++ tests/test_expect.py:420: AssertionError ----------------------------- Captured stdout call ----------------------------- tests.test_expect.ExpectTestCase.test_before_across_chunks =============================== warnings summary =============================== pexpect/ANSI.py:29 /usr/src/RPM/BUILD/python3/pexpect/ANSI.py:29: UserWarning: pexpect.screen and pexpect.ANSI are deprecated. We recommend using pyte to emulate a terminal screen: https://pypi.python.org/pypi/pyte from . import screen tests/test_expect.py::ExpectTestCase::test_bad_arg /usr/src/RPM/BUILD/python3/tests/test_expect.py:531: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): /usr/src/RPM/BUILD/python3/tests/test_expect.py:533: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): /usr/src/RPM/BUILD/python3/tests/test_expect.py:535: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): /usr/src/RPM/BUILD/python3/tests/test_expect.py:537: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn /usr/src/RPM/BUILD/python3/tests/test_misc.py:228: DeprecationWarning: Please use assertRaisesRegex instead. ".*" + expect_errmsg): tests/test_misc.py::TestCaseMisc::test_bad_child_pid /usr/src/RPM/BUILD/python3/tests/test_misc.py:218: DeprecationWarning: Please use assertRaisesRegex instead. ".*" + expect_errmsg): tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg /usr/src/RPM/BUILD/python3/tests/test_popen_spawn.py:113: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): /usr/src/RPM/BUILD/python3/tests/test_popen_spawn.py:115: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): /usr/src/RPM/BUILD/python3/tests/test_popen_spawn.py:117: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): /usr/src/RPM/BUILD/python3/tests/test_popen_spawn.py:119: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(TypeError, '.*must be one of'): -- Docs: https://docs.pytest.org/en/latest/warnings.html ============= 1 failed, 218 passed, 11 warnings in 187.62 seconds ============== error: Bad exit status from /usr/src/tmp/rpm-tmp.17906 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.17906 (%check) Command exited with non-zero status 1 23.97user 8.28system 6:00.82elapsed 8%CPU (0avgtext+0avgdata 79636maxresident)k 0inputs+0outputs (0major+1023669minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-pexpect-4.6-alt3.src.rpm' failed. Command exited with non-zero status 1 37.02user 12.58system 6:22.66elapsed 12%CPU (0avgtext+0avgdata 119644maxresident)k 80inputs+0outputs (0major+1964486minor)pagefaults 0swaps