<86>Jan 10 08:23:48 userdel[3829763]: delete user 'rooter' <86>Jan 10 08:23:48 userdel[3829763]: removed group 'rooter' owned by 'rooter' <86>Jan 10 08:23:48 groupadd[3829769]: group added to /etc/group: name=rooter, GID=645 <86>Jan 10 08:23:48 groupadd[3829769]: group added to /etc/gshadow: name=rooter <86>Jan 10 08:23:48 groupadd[3829769]: new group: name=rooter, GID=645 <86>Jan 10 08:23:48 useradd[3829775]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Jan 10 08:23:48 userdel[3829783]: delete user 'builder' <86>Jan 10 08:23:48 userdel[3829783]: removed group 'builder' owned by 'builder' <86>Jan 10 08:23:48 userdel[3829783]: removed shadow group 'builder' owned by 'builder' <86>Jan 10 08:23:48 groupadd[3829788]: group added to /etc/group: name=builder, GID=646 <86>Jan 10 08:23:48 groupadd[3829788]: group added to /etc/gshadow: name=builder <86>Jan 10 08:23:48 groupadd[3829788]: new group: name=builder, GID=646 <86>Jan 10 08:23:48 useradd[3829795]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash <13>Jan 10 08:23:50 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 10 08:23:50 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Jan 10 08:23:50 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jan 10 08:23:50 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jan 10 08:23:50 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 10 08:23:50 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 10 08:23:50 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Jan 10 08:23:50 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jan 10 08:23:50 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jan 10 08:23:50 rpmi: libcrypto1.1-1.1.1i-alt1 p9+263105.100.1.1 1607446292 installed <13>Jan 10 08:23:50 rpmi: libssl1.1-1.1.1i-alt1 p9+263105.100.1.1 1607446292 installed <13>Jan 10 08:23:50 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jan 10 08:23:50 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jan 10 08:23:51 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jan 10 08:23:51 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 10 08:23:51 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 10 08:23:53 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 10 08:23:53 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 10 08:23:53 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 10 08:23:53 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 10 08:23:53 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jan 10 08:23:53 groupadd[3834352]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 10 08:23:53 groupadd[3834352]: group added to /etc/gshadow: name=_keytab <86>Jan 10 08:23:53 groupadd[3834352]: new group: name=_keytab, GID=499 <13>Jan 10 08:23:53 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Jan 10 08:23:53 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 10 08:23:53 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 10 08:23:53 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jan 10 08:23:53 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jan 10 08:23:53 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-ping-0.2-alt2.2.nosrc.rpm <13>Jan 10 08:23:55 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 10 08:23:55 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jan 10 08:23:55 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 10 08:23:55 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 10 08:23:55 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Installing python-module-ping-0.2-alt2.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.14552 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-ping-0.2 + echo 'Source #0 (python-ping-0.2.tar.gz):' Source #0 (python-ping-0.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/python-ping-0.2.tar.gz + /bin/tar -xf - + cd python-ping-0.2 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/ping.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/ping.py --- ../python3/ping.py (original) +++ ../python3/ping.py (refactored) @@ -108,7 +108,7 @@ """ sum = 0 count_to = (len(source_string) / 2) * 2 - for count in xrange(0, count_to, 2): + for count in range(0, count_to, 2): this = ord(source_string[count + 1]) * 256 + ord(source_string[count]) sum = sum + this sum = sum & 0xffffffff # Necessary? @@ -193,7 +193,8 @@ icmp = socket.getprotobyname("icmp") try: my_socket = socket.socket(socket.AF_INET, socket.SOCK_RAW, icmp) - except socket.error, (errno, msg): + except socket.error as xxx_todo_changeme: + (errno, msg) = xxx_todo_changeme.args if errno == 1: # Operation not permitted msg = msg + ( @@ -217,20 +218,20 @@ Send `count' ping with `psize' size to `dest_addr' with the given `timeout' and display the result. """ - for i in xrange(count): - print "ping %s with ..." % dest_addr, + for i in range(count): + print("ping %s with ..." % dest_addr, end=' ') try: delay = do_one(dest_addr, timeout, psize) - except socket.gaierror, e: - print "failed. (socket error: '%s')" % e[1] + except socket.gaierror as e: + print("failed. (socket error: '%s')" % e[1]) break if delay == None: - print "failed. (timeout within %ssec.)" % timeout + print("failed. (timeout within %ssec.)" % timeout) else: delay = delay * 1000 - print "get ping in %0.4fms" % delay - print + print("get ping in %0.4fms" % delay) + print() def quiet_ping(dest_addr, timeout = 2, count = 4, psize = 64): @@ -245,11 +246,11 @@ lost = 0 plist = [] - for i in xrange(count): + for i in range(count): try: delay = do_one(dest_addr, timeout, psize) - except socket.gaierror, e: - print "failed. (socket error: '%s')" % e[1] + except socket.gaierror as e: + print("failed. (socket error: '%s')" % e[1]) break if delay != None: + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.17539 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-ping-0.2 + 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 running build running build_py creating build creating build/lib copying ping.py -> build/lib + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-ping-0.2 + 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 running build running build_py creating build creating build/lib copying ping.py -> build/lib + popd ~/RPM/BUILD/python-ping-0.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.17539 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-ping-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-ping-buildroot + cd python-ping-0.2 + 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-ping-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-ping-buildroot creating /usr/src/tmp/python-module-ping-buildroot/usr creating /usr/src/tmp/python-module-ping-buildroot/usr/lib creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages copying build/lib/ping.py -> /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages byte-compiling /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py to ping.pyc running install_egg_info Writing /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping-0.2-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-ping-0.2 + 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-ping-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages copying build/lib/ping.py -> /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py to ping.cpython-37.pyc running install_egg_info Writing /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping-0.2-py3.7.egg-info + popd ~/RPM/BUILD/python-ping-0.2 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-ping-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-ping-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-ping-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-ping-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-ping-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-ping-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-ping-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.pyc compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-ping-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py Bytecompiling python3 modules in /usr/src/tmp/python-module-ping-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/__pycache__/ping.cpython-37.pyc compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-ping-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-ping-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/ping.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/ping.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/ping.pyo' => './usr/lib/python2.7/site-packages/ping.pyc' Processing files: python-module-ping-0.2-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.50598 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-ping-0.2 + DOCDIR=/usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + /bin/mkdir -p /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + cp -prL AUTHORS README /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + chmod -R go-w /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + chmod -R a+rX /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python-module-ping-0.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wEyatl 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.Lf3H7T find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py: skipping sys shebang.req.files: executable script /usr/src/tmp/python-module-ping-buildroot/usr/lib/python2.7/site-packages/ping.py is not executable Provides: python2.7(ping) Requires: /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-ping-0.2-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.24550 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-ping-0.2 + DOCDIR=/usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + /bin/mkdir -p /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + cp -prL AUTHORS README /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + chmod -R go-w /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + chmod -R a+rX /usr/src/tmp/python-module-ping-buildroot/usr/share/doc/python3-module-ping-0.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wqEJ64 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.M9MNmD find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py: skipping sys python3.req: /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py: skipping time shebang.req.files: executable script /usr/src/tmp/python-module-ping-buildroot/usr/lib/python3/site-packages/ping.py is not executable Provides: python3(ping) Requires: /usr/lib/python3/site-packages, python3(os) < 0, python3(select) < 0, python3(socket) < 0, python3(struct) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-ping-0.2-alt2.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-ping-0.2-alt2.2.noarch.rpm 4.69user 0.58system 0:08.47elapsed 62%CPU (0avgtext+0avgdata 13516maxresident)k 0inputs+0outputs (0major+174664minor)pagefaults 0swaps 12.18user 4.22system 0:19.52elapsed 84%CPU (0avgtext+0avgdata 116072maxresident)k 0inputs+0outputs (0major+651755minor)pagefaults 0swaps