<86>Feb 24 12:17:08 userdel[1262211]: delete user 'rooter' <86>Feb 24 12:17:08 userdel[1262211]: removed group 'rooter' owned by 'rooter' <86>Feb 24 12:17:08 userdel[1262211]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 24 12:17:08 groupadd[1262232]: group added to /etc/group: name=rooter, GID=567 <86>Feb 24 12:17:08 groupadd[1262232]: group added to /etc/gshadow: name=rooter <86>Feb 24 12:17:08 groupadd[1262232]: new group: name=rooter, GID=567 <86>Feb 24 12:17:08 useradd[1262249]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Feb 24 12:17:08 userdel[1262292]: delete user 'builder' <86>Feb 24 12:17:08 userdel[1262292]: removed group 'builder' owned by 'builder' <86>Feb 24 12:17:08 userdel[1262292]: removed shadow group 'builder' owned by 'builder' <86>Feb 24 12:17:08 groupadd[1262319]: group added to /etc/group: name=builder, GID=568 <86>Feb 24 12:17:08 groupadd[1262319]: group added to /etc/gshadow: name=builder <86>Feb 24 12:17:08 groupadd[1262319]: new group: name=builder, GID=568 <86>Feb 24 12:17:08 useradd[1262344]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-mozlog-3.3-alt2.src.rpm: bad symbols in the license tag: // <13>Feb 24 12:17:12 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 24 12:17:12 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 24 12:17:12 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 24 12:17:12 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Feb 24 12:17:12 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 24 12:17:12 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 24 12:17:12 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Feb 24 12:17:12 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 24 12:17:12 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Feb 24 12:17:12 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Feb 24 12:17:12 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Feb 24 12:17:12 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 24 12:17:12 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 24 12:17:14 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 24 12:17:14 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Feb 24 12:17:14 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Feb 24 12:17:18 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Feb 24 12:17:18 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Feb 24 12:17:18 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Feb 24 12:17:18 groupadd[1285002]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 24 12:17:18 groupadd[1285002]: group added to /etc/gshadow: name=_keytab <86>Feb 24 12:17:18 groupadd[1285002]: new group: name=_keytab, GID=499 <13>Feb 24 12:17:18 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Feb 24 12:17:18 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Feb 24 12:17:18 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Feb 24 12:17:18 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:18 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:18 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:18 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:19 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:19 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:19 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:19 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:19 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:19 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Feb 24 12:17:19 rpmi: python3-module-mozfile-1.2-alt2 sisyphus+244612.40.2.1 1579617865 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-mozlog-3.3-alt2.nosrc.rpm <13>Feb 24 12:17:22 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Feb 24 12:17:22 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 24 12:17:22 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Feb 24 12:17:22 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Feb 24 12:17:22 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-mozlog-3.3-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72148 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mozlog-3.3 + echo 'Source #0 (mozlog-3.3.tar.gz):' Source #0 (mozlog-3.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mozlog-3.3.tar.gz + /bin/tar -xf - + cd mozlog-3.3 + /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 ./mozlog/unstructured/loglistener.py RefactoringTool: No changes to ./mozlog/unstructured/loggingmixin.py RefactoringTool: No changes to ./mozlog/unstructured/logger.py RefactoringTool: Refactored ./mozlog/structuredlog.py RefactoringTool: Refactored ./mozlog/stdadapter.py RefactoringTool: Refactored ./mozlog/scripts/unstable.py --- ./mozlog/unstructured/loglistener.py (original) +++ ./mozlog/unstructured/loglistener.py (refactored) @@ -2,18 +2,18 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. -import SocketServer +import socketserver import socket import json -class LogMessageServer(SocketServer.TCPServer): +class LogMessageServer(socketserver.TCPServer): def __init__(self, server_address, logger, message_callback=None, timeout=3): - SocketServer.TCPServer.__init__(self, server_address, LogMessageHandler) + socketserver.TCPServer.__init__(self, server_address, LogMessageHandler) self._logger = logger self._message_callback = message_callback self.timeout = timeout -class LogMessageHandler(SocketServer.BaseRequestHandler): +class LogMessageHandler(socketserver.BaseRequestHandler): """Processes output from a connected log source, logging to an existing logger upon receipt of a well-formed log messsage.""" --- ./mozlog/structuredlog.py (original) +++ ./mozlog/structuredlog.py (refactored) @@ -2,7 +2,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -from __future__ import unicode_literals + from multiprocessing import current_process from threading import current_thread, Lock @@ -11,8 +11,8 @@ import time import traceback -from logtypes import Unicode, TestId, Status, SubStatus, Dict, List, Int, Any -from logtypes import log_action, convertor_registry +from .logtypes import Unicode, TestId, Status, SubStatus, Dict, List, Int, Any +from .logtypes import log_action, convertor_registry """Structured Logging for recording test results. @@ -175,7 +175,7 @@ action = raw_data["action"] converted_data = convertor_registry[action].convert_known(**raw_data) - for k, v in raw_data.iteritems(): + for k, v in raw_data.items(): if k not in converted_data: converted_data[k] = v @@ -212,8 +212,8 @@ except Exception: # Write the exception details directly to stderr because # log() would call this method again which is currently locked. - print >> sys.__stderr__, '%s: Failure calling log handler:' % __name__ - print >> sys.__stderr__, traceback.format_exc() + print('%s: Failure calling log handler:' % __name__, file=sys.__stderr__) + print(traceback.format_exc(), file=sys.__stderr__) def _make_log_data(self, action, data): all_data = {"action": action, @@ -422,7 +422,7 @@ exc_info = sys.exc_info() if exc_info != (None, None, None): bt = traceback.format_exception(*exc_info) - data["stack"] = u"\n".join(bt) + data["stack"] = "\n".join(bt) data["level"] = level_name self._log_data("log", data) --- ./mozlog/stdadapter.py (original) +++ ./mozlog/stdadapter.py (refactored) @@ -1,6 +1,6 @@ import logging -from structuredlog import StructuredLogger, log_levels +from .structuredlog import StructuredLogger, log_levels class UnstructuredHandler(logging.Handler): def __init__(self, name=None, level=logging.NOTSET): --- ./mozlog/scripts/unstable.py (original) +++ ./mozlog/scripts/unstable.py (refactored) @@ -10,7 +10,7 @@ self.statuses = defaultdict(lambda:defaultdict(lambda:defaultdict(lambda: defaultdict(int)))) def test_id(self, test): - if type(test) in (str, unicode): + if type(test) in (str, str): return test else: return tuple(test) @@ -40,9 +40,9 @@ def inner(statuses): rv = defaultdict(lambda:defaultdict(dict)) - for run_info, tests in statuses.iteritems(): - for test, subtests in tests.iteritems(): - for name, results in subtests.iteritems(): + for run_info, tests in statuses.itemRefactoringTool: Refactored ./mozlog/scripts/logmerge.py RefactoringTool: Refactored ./mozlog/scripts/format.py RefactoringTool: Refactored ./mozlog/scripts/__init__.py RefactoringTool: No changes to ./mozlog/reader.py RefactoringTool: No changes to ./mozlog/proxy.py RefactoringTool: Refactored ./mozlog/logtypes.py s(): + for test, subtests in tests.items(): + for name, results in subtests.items(): if results_cmp(results): rv[run_info][test][name] = results @@ -55,27 +55,27 @@ def group_results(data): rv = defaultdict(lambda: defaultdict(lambda: defaultdict(int))) - for run_info, tests in data.iteritems(): - for test, subtests in tests.iteritems(): - for name, results in subtests.iteritems(): - for status, number in results.iteritems(): + for run_info, tests in data.items(): + for test, subtests in tests.items(): + for name, results in subtests.items(): + for status, number in results.items(): rv[test][name][status] += number return rv def print_results(data): - for run_info, tests in data.iteritems(): + for run_info, tests in data.items(): run_str = " ".join("%s:%s" % (k,v) for k,v in run_info) if run_info else "No Run Info" - print run_str - print "=" * len(run_str) + print(run_str) + print("=" * len(run_str)) print_run(tests) def print_run(tests): for test, subtests in sorted(tests.items()): - print "\n" + str(test) - print "-" * len(test) - for name, results in subtests.iteritems(): - print "[%s]: %s" % (name if name is not None else "", - " ".join("%s (%i)" % (k,v) for k,v in results.iteritems())) + print("\n" + str(test)) + print("-" * len(test)) + for name, results in subtests.items(): + print("[%s]: %s" % (name if name is not None else "", + " ".join("%s (%i)" % (k,v) for k,v in results.items()))) def get_parser(add_help=True): parser = argparse.ArgumentParser("unstable", @@ -94,7 +94,7 @@ unstable = group_results(unstable) if kwargs["json"]: - print json.dumps(unstable) + print(json.dumps(unstable)) else: if not kwargs["group"]: print_results(unstable) --- ./mozlog/scripts/logmerge.py (original) +++ ./mozlog/scripts/logmerge.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import argparse import json import os --- ./mozlog/scripts/format.py (original) +++ ./mozlog/scripts/format.py (refactored) @@ -10,7 +10,7 @@ help="Filename to read from, defaults to stdin") parser.add_argument("--output", action="store", default=None, help="Filename to write to, defaults to stdout") - parser.add_argument("format", choices=commandline.log_formatters.keys(), + parser.add_argument("format", choices=list(commandline.log_formatters.keys()), help="Format to use") return parser --- ./mozlog/scripts/__init__.py (original) +++ ./mozlog/scripts/__init__.py (refactored) @@ -1,9 +1,9 @@ #!/usr/bin/env python import argparse -import unstable -import format as formatlog -import logmerge +from . import unstable +from . import format as formatlog +from . import logmerge def get_parser(): parser = argparse.ArgumentParser("structlog", @@ -15,7 +15,7 @@ sub_parser = parser.add_subparsers(title='Subcommands') - for command, (parser_func, main_func) in commands.iteritems(): + for command, (parser_func, main_func) in commands.items(): parent = parser_func(False) command_parser = sub_parser.add_parser(command, description=parent.description, --- ./mozlog/logtypes.py (original) +++ ./mozlog/logtypes.py (refactored) @@ -83,7 +83,7 @@ if name not in values: values[name] = self.args[name].default - for key, value in values.iteritems(): + for key, value in values.items(): if key in self.args: out_value = self.args[key](value) if out_value is not missing: @@ -94,7 +94,7 @@ return data def convert_known(self, **kwargs): - RefactoringTool: Refactored ./mozlog/handlers/valgrindhandler.py RefactoringTool: No changes to ./mozlog/handlers/statushandler.py RefactoringTool: No changes to ./mozlog/handlers/bufferhandler.py RefactoringTool: Refactored ./mozlog/handlers/base.py RefactoringTool: Refactored ./mozlog/formatters/xunit.py RefactoringTool: Refactored ./mozlog/formatters/unittest.py RefactoringTool: Refactored ./mozlog/formatters/tbplformatter.py RefactoringTool: No changes to ./mozlog/formatters/process.py RefactoringTool: Refactored ./mozlog/formatters/machformatter.py known_kwargs = {name: value for name, value in kwargs.iteritems() + known_kwargs = {name: value for name, value in kwargs.items() if name in self.args} return self.convert(**known_kwargs) @@ -122,15 +122,15 @@ class Unicode(DataType): def convert(self, data): - if isinstance(data, unicode): + if isinstance(data, str): return data if isinstance(data, str): return data.decode("utf8", "replace") - return unicode(data) + return str(data) class TestId(DataType): def convert(self, data): - if isinstance(data, unicode): + if isinstance(data, str): return data elif isinstance(data, bytes): return data.decode("utf-8", "replace") --- ./mozlog/handlers/valgrindhandler.py (original) +++ ./mozlog/handlers/valgrindhandler.py (refactored) @@ -120,14 +120,14 @@ # fields from the incoming message, since there's nowhere # else to get them from. output_message = { # Mandatory fields - u"action": "valgrind_error", - u"time": msg["time"], - u"thread": msg["thread"], - u"pid": msg["pid"], - u"source": msg["source"], + "action": "valgrind_error", + "time": msg["time"], + "thread": msg["thread"], + "pid": msg["pid"], + "source": msg["source"], # valgrind_error specific fields - u"primary": self.curr_failure_msg, - u"secondary": self.buffered_lines } + "primary": self.curr_failure_msg, + "secondary": self.buffered_lines } self.curr_failure_msg = "" self.buffered_lines = [] --- ./mozlog/handlers/base.py (original) +++ ./mozlog/handlers/base.py (refactored) @@ -94,7 +94,7 @@ if not formatted: return with self._lock: - if isinstance(formatted, unicode): + if isinstance(formatted, str): self.stream.write(formatted.encode("utf-8", "replace")) elif isinstance(formatted, str): self.stream.write(formatted) --- ./mozlog/formatters/xunit.py (original) +++ ./mozlog/formatters/xunit.py (refactored) @@ -1,12 +1,12 @@ import types from xml.etree import ElementTree -import base +from . import base def format_test_id(test_id): """Take a test id and return something that looks a bit like a class path""" - if type(test_id) not in types.StringTypes: + if type(test_id) not in (str,): #Not sure how to deal with reftests yet raise NotImplementedError --- ./mozlog/formatters/unittest.py (original) +++ ./mozlog/formatters/unittest.py (refactored) @@ -3,7 +3,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -import base +from . import base class UnittestFormatter(base.BaseFormatter): """Formatter designed to produce output in a format like that used by --- ./mozlog/formatters/tbplformatter.py (original) +++ ./mozlog/formatters/tbplformatter.py (refactored) @@ -211,13 +211,13 @@ return "SUITE-END | took %is\n" % time def test_id(self, test_id): - if isinstance(test_id, (str, unicode)): + if isinstance(test_id, str): return test_id else: return tuple(test_id) def id_str(self, test_id): - if isinstance(test_id, (str, unicode)): + if isinstance(test_id, str): return test_id else: return " ".join(test_id) --- ./mozlog/formatters/machformatter.py (oRefactoringTool: Refactored ./mozlog/formatters/html/xmlgen.py RefactoringTool: Refactored ./mozlog/formatters/html/html.py riginal) +++ ./mozlog/formatters/machformatter.py (refactored) @@ -10,7 +10,7 @@ except ImportError: blessings = None -import base +from . import base from .process import strstatus def format_seconds(total): @@ -95,7 +95,7 @@ return test_id def _get_file_name(self, test_id): - if isinstance(test_id, (str, unicode)): + if isinstance(test_id, str): return test_id if isinstance(test_id, tuple): --- ./mozlog/formatters/html/xmlgen.py (original) +++ ./mozlog/formatters/html/xmlgen.py (refactored) @@ -26,14 +26,14 @@ if sys.version_info >= (3,0): def u(s): return s - def unicode(x): + def str(x): if hasattr(x, '__unicode__'): return x.__unicode__() return str(x) else: def u(s): - return unicode(s) - unicode = unicode + return str(s) + str = str class NamespaceMetaclass(type): @@ -62,10 +62,10 @@ self.attr = self.Attr(**kwargs) def __unicode__(self): - return self.unicode(indent=0) + return self.str(indent=0) __str__ = __unicode__ - def unicode(self, indent=2): + def str(self, indent=2): l = [] SimpleUnicodeVisitor(l.append, indent).visit(self) return u("").join(l) @@ -81,7 +81,7 @@ }) class HtmlTag(Tag): - def unicode(self, indent=2): + def str(self, indent=2): l = [] HtmlVisitor(l.append, indent, shortempty=False).visit(self) return u("").join(l) @@ -105,7 +105,7 @@ class Style(object): def __init__(self, **kw): - for x, y in kw.items(): + for x, y in list(kw.items()): x = x.replace('_', '-') setattr(self, x, y) @@ -146,7 +146,7 @@ # to avoid clashes with the tag name object def __object(self, obj): #self.write(obj) - self.write(escape(unicode(obj))) + self.write(escape(str(obj))) def raw(self, obj): self.write(obj.uniobj) @@ -203,7 +203,7 @@ if isinstance(value, raw): insert = value.uniobj else: - insert = escape(unicode(value)) + insert = escape(str(value)) return ' %s="%s"' % (name, insert) def getstyle(self, tag): @@ -213,7 +213,7 @@ except AttributeError: return [] else: - stylelist = [x+': ' + y for x,y in styledict.items()] + stylelist = [x+': ' + y for x,y in list(styledict.items())] return [u(' style="%s"') % u('; ').join(stylelist)] def _issingleton(self, tagname): @@ -254,14 +254,14 @@ u('"') : u('"'), u('<') : u('<'), u('>') : u('>'), u('&') : u('&'), u("'") : u('''), } - self.charef_rex = re.compile(u("|").join(self.escape.keys())) + self.charef_rex = re.compile(u("|").join(list(self.escape.keys()))) def _replacer(self, match): return self.escape[match.group(0)] def __call__(self, ustring): """ xml-escape the given unicode string. """ - ustring = unicode(ustring) + ustring = str(ustring) return self.charef_rex.sub(self._replacer, ustring) escape = _escape() --- ./mozlog/formatters/html/html.py (original) +++ ./mozlog/formatters/html/html.py (refactored) @@ -141,7 +141,7 @@ html.a(html.img(src=screenshot), href="#"), class_='screenshot')) - for name, content in debug.items(): + for name, content in list(debug.items()): if name in ['screenshot', 'image1', 'image2']: if not content.startswith('data:image/png;base64,'): href = 'data:image/png;base64,%s' % content @@ -151,7 +151,7 @@ # Encode base64 to avoid that some browsers (such as Firefox, Opera) # treats '#' as the start of another link if it is contained in the data URL. # Use 'charset=utf-8' to show special RefactoringTool: Refactored ./mozlog/formatters/html/__init__.py RefactoringTool: Refactored ./mozlog/formatters/errorsummary.py RefactoringTool: No changes to ./mozlog/formatters/base.py RefactoringTool: Refactored ./mozlog/formatters/__init__.py RefactoringTool: Refactored ./mozlog/commandline.py characters like Chinese. - utf_encoded = unicode(content).encode('utf-8', 'xmlcharrefreplace') + utf_encoded = str(content).encode('utf-8', 'xmlcharrefreplace') href = 'data:text/html;charset=utf-8;base64,%s' % base64.b64encode(utf_encoded) links_html.append(html.a( @@ -200,7 +200,7 @@ id='environment'), html.h2('Summary'), - html.p('%i tests ran in %.1f seconds.' % (sum(self.test_count.itervalues()), + html.p('%i tests ran in %.1f seconds.' % (sum(self.test_count.values()), (self.suite_times["end"] - self.suite_times["start"]) / 1000.), html.br(), @@ -222,4 +222,4 @@ html.th('Links')]), id='results-table-head'), html.tbody(self.result_rows, id='results-table-body')], id='results-table'))) - return u"\n" + doc.unicode(indent=2) + return "\n" + doc.str(indent=2) --- ./mozlog/formatters/html/__init__.py (original) +++ ./mozlog/formatters/html/__init__.py (refactored) @@ -1 +1 @@ -from html import HTMLFormatter +from .html import HTMLFormatter --- ./mozlog/formatters/errorsummary.py (original) +++ ./mozlog/formatters/errorsummary.py (refactored) @@ -4,7 +4,7 @@ import json -from base import BaseFormatter +from .base import BaseFormatter class ErrorSummaryFormatter(BaseFormatter): def __init__(self): --- ./mozlog/formatters/__init__.py (original) +++ ./mozlog/formatters/__init__.py (refactored) @@ -2,12 +2,12 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -from unittest import UnittestFormatter -from xunit import XUnitFormatter -from html import HTMLFormatter -from machformatter import MachFormatter -from tbplformatter import TbplFormatter -from errorsummary import ErrorSummaryFormatter +from .unittest import UnittestFormatter +from .xunit import XUnitFormatter +from .html import HTMLFormatter +from .machformatter import MachFormatter +from .tbplformatter import TbplFormatter +from .errorsummary import ErrorSummaryFormatter try: import ujson as json --- ./mozlog/commandline.py (original) +++ ./mozlog/commandline.py (refactored) @@ -114,7 +114,7 @@ "or '-' to write to stdout.") if include_formatters is None: - include_formatters = log_formatters.keys() + include_formatters = list(log_formatters.keys()) if isinstance(parser, optparse.OptionParser): group = optparse.OptionGroup(parser, @@ -129,12 +129,12 @@ opt_log_type = log_file group_add = group.add_argument - for name, (cls, help_str) in log_formatters.iteritems(): + for name, (cls, help_str) in log_formatters.items(): if name in include_formatters: group_add("--log-" + name, action="append", type=opt_log_type, help=help_str) - for optname, (cls, help_str, formatters, action) in fmt_options.iteritems(): + for optname, (cls, help_str, formatters, action) in fmt_options.items(): for fmt in formatters: # make sure fmt is in log_formatters and is accepted if fmt in log_formatters and fmt in include_formatters: @@ -158,12 +158,12 @@ list(unused_options)) raise ValueError(msg) - for fmt, streams in formatters.iteritems(): + for fmt, streams in formatters.items(): formatter_cls = log_formatters[fmt][0] formatter = formatter_cls() handler_wrappers_and_options = [] - for option, value in formatter_options[fmt].iteritems(): + for option, value in formatter_options[fmt].items(): wrapper, wrapper_args = None, () if option == "valgrind": wrapper = valgrind_handler_wrapper @@ -2RefactoringTool: No changes to ./mozlog/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./mozlog/unstructured/loglistener.py RefactoringTool: ./mozlog/unstructured/loggingmixin.py RefactoringTool: ./mozlog/unstructured/logger.py RefactoringTool: ./mozlog/structuredlog.py RefactoringTool: ./mozlog/stdadapter.py RefactoringTool: ./mozlog/scripts/unstable.py RefactoringTool: ./mozlog/scripts/logmerge.py RefactoringTool: ./mozlog/scripts/format.py RefactoringTool: ./mozlog/scripts/__init__.py RefactoringTool: ./mozlog/reader.py RefactoringTool: ./mozlog/proxy.py RefactoringTool: ./mozlog/logtypes.py RefactoringTool: ./mozlog/handlers/valgrindhandler.py RefactoringTool: ./mozlog/handlers/statushandler.py RefactoringTool: ./mozlog/handlers/bufferhandler.py RefactoringTool: ./mozlog/handlers/base.py RefactoringTool: ./mozlog/formatters/xunit.py RefactoringTool: ./mozlog/formatters/unittest.py RefactoringTool: ./mozlog/formatters/tbplformatter.py RefactoringTool: ./mozlog/formatters/process.py RefactoringTool: ./mozlog/formatters/machformatter.py RefactoringTool: ./mozlog/formatters/html/xmlgen.py RefactoringTool: ./mozlog/formatters/html/html.py RefactoringTool: ./mozlog/formatters/html/__init__.py RefactoringTool: ./mozlog/formatters/errorsummary.py RefactoringTool: ./mozlog/formatters/base.py RefactoringTool: ./mozlog/formatters/__init__.py RefactoringTool: ./mozlog/commandline.py RefactoringTool: ./mozlog/__init__.py 24,7 +224,7 @@ else: defaults = {"raw": sys.stdout} - for name, values in args.iteritems(): + for name, values in args.items(): parts = name.split('_') if len(parts) > 3: continue @@ -238,7 +238,7 @@ _, formatter = parts for value in values: found = True - if isinstance(value, basestring): + if isinstance(value, str): value = log_file(value) if value == sys.stdout: found_stdout_logger = True @@ -252,11 +252,11 @@ #If there is no user-specified logging, go with the default options if not found: - for name, value in defaults.iteritems(): + for name, value in defaults.items(): formatters[name].append(value) - elif not found_stdout_logger and sys.stdout in defaults.values(): - for name, value in defaults.iteritems(): + elif not found_stdout_logger and sys.stdout in list(defaults.values()): + for name, value in defaults.items(): if value == sys.stdout: formatters[name].append(value) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.73733 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mozlog-3.3 + 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/mozlog copying mozlog/structuredlog.py -> build/lib/mozlog copying mozlog/stdadapter.py -> build/lib/mozlog copying mozlog/reader.py -> build/lib/mozlog copying mozlog/proxy.py -> build/lib/mozlog copying mozlog/logtypes.py -> build/lib/mozlog copying mozlog/commandline.py -> build/lib/mozlog copying mozlog/__init__.py -> build/lib/mozlog creating build/lib/mozlog/unstructured copying mozlog/unstructured/loglistener.py -> build/lib/mozlog/unstructured copying mozlog/unstructured/loggingmixin.py -> build/lib/mozlog/unstructured copying mozlog/unstructured/logger.py -> build/lib/mozlog/unstructured copying mozlog/unstructured/__init__.py -> build/lib/mozlog/unstructured creating build/lib/mozlog/scripts copying mozlog/scripts/unstable.py -> build/lib/mozlog/scripts copying mozlog/scripts/logmerge.py -> build/lib/mozlog/scripts copying mozlog/scripts/format.py -> build/lib/mozlog/scripts copying mozlog/scripts/__init__.py -> build/lib/mozlog/scripts creating build/lib/mozlog/handlers copying mozlog/handlers/valgrindhandler.py -> build/lib/mozlog/handlers copying mozlog/handlers/statushandler.py -> build/lib/mozlog/handlers copying mozlog/handlers/bufferhandler.py -> build/lib/mozlog/handlers copying mozlog/handlers/base.py -> build/lib/mozlog/handlers copying mozlog/handlers/__init__.py -> build/lib/mozlog/handlers creating build/lib/mozlog/formatters copying mozlog/formatters/xunit.py -> build/lib/mozlog/formatters copying mozlog/formatters/unittest.py -> build/lib/mozlog/formatters copying mozlog/formatters/tbplformatter.py -> build/lib/mozlog/formatters copying mozlog/formatters/process.py -> build/lib/mozlog/formatters copying mozlog/formatters/machformatter.py -> build/lib/mozlog/formatters copying mozlog/formatters/errorsummary.py -> build/lib/mozlog/formatters copying mozlog/formatters/base.py -> build/lib/mozlog/formatters copying mozlog/formatters/__init__.py -> build/lib/mozlog/formatters creating build/lib/mozlog/formatters/html copying mozlog/formatters/html/xmlgen.py -> build/lib/mozlog/formatters/html copying mozlog/formatters/html/html.py -> build/lib/mozlog/formatters/html copying mozlog/formatters/html/__init__.py -> build/lib/mozlog/formatters/html copying mozlog/formatters/html/main.js -> build/lib/mozlog/formatters/html copying mozlog/formatters/html/style.css -> build/lib/mozlog/formatters/html + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.32098 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-mozlog-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-mozlog-buildroot + cd mozlog-3.3 + 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-mozlog-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-mozlog-buildroot creating /usr/src/tmp/python3-module-mozlog-buildroot/usr creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html copying build/lib/mozlog/formatters/html/style.css -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html copying build/lib/mozlog/formatters/html/main.js -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html copying build/lib/mozlog/formatters/html/__init__.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html copying build/lib/mozlog/formatters/html/html.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html copying build/lib/mozlog/formatters/html/xmlgen.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html copying build/lib/mozlog/formatters/__init__.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters copying build/lib/mozlog/formatters/base.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters copying build/lib/mozlog/formatters/errorsummary.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters copying build/lib/mozlog/formatters/machformatter.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters copying build/lib/mozlog/formatters/process.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters copying build/lib/mozlog/formatters/tbplformatter.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters copying build/lib/mozlog/formatters/unittest.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters copying build/lib/mozlog/formatters/xunit.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers copying build/lib/mozlog/handlers/__init__.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers copying build/lib/mozlog/handlers/base.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers copying build/lib/mozlog/handlers/bufferhandler.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers copying build/lib/mozlog/handlers/statushandler.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers copying build/lib/mozlog/handlers/valgrindhandler.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts copying build/lib/mozlog/scripts/__init__.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts copying build/lib/mozlog/scripts/format.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts copying build/lib/mozlog/scripts/logmerge.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts copying build/lib/mozlog/scripts/unstable.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts creating /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured copying build/lib/mozlog/unstructured/__init__.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured copying build/lib/mozlog/unstructured/logger.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured copying build/lib/mozlog/unstructured/loggingmixin.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured copying build/lib/mozlog/unstructured/loglistener.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured copying build/lib/mozlog/__init__.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog copying build/lib/mozlog/commandline.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog copying build/lib/mozlog/logtypes.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog copying build/lib/mozlog/proxy.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog copying build/lib/mozlog/reader.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog copying build/lib/mozlog/stdadapter.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog copying build/lib/mozlog/structuredlog.py -> /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/html.py to html.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/xmlgen.py to xmlgen.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/base.py to base.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/errorsummary.py to errorsummary.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py to machformatter.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/process.py to process.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/tbplformatter.py to tbplformatter.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/unittest.py to unittest.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/xunit.py to xunit.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/base.py to base.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/bufferhandler.py to bufferhandler.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/statushandler.py to statushandler.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/valgrindhandler.py to valgrindhandler.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/format.py to format.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/logmerge.py to logmerge.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/unstable.py to unstable.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/logger.py to logger.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loggingmixin.py to loggingmixin.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loglistener.py to loglistener.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py to commandline.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/logtypes.py to logtypes.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/proxy.py to proxy.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/reader.py to reader.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/stdadapter.py to stdadapter.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py to structuredlog.cpython-37.pyc running install_egg_info running egg_info writing mozlog.egg-info/PKG-INFO writing dependency_links to mozlog.egg-info/dependency_links.txt writing entry points to mozlog.egg-info/entry_points.txt writing requirements to mozlog.egg-info/requires.txt writing top-level names to mozlog.egg-info/top_level.txt reading manifest file 'mozlog.egg-info/SOURCES.txt' writing manifest file 'mozlog.egg-info/SOURCES.txt' Copying mozlog.egg-info to /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog-3.3-py3.7.egg-info running install_scripts Installing structlog script to /usr/src/tmp/python3-module-mozlog-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-mozlog-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-mozlog-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-mozlog-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-mozlog-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-mozlog-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-mozlog-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-mozlog-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-mozlog-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-mozlog-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__pycache__/commandline.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__pycache__/logtypes.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__pycache__/proxy.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__pycache__/reader.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__pycache__/stdadapter.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__pycache__/structuredlog.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/base.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/errorsummary.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/machformatter.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/process.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/tbplformatter.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/unittest.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__pycache__/xunit.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/html.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/xmlgen.cpython-37.pyc compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/html.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/xmlgen.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/base.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/errorsummary.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/process.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/tbplformatter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/unittest.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/xunit.py unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__pycache__/base.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__pycache__/bufferhandler.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__pycache__/statushandler.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__pycache__/valgrindhandler.cpython-37.pyc compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/base.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/bufferhandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/statushandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/valgrindhandler.py unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__pycache__/format.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__pycache__/logmerge.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__pycache__/unstable.cpython-37.pyc compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/format.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/logmerge.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/unstable.py unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/logger.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/loggingmixin.cpython-37.pyc unlink /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/loglistener.cpython-37.pyc compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/logger.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loggingmixin.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loglistener.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/logtypes.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/proxy.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/reader.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/stdadapter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-mozlog-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/html.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/xmlgen.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/base.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/errorsummary.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/process.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/tbplformatter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/unittest.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/xunit.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/base.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/bufferhandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/statushandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/valgrindhandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/format.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/logmerge.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/unstable.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/logger.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loggingmixin.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loglistener.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/logtypes.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/proxy.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/reader.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/stdadapter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-mozlog-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/html.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/xmlgen.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/base.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/errorsummary.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/process.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/tbplformatter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/unittest.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/xunit.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/base.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/bufferhandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/statushandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/valgrindhandler.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/format.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/logmerge.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/unstable.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/logger.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loggingmixin.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loglistener.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/logtypes.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/proxy.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/reader.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/stdadapter.py compile /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/mozlog/__pycache__/structuredlog.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/structuredlog.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/__pycache__/stdadapter.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/stdadapter.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/__pycache__/reader.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/reader.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/__pycache__/proxy.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/proxy.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/__pycache__/logtypes.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/logtypes.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/__pycache__/logtypes.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/logtypes.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/__pycache__/commandline.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/commandline.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/loglistener.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/loglistener.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/loggingmixin.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/loggingmixin.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/logger.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/logger.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/unstructured/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/unstable.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/unstable.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/unstable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/unstable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/logmerge.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/logmerge.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/logmerge.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/logmerge.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/format.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/format.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/format.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/format.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/scripts/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/valgrindhandler.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/valgrindhandler.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/statushandler.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/statushandler.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/bufferhandler.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/bufferhandler.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/handlers/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/xunit.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/xunit.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/unittest.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/unittest.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/tbplformatter.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/tbplformatter.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/process.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/process.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/errorsummary.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/errorsummary.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/errorsummary.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/errorsummary.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/base.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/base.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/html.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/html.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mozlog/formatters/html/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.17290 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mozlog-3.3 + /usr/bin/python3 setup.py test running test running egg_info writing mozlog.egg-info/PKG-INFO writing dependency_links to mozlog.egg-info/dependency_links.txt writing entry points to mozlog.egg-info/entry_points.txt deleting mozlog.egg-info/requires.txt writing top-level names to mozlog.egg-info/top_level.txt reading manifest file 'mozlog.egg-info/SOURCES.txt' writing manifest file 'mozlog.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + exit 0 Processing files: python3-module-mozlog-3.3-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.36655 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mozlog-3.3 + DOCDIR=/usr/src/tmp/python3-module-mozlog-buildroot/usr/share/doc/python3-module-mozlog-3.3 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-mozlog-buildroot/usr/share/doc/python3-module-mozlog-3.3 + /bin/mkdir -p /usr/src/tmp/python3-module-mozlog-buildroot/usr/share/doc/python3-module-mozlog-3.3 + cp -prL PKG-INFO /usr/src/tmp/python3-module-mozlog-buildroot/usr/share/doc/python3-module-mozlog-3.3 + chmod -R go-w /usr/src/tmp/python3-module-mozlog-buildroot/usr/share/doc/python3-module-mozlog-3.3 + chmod -R a+rX /usr/src/tmp/python3-module-mozlog-buildroot/usr/share/doc/python3-module-mozlog-3.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rXzg25 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.fwOUT8 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/python3-module-mozlog-buildroot/usr/bin/structlog: skipping sys python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py: line=19 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py: line=20 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py: line=21 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/__init__.py: line=22 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py: line=11 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py: line=12 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/commandline.py: line=13 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=6 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=7 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=10 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=13 IGNORE (for REQ=slight and deep=8) module=ujson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/__init__.py: line=15 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/base.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/errorsummary.py: line=7 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/__init__.py: line=1 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/html.py: line=11 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/html.py: line=24 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/xmlgen.py: skipping sys python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py: line=9 IGNORE (for REQ=slight and deep=8) module=blessings /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py: line=13 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/machformatter.py: line=14 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/tbplformatter.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/tbplformatter.py: line=9 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/unittest.py: line=6 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/xunit.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/xunit.py: line=99 IGNORE (for REQ=slight and deep=11) module=xml.dom /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py: line=6 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py: line=7 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/__init__.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/base.py: line=8 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/bufferhandler.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/handlers/valgrindhandler.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/proxy.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py: line=6 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/format.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/format.py: line=4 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/logmerge.py: skipping sys python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/logmerge.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/stdadapter.py: line=3 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py: skipping sys python3.req: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py: line=14 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/structuredlog.py: line=15 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__init__.py: line=6 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/__init__.py: line=7 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/unstructured/loggingmixin.py: line=5 possible relative import from ., UNIMPLEMENTED shebang.req.files: executable script /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/html/html.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/formatters/unittest.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-mozlog-buildroot/usr/lib/python3/site-packages/mozlog/scripts/__init__.py is not executable Provides: python3(mozlog), python3(mozlog.commandline), python3(mozlog.formatters), python3(mozlog.formatters.base), python3(mozlog.formatters.errorsummary), python3(mozlog.formatters.html), python3(mozlog.formatters.html.html), python3(mozlog.formatters.html.xmlgen), python3(mozlog.formatters.machformatter), python3(mozlog.formatters.process), python3(mozlog.formatters.tbplformatter), python3(mozlog.formatters.unittest), python3(mozlog.formatters.xunit), python3(mozlog.handlers), python3(mozlog.handlers.base), python3(mozlog.handlers.bufferhandler), python3(mozlog.handlers.statushandler), python3(mozlog.handlers.valgrindhandler), python3(mozlog.logtypes), python3(mozlog.proxy), python3(mozlog.reader), python3(mozlog.scripts), python3(mozlog.scripts.format), python3(mozlog.scripts.logmerge), python3(mozlog.scripts.unstable), python3(mozlog.stdadapter), python3(mozlog.structuredlog), python3(mozlog.unstructured), python3(mozlog.unstructured.logger), python3(mozlog.unstructured.loggingmixin), python3(mozlog.unstructured.loglistener) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(argparse) < 0, python3(base64) < 0, python3(cgi) < 0, python3(codecs) < 0, python3(collections) < 0, python3(datetime) < 0, python3(functools) < 0, python3(json) < 0, python3(logging) < 0, python3(multiprocessing) < 0, python3(optparse) < 0, python3(os) < 0, python3(pkg_resources) < 0, python3(re) < 0, python3(signal) < 0, python3(socket) < 0, python3(socketserver) < 0, python3(threading) < 0, python3(traceback) < 0, python3(types) < 0, python3(xml.etree) < 0 Conflicts: python-module-mozlog Wrote: /usr/src/RPM/RPMS/noarch/python3-module-mozlog-3.3-alt2.noarch.rpm 18.00user 1.44system 0:23.05elapsed 84%CPU (0avgtext+0avgdata 21816maxresident)k 0inputs+0outputs (0major+199511minor)pagefaults 0swaps /.out/python3-module-mozlog-3.3-alt2.noarch.rpm: bad symbols in the license tag: // 30.00user 8.90system 0:44.44elapsed 87%CPU (0avgtext+0avgdata 108892maxresident)k 32inputs+0outputs (0major+644357minor)pagefaults 0swaps