<86>Feb 28 08:55:25 userdel[1680063]: delete user 'rooter' <86>Feb 28 08:55:25 groupadd[1680148]: group added to /etc/group: name=rooter, GID=675 <86>Feb 28 08:55:25 groupadd[1680148]: group added to /etc/gshadow: name=rooter <86>Feb 28 08:55:25 groupadd[1680148]: new group: name=rooter, GID=675 <86>Feb 28 08:55:25 useradd[1680192]: new user: name=rooter, UID=675, GID=675, home=/root, shell=/bin/bash <86>Feb 28 08:55:25 userdel[1680718]: delete user 'builder' <86>Feb 28 08:55:25 userdel[1680718]: removed group 'builder' owned by 'builder' <86>Feb 28 08:55:25 userdel[1680718]: removed shadow group 'builder' owned by 'builder' <86>Feb 28 08:55:25 groupadd[1681109]: group added to /etc/group: name=builder, GID=676 <86>Feb 28 08:55:25 groupadd[1681109]: group added to /etc/gshadow: name=builder <86>Feb 28 08:55:25 groupadd[1681109]: new group: name=builder, GID=676 <86>Feb 28 08:55:25 useradd[1681279]: new user: name=builder, UID=676, GID=676, home=/usr/src, shell=/bin/bash <13>Feb 28 08:55:29 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 28 08:55:29 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Feb 28 08:55:29 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Feb 28 08:55:29 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Feb 28 08:55:29 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 28 08:55:29 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 28 08:55:30 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Feb 28 08:55:30 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Feb 28 08:55:30 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Feb 28 08:55:30 rpmi: libcrypto1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982938 installed <13>Feb 28 08:55:30 rpmi: libssl1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982938 installed <13>Feb 28 08:55:30 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 28 08:55:30 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 28 08:55:31 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 28 08:55:31 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 28 08:55:40 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 28 08:55:40 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:40 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 28 08:55:40 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 28 08:55:40 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Feb 28 08:55:40 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Feb 28 08:55:40 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Feb 28 08:55:40 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Feb 28 08:55:40 groupadd[1708226]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 28 08:55:40 groupadd[1708226]: group added to /etc/gshadow: name=_keytab <86>Feb 28 08:55:40 groupadd[1708226]: new group: name=_keytab, GID=499 <13>Feb 28 08:55:40 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Feb 28 08:55:40 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Feb 28 08:55:40 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Feb 28 08:55:40 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:40 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:40 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:40 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 28 08:55:41 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Feb 28 08:55:41 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Feb 28 08:55:41 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 28 08:55:41 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.99322 + 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.99322 + 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.7183 + 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.15340 + 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.28257 + 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.GH2Q13 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.aX2UAi find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /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.94404 + 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.ys3pKj 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.fvCUDb find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /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 7.45user 0.70system 0:15.37elapsed 53%CPU (0avgtext+0avgdata 19188maxresident)k 0inputs+0outputs (0major+223512minor)pagefaults 0swaps 16.22user 3.52system 0:41.19elapsed 47%CPU (0avgtext+0avgdata 116552maxresident)k 0inputs+0outputs (0major+646171minor)pagefaults 0swaps