<86>Dec 4 17:21:13 userdel[416705]: delete user 'rooter' <86>Dec 4 17:21:13 userdel[416705]: removed group 'rooter' owned by 'rooter' <86>Dec 4 17:21:13 userdel[416705]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 4 17:21:13 groupadd[416711]: group added to /etc/group: name=rooter, GID=669 <86>Dec 4 17:21:13 groupadd[416711]: group added to /etc/gshadow: name=rooter <86>Dec 4 17:21:13 groupadd[416711]: new group: name=rooter, GID=669 <86>Dec 4 17:21:13 useradd[416715]: new user: name=rooter, UID=669, GID=669, home=/root, shell=/bin/bash <86>Dec 4 17:21:13 userdel[416723]: delete user 'builder' <86>Dec 4 17:21:13 userdel[416723]: removed group 'builder' owned by 'builder' <86>Dec 4 17:21:13 userdel[416723]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 17:21:13 groupadd[416729]: group added to /etc/group: name=builder, GID=670 <86>Dec 4 17:21:13 groupadd[416729]: group added to /etc/gshadow: name=builder <86>Dec 4 17:21:13 groupadd[416729]: new group: name=builder, GID=670 <86>Dec 4 17:21:13 useradd[416734]: new user: name=builder, UID=670, GID=670, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-json_patch-0.1-alt2.src.rpm: license not found in '/usr/share/license' directory: Free <13>Dec 4 17:21:16 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 4 17:21:16 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Dec 4 17:21:16 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:21:16 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Dec 4 17:21:16 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 17:21:16 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 4 17:21:16 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 4 17:21:16 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:21:16 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 17:21:16 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 17:21:16 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 17:21:17 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 17:21:17 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 17:21:17 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 4 17:21:20 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed <13>Dec 4 17:21:20 rpmi: python3-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed <13>Dec 4 17:21:20 rpmi: libopenblas-0.3.9-alt1 sisyphus+238855.200.5.1 1593950422 installed <13>Dec 4 17:21:20 rpmi: python3-module-pluggy-0.13.1-alt2 sisyphus+250320.400.1.1 1588511673 installed <13>Dec 4 17:21:20 rpmi: python3-module-six-1.15.0-alt1 sisyphus+255738.100.2.1 1596527214 installed <13>Dec 4 17:21:20 rpmi: python3-module-pyparsing-2.4.2-alt2 sisyphus+261315.100.1.1 1604861802 installed <13>Dec 4 17:21:20 rpmi: python3-module-packaging-19.0-alt3 sisyphus+261322.40.5.2 1604886824 installed <13>Dec 4 17:21:20 rpmi: python3-module-attrs-20.3.0-alt1 sisyphus+262357.100.1.1 1606152750 installed <13>Dec 4 17:21:20 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Dec 4 17:21:20 rpmi: python3-module-py-1.9.0-alt1 sisyphus+255737.100.16.1 1603346569 installed <13>Dec 4 17:21:20 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 4 17:21:20 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Dec 4 17:21:20 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388786 installed <13>Dec 4 17:21:20 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Dec 4 17:21:20 rpmi: libquadmath0-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 17:21:20 rpmi: libgfortran5-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 17:21:20 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134903 installed <13>Dec 4 17:21:20 rpmi: python3-module-numpy-1:1.19.1-alt1 sisyphus+256803.200.2.1 1598449355 installed <13>Dec 4 17:21:20 rpmi: python3-module-toml-0.10.1-alt1 sisyphus+257632.200.4.1 1599645356 installed <13>Dec 4 17:21:20 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <86>Dec 4 17:21:20 groupadd[435246]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 4 17:21:20 groupadd[435246]: group added to /etc/gshadow: name=_keytab <86>Dec 4 17:21:20 groupadd[435246]: new group: name=_keytab, GID=499 <13>Dec 4 17:21:21 rpmi: libkrb5-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed <13>Dec 4 17:21:21 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Dec 4 17:21:21 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 4 17:21:21 rpmi: python-modules-encodings-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-compiler-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-email-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-unittest-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-nis-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-ctypes-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-multiprocessing-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-modules-logging-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python-tools-2to3-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 17:21:21 rpmi: python3-module-pytest-6.1.1-alt1 sisyphus+255737.340.16.1 1603346892 installed <13>Dec 4 17:21:21 rpmi: python3-module-json_pointer-0.1.2-alt2 sisyphus+249734.500.1.1 1586525436 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-json_patch-0.1-alt2.nosrc.rpm <13>Dec 4 17:21:23 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 17:21:23 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 17:21:23 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 17:21:23 rpmi: python3-module-setuptools-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed Installing python3-module-json_patch-0.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.51929 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-json_patch-0.1 + echo 'Source #0 (python3-module-json_patch-0.1.tar):' Source #0 (python3-module-json_patch-0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-json_patch-0.1.tar + cd python3-module-json_patch-0.1 + /bin/chmod -c -Rf u+rwX,go-w . + find ./ -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 ./setup.py RefactoringTool: Refactored ./json_patch/test.py RefactoringTool: Refactored ./json_patch/patch.py RefactoringTool: Refactored ./json_patch/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./json_patch/test.py RefactoringTool: ./json_patch/patch.py RefactoringTool: ./json_patch/__init__.py --- ./json_patch/test.py (original) +++ ./json_patch/test.py (refactored) @@ -7,7 +7,7 @@ class JSONPatchTestcase(object): def _test(self, test): - print test + print(test) patch = Patch(test['patch']) if 'error' in test: --- ./json_patch/patch.py (original) +++ ./json_patch/patch.py (refactored) @@ -67,7 +67,7 @@ try: pointer = Pointer(operation['path']) data = func(data, pointer, operation) - except PointerError, e: + except PointerError as e: raise PatchError('Could not apply patch: %s' % e) return data --- ./json_patch/__init__.py (original) +++ ./json_patch/__init__.py (refactored) @@ -1,4 +1,4 @@ -from patch import Patch, PatchError +from .patch import Patch, PatchError __all__ = ['Patch', 'PatchError'] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.14494 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-json_patch-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/json_patch copying json_patch/test.py -> build/lib/json_patch copying json_patch/patch.py -> build/lib/json_patch copying json_patch/__init__.py -> build/lib/json_patch + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.14752 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-json_patch-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-json_patch-buildroot + cd python3-module-json_patch-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/python3-module-json_patch-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-json_patch-buildroot creating /usr/src/tmp/python3-module-json_patch-buildroot/usr creating /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib creating /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch copying build/lib/json_patch/__init__.py -> /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch copying build/lib/json_patch/patch.py -> /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch copying build/lib/json_patch/test.py -> /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch byte-compiling /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/patch.py to patch.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/test.py to test.cpython-38.pyc running install_egg_info running egg_info writing json_patch.egg-info/PKG-INFO writing dependency_links to json_patch.egg-info/dependency_links.txt writing requirements to json_patch.egg-info/requires.txt writing top-level names to json_patch.egg-info/top_level.txt reading manifest file 'json_patch.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'json_patch.egg-info/SOURCES.txt' Copying json_patch.egg-info to /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch-0.1-py3.8.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-json_patch-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-json_patch-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-json_patch-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-json_patch-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-json_patch-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-json_patch-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-json_patch-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-json_patch-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-json_patch-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__pycache__/patch.cpython-38.pyc unlink /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__pycache__/test.cpython-38.pyc compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__init__.py compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/patch.py compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/test.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-json_patch-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__init__.py compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/patch.py compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/test.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-json_patch-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__init__.py compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/patch.py compile /usr/src/tmp/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/test.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/json_patch/__pycache__/test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/json_patch/__pycache__/test.cpython-38.pyc' './usr/lib/python3/site-packages/json_patch/__pycache__/test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/json_patch/__pycache__/test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/json_patch/__pycache__/patch.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/json_patch/__pycache__/patch.cpython-38.pyc' './usr/lib/python3/site-packages/json_patch/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/json_patch/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/json_patch/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/json_patch/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.72203 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-json_patch-0.1 + py.test3 json_patch/test.py ============================= test session starts ============================== platform linux -- Python 3.8.6, pytest-6.1.1, py-1.9.0, pluggy-0.13.1 rootdir: /usr/src/RPM/BUILD/python3-module-json_patch-0.1 collected 2 items json_patch/test.py .. [100%] ============================== 2 passed in 0.07s =============================== + exit 0 Processing files: python3-module-json_patch-0.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.31027 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-json_patch-0.1 + DOCDIR=/usr/src/tmp/python3-module-json_patch-buildroot/usr/share/doc/python3-module-json_patch-0.1 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-json_patch-buildroot/usr/share/doc/python3-module-json_patch-0.1 + /bin/mkdir -p /usr/src/tmp/python3-module-json_patch-buildroot/usr/share/doc/python3-module-json_patch-0.1 + cp -prL README.rst /usr/src/tmp/python3-module-json_patch-buildroot/usr/share/doc/python3-module-json_patch-0.1 + chmod -R go-w /usr/src/tmp/python3-module-json_patch-buildroot/usr/share/doc/python3-module-json_patch-0.1 + chmod -R a+rX /usr/src/tmp/python3-module-json_patch-buildroot/usr/share/doc/python3-module-json_patch-0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.enq9Cm 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.4S3Esp 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/python3-module-json_patch-buildroot/usr/lib/python3/site-packages/json_patch/__init__.py: line=1 possible relative import from ., UNIMPLEMENTED Provides: python3(json_patch), python3(json_patch.patch) Requires: /usr/lib/python3/site-packages, python3(json_pointer) < 0 Processing files: python3-module-json_patch-tests-0.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JynYqn 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.D6Aqkq find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python3(json_patch.test) Requires: python3-module-json_patch = 0.1-alt2, /usr/lib/python3/site-packages, python3(json) < 0, python3(json_patch) < 0, python3(os) < 0, python3(unittest) < 0 Adding to python3-module-json_patch-tests a strict dependency on python3-module-json_patch Removing 1 extra deps from python3-module-json_patch-tests due to dependency on python3-module-json_patch Removing 1 extra deps from python3-module-json_patch-tests due to repentancy on python3-module-json_patch Wrote: /usr/src/RPM/RPMS/noarch/python3-module-json_patch-0.1-alt2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-json_patch-tests-0.1-alt2.noarch.rpm 6.34user 0.75system 0:10.58elapsed 67%CPU (0avgtext+0avgdata 20900maxresident)k 0inputs+0outputs (0major+182153minor)pagefaults 0swaps /.out/python3-module-json_patch-0.1-alt2.noarch.rpm: license not found in '/usr/share/license' directory: Free /.out/python3-module-json_patch-tests-0.1-alt2.noarch.rpm: license not found in '/usr/share/license' directory: Free 14.27user 4.24system 0:23.78elapsed 77%CPU (0avgtext+0avgdata 107780maxresident)k 16inputs+0outputs (0major+661698minor)pagefaults 0swaps