<86>Jun 20 13:09:49 userdel[3809739]: delete user 'rooter' <86>Jun 20 13:09:49 userdel[3809739]: removed group 'rooter' owned by 'rooter' <86>Jun 20 13:09:49 userdel[3809739]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 20 13:09:49 groupadd[3809751]: group added to /etc/group: name=rooter, GID=579 <86>Jun 20 13:09:49 groupadd[3809751]: group added to /etc/gshadow: name=rooter <86>Jun 20 13:09:49 groupadd[3809751]: new group: name=rooter, GID=579 <86>Jun 20 13:09:49 useradd[3809762]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Jun 20 13:09:49 userdel[3809785]: delete user 'builder' <86>Jun 20 13:09:49 userdel[3809785]: removed group 'builder' owned by 'builder' <86>Jun 20 13:09:49 userdel[3809785]: removed shadow group 'builder' owned by 'builder' <86>Jun 20 13:09:49 groupadd[3809797]: group added to /etc/group: name=builder, GID=580 <86>Jun 20 13:09:49 groupadd[3809797]: group added to /etc/gshadow: name=builder <86>Jun 20 13:09:49 groupadd[3809797]: new group: name=builder, GID=580 <86>Jun 20 13:09:49 useradd[3809809]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Jun 20 13:09:53 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jun 20 13:09:53 rpmi: libffi6-1:3.2.1-alt4 sisyphus+251953.300.2.1 1589891360 installed <13>Jun 20 13:09:53 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Jun 20 13:09:53 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 20 13:09:53 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jun 20 13:09:53 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 20 13:09:53 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 20 13:09:53 rpmi: ca-certificates-2020.06.05-alt1 sisyphus+252902.200.1.1 1591391133 installed <13>Jun 20 13:09:53 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 20 13:09:53 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 20 13:09:53 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jun 20 13:09:53 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jun 20 13:09:53 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Jun 20 13:09:55 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Jun 20 13:09:55 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Jun 20 13:09:55 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jun 20 13:09:55 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jun 20 13:10:00 rpmi: python-modules-curses-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:00 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jun 20 13:10:00 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jun 20 13:10:00 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jun 20 13:10:00 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jun 20 13:10:00 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jun 20 13:10:00 groupadd[3823908]: group added to /etc/group: name=_keytab, GID=499 <86>Jun 20 13:10:00 groupadd[3823908]: group added to /etc/gshadow: name=_keytab <86>Jun 20 13:10:00 groupadd[3823908]: new group: name=_keytab, GID=499 <13>Jun 20 13:10:00 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Jun 20 13:10:00 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Jun 20 13:10:00 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jun 20 13:10:00 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:00 rpmi: python-modules-email-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:00 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:00 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-xml-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-hotshot-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-bsddb-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-modules-distutils-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jun 20 13:10:01 rpmi: python-dev-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:01 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-qserve-0.2.8-alt1.1.2.nosrc.rpm <13>Jun 20 13:10:05 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>Jun 20 13:10:05 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Jun 20 13:10:05 rpmi: python-modules-json-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jun 20 13:10:05 rpmi: python-module-pkg_resources-1:42.0.0-alt2 sisyphus+250566.100.6.1 1588187716 installed <13>Jun 20 13:10:05 rpmi: python-module-setuptools-1:42.0.0-alt2 sisyphus+250566.100.6.1 1588187716 installed <13>Jun 20 13:10:05 rpmi: python3-module-setuptools-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed Installing python-module-qserve-0.2.8-alt1.1.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.58961 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-qserve-0.2.8 + echo 'Source #0 (python-module-qserve-0.2.8.tar):' Source #0 (python-module-qserve-0.2.8.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-qserve-0.2.8.tar + cd python-module-qserve-0.2.8 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/tests/test_qserve.py RefactoringTool: Refactored ../python3/tests/test_proc.py RefactoringTool: Refactored ../python3/tests/test_jobs.py RefactoringTool: Refactored ../python3/tests/test_call_in_loop.py --- ../python3/tests/test_proc.py (original) +++ ../python3/tests/test_proc.py (refactored) @@ -24,14 +24,14 @@ def test_run_cmd_exit_before_close(): st, out = proc.run_cmd([sys.executable, "-uc", """import os; import sys; os.spawnl(os.P_NOWAIT, sys.executable, sys.executable, "-c", "import time; time.sleep(0.2); print 'foobar!'")"""]) - print (st, out) + print((st, out)) assert (st, out) == (0, 'foobar!\n') def test_run_cmd_execfail(): st, out = proc.run_cmd([sys.executable + "-999"]) - print "status:", st - print "out:", repr(out) + print("status:", st) + print("out:", repr(out)) assert os.WIFEXITED(st) assert os.WEXITSTATUS(st) == 97 --- ../python3/tests/test_jobs.py (original) +++ ../python3/tests/test_jobs.py (refactored) @@ -1,6 +1,6 @@ #! /usr/bin/env py.test -import sys, time, cPickle, StringIO +import sys, time, pickle, io from qs import jobs from gevent import sleep, pool @@ -38,7 +38,7 @@ def loaddump(obj): - return cPickle.loads(cPickle.dumps(obj)) + return pickle.loads(pickle.dumps(obj)) # -- tests @@ -52,7 +52,7 @@ def test_job_repr_unicode(): - r = repr(jobs.job("render", jobid=unichr(256))) + r = repr(jobs.job("render", jobid=chr(256))) assert isinstance(r, str) @@ -88,15 +88,15 @@ def test_job_json(): - jobs.job("render", jobid=unichr(256))._json() + jobs.job("render", jobid=chr(256))._json() def test_workq_pickle(wq): wq.pushjob(jobs.job("render1")) wq.pushjob(jobs.job("render2")) w2 = loaddump(wq) - print wq.__dict__ - print w2.__dict__ + print(wq.__dict__) + print(w2.__dict__) assert wq.__dict__ == w2.__dict__ @@ -108,7 +108,7 @@ def test_pushjob_no_automatic_jobid(wq): - for jobid in ["", "123", unichr(255), 0]: + for jobid in ["", "123", chr(255), 0]: j = jobs.job("render", payload="hello", jobid=jobid) jid = wq.pushjob(j) assert (jid, j.jobid) == (jobid, jobid) @@ -138,21 +138,21 @@ def test_stats(wq): joblst = [wq.push("render", payload=i) for i in range(10)] stats = wq.getstats() - print "stats before", stats + print("stats before", stats) assert stats == {'count': 10, 'busy': {'render': 10}, 'channel2stat': {}, 'numjobs': 10} wq.killjobs(joblst[1:]) stats = wq.getstats() - print "stats after", stats + print("stats after", stats) assert stats == {'count': 10, 'busy': {'render': 1}, 'channel2stat': {'render': {'success': 0, 'killed': 9, 'timeout': 0, 'error': 0}}, 'numjobs': 10} - print wq.waitjobs(joblst[1:]) + print(wq.waitjobs(joblst[1:])) def test_report(wq, monkeypatch): def get_report(): - stdout = StringIO.StringIO() + stdout = io.StringIO() monkeypatch.setattr(sys, "stdout", stdout) wq.report() monkeypatch.undo() @@ -165,7 +165,7 @@ wq.killjobs(joblst[2:]) out = get_report() - print "--- OUTPUT ---\n", out, "\n------------" + print("--- OUTPUT ---\n", out, "\n------------") assert "render 10" not in out assert "render 2\n" in out @@ -183,16 +183,16 @@ for j in jlist[:-1]: wq._mark_finished(j, killed=True) - print wq.__dict__ + print(wq.__dict__) j = wq.pop(["render"]) - print j, jlist + print(j, jlist) assert j is jlist[-1] def test_pop_new_channel(wq, spawn): wq.push("foo") wq.pop([]) # wq.channel2q == {'foo': []} now - print wq.__dict__ + print(wq.__dict__) gr = spawn(wq.pop, []) sleep(0) @@ -295,8 +295,8 @@ def test_pop_cleanup_waiters_if_killed(wq, spawn): gr = spawn(wq.pop, []) sleep(0.0) - print "before", wq.__dict__ + print("before", wq.__dict__) assert len(wq._waiters) == 1 gr.kill() - print "after", wq.__dict__ + print("after", wq.__dict__) assert len(wq._waiters) == 0 --- ../python3/tests/test_call_in_loop.py (original) +++ ../python3/tests/test_call_in_loop.py (refactored) @@ -23,7 +23,7 @@ def doit(): lst.append(len(lst)) - print "RefactoringTool: Refactored ../python3/setup.py RefactoringTool: Refactored ../python3/qs/slave.py RefactoringTool: Refactored ../python3/qs/rpcserver.py doit", lst + print("doit", lst) if len(lst) == 5: raise RuntimeError("size is 5") elif len(lst) == 10: --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -3,7 +3,7 @@ def get_version(): d = {} - execfile("qs/__init__.py", d, d) + exec(compile(open("qs/__init__.py", "rb").read(), "qs/__init__.py", 'exec'), d, d) return d["__version__"] if __name__ == "__main__": --- ../python3/qs/slave.py (original) +++ ../python3/qs/slave.py (refactored) @@ -41,8 +41,8 @@ kwargs = job.get("payload") or dict() tmp = {} - for k, v in kwargs.items(): - if isinstance(k, unicode): + for k, v in list(kwargs.items()): + if isinstance(k, str): tmp[str(k)] = v else: tmp[k] = v @@ -80,8 +80,8 @@ try: opts, args = getopt.getopt(argv, "c:s:", ["host=", "port=", "numthreads=", "numprocs=", "channel=", "skip="]) - except getopt.GetoptError, err: - print str(err) + except getopt.GetoptError as err: + print(str(err)) sys.exit(10) for o, a in opts: @@ -123,7 +123,7 @@ if numprocs: def checkparent(): if os.getppid() == 1: - print "parent died. exiting." + print("parent died. exiting.") os._exit(0) else: def checkparent(): @@ -136,9 +136,9 @@ try: job = qs.qpull(channels=channels) break - except Exception, err: + except Exception as err: checkparent() - print "Error while calling pulljob:", str(err) + print("Error while calling pulljob:", str(err)) time.sleep(sleeptime) checkparent() if sleeptime < 60: @@ -148,8 +148,8 @@ # print "got job:", job try: result = workhandler(qs).dispatch(job) - except Exception, err: - print "error:", err + except Exception as err: + print("error:", err) try: qs.qfinish(jobid=job["jobid"], error=shorterrmsg()) traceback.print_exc() @@ -167,7 +167,7 @@ while 1: handle_one_job(qs) - print "pulling jobs from", "%s:%s" % (host, port), "for", ", ".join(channels) + print("pulling jobs from", "%s:%s" % (host, port), "for", ", ".join(channels)) def run_with_threads(): import threading @@ -189,7 +189,7 @@ try: pid = os.fork() except: - print "failed to fork child" + print("failed to fork child") time.sleep(1) continue @@ -236,7 +236,7 @@ if __name__ == "__main__": class commands: def rpc_divide(self, a, b): - print "rpc_divide", (a, b) + print("rpc_divide", (a, b)) return a / b main(commands, numprocs=2) --- ../python3/qs/rpcserver.py (original) +++ ../python3/qs/rpcserver.py (refactored) @@ -12,7 +12,7 @@ def key2str(kwargs): r = {} - for k, v in kwargs.items(): + for k, v in list(kwargs.items()): r[str(k)] = v return r @@ -22,7 +22,7 @@ name, kwargs = req kwargs = key2str(kwargs) - assert isinstance(name, basestring), "bad name argument" + assert isinstance(name, str), "bad name argument" cmdname = str("rpc_" + name) m = getattr(self, cmdname, None) if not m: @@ -74,7 +74,7 @@ self.streamserver.serve_forever() def log(self, msg): - print msg + print(msg) def handle_client(self, sock, addr): if not self.is_allowed(addr[0]): @@ -113,7 +113,7 @@ try: req = json.loads(line) - except ValueError, err: + except ValueError as err: self.log("+protocol erroRefactoringTool: Refactored ../python3/qs/rpcclient.py RefactoringTool: Refactored ../python3/qs/qserve.py r %s: %s" % (clientid, err)) break @@ -123,7 +123,7 @@ response = json.dumps(dict(result=d)) + "\n" except GreenletExit: raise - except Exception, err: + except Exception as err: response = json.dumps(dict(error=str(err))) + "\n" traceback.print_exc() --- ../python3/qs/rpcclient.py (original) +++ ../python3/qs/rpcclient.py (refactored) @@ -67,6 +67,6 @@ def __getattr__(self, name): def call(**kwargs): return self._rpcclient.send(name, **kwargs) - call.func_name = name + call.__name__ = name self.__dict__[name] = call return call --- ../python3/qs/qserve.py (original) +++ ../python3/qs/qserve.py (refactored) @@ -1,6 +1,6 @@ #! /usr/bin/env python -import sys, os, getopt, cPickle +import sys, os, getopt, pickle import gevent, gevent.pool from qs import jobs, rpcserver, misc @@ -34,9 +34,9 @@ def rpc_qfinish(self, jobid, result=None, error=None, traceback=None): if error: - print "error finish: %s: %r" % (jobid, error) - else: - print "finish: %s: %r" % (jobid, result) + print("error finish: %s: %r" % (jobid, error)) + else: + print("finish: %s: %r" % (jobid, result)) self.workq.finishjob(jobid, result=result, error=error) if jobid in self.running_jobs: del self.running_jobs[jobid] @@ -70,7 +70,7 @@ return self.workq.getstats() def shutdown(self): - for j in self.running_jobs.values(): + for j in list(self.running_jobs.values()): # print "reschedule", j self.workq.pushjob(j) @@ -93,17 +93,17 @@ qpath = None if qpath and os.path.exists(qpath): - print "loading", qpath - self.db = cPickle.load(open(qpath)) - print "loaded", len(self.db.workq.id2job), "jobs" + print("loading", qpath) + self.db = pickle.load(open(qpath)) + print("loaded", len(self.db.workq.id2job), "jobs") else: self.db = db() self.qpath = qpath def savedb(self): if self.qpath: - print "saving", self.qpath - cPickle.dump(self.db, open(self.qpath, "w"), 2) + print("saving", self.qpath) + pickle.dump(self.db, open(self.qpath, "w"), 2) def is_allowed_ip(self, ip): return not self.allowed_ips or ip in self.allowed_ips @@ -120,7 +120,7 @@ # print "= %s clients" % len(pool) # for cl in pool: # print cl - print + print() def run(self): @@ -133,7 +133,7 @@ s = self.server = rpcserver.server(self.port, host=self.interface, get_request_handler=handler, is_allowed=self.is_allowed_ip) self.port = s.streamserver.socket.getsockname()[1] - print "listening on %s:%s" % (self.interface, self.port) + print("listening on %s:%s" % (self.interface, self.port)) loops = [(self.report, 20), (self.watchdog, 15), (self.handletimeouts, 1)] workers = gevent.pool.Pool() @@ -158,13 +158,13 @@ bs.pre_start() else: bs.init_socket() # gevent >= 1.0b1 - print "starting backdoor on 127.0.0.1:%s" % bs.socket.getsockname()[1] + print("starting backdoor on 127.0.0.1:%s" % bs.socket.getsockname()[1]) bs.start() try: s.run_forever() except KeyboardInterrupt: - print "interrupted" + print("interrupted") finally: self.savedb() workers.kill() @@ -173,7 +173,7 @@ def usage(): - print "mw-qserve [-p PORT] [-i INTERFACE] [-d DATADIR]" + print("mw-qserve [-p PORT] [-i INTERFACE] [-d DATADIR]") def port_from_str(port): @@ -189,12 +189,12 @@ try: opts, args = getopt.getopt(argv, "a:d:p:i:h", ["help", "port=", "interface="]) - exRefactoringTool: Refactored ../python3/qs/proc.py RefactoringTool: No changes to ../python3/qs/misc.py RefactoringTool: Refactored ../python3/qs/jobs.py cept getopt.GetoptError, err: - print str(err) + except getopt.GetoptError as err: + print(str(err)) sys.exit(10) if args: - print "too many arguments" + print("too many arguments") sys.exit(10) port = 14311 @@ -207,7 +207,7 @@ try: port = port_from_str(a) except ValueError: - print "expected positive integer as argument to %s" % o + print("expected positive integer as argument to %s" % o) sys.exit(10) elif o in ("-i", "--interface"): interface = a --- ../python3/qs/proc.py (original) +++ ../python3/qs/proc.py (refactored) @@ -1,6 +1,6 @@ #! /usr/bin/env python -from __future__ import with_statement + import os, signal, traceback from gevent import socket, core, event, Timeout, version_info @@ -44,7 +44,7 @@ _init() args = list(args) for i, x in enumerate(args): - if isinstance(x, unicode): + if isinstance(x, str): args[i] = x.encode("utf-8") sp = socket.socketpair() @@ -95,7 +95,7 @@ del pid2status[pid] return st, "".join(chunks) - except Timeout, t: + except Timeout as t: if t is not timeout: raise finally: --- ../python3/qs/jobs.py (original) +++ ../python3/qs/jobs.py (refactored) @@ -62,7 +62,7 @@ self._channel2count = {} def __getstate__(self): - return dict(count=self.count, jobs=self.id2job.values()) + return dict(count=self.count, jobs=list(self.id2job.values())) def __setstate__(self, state): self.__init__() @@ -91,16 +91,16 @@ return before - len(q) def _preenall(self): - for k, v in self.channel2q.items(): + for k, v in list(self.channel2q.items()): c = self._preenjobq(v) if c: - print "preen:", k, c + print("preen:", k, c) def _mark_finished(self, job, **kw): if job.done: return - for k, v in kw.items(): + for k, v in list(kw.items()): setattr(job, k, v) job.done = True job.finish_event.set() @@ -131,7 +131,7 @@ heapq.heappop(self.timeoutq) self._mark_finished(job, error="timeout") - print "timeout:", job._json() + print("timeout:", job._json()) self._preenall() @@ -158,7 +158,7 @@ dcount = 0 mcount = 0 - for jid, job in self.id2job.items(): + for jid, job in list(self.id2job.items()): if job.deadline and job.deadline < now: del self.id2job[jid] dcount += 1 @@ -167,7 +167,7 @@ job.deadline = now + job.ttl mcount += 1 if dcount or mcount: - print "watchdog: dropped %s jobs, marked %s jobs with a deadline" % (dcount, mcount) + print("watchdog: dropped %s jobs, marked %s jobs with a deadline" % (dcount, mcount)) def getstats(self): @@ -181,26 +181,26 @@ stats = dict(count=self.count, numjobs=len(self.id2job), channel2stat=self._channel2count, - busy=dict([(c, count_not_done(todo)) for c, todo in self.channel2q.items()])) + busy=dict([(c, count_not_done(todo)) for c, todo in list(self.channel2q.items())])) return stats def report(self): - print "=== report %s ===" % (time.ctime(), ) - print "have %s jobs" % len(self.id2job) - print "count:", self.count + print("=== report %s ===" % (time.ctime(), )) + print("have %s jobs" % len(self.id2job)) + print("count:", self.count) stats = self.getstats() - busy = stats["busy"].items() + busy = list(stats["busy"].items()) busy.sort() if busy: - print "busy channels:" + print("busy channels:") for c, todo in busy: - print c, todo - RefactoringTool: No changes to ../python3/qs/__main__.py RefactoringTool: No changes to ../python3/qs/__init__.py RefactoringTool: No changes to ../python3/make_manifest.py RefactoringTool: No changes to ../python3/conftest.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/tests/test_qserve.py RefactoringTool: ../python3/tests/test_proc.py RefactoringTool: ../python3/tests/test_jobs.py RefactoringTool: ../python3/tests/test_call_in_loop.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/qs/slave.py RefactoringTool: ../python3/qs/rpcserver.py RefactoringTool: ../python3/qs/rpcclient.py RefactoringTool: ../python3/qs/qserve.py RefactoringTool: ../python3/qs/proc.py RefactoringTool: ../python3/qs/misc.py RefactoringTool: ../python3/qs/jobs.py RefactoringTool: ../python3/qs/__main__.py RefactoringTool: ../python3/qs/__init__.py RefactoringTool: ../python3/make_manifest.py RefactoringTool: ../python3/conftest.py else: - print "all channels idle" - - print + print(c, todo) + else: + print("all channels idle") + + print() def waitjobs(self, jobids): "Wait for jobs to finish. Drop jobs marked by dropjobs()." @@ -266,7 +266,7 @@ def pop(self, channels): if not channels: - try_channels = self.channel2q.keys() + try_channels = list(self.channel2q.keys()) else: try_channels = channels @@ -296,5 +296,5 @@ def prefixmatch(self, prefix): for jobid in self.id2job: - if isinstance(jobid, basestring) and jobid.startswith(prefix): + if isinstance(jobid, str) and jobid.startswith(prefix): yield jobid + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.85069 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-qserve-0.2.8 + 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/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/qs copying qs/slave.py -> build/lib/qs copying qs/rpcserver.py -> build/lib/qs copying qs/rpcclient.py -> build/lib/qs copying qs/qserve.py -> build/lib/qs copying qs/proc.py -> build/lib/qs copying qs/misc.py -> build/lib/qs copying qs/jobs.py -> build/lib/qs copying qs/__main__.py -> build/lib/qs copying qs/__init__.py -> build/lib/qs + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-qserve-0.2.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/qs copying qs/slave.py -> build/lib/qs copying qs/rpcserver.py -> build/lib/qs copying qs/rpcclient.py -> build/lib/qs copying qs/qserve.py -> build/lib/qs copying qs/proc.py -> build/lib/qs copying qs/misc.py -> build/lib/qs copying qs/jobs.py -> build/lib/qs copying qs/__main__.py -> build/lib/qs copying qs/__init__.py -> build/lib/qs + popd ~/RPM/BUILD/python-module-qserve-0.2.8 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.13791 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-qserve-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-qserve-buildroot + cd python-module-qserve-0.2.8 + 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/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-qserve-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-qserve-buildroot creating /usr/src/tmp/python-module-qserve-buildroot/usr creating /usr/src/tmp/python-module-qserve-buildroot/usr/lib creating /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/__init__.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/__main__.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/jobs.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/misc.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/proc.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/qserve.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/rpcclient.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/rpcserver.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs copying build/lib/qs/slave.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__main__.py to __main__.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/jobs.py to jobs.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/misc.py to misc.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/proc.py to proc.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.py to qserve.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcclient.py to rpcclient.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcserver.py to rpcserver.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py to slave.pyc running install_egg_info running egg_info creating qserve.egg-info writing qserve.egg-info/PKG-INFO writing top-level names to qserve.egg-info/top_level.txt writing dependency_links to qserve.egg-info/dependency_links.txt writing manifest file 'qserve.egg-info/SOURCES.txt' reading manifest file 'qserve.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'qserve.egg-info/SOURCES.txt' Copying qserve.egg-info to /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qserve-0.2.8-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-qserve-0.2.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-qserve-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/__init__.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/__main__.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/jobs.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/misc.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/proc.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/qserve.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/rpcclient.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/rpcserver.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs copying build/lib/qs/slave.py -> /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__main__.py to __main__.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/jobs.py to jobs.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/misc.py to misc.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/proc.py to proc.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/qserve.py to qserve.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcclient.py to rpcclient.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcserver.py to rpcserver.cpython-38.pyc byte-compiling /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py to slave.cpython-38.pyc running install_egg_info running egg_info creating qserve.egg-info writing qserve.egg-info/PKG-INFO writing dependency_links to qserve.egg-info/dependency_links.txt writing top-level names to qserve.egg-info/top_level.txt writing manifest file 'qserve.egg-info/SOURCES.txt' reading manifest file 'qserve.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'qserve.egg-info/SOURCES.txt' Copying qserve.egg-info to /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qserve-0.2.8-py3.8.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-qserve-0.2.8 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-qserve-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-qserve-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-qserve-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-qserve-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-qserve-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-qserve-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-qserve-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__init__.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__main__.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/jobs.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/misc.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/proc.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcclient.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcserver.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.pyc compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__init__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__main__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/jobs.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/misc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/proc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcclient.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcserver.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-qserve-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__init__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__main__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/jobs.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/misc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/proc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcclient.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcserver.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py Bytecompiling python3 modules in /usr/src/tmp/python-module-qserve-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-38.pyc unlink /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__pycache__/slave.cpython-38.pyc compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__init__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__main__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/jobs.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/misc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/proc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/qserve.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcclient.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcserver.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-qserve-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__init__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__main__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/jobs.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/misc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/proc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/qserve.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcclient.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcserver.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-qserve-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__init__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__main__.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/jobs.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/misc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/proc.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/qserve.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcclient.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcserver.py compile /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.pyc' './usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.pyc' './usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.pyc' './usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-38.pyc' './usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.pyc' './usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/qs/qserve.pyo' => './usr/lib/python2.7/site-packages/qs/qserve.pyc' './usr/lib/python2.7/site-packages/qs/proc.pyo' => './usr/lib/python2.7/site-packages/qs/proc.pyc' './usr/lib/python2.7/site-packages/qs/misc.pyo' => './usr/lib/python2.7/site-packages/qs/misc.pyc' './usr/lib/python2.7/site-packages/qs/jobs.pyo' => './usr/lib/python2.7/site-packages/qs/jobs.pyc' './usr/lib/python2.7/site-packages/qs/__main__.pyo' => './usr/lib/python2.7/site-packages/qs/__main__.pyc' './usr/lib/python2.7/site-packages/qs/__init__.pyo' => './usr/lib/python2.7/site-packages/qs/__init__.pyc' Processing files: python-module-qserve-0.2.8-alt1.1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.u5CXLQ 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.Kt1MoO find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/__main__.py: line=2 IGNORE (for REQ=slight and deep=8) module=qs python.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/misc.py: skipping sys python.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/proc.py: skipping signal /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/proc.py: line=8 IGNORE (for REQ=slight and deep=8) module=gevent python.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.py: skipping sys python.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.py: hiding qs, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.py: line=149 IGNORE (for REQ=slight and deep=15) module=gevent /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcclient.py: line=2 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcclient.py: line=4 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcserver.py: line=6 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcserver.py: line=8 IGNORE (for REQ=slight and deep=8) module=json python.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py: skipping sys python.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py: hiding qs, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py: line=79 IGNORE (for REQ=slight and deep=12) module=getopt /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py: line=173 IGNORE (for REQ=slight and deep=12) module=threading /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py: line=217 IGNORE (for REQ=slight and deep=12) module=qs /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py: line=219 IGNORE (for REQ=slight and deep=12) module=gevent shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/jobs.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/proc.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/qserve.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/rpcserver.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python2.7/site-packages/qs/slave.py is not executable Provides: python2.7-module-qserve = 0.2.8-alt1.1.2, python2.7(qs), python2.7(qs.__main__), python2.7(qs.jobs), python2.7(qs.misc), python2.7(qs.proc), python2.7(qs.qserve), python2.7(qs.rpcclient), python2.7(qs.rpcserver), python2.7(qs.slave) Requires: python = 2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(gevent) Processing files: python3-module-qserve-0.2.8-alt1.1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HxazdQ 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.p6HjxS 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/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/__main__.py: line=2 IGNORE (for REQ=slight and deep=8) module=qs python3.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/jobs.py: skipping time python3.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/misc.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/proc.py: line=8 IGNORE (for REQ=slight and deep=8) module=gevent python3.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/qserve.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/qserve.py: line=149 IGNORE (for REQ=slight and deep=15) module=gevent /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcclient.py: line=2 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcclient.py: line=4 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcserver.py: line=6 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcserver.py: line=8 IGNORE (for REQ=slight and deep=8) module=json python3.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py: skipping sys python3.req: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py: line=79 IGNORE (for REQ=slight and deep=12) module=getopt /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py: line=173 IGNORE (for REQ=slight and deep=12) module=threading /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py: line=217 IGNORE (for REQ=slight and deep=12) module=qs.misc /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py: line=219 IGNORE (for REQ=slight and deep=12) module=gevent.pool shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/jobs.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/proc.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/qserve.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/rpcserver.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-qserve-buildroot/usr/lib/python3/site-packages/qs/slave.py is not executable Provides: python3(qs), python3(qs.__main__), python3(qs.jobs), python3(qs.misc), python3(qs.proc), python3(qs.qserve), python3(qs.rpcclient), python3(qs.rpcserver), python3(qs.slave) Requires: /usr/lib/python3/site-packages, python3(getopt) < 0, python3(gevent) < 0, python3(gevent.pool) < 0, python3(heapq) < 0, python3(os) < 0, python3(pickle) < 0, python3(random) < 0, python3(signal) < 0, python3(socket) < 0, python3(traceback) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-qserve-0.2.8-alt1.1.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-qserve-0.2.8-alt1.1.2.noarch.rpm 14.37user 1.44system 0:20.76elapsed 76%CPU (0avgtext+0avgdata 19008maxresident)k 0inputs+0outputs (0major+199770minor)pagefaults 0swaps 28.69user 9.36system 0:44.07elapsed 86%CPU (0avgtext+0avgdata 109228maxresident)k 0inputs+0outputs (0major+697843minor)pagefaults 0swaps --- python3-module-qserve-0.2.8-alt1.1.2.noarch.rpm.repo 2019-04-22 07:26:01.000000000 +0000 +++ python3-module-qserve-0.2.8-alt1.1.2.noarch.rpm.hasher 2020-06-20 13:10:29.711700160 +0000 @@ -4,29 +4,29 @@ /usr/lib/python3/site-packages/qs/__pycache__ 40755 -/usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/slave.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/slave.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/qs/__pycache__/slave.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/__main__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/jobs.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/misc.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/proc.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/qserve.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/rpcclient.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/rpcserver.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/slave.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/slave.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/qs/__pycache__/slave.cpython-38.pyc 100644 /usr/lib/python3/site-packages/qs/jobs.py 100644 @@ -38,7 +38,7 @@ /usr/lib/python3/site-packages/qs/slave.py 100644 -/usr/lib/python3/site-packages/qserve-0.2.8-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/qserve-0.2.8-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/qserve-0.2.8-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/qserve-0.2.8-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/qserve-0.2.8-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/qserve-0.2.8-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/qserve-0.2.8-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/qserve-0.2.8-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/qserve-0.2.8-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/qserve-0.2.8-py3.8.egg-info/top_level.txt 100644 Requires: /usr/lib/python3/site-packages