<86>Jan 19 10:39:21 userdel[21692]: delete user 'rooter' <86>Jan 19 10:39:21 groupadd[21704]: group added to /etc/group: name=rooter, GID=615 <86>Jan 19 10:39:21 groupadd[21704]: group added to /etc/gshadow: name=rooter <86>Jan 19 10:39:21 groupadd[21704]: new group: name=rooter, GID=615 <86>Jan 19 10:39:21 useradd[21711]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Jan 19 10:39:21 userdel[21723]: delete user 'builder' <86>Jan 19 10:39:21 userdel[21723]: removed group 'builder' owned by 'builder' <86>Jan 19 10:39:21 userdel[21723]: removed shadow group 'builder' owned by 'builder' <86>Jan 19 10:39:21 groupadd[21730]: group added to /etc/group: name=builder, GID=616 <86>Jan 19 10:39:21 groupadd[21730]: group added to /etc/gshadow: name=builder <86>Jan 19 10:39:21 groupadd[21730]: new group: name=builder, GID=616 <86>Jan 19 10:39:21 useradd[21736]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Jan 19 10:39:24 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 19 10:39:24 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 19 10:39:24 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 19 10:39:24 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jan 19 10:39:24 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 10:39:24 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 10:39:24 rpmi: ca-certificates-2019.10.28-alt1 p9+240634.100.1.1 1573575926 installed <13>Jan 19 10:39:24 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jan 19 10:39:24 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 19 10:39:24 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Jan 19 10:39:24 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Jan 19 10:39:24 rpmi: python3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 19 10:39:24 rpmi: libpython3-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 19 10:39:25 rpmi: python3-base-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 19 10:39:25 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 19 10:39:25 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 19 10:39:30 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 19 10:39:30 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:30 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 19 10:39:30 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 19 10:39:30 rpmi: python3-dev-3.7.4-alt2 p9+239459.100.1.1 1571444790 installed <13>Jan 19 10:39:30 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 19 10:39:30 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 19 10:39:30 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jan 19 10:39:30 groupadd[35971]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 19 10:39:30 groupadd[35971]: group added to /etc/gshadow: name=_keytab <86>Jan 19 10:39:30 groupadd[35971]: new group: name=_keytab, GID=499 <13>Jan 19 10:39:30 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>Jan 19 10:39:30 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 19 10:39:30 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 19 10:39:30 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:30 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:30 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:30 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 19 10:39:31 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jan 19 10:39:31 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jan 19 10:39:31 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 19 10:39:31 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-zope.app.server-3.6.0-alt3.2.nosrc.rpm Installing python-module-zope.app.server-3.6.0-alt3.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.63478 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-zope.app.server-3.6.0 + echo 'Source #0 (python-module-zope.app.server-3.6.0.tar):' Source #0 (python-module-zope.app.server-3.6.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-zope.app.server-3.6.0.tar + cd python-module-zope.app.server-3.6.0 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.83977 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zope.app.server-3.6.0 + 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/python setup.py build running build running build_py creating build creating build/lib creating build/lib/zope copying src/zope/__init__.py -> build/lib/zope creating build/lib/zope/app copying src/zope/app/__init__.py -> build/lib/zope/app creating build/lib/zope/app/server copying src/zope/app/server/zpasswd.py -> build/lib/zope/app/server copying src/zope/app/server/wsgi.py -> build/lib/zope/app/server copying src/zope/app/server/servertype.py -> build/lib/zope/app/server copying src/zope/app/server/servercontrol.py -> build/lib/zope/app/server copying src/zope/app/server/server.py -> build/lib/zope/app/server copying src/zope/app/server/mkzopeinstance.py -> build/lib/zope/app/server copying src/zope/app/server/main.py -> build/lib/zope/app/server copying src/zope/app/server/ftp.py -> build/lib/zope/app/server copying src/zope/app/server/accesslog.py -> build/lib/zope/app/server copying src/zope/app/server/__init__.py -> build/lib/zope/app/server creating build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_servertype.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_server.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_schema.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_mkzopeinstance.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_ftp.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_accesslog.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/__init__.py -> build/lib/zope/app/server/tests running egg_info writing requirements to src/zope.app.server.egg-info/requires.txt writing src/zope.app.server.egg-info/PKG-INFO writing namespace_packages to src/zope.app.server.egg-info/namespace_packages.txt writing top-level names to src/zope.app.server.egg-info/top_level.txt writing dependency_links to src/zope.app.server.egg-info/dependency_links.txt reading manifest file 'src/zope.app.server.egg-info/SOURCES.txt' writing manifest file 'src/zope.app.server.egg-info/SOURCES.txt' copying src/zope/app/server/accesslog.xml -> build/lib/zope/app/server copying src/zope/app/server/configure.zcml -> build/lib/zope/app/server copying src/zope/app/server/schema.xml -> build/lib/zope/app/server creating build/lib/zope/app/server/zopeskel creating build/lib/zope/app/server/zopeskel/bin copying src/zope/app/server/zopeskel/bin/debugzope.in -> build/lib/zope/app/server/zopeskel/bin copying src/zope/app/server/zopeskel/bin/runzope.in -> build/lib/zope/app/server/zopeskel/bin creating build/lib/zope/app/server/zopeskel/etc copying src/zope/app/server/zopeskel/etc/zope.conf.in -> build/lib/zope/app/server/zopeskel/etc copying src/zope/app/server/tests/site.zcml -> build/lib/zope/app/server/tests + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zope.app.server-3.6.0 + 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 ./src/zope/app/server/zpasswd.py RefactoringTool: Refactored ./src/zope/app/server/wsgi.py RefactoringTool: No changes to ./src/zope/app/server/tests/test_servertype.py RefactoringTool: No changes to ./src/zope/app/server/tests/test_server.py RefactoringTool: No changes to ./src/zope/app/server/tests/test_schema.py RefactoringTool: Refactored ./src/zope/app/server/tests/test_mkzopeinstance.py --- ./src/zope/app/server/wsgi.py (original) +++ ./src/zope/app/server/wsgi.py (refactored) @@ -22,7 +22,7 @@ from zope.app.publication.httpfactory import HTTPPublicationRequestFactory from zope.app.wsgi import WSGIPublisherApplication -import servertype +from . import servertype class ServerType(object): --- ./src/zope/app/server/tests/test_mkzopeinstance.py (original) +++ ./src/zope/app/server/tests/test_mkzopeinstance.py (refactored) @@ -20,7 +20,7 @@ import unittest import zope.app.server -from StringIO import StringIO +from io import StringIO from zope.app.server import mkzopeinstance @@ -49,7 +49,7 @@ argv = ["foo/bar.py"] + args options = mkzopeinstance.parse_args(argv) self.assertEqual(options.program, "bar.py") - self.assert_(options.version) + self.assertTrue(options.version) return options def test_no_arguments(self): @@ -67,10 +67,10 @@ def check_stdout_content(self, args): try: options = self.parse_args(args) - except SystemExit, e: + except SystemExit as e: self.assertEqual(e.code, 0) - self.assert_(self.stdout.getvalue()) - self.failIf(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertFalse(self.stderr.getvalue()) else: self.fail("expected SystemExit") @@ -95,12 +95,12 @@ def test_with_skeleton_long(self): options = self.parse_args(["--skelsrc", "some/dir"]) self.assertEqual(options.skeleton, "some/dir") - self.failIf(options.add_package_includes) + self.assertFalse(options.add_package_includes) def test_with_skeleton_short(self): options = self.parse_args(["-s", "some/dir"]) self.assertEqual(options.skeleton, "some/dir") - self.failIf(options.add_package_includes) + self.assertFalse(options.add_package_includes) def test_without_username(self): options = self.parse_args([]) @@ -142,8 +142,8 @@ def test_junk_positional_arg(self): try: self.parse_args(["junk"]) - except SystemExit, e: - self.assert_(e.code) + except SystemExit as e: + self.assertTrue(e.code) else: self.fail("expected SystemExit") @@ -174,17 +174,17 @@ skel = app.get_skeltarget() self.assertEqual(skel, "foo") self.assertEqual(input, []) - self.assert_(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_process_creates_destination(self): options = self.createOptions() input = [self.instance] app = ControlledInputApplication(options, input) self.assertEqual(app.process(), 0) - self.assert_(os.path.isdir(self.instance)) + self.assertTrue(os.path.isdir(self.instance)) self.assertEqual(input, []) - self.failUnless(app.all_input_consumed()) + self.assertTrue(app.all_input_consumed()) def test_zserver_support(self): # test the zserver option. We should get zserver versions of @@ -203,15 +203,15 @@ options.zserver = True app = ControlledInputApplication(options, []) self.assertEqual(app.process(), 0) - self.assert_( + self.assertTrue( 'from zope.app.server.main import main' in open(os.path.join(self.instance, 'bin', 'runzope')).read() ) - self.assert_( + self.assertTrue( 'from zope.app.server.main import debug' in open(os.path.join(self.instance, 'bin', 'debugzope')).read() ) - self.assert_(os.path.exists( + self.assertTrue(os.path.exists( os.path.join(self.instance, 'etc', 'zope.conf') )) @@ -222,41 +222,41 @@ open(self.instance, "w").close() app = ControlledInputApplication(options, []) self.assertEqual(app.process(), 1) - self.assert_(self.stderr.getvalue()) + self.assertTrue(self.stderr.getvalue()) def test_process_aborts_on_failed_destination_creation(self): options = self.createOptions() options.destination = os.path.join(self.instance, "foo") app = ControlledInputApplication(options, []) self.assertEqual(app.process(), 1) - self.assert_(self.stderr.getvalue()) + self.assertTrue(self.stderr.getvalue()) def test_get_username(self): options = self.createOptions() app = ControlledInputApplication(options, ["myuser"]) usr = app.get_username() self.assertEqual(usr, "myuser") - self.failIf(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertFalse(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_username_strips_whitespace(self): options = self.createOptions() app = ControlledInputApplication(options, [" myuser\t"]) usr = app.get_username() self.assertEqual(usr, "myuser") - self.failIf(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertFalse(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_username_ignores_empty_names(self): options = self.createOptions() app = ControlledInputApplication(options, ["", " ", "\t", "myuser"]) usr = app.get_username() self.assertEqual(usr, "myuser") - self.failUnless(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertTrue(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_password_manager(self): options = self.createOptions() @@ -265,9 +265,9 @@ name, pwm = app.get_password_manager() self.assertEqual(name, "Plain Text") self.assertEqual(pwm.encodePassword("foo"), "foo") - self.failIf(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertFalse(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_wrong_password_manager(self): options = self.createOptions() @@ -275,35 +275,35 @@ app = ControlledInputApplication(options, []) try: app.get_password_manager() - except SystemExit, e: + except SystemExit as e: self.assertEqual(e.code, 1) else: self.fail("expected SystemExit") - self.failUnless(self.stderr.getvalue()) - self.failIf(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertTrue(self.stderr.getvalue()) + self.assertFalse(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_password(self): options = self.createOptions() app = ControlledInputApplication(options, ["foo", "foo"]) pw = app.get_password() self.assertEqual(pw, "foo") - self.failIf(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertFalse(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_password_not_verified(self): options = self.createOptions() app = ControlledInputApplication(options, ["foo", "bar"]) try: app.get_password() - except SystemExit, e: + except SystemExit as e: RefactoringTool: Refactored ./src/zope/app/server/tests/test_ftp.py RefactoringTool: Refactored ./src/zope/app/server/tests/test_accesslog.py self.assertEqual(e.code, 1) else: self.fail("expected SystemExit") - self.failUnless(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertTrue(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_password_empty(self): # Make sure the empty password is ignored. @@ -311,9 +311,9 @@ app = ControlledInputApplication(options, ["", "foo", "foo"]) pw = app.get_password() self.assertEqual(pw, "foo") - self.failUnless(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertTrue(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_get_password_disallows_whitespace(self): # Any password that contains spaces is disallowed. @@ -322,9 +322,9 @@ " a", "b ", "foo", "foo"]) pw = app.get_password() self.assertEqual(pw, "foo") - self.failUnless(self.stderr.getvalue()) - self.failUnless(self.stdout.getvalue()) - self.failUnless(app.all_input_consumed()) + self.assertTrue(self.stderr.getvalue()) + self.assertTrue(self.stdout.getvalue()) + self.assertTrue(app.all_input_consumed()) def test_can_rewrite_existing_instance(self): # Fill out the skeleton a little so we test more cases: @@ -339,8 +339,8 @@ app = ControlledInputApplication(options, []) rc = app.process() self.assertEqual(rc, 0) - self.failUnless(app.all_input_consumed()) - self.failUnless(os.path.exists(os.path.join(self.instance, "etc"))) + self.assertTrue(app.all_input_consumed()) + self.assertTrue(os.path.exists(os.path.join(self.instance, "etc"))) # Make sure we can do it again: options = self.createOptions() @@ -348,8 +348,8 @@ app = ControlledInputApplication(options, []) rc = app.process() self.assertEqual(rc, 0) - self.failUnless(app.all_input_consumed()) - self.failUnless(os.path.exists(os.path.join(self.instance, "etc"))) + self.assertTrue(app.all_input_consumed()) + self.assertTrue(os.path.exists(os.path.join(self.instance, "etc"))) def test_zope_namespace_package_doesnt_affect_software_home(self): # Make sure that a zope namespace package in a different --- ./src/zope/app/server/tests/test_ftp.py (original) +++ ./src/zope/app/server/tests/test_ftp.py (refactored) @@ -20,7 +20,7 @@ def test_ftp(self): from ZODB.tests.util import DB from zope.app.server.ftp import FTPRequestFactory - from cStringIO import StringIO + from io import StringIO db = DB() factory = FTPRequestFactory(db) request = factory(StringIO(''), {'credentials': None, 'path': '/'}) --- ./src/zope/app/server/tests/test_accesslog.py (original) +++ ./src/zope/app/server/tests/test_accesslog.py (refactored) @@ -33,14 +33,14 @@ def test_config_without_logger(self): conf = self.get_config("") - self.assert_(conf.accesslog is None) + self.assertTrue(conf.accesslog is None) def test_config_without_handlers(self): logger = self.check_simple_logger("") # Make sure there's a NullHandler, since a warning gets # printed if there are no handlers: self.assertEqual(len(logger.handlers), 1) - self.assert_(isinstance(logger.handlers[0], + self.assertTrue(isinstance(logger.handlers[0], loghandler.NullHandler)) def test_formatter(self): @@ -54,17 +54,17 @@ self.assertEqual(len(logger.handlers), 1) syslog = logger.handlers[0] self.assertEqual(syslog.level, logging.ERROR) - self.assert_(isinsRefactoringTool: No changes to ./src/zope/app/server/servertype.py RefactoringTool: No changes to ./src/zope/app/server/servercontrol.py RefactoringTool: No changes to ./src/zope/app/server/server.py RefactoringTool: Refactored ./src/zope/app/server/mkzopeinstance.py tance(syslog, loghandler.SysLogHandler)) + self.assertTrue(isinstance(syslog, loghandler.SysLogHandler)) self.assertEqual(syslog.formatter._fmt, "%(message)s") def check_simple_logger(self, text): conf = self.get_config(text) - self.assert_(conf.accesslog is not None) + self.assertTrue(conf.accesslog is not None) logger = conf.accesslog() - self.assert_(isinstance(logger, logging.Logger)) - self.assert_(not logger.propagate) - self.assertEquals(logger.name, "accesslog") - self.assertEquals(logger.level, logging.INFO) + self.assertTrue(isinstance(logger, logging.Logger)) + self.assertTrue(not logger.propagate) + self.assertEqual(logger.name, "accesslog") + self.assertEqual(logger.level, logging.INFO) return logger --- ./src/zope/app/server/mkzopeinstance.py (original) +++ ./src/zope/app/server/mkzopeinstance.py (refactored) @@ -36,7 +36,7 @@ argv = sys.argv try: options = parse_args(argv, from_checkout) - except SystemExit, e: + except SystemExit as e: if e.code: return 2 else: @@ -46,7 +46,7 @@ return app.process() except KeyboardInterrupt: return 1 - except SystemExit, e: + except SystemExit as e: return e.code @@ -59,16 +59,16 @@ def read_input_line(self, prompt): # The tests replace this to make sure the right things happen. if not self.options.interactive: - print >>sys.stderr, ('Error: Tried to ask for user input in' - ' non-interactive mode.') + print(('Error: Tried to ask for user input in' + ' non-interactive mode.'), file=sys.stderr) sys.exit(1) - return raw_input(prompt) + return input(prompt) def read_password(self, prompt): # The tests replace this to make sure the right things happen. if not self.options.interactive: - print >>sys.stderr, ('Error: Tried to ask for user input in' - ' non-interactive mode.') + print(('Error: Tried to ask for user input in' + ' non-interactive mode.'), file=sys.stderr) sys.exit(1) import getpass try: @@ -76,7 +76,7 @@ except KeyboardInterrupt: # The cursor was left on the same line as the prompt, # which we don't like. Print a blank line. - print + print() raise def process(self): @@ -84,8 +84,8 @@ # make sure we can find the skeleton if not os.path.isdir(options.skeleton): - print >>sys.stderr, "skeleton directory", options.skeleton - print >>sys.stderr, "does not exist or is not a directory" + print("skeleton directory", options.skeleton, file=sys.stderr) + print("does not exist or is not a directory", file=sys.stderr) return 1 # create the destination @@ -95,13 +95,13 @@ if not os.path.exists(options.destination): try: os.mkdir(options.destination) - except OSError, e: - print >>sys.stderr, "could not create instance home:", e + except OSError as e: + print("could not create instance home:", e, file=sys.stderr) return 1 elif not os.path.isdir(options.destination): - print >>sys.stderr, options.destination, "is not a directory" - print >>sys.stderr, ("(instance homes cannot be created in" - " non-directories)") + print(options.destination, "is not a directory", file=sys.stderr) + print(("(instance homes cannot be created in" + " non-directories)"), file=sys.stderr) return 1 if not options.username: @@ -132,7 +132,7 @@ while 1: skeltarget = self.read_inpRefactoringTool: No changes to ./src/zope/app/server/main.py RefactoringTool: No changes to ./src/zope/app/server/ftp.py RefactoringTool: No changes to ./src/zope/app/server/accesslog.py RefactoringTool: No changes to ./src/zope/app/__init__.py RefactoringTool: No changes to ./src/zope/__init__.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ./src/zope/app/server/zpasswd.py RefactoringTool: ./src/zope/app/server/wsgi.py RefactoringTool: ./src/zope/app/server/tests/test_servertype.py RefactoringTool: ./src/zope/app/server/tests/test_server.py RefactoringTool: ./src/zope/app/server/tests/test_schema.py RefactoringTool: ./src/zope/app/server/tests/test_mkzopeinstance.py RefactoringTool: ./src/zope/app/server/tests/test_ftp.py RefactoringTool: ./src/zope/app/server/tests/test_accesslog.py RefactoringTool: ./src/zope/app/server/servertype.py RefactoringTool: ./src/zope/app/server/servercontrol.py RefactoringTool: ./src/zope/app/server/server.py RefactoringTool: ./src/zope/app/server/mkzopeinstance.py RefactoringTool: ./src/zope/app/server/main.py RefactoringTool: ./src/zope/app/server/ftp.py RefactoringTool: ./src/zope/app/server/accesslog.py RefactoringTool: ./src/zope/app/__init__.py RefactoringTool: ./src/zope/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./bootstrap.py ut_line("Directory: ").strip() if skeltarget == '': - print >>sys.stderr, 'You must specify a directory' + print('You must specify a directory', file=sys.stderr) continue return os.path.expanduser(skeltarget) @@ -142,7 +142,7 @@ while 1: username = self.read_input_line("Username: ").strip() if not username: - print >>sys.stderr, "You must specify an administrative user" + print("You must specify an administrative user", file=sys.stderr) continue return username @@ -151,15 +151,15 @@ while 1: password = self.read_password("Password: ") if not password: - print >>sys.stderr, "Password may not be empty" + print("Password may not be empty", file=sys.stderr) continue if password != password.strip() or password.split() != [password]: - print >>sys.stderr, "Password may not contain spaces" + print("Password may not contain spaces", file=sys.stderr) continue break again = self.read_password("Verify password: ") if again != password: - print >>sys.stderr, "Password not verified!" + print("Password not verified!", file=sys.stderr) sys.exit(1) return password @@ -171,13 +171,13 @@ for name, manager in password.managers: if name == self.options.password_manager: return (name, manager) - print >>sys.stderr, "Unknown password manager!" + print("Unknown password manager!", file=sys.stderr) sys.exit(1) self.print_message(PASSWORD_MANAGER_MESSAGE) for i, (name, manager) in enumerate(password.managers): - print "% i. %s" % (i + 1, name) - print + print("% i. %s" % (i + 1, name)) + print() self.need_blank_line = True while 1: password_manager = self.read_input_line( @@ -190,15 +190,15 @@ if index > 0 and index <= len(password.managers): index -= 1 break - print >>sys.stderr, "You must select a password manager" - print "%r password manager selected" % password.managers[index][0] + print("You must select a password manager", file=sys.stderr) + print("%r password manager selected" % password.managers[index][0]) return password.managers[index] def print_message(self, message): if self.need_blank_line: - print + print() self.need_blank_line = False - print message + print(message) def copy_skeleton(self): options = self.options --- ./bootstrap.py (original) +++ ./bootstrap.py (refactored) @@ -18,13 +18,13 @@ use the -c option to specify an alternate configuration file. """ -import os, shutil, sys, tempfile, urllib2 +import os, shutil, sys, tempfile, urllib.request, urllib.error, urllib.parse tmpeggs = tempfile.mkdtemp() ez = {} -exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' - ).read() in ez +exec(urllib.request.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' + ).read(), ez) ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) import pkg_resources + 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/zope copying src/zope/__init__.py -> build/lib/zope creating build/lib/zope/app copying src/zope/app/__init__.py -> build/lib/zope/app creating build/lib/zope/app/server copying src/zope/app/server/zpasswd.py -> build/lib/zope/app/server copying src/zope/app/server/wsgi.py -> build/lib/zope/app/server copying src/zope/app/server/servertype.py -> build/lib/zope/app/server copying src/zope/app/server/servercontrol.py -> build/lib/zope/app/server copying src/zope/app/server/server.py -> build/lib/zope/app/server copying src/zope/app/server/mkzopeinstance.py -> build/lib/zope/app/server copying src/zope/app/server/main.py -> build/lib/zope/app/server copying src/zope/app/server/ftp.py -> build/lib/zope/app/server copying src/zope/app/server/accesslog.py -> build/lib/zope/app/server copying src/zope/app/server/__init__.py -> build/lib/zope/app/server creating build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_servertype.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_server.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_schema.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_mkzopeinstance.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_ftp.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/test_accesslog.py -> build/lib/zope/app/server/tests copying src/zope/app/server/tests/__init__.py -> build/lib/zope/app/server/tests running egg_info writing src/zope.app.server.egg-info/PKG-INFO writing dependency_links to src/zope.app.server.egg-info/dependency_links.txt writing namespace_packages to src/zope.app.server.egg-info/namespace_packages.txt writing requirements to src/zope.app.server.egg-info/requires.txt writing top-level names to src/zope.app.server.egg-info/top_level.txt reading manifest file 'src/zope.app.server.egg-info/SOURCES.txt' writing manifest file 'src/zope.app.server.egg-info/SOURCES.txt' copying src/zope/app/server/accesslog.xml -> build/lib/zope/app/server copying src/zope/app/server/configure.zcml -> build/lib/zope/app/server copying src/zope/app/server/schema.xml -> build/lib/zope/app/server creating build/lib/zope/app/server/zopeskel creating build/lib/zope/app/server/zopeskel/bin copying src/zope/app/server/zopeskel/bin/debugzope.in -> build/lib/zope/app/server/zopeskel/bin copying src/zope/app/server/zopeskel/bin/runzope.in -> build/lib/zope/app/server/zopeskel/bin creating build/lib/zope/app/server/zopeskel/etc copying src/zope/app/server/zopeskel/etc/zope.conf.in -> build/lib/zope/app/server/zopeskel/etc copying src/zope/app/server/tests/site.zcml -> build/lib/zope/app/server/tests + popd ~/RPM/BUILD/python-module-zope.app.server-3.6.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.17418 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-zope.app.server-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-zope.app.server-buildroot + cd python-module-zope.app.server-3.6.0 + 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/python setup.py install --skip-build --root=/usr/src/tmp/python-module-zope.app.server-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/__init__.py (namespace package) copying zope/app/server/schema.xml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/configure.zcml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/accesslog.xml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/__init__.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/accesslog.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/ftp.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/main.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/mkzopeinstance.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/server.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/servercontrol.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/servertype.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/wsgi.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/zpasswd.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server copying zope/app/server/zopeskel/etc/zope.conf.in -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/zopeskel/etc copying zope/app/server/zopeskel/bin/runzope.in -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/zopeskel/bin copying zope/app/server/zopeskel/bin/debugzope.in -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/zopeskel/bin copying zope/app/server/tests/site.zcml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests copying zope/app/server/tests/__init__.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests copying zope/app/server/tests/test_accesslog.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests copying zope/app/server/tests/test_ftp.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests copying zope/app/server/tests/test_mkzopeinstance.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests copying zope/app/server/tests/test_schema.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests copying zope/app/server/tests/test_server.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests copying zope/app/server/tests/test_servertype.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/accesslog.py to accesslog.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/ftp.py to ftp.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/main.py to main.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/mkzopeinstance.py to mkzopeinstance.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/server.py to server.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servercontrol.py to servercontrol.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servertype.py to servertype.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/wsgi.py to wsgi.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/zpasswd.py to zpasswd.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_accesslog.py to test_accesslog.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.py to test_ftp.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.py to test_mkzopeinstance.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_schema.py to test_schema.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_server.py to test_server.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_servertype.py to test_servertype.pyc running install_egg_info running egg_info writing requirements to src/zope.app.server.egg-info/requires.txt writing src/zope.app.server.egg-info/PKG-INFO writing namespace_packages to src/zope.app.server.egg-info/namespace_packages.txt writing top-level names to src/zope.app.server.egg-info/top_level.txt writing dependency_links to src/zope.app.server.egg-info/dependency_links.txt reading manifest file 'src/zope.app.server.egg-info/SOURCES.txt' writing manifest file 'src/zope.app.server.egg-info/SOURCES.txt' Copying src/zope.app.server.egg-info to /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope.app.server-3.6.0-py2.7.egg-info Installing /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope.app.server-3.6.0-py2.7-nspkg.pth running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-zope.app.server-3.6.0 + 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-zope.app.server-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/__init__.py (namespace package) Skipping installation of /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/__init__.py (namespace package) copying zope/app/server/schema.xml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/configure.zcml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/accesslog.xml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/__init__.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/accesslog.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/ftp.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/main.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/mkzopeinstance.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/server.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/servercontrol.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/servertype.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/wsgi.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/zpasswd.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server copying zope/app/server/zopeskel/etc/zope.conf.in -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/zopeskel/etc copying zope/app/server/zopeskel/bin/runzope.in -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/zopeskel/bin copying zope/app/server/zopeskel/bin/debugzope.in -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/zopeskel/bin copying zope/app/server/tests/site.zcml -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests copying zope/app/server/tests/__init__.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests copying zope/app/server/tests/test_accesslog.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests copying zope/app/server/tests/test_ftp.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests copying zope/app/server/tests/test_mkzopeinstance.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests copying zope/app/server/tests/test_schema.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests copying zope/app/server/tests/test_server.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests copying zope/app/server/tests/test_servertype.py -> /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/accesslog.py to accesslog.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/ftp.py to ftp.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/main.py to main.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/mkzopeinstance.py to mkzopeinstance.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/server.py to server.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servercontrol.py to servercontrol.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servertype.py to servertype.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/wsgi.py to wsgi.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/zpasswd.py to zpasswd.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_accesslog.py to test_accesslog.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_ftp.py to test_ftp.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_mkzopeinstance.py to test_mkzopeinstance.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_schema.py to test_schema.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_server.py to test_server.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_servertype.py to test_servertype.cpython-37.pyc running install_egg_info running egg_info writing src/zope.app.server.egg-info/PKG-INFO writing dependency_links to src/zope.app.server.egg-info/dependency_links.txt writing namespace_packages to src/zope.app.server.egg-info/namespace_packages.txt writing requirements to src/zope.app.server.egg-info/requires.txt writing top-level names to src/zope.app.server.egg-info/top_level.txt reading manifest file 'src/zope.app.server.egg-info/SOURCES.txt' writing manifest file 'src/zope.app.server.egg-info/SOURCES.txt' Copying src/zope.app.server.egg-info to /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope.app.server-3.6.0-py3.7.egg-info Installing /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope.app.server-3.6.0-py3.7-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-zope.app.server-3.6.0 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-zope.app.server-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-zope.app.server-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-zope.app.server-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-zope.app.server-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-zope.app.server-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-zope.app.server-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-zope.app.server-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/__init__.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_accesslog.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_schema.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_server.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_servertype.pyc compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_schema.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_servertype.py unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/__init__.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/accesslog.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/ftp.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/main.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/mkzopeinstance.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/server.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servercontrol.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servertype.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/wsgi.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/zpasswd.pyc compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/main.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servercontrol.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/wsgi.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/zpasswd.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-zope.app.server-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_schema.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/main.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servercontrol.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/wsgi.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/zpasswd.py Bytecompiling python3 modules in /usr/src/tmp/python-module-zope.app.server-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/accesslog.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/ftp.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/main.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/mkzopeinstance.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/server.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/servercontrol.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/servertype.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/wsgi.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__pycache__/zpasswd.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_accesslog.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_ftp.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_mkzopeinstance.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_schema.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_server.cpython-37.pyc unlink /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_servertype.cpython-37.pyc compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_schema.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/main.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servercontrol.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/wsgi.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/zpasswd.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-zope.app.server-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_schema.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/main.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servercontrol.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/wsgi.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/zpasswd.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-zope.app.server-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_schema.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/__init__.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/accesslog.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/ftp.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/main.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/mkzopeinstance.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/server.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servercontrol.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/servertype.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/wsgi.py compile /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/zpasswd.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/zope/app/server/__pycache__/zpasswd.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/zpasswd.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/wsgi.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/wsgi.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/servertype.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/servertype.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/servercontrol.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/servercontrol.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/server.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/server.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/main.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/main.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/ftp.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/ftp.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/accesslog.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/accesslog.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/zope/app/server/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_servertype.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_servertype.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_server.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_server.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_schema.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_schema.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_mkzopeinstance.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_mkzopeinstance.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_ftp.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_ftp.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_accesslog.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/test_accesslog.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/zope/app/server/tests/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/zope/app/server/zpasswd.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/zpasswd.pyc' './usr/lib/python2.7/site-packages/zope/app/server/wsgi.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/wsgi.pyc' './usr/lib/python2.7/site-packages/zope/app/server/servertype.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/servertype.pyc' './usr/lib/python2.7/site-packages/zope/app/server/servercontrol.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/servercontrol.pyc' './usr/lib/python2.7/site-packages/zope/app/server/server.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/server.pyc' './usr/lib/python2.7/site-packages/zope/app/server/main.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/main.pyc' './usr/lib/python2.7/site-packages/zope/app/server/ftp.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/ftp.pyc' './usr/lib/python2.7/site-packages/zope/app/server/accesslog.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/accesslog.pyc' './usr/lib/python2.7/site-packages/zope/app/server/__init__.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/__init__.pyc' './usr/lib/python2.7/site-packages/zope/app/server/tests/test_servertype.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/tests/test_servertype.pyc' './usr/lib/python2.7/site-packages/zope/app/server/tests/test_server.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/tests/test_server.pyc' './usr/lib/python2.7/site-packages/zope/app/server/tests/test_schema.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/tests/test_schema.pyc' './usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.pyc' './usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.pyc' './usr/lib/python2.7/site-packages/zope/app/server/tests/test_accesslog.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/tests/test_accesslog.pyc' './usr/lib/python2.7/site-packages/zope/app/server/tests/__init__.pyo' => './usr/lib/python2.7/site-packages/zope/app/server/tests/__init__.pyc' Processing files: python-module-zope.app.server-3.6.0-alt3.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.81316 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zope.app.server-3.6.0 + DOCDIR=/usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python-module-zope.app.server-3.6.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python-module-zope.app.server-3.6.0 + /bin/mkdir -p /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python-module-zope.app.server-3.6.0 + cp -prL CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python-module-zope.app.server-3.6.0 + chmod -R go-w /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python-module-zope.app.server-3.6.0 + chmod -R a+rX /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python-module-zope.app.server-3.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6mqay9 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.uDuH0t find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/main.py: skipping sys python.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/mkzopeinstance.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/mkzopeinstance.py: line=73 IGNORE (for REQ=slight and deep=11) module=getpass /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/mkzopeinstance.py: line=122 IGNORE (for REQ=slight and deep=15) module=__main__ python.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/wsgi.py: hiding servertype, which SEEMS TO BE SELF-SATISFIED Provides: python2.7(zope.app.server), python2.7(zope.app.server.accesslog), python2.7(zope.app.server.ftp), python2.7(zope.app.server.main), python2.7(zope.app.server.mkzopeinstance), python2.7(zope.app.server.server), python2.7(zope.app.server.servercontrol), python2.7(zope.app.server.servertype), python2.7(zope.app.server.wsgi), python2.7(zope.app.server.zpasswd) Requires: python2.7(zope.app), python2.7(zope.app.applicationcontrol), python2.7(zope.app.appsetup), python2.7(zope.app.publication), python2.7(zope.app.wsgi), python2.7(zope.configuration), python2.7(zope.deprecation), python2.7(zope.event), python2.7(zope.interface), python2.7(zope.publisher), python2.7(zope.server), python2.7(zope.password), python2.7(zope.processlifetime), python2.7(zdaemon), python2.7(ZConfig), python2.7(ZODB3), /usr/lib/python2.7/site-packages, python-modules, python2.7(logging), python2.7(xml), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NzXgwp Processing files: python3-module-zope.app.server-3.6.0-alt3.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.52143 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-zope.app.server-3.6.0 + DOCDIR=/usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python3-module-zope.app.server-3.6.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python3-module-zope.app.server-3.6.0 + /bin/mkdir -p /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python3-module-zope.app.server-3.6.0 + cp -prL CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python3-module-zope.app.server-3.6.0 + chmod -R go-w /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python3-module-zope.app.server-3.6.0 + chmod -R a+rX /usr/src/tmp/python-module-zope.app.server-buildroot/usr/share/doc/python3-module-zope.app.server-3.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.o2JqUg 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.3n9lAG find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/main.py: skipping sys python3.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/main.py: skipping time python3.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/mkzopeinstance.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/mkzopeinstance.py: line=73 IGNORE (for REQ=slight and deep=11) module=getpass /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/mkzopeinstance.py: line=122 IGNORE (for REQ=slight and deep=15) module=__main__ /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/wsgi.py: line=25 possible relative import from ., UNIMPLEMENTED Provides: python3(zope.app.server), python3(zope.app.server.accesslog), python3(zope.app.server.ftp), python3(zope.app.server.main), python3(zope.app.server.mkzopeinstance), python3(zope.app.server.server), python3(zope.app.server.servercontrol), python3(zope.app.server.servertype), python3(zope.app.server.wsgi), python3(zope.app.server.zpasswd) Requires: python3(zope.app) < 0, python3(zope.app.applicationcontrol) < 0, python3(zope.app.appsetup) < 0, python3(zope.app.publication) < 0, python3(zope.app.wsgi) < 0, python3(zope.configuration) < 0, python3(zope.deprecation) < 0, python3(zope.event) < 0, python3(zope.interface) < 0, python3(zope.publisher) < 0, python3(zope.server) < 0, python3(zope.password) < 0, python3(zope.processlifetime) < 0, python3(zdaemon) < 0, python3(ZConfig) < 0, python3(ZODB3) < 0, /usr/lib/python3/site-packages, python3(ZConfig.components.logger.logger) < 0, python3(asyncore) < 0, python3(logging) < 0, python3(optparse) < 0, python3(os) < 0, python3(shutil) < 0, python3(xml.sax.saxutils) < 0, python3(zope.app.applicationcontrol.interfaces) < 0, python3(zope.app.appsetup.appsetup) < 0, python3(zope.app.appsetup.product) < 0, python3(zope.app.publication.ftp) < 0, python3(zope.app.publication.httpfactory) < 0, python3(zope.app.publication.interfaces) < 0, python3(zope.component) < 0, python3(zope.publisher.ftp) < 0, python3(zope.server.ftp.logger) < 0, python3(zope.server.ftp.publisher) < 0, python3(zope.server.http) < 0, python3(zope.server.http.commonaccesslogger) < 0, python3(zope.server.taskthreads) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.US5HDF Processing files: python3-module-zope.app.server-tests-3.6.0-alt3.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Huw0Uh 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.K7ITNG find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_ftp.py: line=21 IGNORE (for REQ=slight and deep=11) module=ZODB.tests.util /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_ftp.py: line=22 IGNORE (for REQ=slight and deep=11) module=zope.app.server.ftp /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_ftp.py: line=23 IGNORE (for REQ=slight and deep=11) module=io python3.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_mkzopeinstance.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_mkzopeinstance.py: line=359 IGNORE (for REQ=slight and deep=11) module=zope /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_mkzopeinstance.py: line=378 IGNORE (for REQ=slight and deep=11) module=zope.app /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python3/site-packages/zope/app/server/tests/test_schema.py: line=37 IGNORE (for REQ=slight and deep=12) module=sys Provides: python3(zope.app.server.tests), python3(zope.app.server.tests.test_accesslog), python3(zope.app.server.tests.test_ftp), python3(zope.app.server.tests.test_mkzopeinstance), python3(zope.app.server.tests.test_schema), python3(zope.app.server.tests.test_server), python3(zope.app.server.tests.test_servertype) Requires: python3-module-zope.app.server = 3.6.0-alt3.2, python3(zope.app.testing) < 0, /usr/lib/python3/site-packages, python3(ZConfig) < 0, python3(ZConfig.components.logger) < 0, python3(ZConfig.components.logger.tests) < 0, python3(doctest) < 0, python3(io) < 0, python3(logging) < 0, python3(os) < 0, python3(os.path) < 0, python3(shutil) < 0, python3(tempfile) < 0, python3(unittest) < 0, python3(zope.app.server) < 0, python3(zope.component) < 0, python3(zope.interface.verify) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gXL7PS Processing files: python-module-zope.app.server-tests-3.6.0-alt3.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VPfm1W 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.IbM2Zp find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.py: line=21 IGNORE (for REQ=slight and deep=11) module=ZODB /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.py: line=22 IGNORE (for REQ=slight and deep=11) module=zope /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_ftp.py: line=23 IGNORE (for REQ=slight and deep=11) module=cStringIO python.req: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.py: line=359 IGNORE (for REQ=slight and deep=11) module=zope /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_mkzopeinstance.py: line=378 IGNORE (for REQ=slight and deep=11) module=zope /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-zope.app.server-buildroot/usr/lib/python2.7/site-packages/zope/app/server/tests/test_schema.py: line=37 IGNORE (for REQ=slight and deep=12) module=sys Provides: python2.7(zope.app.server.tests), python2.7(zope.app.server.tests.test_accesslog), python2.7(zope.app.server.tests.test_ftp), python2.7(zope.app.server.tests.test_mkzopeinstance), python2.7(zope.app.server.tests.test_schema), python2.7(zope.app.server.tests.test_server), python2.7(zope.app.server.tests.test_servertype) Requires: python-module-zope.app.server = 3.6.0-alt3.2, python2.7(zope.app.testing), /usr/lib/python2.7/site-packages, python-modules, python2.7(ZConfig), python2.7(logging), python2.7(unittest), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.62E5dr Adding to python-module-zope.app.server-tests a strict dependency on python-module-zope.app.server Adding to python3-module-zope.app.server-tests a strict dependency on python3-module-zope.app.server Removing 1 extra deps from python3-module-zope.app.server-tests due to dependency on python3-module-zope.app.server Removing 5 extra deps from python-module-zope.app.server-tests due to repentancy on python-module-zope.app.server Removing 6 extra deps from python3-module-zope.app.server-tests due to repentancy on python3-module-zope.app.server Wrote: /usr/src/RPM/RPMS/i586/python-module-zope.app.server-3.6.0-alt3.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-zope.app.server-3.6.0-alt3.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-zope.app.server-tests-3.6.0-alt3.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-zope.app.server-tests-3.6.0-alt3.2.i586.rpm 14.53user 1.36system 0:30.90elapsed 51%CPU (0avgtext+0avgdata 19280maxresident)k 0inputs+0outputs (0major+390962minor)pagefaults 0swaps 25.48user 4.87system 0:50.52elapsed 60%CPU (0avgtext+0avgdata 116972maxresident)k 0inputs+0outputs (0major+896803minor)pagefaults 0swaps