<86>Nov 17 04:09:19 userdel[123299]: delete user 'rooter' <86>Nov 17 04:09:19 groupadd[123480]: group added to /etc/group: name=rooter, GID=672 <86>Nov 17 04:09:19 groupadd[123480]: group added to /etc/gshadow: name=rooter <86>Nov 17 04:09:19 groupadd[123480]: new group: name=rooter, GID=672 <86>Nov 17 04:09:19 useradd[123559]: new user: name=rooter, UID=672, GID=672, home=/root, shell=/bin/bash <86>Nov 17 04:09:19 userdel[123582]: delete user 'builder' <86>Nov 17 04:09:19 userdel[123582]: removed group 'builder' owned by 'builder' <86>Nov 17 04:09:19 userdel[123582]: removed shadow group 'builder' owned by 'builder' <86>Nov 17 04:09:19 groupadd[123595]: group added to /etc/group: name=builder, GID=673 <86>Nov 17 04:09:19 groupadd[123595]: group added to /etc/gshadow: name=builder <86>Nov 17 04:09:19 groupadd[123595]: new group: name=builder, GID=673 <86>Nov 17 04:09:19 useradd[123610]: new user: name=builder, UID=673, GID=673, home=/usr/src, shell=/bin/bash <13>Nov 17 04:09:23 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Nov 17 04:09:23 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Nov 17 04:09:23 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Nov 17 04:09:23 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Nov 17 04:09:23 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 17 04:09:23 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 17 04:09:23 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Nov 17 04:09:23 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Nov 17 04:09:23 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Nov 17 04:09:23 rpmi: libcrypto1.1-1.1.0i-alt1 1535471288 installed <13>Nov 17 04:09:23 rpmi: libssl1.1-1.1.0i-alt1 1535471288 installed <13>Nov 17 04:09:23 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Nov 17 04:09:23 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Nov 17 04:09:23 rpmi: python3-3.6.5-alt1.1 1535734400 installed <13>Nov 17 04:09:24 rpmi: python3-base-3.6.5-alt1.1 1535734400 installed <13>Nov 17 04:09:24 rpmi: libpython3-3.6.5-alt1.1 1535734400 installed <13>Nov 17 04:09:24 rpmi: rpm-macros-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Nov 17 04:09:33 rpmi: python3-module-six-1.11.0-alt2 1535611135 installed <13>Nov 17 04:09:33 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 1526455698 installed <13>Nov 17 04:09:33 rpmi: python3-module-more-itertools-4.3.0-alt1 1533048475 installed <13>Nov 17 04:09:33 rpmi: groff-base-1.22.3-alt2 1502488668 installed <13>Nov 17 04:09:33 rpmi: python3-module-py-1.7.0-alt1 sisyphus.214414.220 1539670883 installed <13>Nov 17 04:09:33 rpmi: python3-module-pluggy-0.8.0-alt1 sisyphus.215346.100 1540073015 installed <13>Nov 17 04:09:33 rpmi: python3-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 17 04:09:33 rpmi: python3-module-attrs-18.2.0-alt1 sisyphus.214354.100 1539088435 installed <13>Nov 17 04:09:33 rpmi: python3-module-atomicwrites-1.2.1-alt1 sisyphus.214347.100 1539076636 installed <13>Nov 17 04:09:33 rpmi: python-module-imagesize-0.7.1-alt1 1461387704 installed <13>Nov 17 04:09:33 rpmi: python-sphinx-objects.inv-1:2.3.8.20181113-alt1 sisyphus.216452.100 1542157481 installed <13>Nov 17 04:09:33 rpmi: python-module-google-0.4.2-alt2.1 1517733339 installed <13>Nov 17 04:09:33 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Nov 17 04:09:33 rpmi: python-modules-curses-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:33 rpmi: libxapian-1.4.5-alt3 sisyphus.215025.100 1539610702 installed <13>Nov 17 04:09:34 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700192 installed <13>Nov 17 04:09:34 rpmi: libpipeline-1.5.0-alt1_5 sisyphus.214512.100 1539254740 installed <13>Nov 17 04:09:34 rpmi: libverto-0.3.0-alt1_5 1525957716 installed <13>Nov 17 04:09:34 rpmi: libkeyutils-1.5.10-alt1 1489994069 installed <13>Nov 17 04:09:34 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed <13>Nov 17 04:09:34 rpmi: libgcrypt20-1.8.3-alt3 sisyphus.214019.140 1538990261 installed <13>Nov 17 04:09:34 rpmi: libxslt-1.1.32-alt2 1517429962 installed <13>Nov 17 04:09:34 rpmi: libcom_err-1.44.3-alt1 1532134713 installed <86>Nov 17 04:09:34 groupadd[32778]: group added to /etc/group: name=_keytab, GID=499 <86>Nov 17 04:09:34 groupadd[32778]: new group: name=_keytab, GID=499 <13>Nov 17 04:09:34 rpmi: libkrb5-1.16.2-alt1 sisyphus.216047.100 1541159108 installed <13>Nov 17 04:09:34 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Nov 17 04:09:34 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Nov 17 04:09:34 rpmi: python-modules-compiler-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:34 rpmi: python-modules-email-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:34 rpmi: python-modules-unittest-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:34 rpmi: python-modules-encodings-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:34 rpmi: python-modules-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:34 rpmi: python-modules-nis-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:34 rpmi: python-module-six-1.11.0-alt2 1535611135 installed <13>Nov 17 04:09:34 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 17 04:09:34 rpmi: python-modules-ctypes-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:34 rpmi: python-modules-json-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-modules-xml-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-modules-multiprocessing-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-modules-logging-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-modules-hotshot-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Nov 17 04:09:35 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Nov 17 04:09:35 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Nov 17 04:09:35 rpmi: python-module-more-itertools-4.3.0-alt1 1533048475 installed <13>Nov 17 04:09:35 rpmi: python-modules-bsddb-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-strict-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-module-idna-2.7-alt1 1530720902 installed <13>Nov 17 04:09:35 rpmi: python-modules-distutils-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:35 rpmi: python-module-pycparser-2.19-alt1 sisyphus.216095.100 1541345023 installed <13>Nov 17 04:09:35 rpmi: python-module-cffi-1.10.0-alt1.1 1525117590 installed <13>Nov 17 04:09:35 rpmi: python-module-asn1crypto-0.24.0-alt1 1521037480 installed <13>Nov 17 04:09:35 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Nov 17 04:09:35 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Nov 17 04:09:35 rpmi: python-module-cssselect-0.9.1-alt1.2 1526980827 installed <13>Nov 17 04:09:35 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus.214868.100 1539741045 installed <13>Nov 17 04:09:35 rpmi: python-module-lxml-4.2.1-alt1.1 1525118997 installed <13>Nov 17 04:09:35 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Nov 17 04:09:35 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Nov 17 04:09:36 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Nov 17 04:09:36 rpmi: python-module-babel-1:2.4.0-alt1.1 1517644530 installed <13>Nov 17 04:09:36 rpmi: python-module-attrs-18.2.0-alt1 sisyphus.214354.100 1539088435 installed <13>Nov 17 04:09:36 rpmi: python-module-ipaddress-1.0.18-alt1.1 1517713372 installed <13>Nov 17 04:09:36 rpmi: python-module-cryptography-2.3.0-alt1.1 sisyphus.212297.100 1535813240 installed <13>Nov 17 04:09:36 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Nov 17 04:09:36 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus.214917.100 1539845520 installed <13>Nov 17 04:09:36 rpmi: python-module-ndg-0.4.2-alt1.qa1 1531457730 installed <13>Nov 17 04:09:36 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 1531457730 installed <13>Nov 17 04:09:36 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Nov 17 04:09:36 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Nov 17 04:09:36 rpmi: python-module-urllib3-2:1.21.1-alt1 1506613994 installed <13>Nov 17 04:09:36 rpmi: python-module-requests-2.19.1-alt1 1530831197 installed <13>Nov 17 04:09:36 rpmi: python-module-typing-3.6.4-alt1 1517577671 installed <13>Nov 17 04:09:36 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 1525118564 installed <13>Nov 17 04:09:36 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Nov 17 04:09:36 rpmi: python-modules-sqlite3-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:36 rpmi: python-module-SQLAlchemy-1.0.12-alt1.1 1525119185 installed <13>Nov 17 04:09:36 rpmi: python-module-py-1.7.0-alt1 sisyphus.214414.220 1539670883 installed <13>Nov 17 04:09:36 rpmi: python-module-funcsigs-1.0.2-alt1.1 1517699355 installed <13>Nov 17 04:09:36 rpmi: python-module-scandir-1.9.0-alt1 1535455368 installed <13>Nov 17 04:09:36 rpmi: python-module-pathlib2-2.3.2-alt1 1535455443 installed <13>Nov 17 04:09:36 rpmi: python-module-atomicwrites-1.2.1-alt1 sisyphus.214347.100 1539076636 installed <13>Nov 17 04:09:36 rpmi: python-module-xapian-1.4.5-alt2.qa1 1531484055 installed <13>Nov 17 04:09:36 rpmi: python-module-pluggy-0.8.0-alt1 sisyphus.215346.100 1540073015 installed <13>Nov 17 04:09:36 rpmi: python-module-pytest-3.9.3-alt1 sisyphus.215666.100 1540687418 installed <13>Nov 17 04:09:36 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus.214922.100 1539851266 installed <13>Nov 17 04:09:36 rpmi: python-module-alabaster-0.7.6-alt3 1526385201 installed <13>Nov 17 04:09:37 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Nov 17 04:09:37 rpmi: python-module-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Nov 17 04:09:37 rpmi: less-481-alt2 1477575585 installed <13>Nov 17 04:09:37 rpmi: man-db-2.7.6.1-alt4.1 1493922866 installed <13>Nov 17 04:09:37 rpmi: python-module-ptyprocess-0.6.0-alt1 1535455617 installed <13>Nov 17 04:09:37 rpmi: python3-module-pytest-3.9.3-alt1 sisyphus.215666.100 1540687418 installed <13>Nov 17 04:09:37 rpmi: python3-module-ptyprocess-0.6.0-alt1 1535455617 installed <13>Nov 17 04:09:37 rpmi: openssl-1.1.0i-alt1 1535471288 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-pexpect-4.6-alt1.nosrc.rpm <13>Nov 17 04:09:55 rpmi: python-tools-2to3-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:55 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Nov 17 04:09:55 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Nov 17 04:09:55 rpmi: python3-dev-3.6.5-alt1.1 1535734400 installed <13>Nov 17 04:09:55 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Nov 17 04:09:55 rpmi: python-dev-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 17 04:09:55 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 17 04:09:55 rpmi: python3-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed Installing python-module-pexpect-4.6-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.2251 + 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_expect.py patching file tests/test_replwrap.py + cp -a . ../python3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pexpect-4.6 + find -type f -name '*.py' + xargs sed -i '1s|#!/usr/bin/env python[[:space:]]*$|#!/usr/bin/env python3|' + 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.48034 + 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.6/distutils/dist.py:261: 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.43073 + 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-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/spawnbase.py to spawnbase.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/screen.py to screen.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/run.py to run.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/replwrap.py to replwrap.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pxssh.py to pxssh.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/pty_spawn.py to pty_spawn.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/popen_spawn.py to popen_spawn.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/fdpexpect.py to fdpexpect.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/expect.py to expect.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/exceptions.py to exceptions.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/_async.py to _async.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/FSM.py to FSM.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/ANSI.py to ANSI.cpython-36.pyc running install_egg_info Writing /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect-4.6.0-py3.6.egg-info /usr/lib64/python3.6/distutils/dist.py:261: 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-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/FSM.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/exceptions.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/expect.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/fdpexpect.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/popen_spawn.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/pty_spawn.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/pxssh.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/replwrap.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/run.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/screen.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/spawnbase.cpython-36.pyc unlink /usr/src/tmp/python-module-pexpect-buildroot/usr/lib/python3/site-packages/pexpect/__pycache__/utils.cpython-36.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-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/utils.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pxssh.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pxssh.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_pickling.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_delay.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_delay.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_async.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_async.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_FSM.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/test_FSM.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/sigwinch_report.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/sigwinch_report.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/list100.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/exit1.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/exit1.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/echo_w_prompt.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/alarm_die.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/tests/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/tests/platform_checks/__pycache__/check_read.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/utils.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/utils.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/spawnbase.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/spawnbase.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/screen.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/screen.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/run.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/run.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/replwrap.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/replwrap.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/pxssh.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/pxssh.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/popen_spawn.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/popen_spawn.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/fdpexpect.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/fdpexpect.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/expect.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/expect.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/exceptions.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/exceptions.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/_async.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/FSM.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/FSM.cpython-36.pyc' './usr/lib/python3/site-packages/pexpect/__pycache__/ANSI.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/pexpect/__pycache__/ANSI.cpython-36.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.82575 + 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.14, pytest-3.9.3, py-1.7.0, pluggy-0.8.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 188.65 seconds ============== + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pexpect-4.6 + py.test3 -v ============================= test session starts ============================== platform linux -- Python 3.6.5, pytest-3.9.3, py-1.7.0, pluggy-0.8.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 FAILED [ 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%] =================================== FAILURES =================================== _______________________ TestCaseEnv.test_spawn_uses_env ________________________ self = def test_spawn_uses_env(self): " pexpect.spawn uses env argument when running child process " script_name = 'spawn_uses_env.sh' environ = {'PEXPECT_TEST_KEY': 'pexpect test value'} with example_script(script_name, '$PEXPECT_TEST_KEY') as script_dir: script = os.path.join(script_dir, script_name) child = pexpect.spawn(script, env=environ) out = child.readline() child.expect(pexpect.EOF) > self.assertEqual(child.exitstatus, 0) E AssertionError: None != 0 tests/test_env.py:68: AssertionError ----------------------------- Captured stdout call ----------------------------- tests.test_env.TestCaseEnv.test_spawn_uses_env =============================== 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 177.98 seconds ============== error: Bad exit status from /usr/src/tmp/rpm-tmp.82575 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.82575 (%check) Command exited with non-zero status 1 30.29user 7.55system 6:43.22elapsed 9%CPU (0avgtext+0avgdata 77376maxresident)k 0inputs+0outputs (0major+1115711minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-pexpect-4.6-alt1.src.rpm' failed. Command exited with non-zero status 1 49.20user 11.40system 7:35.68elapsed 13%CPU (0avgtext+0avgdata 122928maxresident)k 0inputs+0outputs (0major+2061872minor)pagefaults 0swaps