<86>Nov 7 01:47:54 userdel[2786990]: delete user 'rooter' <86>Nov 7 01:47:54 userdel[2786990]: removed group 'rooter' owned by 'rooter' <86>Nov 7 01:47:54 userdel[2786990]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 7 01:47:54 groupadd[2787022]: group added to /etc/group: name=rooter, GID=693 <86>Nov 7 01:47:54 groupadd[2787022]: group added to /etc/gshadow: name=rooter <86>Nov 7 01:47:54 groupadd[2787022]: new group: name=rooter, GID=693 <86>Nov 7 01:47:54 useradd[2787041]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Nov 7 01:47:54 userdel[2787075]: delete user 'builder' <86>Nov 7 01:47:54 userdel[2787075]: removed group 'builder' owned by 'builder' <86>Nov 7 01:47:54 userdel[2787075]: removed shadow group 'builder' owned by 'builder' <86>Nov 7 01:47:54 groupadd[2787115]: group added to /etc/group: name=builder, GID=694 <86>Nov 7 01:47:54 groupadd[2787115]: group added to /etc/gshadow: name=builder <86>Nov 7 01:47:54 groupadd[2787115]: new group: name=builder, GID=694 <86>Nov 7 01:47:54 useradd[2787131]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash <13>Nov 7 01:47:55 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Nov 7 01:47:55 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>Nov 7 01:47:55 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed <13>Nov 7 01:47:56 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed <13>Nov 7 01:47:56 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904101 installed <13>Nov 7 01:47:56 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Nov 7 01:47:56 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Nov 7 01:47:58 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038260 installed <13>Nov 7 01:47:58 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Nov 7 01:47:58 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-email-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed <13>Nov 7 01:47:58 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450428 installed Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27139 + 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.76218 + 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.56031 + 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.40001 + 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.CcmYTX 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.BaxW60 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.78user 0.52system 0:05.93elapsed 72%CPU (0avgtext+0avgdata 26696maxresident)k 0inputs+0outputs (0major+141076minor)pagefaults 0swaps 9.72user 3.75system 0:18.22elapsed 73%CPU (0avgtext+0avgdata 112072maxresident)k 0inputs+0outputs (0major+505510minor)pagefaults 0swaps --- python3-module-ansible-augeas-1.0.0-alt1.noarch.rpm.repo 2020-01-22 13:17:02.000000000 +0000 +++ python3-module-ansible-augeas-1.0.0-alt1.noarch.rpm.hasher 2020-11-07 01:48:10.199980842 +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