<86>Jan 26 09:42:45 userdel[1896064]: delete user 'rooter' <86>Jan 26 09:42:45 userdel[1896064]: removed group 'rooter' owned by 'rooter' <86>Jan 26 09:42:45 userdel[1896064]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 09:42:45 groupadd[1896074]: group added to /etc/group: name=rooter, GID=537 <86>Jan 26 09:42:45 groupadd[1896074]: group added to /etc/gshadow: name=rooter <86>Jan 26 09:42:45 groupadd[1896074]: new group: name=rooter, GID=537 <86>Jan 26 09:42:45 useradd[1896079]: new user: name=rooter, UID=537, GID=537, home=/root, shell=/bin/bash <86>Jan 26 09:42:45 userdel[1896088]: delete user 'builder' <86>Jan 26 09:42:45 userdel[1896088]: removed group 'builder' owned by 'builder' <86>Jan 26 09:42:45 userdel[1896088]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 09:42:45 groupadd[1896093]: group added to /etc/group: name=builder, GID=538 <86>Jan 26 09:42:45 groupadd[1896093]: group added to /etc/gshadow: name=builder <86>Jan 26 09:42:45 groupadd[1896093]: new group: name=builder, GID=538 <86>Jan 26 09:42:45 useradd[1896097]: new user: name=builder, UID=538, GID=538, home=/usr/src, shell=/bin/bash <13>Jan 26 09:42:48 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 09:42:48 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 26 09:42:48 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 26 09:42:48 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jan 26 09:42:48 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 26 09:42:48 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 26 09:42:49 rpmi: ca-certificates-2019.10.28-alt1 p9+240634.100.1.1 1573575926 installed <13>Jan 26 09:42:49 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jan 26 09:42:49 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 26 09:42:49 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Jan 26 09:42:49 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Jan 26 09:42:49 rpmi: python3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 26 09:42:49 rpmi: libpython3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 26 09:42:50 rpmi: python3-base-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 26 09:42:50 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 26 09:42:50 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 26 09:42:56 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 09:42:56 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:56 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 26 09:42:56 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 26 09:42:56 rpmi: python3-dev-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 26 09:42:56 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 26 09:42:57 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 26 09:42:57 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jan 26 09:42:57 groupadd[1915426]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 26 09:42:57 groupadd[1915426]: group added to /etc/gshadow: name=_keytab <86>Jan 26 09:42:57 groupadd[1915426]: new group: name=_keytab, GID=499 <13>Jan 26 09:42:57 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>Jan 26 09:42:57 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 26 09:42:57 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 26 09:42:57 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:57 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:58 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:58 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 09:42:58 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jan 26 09:42:58 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 26 09:42:58 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 26 09:42:58 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-ioloop-0.1-alt2.a.git20141215.1.nosrc.rpm Installing python-module-ioloop-0.1-alt2.a.git20141215.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.33987 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-ioloop-0.1 + echo 'Source #0 (python-module-ioloop-0.1.tar):' Source #0 (python-module-ioloop-0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-ioloop-0.1.tar + cd python-module-ioloop-0.1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38182 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-ioloop-0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build --debug /usr/lib/python2.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.1a' to '0.1a0' normalized_version, running build running build_py creating build creating build/lib creating build/lib/ioloop copying ioloop/kqueue.py -> build/lib/ioloop copying ioloop/epoll.py -> build/lib/ioloop copying ioloop/__init__.py -> build/lib/ioloop running egg_info creating ioloop.egg-info writing ioloop.egg-info/PKG-INFO writing top-level names to ioloop.egg-info/top_level.txt writing dependency_links to ioloop.egg-info/dependency_links.txt writing manifest file 'ioloop.egg-info/SOURCES.txt' reading manifest file 'ioloop.egg-info/SOURCES.txt' writing manifest file 'ioloop.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-ioloop-0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/ioloop copying ioloop/kqueue.py -> build/lib/ioloop copying ioloop/epoll.py -> build/lib/ioloop copying ioloop/__init__.py -> build/lib/ioloop running egg_info creating ioloop.egg-info writing ioloop.egg-info/PKG-INFO writing dependency_links to ioloop.egg-info/dependency_links.txt writing top-level names to ioloop.egg-info/top_level.txt writing manifest file 'ioloop.egg-info/SOURCES.txt' reading manifest file 'ioloop.egg-info/SOURCES.txt' writing manifest file 'ioloop.egg-info/SOURCES.txt' /usr/lib/python3/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.1a' to '0.1a0' normalized_version, + popd ~/RPM/BUILD/python-module-ioloop-0.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.43048 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-ioloop-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-ioloop-buildroot + cd python-module-ioloop-0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-ioloop-buildroot --force /usr/lib/python2.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.1a' to '0.1a0' normalized_version, running install running install_lib creating /usr/src/tmp/python-module-ioloop-buildroot creating /usr/src/tmp/python-module-ioloop-buildroot/usr creating /usr/src/tmp/python-module-ioloop-buildroot/usr/lib creating /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop copying build/lib/ioloop/__init__.py -> /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop copying build/lib/ioloop/epoll.py -> /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop copying build/lib/ioloop/kqueue.py -> /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop byte-compiling /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/epoll.py to epoll.pyc byte-compiling /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/kqueue.py to kqueue.pyc running install_egg_info running egg_info writing ioloop.egg-info/PKG-INFO writing top-level names to ioloop.egg-info/top_level.txt writing dependency_links to ioloop.egg-info/dependency_links.txt reading manifest file 'ioloop.egg-info/SOURCES.txt' writing manifest file 'ioloop.egg-info/SOURCES.txt' Copying ioloop.egg-info to /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop-0.1a0-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-ioloop-0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-ioloop-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop copying build/lib/ioloop/__init__.py -> /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop copying build/lib/ioloop/epoll.py -> /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop copying build/lib/ioloop/kqueue.py -> /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop byte-compiling /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/epoll.py to epoll.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/kqueue.py to kqueue.cpython-37.pyc running install_egg_info running egg_info writing ioloop.egg-info/PKG-INFO writing dependency_links to ioloop.egg-info/dependency_links.txt writing top-level names to ioloop.egg-info/top_level.txt reading manifest file 'ioloop.egg-info/SOURCES.txt' writing manifest file 'ioloop.egg-info/SOURCES.txt' Copying ioloop.egg-info to /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop-0.1a0-py3.7.egg-info running install_scripts /usr/lib/python3/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.1a' to '0.1a0' normalized_version, + popd ~/RPM/BUILD/python-module-ioloop-0.1 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-ioloop-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-ioloop-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-ioloop-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-ioloop-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-ioloop-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-ioloop-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-ioloop-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/__init__.pyc unlink /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/epoll.pyc unlink /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/kqueue.pyc compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/__init__.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/epoll.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/kqueue.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-ioloop-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/__init__.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/epoll.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/kqueue.py Bytecompiling python3 modules in /usr/src/tmp/python-module-ioloop-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__pycache__/epoll.cpython-37.pyc unlink /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__pycache__/kqueue.cpython-37.pyc compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__init__.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/epoll.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/kqueue.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-ioloop-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__init__.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/epoll.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/kqueue.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-ioloop-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__init__.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/epoll.py compile /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/kqueue.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/ioloop/__pycache__/kqueue.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/ioloop/__pycache__/kqueue.cpython-37.pyc' './usr/lib/python3/site-packages/ioloop/__pycache__/kqueue.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/ioloop/__pycache__/kqueue.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/ioloop/__pycache__/epoll.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/ioloop/__pycache__/epoll.cpython-37.pyc' './usr/lib/python3/site-packages/ioloop/__pycache__/epoll.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/ioloop/__pycache__/epoll.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/ioloop/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/ioloop/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/ioloop/kqueue.pyo' => './usr/lib/python2.7/site-packages/ioloop/kqueue.pyc' './usr/lib/python2.7/site-packages/ioloop/epoll.pyo' => './usr/lib/python2.7/site-packages/ioloop/epoll.pyc' './usr/lib/python2.7/site-packages/ioloop/__init__.pyo' => './usr/lib/python2.7/site-packages/ioloop/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.55083 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-ioloop-0.1 + python setup.py test /usr/lib/python2.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.1a' to '0.1a0' normalized_version, running test running egg_info writing ioloop.egg-info/PKG-INFO writing top-level names to ioloop.egg-info/top_level.txt writing dependency_links to ioloop.egg-info/dependency_links.txt reading manifest file 'ioloop.egg-info/SOURCES.txt' writing manifest file 'ioloop.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK main sock fd:5 + python test.py main sock fd:4 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-ioloop-0.1 + 2to3 -w -n test.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored test.py RefactoringTool: Files that were modified: RefactoringTool: test.py --- test.py (original) +++ test.py (refactored) @@ -15,7 +15,7 @@ global buff sock = socks[int(fd)] data = sock.recv(10) - print 'Recv:%s' % data + print('Recv:%s' % data) sock.send('pikachu\n') buff += data @@ -29,17 +29,17 @@ if fd == main_sock_fd: # new connection - print 'new connection' + print('new connection') conn, _ = socket.fromfd(fd, socket.AF_INET, socket.SOCK_STREAM).accept() socks[conn.fileno()] = conn - print socks + print(socks) conn.setblocking(0) loop.add_handler(conn.fileno(), READ|ERROR, handle_events) else: - print "new request %s" % bin(events) + print("new request %s" % bin(events)) if events & ERROR: raise ValueError('Error on fd:%d' % fd) if events & READ: @@ -54,6 +54,6 @@ ss.bind(('0.0.0.0', 12000)) ss.listen(512) main_sock_fd = ss.fileno() -print 'main sock fd:%d' % main_sock_fd +print('main sock fd:%d' % main_sock_fd) loop.add_handler(ss.fileno(), READ, handle_events) loop.start() + python3 setup.py test running test running egg_info writing ioloop.egg-info/PKG-INFO writing dependency_links to ioloop.egg-info/dependency_links.txt writing top-level names to ioloop.egg-info/top_level.txt reading manifest file 'ioloop.egg-info/SOURCES.txt' writing manifest file 'ioloop.egg-info/SOURCES.txt' running build_ext /usr/lib/python3/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.1a' to '0.1a0' normalized_version, ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK main sock fd:4 + python3 test.py main sock fd:4 + popd ~/RPM/BUILD/python-module-ioloop-0.1 + exit 0 Processing files: python-module-ioloop-0.1-alt2.a.git20141215.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.80057 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-ioloop-0.1 + DOCDIR=/usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python-module-ioloop-0.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python-module-ioloop-0.1 + /bin/mkdir -p /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python-module-ioloop-0.1 + cp -prL README.md /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python-module-ioloop-0.1 + chmod -R go-w /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python-module-ioloop-0.1 + chmod -R a+rX /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python-module-ioloop-0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0gE5Os find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3szCCp find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/__init__.py: line=46 IGNORE (for REQ=slight and deep=15) module=ioloop /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/__init__.py: line=49 IGNORE (for REQ=slight and deep=15) module=ioloop python.req: /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/kqueue.py: hiding ioloop, which SEEMS TO BE SELF-SATISFIED shebang.req.files: executable script /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/epoll.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python2.7/site-packages/ioloop/kqueue.py is not executable Provides: python2.7(ioloop), python2.7(ioloop.epoll), python2.7(ioloop.kqueue) Requires: /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-ioloop-0.1-alt2.a.git20141215.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.36162 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-ioloop-0.1 + DOCDIR=/usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python3-module-ioloop-0.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python3-module-ioloop-0.1 + /bin/mkdir -p /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python3-module-ioloop-0.1 + cp -prL README.md /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python3-module-ioloop-0.1 + chmod -R go-w /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python3-module-ioloop-0.1 + chmod -R a+rX /usr/src/tmp/python-module-ioloop-buildroot/usr/share/doc/python3-module-ioloop-0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VepGjR find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.x5cFbV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__init__.py: line=46 IGNORE (for REQ=slight and deep=15) module=ioloop.kqueue /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__init__.py: line=49 IGNORE (for REQ=slight and deep=15) module=ioloop.epoll shebang.req.files: executable script /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/epoll.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ioloop-buildroot/usr/lib/python3/site-packages/ioloop/kqueue.py is not executable Provides: python3(ioloop), python3(ioloop.epoll), python3(ioloop.kqueue) Requires: /usr/lib/python3/site-packages, python3(select) < 0, python3(threading) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-ioloop-0.1-alt2.a.git20141215.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-ioloop-0.1-alt2.a.git20141215.1.noarch.rpm 13.10user 1.46system 0:17.78elapsed 81%CPU (0avgtext+0avgdata 19244maxresident)k 0inputs+0outputs (0major+221406minor)pagefaults 0swaps 26.97user 7.77system 0:41.85elapsed 83%CPU (0avgtext+0avgdata 117256maxresident)k 0inputs+0outputs (0major+645513minor)pagefaults 0swaps