<86>Dec 4 16:23:03 userdel[1465434]: delete user 'rooter' <86>Dec 4 16:23:03 userdel[1465434]: removed group 'rooter' owned by 'rooter' <86>Dec 4 16:23:03 userdel[1465434]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 4 16:23:03 groupadd[1465454]: group added to /etc/group: name=rooter, GID=696 <86>Dec 4 16:23:03 groupadd[1465454]: group added to /etc/gshadow: name=rooter <86>Dec 4 16:23:03 groupadd[1465454]: new group: name=rooter, GID=696 <86>Dec 4 16:23:03 useradd[1465461]: new user: name=rooter, UID=696, GID=696, home=/root, shell=/bin/bash <86>Dec 4 16:23:03 userdel[1465478]: delete user 'builder' <86>Dec 4 16:23:03 userdel[1465478]: removed group 'builder' owned by 'builder' <86>Dec 4 16:23:03 userdel[1465478]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 16:23:03 groupadd[1465492]: group added to /etc/group: name=builder, GID=697 <86>Dec 4 16:23:03 groupadd[1465492]: group added to /etc/gshadow: name=builder <86>Dec 4 16:23:03 groupadd[1465492]: new group: name=builder, GID=697 <86>Dec 4 16:23:03 useradd[1465500]: new user: name=builder, UID=697, GID=697, home=/usr/src, shell=/bin/bash <13>Dec 4 16:23:04 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 4 16:23:04 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Dec 4 16:23:04 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 16:23:04 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Dec 4 16:23:04 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 16:23:04 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 16:23:04 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 4 16:23:04 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 4 16:23:04 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 16:23:05 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 16:23:05 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 16:23:05 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 16:23:05 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 16:23:05 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 16:23:05 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 4 16:23:05 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 4 16:23:07 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 4 16:23:07 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Dec 4 16:23:07 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Dec 4 16:23:07 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <86>Dec 4 16:23:07 groupadd[1476407]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 4 16:23:07 groupadd[1476407]: group added to /etc/gshadow: name=_keytab <86>Dec 4 16:23:07 groupadd[1476407]: new group: name=_keytab, GID=499 <13>Dec 4 16:23:07 rpmi: libkrb5-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed <13>Dec 4 16:23:08 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Dec 4 16:23:08 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 4 16:23:08 rpmi: python-modules-encodings-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-compiler-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-email-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-unittest-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-nis-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-ctypes-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-multiprocessing-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-modules-logging-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed <13>Dec 4 16:23:08 rpmi: python-tools-2to3-2.7.18-alt2 sisyphus+262143.200.4.1 1606132536 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-ansible-augeas-1.0.0-alt1.nosrc.rpm Installing python3-module-ansible-augeas-1.0.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.63814 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-ansible-augeas-1.0.0 + echo 'Source #0 (python3-module-ansible-augeas-1.0.0.tar):' Source #0 (python3-module-ansible-augeas-1.0.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-ansible-augeas-1.0.0.tar + cd python3-module-ansible-augeas-1.0.0 + /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: Refactored ./library/augeas.py RefactoringTool: Files that were modified: RefactoringTool: ./library/augeas.py --- ./library/augeas.py (original) +++ ./library/augeas.py (refactored) @@ -135,7 +135,7 @@ span_start, span_end). If the node associated with PATH doesn't belong to a file or is doesn't exists, ValueError is raised.""" - if not isinstance(path, basestring): + if not isinstance(path, str): raise TypeError("path MUST be a string!") if not self.__handle: raise RuntimeError("The Augeas object has already been closed!") @@ -171,7 +171,7 @@ super(CommandsParseError, self).__init__(msg) def format_commands(self, commands): - return '\n'.join('%s %s' % (c, ' '.join(a if a else "''" for a in args.values())) for c,args in commands) + return '\n'.join('%s %s' % (c, ' '.join(a if a else "''" for a in list(args.values()))) for c,args in commands) class MissingArgument(CommandsParseError): @@ -205,7 +205,7 @@ self).__init__('Given %(param)s value: %(value)s doesn\'t match expected ' 'value: %(expected)s' % {'param': repr(param), 'value': repr(value), - 'expected': unicode(expected)}) + 'expected': str(expected)}) class TokenizerError(CommandsParseError): @@ -294,7 +294,7 @@ } try: tokens = iter(shlex.split(commands, comments=False)) - except ValueError, e: + except ValueError as e: raise TokenizerError("Commands parser error (commands should be correctly quoted strings): %s" % e.args[0]) parsed = [] for command in tokens: @@ -303,12 +303,12 @@ params = {} for parser in COMMANDS[command]: try: - value = tokens.next() + value = next(tokens) except StopIteration: raise MissingArgument(command, parser.name, parsed) try: params[parser.name] = parser(value) - except ParamParseError, e: + except ParamParseError as e: raise CommandsParseError('Error parsing parameter value of command "%(command)s":\n%(exception)s' % {'command': command, 'exception': e}) parsed.append((command, params)) @@ -382,7 +382,7 @@ changed = False for command, params in commands: result = None - if params.has_key('lens') and params.has_key('file'): + if 'lens' in params and 'file' in params: lens = params['lens'] file_ = params['file'] params['path'] = "/files%s/%s" % ( file_ , params['path'] ) @@ -423,7 +423,7 @@ augeas_instance.load() else: # match result = [{'label': s, 'value': augeas_instance.get(s)} for s in augeas_instance.match(params['path'])] - results.append((command + ' ' + ' '.join(p if p else '""' for p in params.values()), result)) + results.append((command + ' ' + ' '.join(p if p else '""' for p in list(params.values())), result)) try: augeas_instance.save() @@ -507,11 +507,11 @@ else: try: commands = parse_commands(module.params['commands']) - except CommandsParseError, e: + except CommandsParseError as e: module.fail_json(msg=e.msg) try: results, changed = execute(augeas_instance, commands) - except AugeasError, e: + except AugeasError as e: module.fail_json(msg=e.msg) # in case of single command execution return only one result + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.21965 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-ansible-augeas-1.0.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.23918 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-ansible-augeas-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-ansible-augeas-buildroot + cd python3-module-ansible-augeas-1.0.0 + install -pD -m 644 library/augeas.py /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/lib/python3/site-packages/ansible/modules/files/augeas.py + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-ansible-augeas-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-ansible-augeas-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-ansible-augeas-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-ansible-augeas-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-ansible-augeas-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-ansible-augeas-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-ansible-augeas-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-ansible-augeas-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-ansible-augeas-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/lib/python3/site-packages/ansible/modules/files/augeas.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-ansible-augeas-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/lib/python3/site-packages/ansible/modules/files/augeas.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-ansible-augeas-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/lib/python3/site-packages/ansible/modules/files/augeas.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Processing files: python3-module-ansible-augeas-1.0.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.13735 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-ansible-augeas-1.0.0 + DOCDIR=/usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/share/doc/python3-module-ansible-augeas-1.0.0 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/share/doc/python3-module-ansible-augeas-1.0.0 + /bin/mkdir -p /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/share/doc/python3-module-ansible-augeas-1.0.0 + cp -prL README.md /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/share/doc/python3-module-ansible-augeas-1.0.0 + chmod -R go-w /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/share/doc/python3-module-ansible-augeas-1.0.0 + chmod -R a+rX /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/share/doc/python3-module-ansible-augeas-1.0.0 + exit 0 warning: File listed twice: /usr/lib/python3/site-packages/ansible/modules/files/augeas.py Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WvIjeI 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.rKR9TG 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-ansible-augeas-buildroot/usr/lib/python3/site-packages/ansible/modules/files/augeas.py: line=110 IGNORE (for REQ=slight and deep=8) module=augeas shebang.req.files: executable script /usr/src/tmp/python3-module-ansible-augeas-buildroot/usr/lib/python3/site-packages/ansible/modules/files/augeas.py is not executable Requires: python3-module-augeas, libaugeas, ansible >= 1.8, /usr/lib/python3/site-packages, python3(collections) < 0, python3(ctypes) < 0, python3(operator) < 0, python3(re) < 0, python3(shlex) < 0 Obsoletes: ansible-augeas < 1.0.0-alt1 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-ansible-augeas-1.0.0-alt1.noarch.rpm 3.50user 0.29system 0:07.37elapsed 51%CPU (0avgtext+0avgdata 15884maxresident)k 0inputs+0outputs (0major+109255minor)pagefaults 0swaps 9.87user 3.38system 0:18.27elapsed 72%CPU (0avgtext+0avgdata 109200maxresident)k 0inputs+0outputs (0major+495136minor)pagefaults 0swaps --- python3-module-ansible-augeas-1.0.0-alt1.noarch.rpm.repo 2020-01-22 13:17:02.900758240 +0000 +++ python3-module-ansible-augeas-1.0.0-alt1.noarch.rpm.hasher 2020-12-04 16:23:19.293303859 +0000 @@ -4,5 +4,5 @@ /usr/lib/python3/site-packages/ansible/modules/files/__pycache__ 40755 -/usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ansible/modules/files/__pycache__/augeas.cpython-38.pyc 100644 /usr/lib/python3/site-packages/ansible/modules/files/augeas.py 100644