<86>Feb 3 01:16:54 userdel[85806]: delete user 'rooter' <86>Feb 3 01:16:54 userdel[85806]: removed group 'rooter' owned by 'rooter' <86>Feb 3 01:16:54 userdel[85806]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 3 01:16:54 groupadd[85829]: group added to /etc/group: name=rooter, GID=555 <86>Feb 3 01:16:54 groupadd[85829]: group added to /etc/gshadow: name=rooter <86>Feb 3 01:16:54 groupadd[85829]: new group: name=rooter, GID=555 <86>Feb 3 01:16:54 useradd[85844]: new user: name=rooter, UID=555, GID=555, home=/root, shell=/bin/bash <86>Feb 3 01:16:54 userdel[85877]: delete user 'builder' <86>Feb 3 01:16:54 userdel[85877]: removed group 'builder' owned by 'builder' <86>Feb 3 01:16:54 userdel[85877]: removed shadow group 'builder' owned by 'builder' <86>Feb 3 01:16:54 groupadd[85905]: group added to /etc/group: name=builder, GID=556 <86>Feb 3 01:16:54 groupadd[85905]: group added to /etc/gshadow: name=builder <86>Feb 3 01:16:54 groupadd[85905]: new group: name=builder, GID=556 <86>Feb 3 01:16:54 useradd[85926]: new user: name=builder, UID=556, GID=556, home=/usr/src, shell=/bin/bash <13>Feb 3 01:17:01 rpmi: libsnappy-1.1.3-alt1 1450962240 installed <13>Feb 3 01:17:01 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Feb 3 01:17:01 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Feb 3 01:17:01 rpmi: python-module-sphinx_rtd_theme-0.1.8-alt1.git20150730.1 1457859644 installed <13>Feb 3 01:17:01 rpmi: python-sphinx-objects.inv-2.3.6.20160413-alt1 1460595508 installed <13>Feb 3 01:17:01 rpmi: libxapian-1.2.23-alt1 1459318465 installed <13>Feb 3 01:17:01 rpmi: python-module-xapian-1.2.23-alt1.M80P.1 1503464748 installed <13>Feb 3 01:17:02 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Feb 3 01:17:02 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Feb 3 01:17:02 rpmi: libgcrypt20-1.8.3-alt3 p8.214131.100 1542819006 installed <13>Feb 3 01:17:02 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Feb 3 01:17:02 rpmi: python-module-enum34-1.0.4-alt1.1.1 1457942288 installed <13>Feb 3 01:17:02 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Feb 3 01:17:02 rpmi: python-module-extras-0.0.3-alt1.git20140919.1 1457943083 installed <13>Feb 3 01:17:02 rpmi: python-module-mimeparse-0.1.4-alt1.svn20130102.1.1.1 1460077266 installed <13>Feb 3 01:17:02 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Feb 3 01:17:02 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Feb 3 01:17:02 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:02 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Feb 3 01:17:02 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Feb 3 01:17:02 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Feb 3 01:17:02 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Feb 3 01:17:02 rpmi: python-module-snappy-0.5-alt2.1 1459620721 installed <13>Feb 3 01:17:02 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Feb 3 01:17:02 groupadd[107586]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 3 01:17:02 groupadd[107586]: group added to /etc/gshadow: name=_keytab <86>Feb 3 01:17:02 groupadd[107586]: new group: name=_keytab, GID=499 <13>Feb 3 01:17:02 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Feb 3 01:17:03 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 01:17:03 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:03 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Feb 3 01:17:03 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Feb 3 01:17:03 rpmi: python-module-pluggy-0.3.0-alt1.git20150528.1 1458068238 installed <13>Feb 3 01:17:03 rpmi: python3-module-pycparser-2.14-alt1.1 1458071180 installed <13>Feb 3 01:17:03 rpmi: python3-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Feb 3 01:17:03 rpmi: python3-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Feb 3 01:17:03 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Feb 3 01:17:03 rpmi: python3-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed <13>Feb 3 01:17:03 rpmi: python3-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Feb 3 01:17:03 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Feb 3 01:17:03 rpmi: python3-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Feb 3 01:17:03 rpmi: python3-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Feb 3 01:17:03 rpmi: python3-module-pluggy-0.3.0-alt1.git20150528.1 1458068238 installed <13>Feb 3 01:17:03 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:03 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 01:17:03 rpmi: python3-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Feb 3 01:17:03 rpmi: python3-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Feb 3 01:17:03 rpmi: python3-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Feb 3 01:17:03 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Feb 3 01:17:03 rpmi: python3-module-snappy-0.5-alt2.1 1459620721 installed <13>Feb 3 01:17:03 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:03 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Feb 3 01:17:04 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Feb 3 01:17:04 rpmi: python3-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Feb 3 01:17:04 rpmi: python3-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Feb 3 01:17:04 rpmi: python3-module-pip-10.0.1-alt1.M80P.1 1528316057 installed <13>Feb 3 01:17:04 rpmi: python3-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed <13>Feb 3 01:17:04 rpmi: python3-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Feb 3 01:17:04 rpmi: python3-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 installed <13>Feb 3 01:17:04 rpmi: python3-module-tox-2.1.1-alt1.1.1 1458136774 installed <13>Feb 3 01:17:04 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Feb 3 01:17:04 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Feb 3 01:17:04 rpmi: python-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Feb 3 01:17:04 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Feb 3 01:17:04 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Feb 3 01:17:04 rpmi: python-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Feb 3 01:17:04 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:04 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Feb 3 01:17:05 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:05 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed <13>Feb 3 01:17:05 rpmi: python-module-pycparser-2.14-alt1.1 1458071180 installed <13>Feb 3 01:17:05 rpmi: python-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Feb 3 01:17:05 rpmi: python-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Feb 3 01:17:05 rpmi: python-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Feb 3 01:17:05 rpmi: python-module-serial-2.7-alt1.svn20140804.1.1 1460416798 installed <13>Feb 3 01:17:05 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Feb 3 01:17:05 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Feb 3 01:17:05 rpmi: python-module-pytz-1:2015.4-alt1.1.1 1460413776 installed <13>Feb 3 01:17:05 rpmi: python-module-httplib2-0.9.1-alt1.1 1457971244 installed <13>Feb 3 01:17:05 rpmi: python-module-ipaddress-1.0.18-alt0.M80P.1 1525452992 installed <13>Feb 3 01:17:05 rpmi: python-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Feb 3 01:17:05 rpmi: python-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Feb 3 01:17:05 rpmi: python-module-simplejson-3.15.0-alt1.M80P.1 1528995430 installed <13>Feb 3 01:17:05 rpmi: python-module-markupsafe-0.23-alt1.2.1 1459593526 installed <13>Feb 3 01:17:05 rpmi: python-modules-sqlite3-2.7.11-alt6.M80P.1 1527682470 installed <13>Feb 3 01:17:05 rpmi: python-module-SQLAlchemy-1.0.12-alt1 1461160345 installed <13>Feb 3 01:17:05 rpmi: python-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed <13>Feb 3 01:17:05 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Feb 3 01:17:05 rpmi: python-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed <13>Feb 3 01:17:05 rpmi: python-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Feb 3 01:17:05 rpmi: python-module-jinja2-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Feb 3 01:17:05 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Feb 3 01:17:05 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Feb 3 01:17:06 rpmi: python-module-babel-1:2.3.4-alt0.M80P.1 1480881327 installed <13>Feb 3 01:17:06 rpmi: python-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Feb 3 01:17:06 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Feb 3 01:17:06 rpmi: python-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Feb 3 01:17:06 rpmi: python-module-tox-2.1.1-alt1.1.1 1458136774 installed <13>Feb 3 01:17:06 rpmi: python-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 installed <13>Feb 3 01:17:06 rpmi: python-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Feb 3 01:17:06 rpmi: python-module-docutils-0.13-alt4.git20150716.1.1 1460400317 installed <13>Feb 3 01:17:06 rpmi: python-module-twisted-core-15.3.0-alt1 1438874883 installed <13>Feb 3 01:17:06 rpmi: python-module-testtools-1.8.0-alt2.1.1 1458135422 installed <13>Feb 3 01:17:06 rpmi: bzr-2.7.0-alt2 1460633916 installed <13>Feb 3 01:17:06 rpmi: python-module-Paver-1.2.3-alt1.git20140810.1.1 1458059207 installed <13>Feb 3 01:17:06 rpmi: python-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Feb 3 01:17:06 rpmi: python-module-twisted-logger-15.3.0-alt1 1438874883 installed <13>Feb 3 01:17:06 rpmi: python-module-sphinxcontrib-napoleon-0.2.11-alt1 1424064616 installed <13>Feb 3 01:17:07 rpmi: python-module-Pygments-2.2.0-alt1.M80P.2 p8.214223.100 1538848792 installed <13>Feb 3 01:17:07 rpmi: python-module-alabaster-0.7.6-alt1.git20150703.1 1457857919 installed <13>Feb 3 01:17:07 rpmi: python-module-sphinx-1:1.4-alt8.a0.git20150813 1460726255 installed Installing python-module-kafka-0.9.4-alt1.dev.git20150219.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24638 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-kafka-0.9.4 + echo 'Source #0 (python-module-kafka-0.9.4.tar):' Source #0 (python-module-kafka-0.9.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-kafka-0.9.4.tar + cd python-module-kafka-0.9.4 + /bin/chmod -c -Rf u+rwX,go-w . + install -pm644 /usr/share/python-sphinx/objects.inv ./ + '[' -e ./conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template ./conf.py + ln -s ../objects.inv docs/ + 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/conf.py RefactoringTool: Refactored ../python3/test/testutil.py RefactoringTool: Refactored ../python3/test/test_util.py RefactoringTool: Refactored ../python3/test/test_protocol.py RefactoringTool: No changes to ../python3/test/test_producer_integration.py RefactoringTool: Refactored ../python3/test/test_producer.py WARNING: couldn't encode ../python3/test/test_producer.py's diff for your terminal RefactoringTool: No changes to ../python3/test/test_package.py RefactoringTool: No changes to ../python3/test/test_failover_integration.py RefactoringTool: No changes to ../python3/test/test_context.py RefactoringTool: Refactored ../python3/test/test_consumer_integration.py --- ../python3/test/testutil.py (original) +++ ../python3/test/testutil.py (refactored) @@ -22,7 +22,7 @@ ] def random_string(l): - s = "".join(random.choice(string.ascii_letters) for i in xrange(l)) + s = "".join(random.choice(string.ascii_letters) for i in range(l)) return s.encode('utf-8') def kafka_versions(*versions): --- ../python3/test/test_util.py (original) +++ ../python3/test/test_util.py (refactored) @@ -21,7 +21,7 @@ def test_write_int_string__unicode(self): with self.assertRaises(TypeError) as cm: - kafka.util.write_int_string(u'unicode') + kafka.util.write_int_string('unicode') #: :type: TypeError te = cm.exception if six.PY2: @@ -59,7 +59,7 @@ def test_write_short_string__unicode(self): with self.assertRaises(TypeError) as cm: - kafka.util.write_short_string(u'hello') + kafka.util.write_short_string('hello') #: :type: TypeError te = cm.exception if six.PY2: --- ../python3/test/test_protocol.py (original) +++ ../python3/test/test_protocol.py (refactored) @@ -343,7 +343,7 @@ t2 = b"topic2" _long = int if six.PY2: - _long = long + _long = int encoded = struct.pack('>iih%dsiihqihqh%dsiihq' % (len(t1), len(t2)), 2, 2, len(t1), t1, 2, 0, 0, _long(10), 1, 1, _long(20), len(t2), t2, 1, 0, 0, _long(30)) --- ../python3/test/test_producer.py (original) +++ ../python3/test/test_producer.py (refactored) @@ -15,7 +15,7 @@ topic = b"test-topic" partition = 0 --- ../python3/test/test_consumer_integration.py (original) +++ ../python3/test/test_consumer_integration.py (refactored) @@ -75,8 +75,8 @@ @kafka_versions("all") def test_simple_consumer(self): - self.send_messages(0, range(0, 100)) - self.send_messages(1, range(100, 200)) + self.send_messages(0, list(range(0, 100))) + self.send_messages(1, list(range(100, 200))) # Start a consumer consumer = self.consumer() @@ -87,8 +87,8 @@ @kafka_versions("all") def test_simple_consumer__seek(self): - self.send_messages(0, range(0, 100)) - self.send_messages(1, range(100, 200)) + self.send_messages(0, list(range(0, 100))) + self.send_messages(1, list(range(100, 200))) consumer = self.consumer() @@ -112,7 +112,7 @@ self.assert_message_count(messages, 0) self.assertGreaterEqual(t.interval, 5) - self.send_messages(0, range(0, 10)) + self.send_messages(0, list(range(0, 10))) # Ask for 5 messages, 10 in queue. Get 5 back, no blocking with Timer() as t: @@ -132,13 +132,13 @@ def test_simple_consumer_pending(self): # make sure that we start with no pending messages consumer = self.consumer() - self.assertEquals(consumer.pending(), 0) - self.assertEquals(consumer.pending(partitions=[0]), 0) - self.assertEquals(consumer.pending(partitions=[1]), 0) + self.assertEqual(consumer.pending(), 0) + self.assertEqual(consumer.pending(partitions=[0]), 0) + self.assertEqual(consumer.pending(partitions=[1]), 0) # Produce 10 messages to partitions 0 and 1 - self.send_messages(0, range(0, 10)) - self.send_messages(1, range(10, 20)) + self.send_messages(0, list(range(0, 10))) + self.send_messages(1, list(range(10, 20))) consumer = self.consumer() @@ -153,14 +153,14 @@ pending_part1 = consumer.pending(partitions=[0]) pending_part2 = consumer.pending(partitions=[1]) - self.assertEquals(set([0, 1]), set([pending_part1, pending_part2])) + self.assertEqual(set([0, 1]), set([pending_part1, pending_part2])) consumer.stop() @kafka_versions("all") def test_multi_process_consumer(self): # Produce 100 messages to partitions 0 and 1 - self.send_messages(0, range(0, 100)) - self.send_messages(1, range(100, 200)) + self.send_messages(0, list(range(0, 100))) + self.send_messages(1, list(range(100, 200))) consumer = self.consumer(consumer = MultiProcessConsumer) @@ -180,7 +180,7 @@ self.assertGreaterEqual(t.interval, 5) # Send 10 messages - self.send_messages(0, range(0, 10)) + self.send_messages(0, list(range(0, 10))) # Ask for 5 messages, 10 messages in queue, block 0 seconds with Timer() as t: @@ -198,8 +198,8 @@ @kafka_versions("all") def test_multi_proc_pending(self): - self.send_messages(0, range(0, 10)) - self.send_messages(1, range(10, 20)) + self.send_messages(0, list(range(0, 10))) + self.send_messages(1, list(range(10, 20))) consumer = MultiProcessConsumer(self.client, "group1", self.topic, auto_commit=False) @@ -259,8 +259,8 @@ @kafka_versions("0.8.1", "0.8.1.1", "0.8.2.0") def test_offset_behavior__resuming_behavior(self): - self.send_messages(0, range(0, 100)) - self.send_messages(1, range(100, 200)) + self.send_messages(0, list(range(0, 100))) + self.send_messages(1, list(range(100, 200))) # Start a consumer consumer1 = self.consumer( @@ -269,7 +269,7 @@ ) # Grab the first 195 messages - output_msgs1 = [ consumer1.get_message().message.value for _ in xrange(195) ] + output_msgs1 = [ consumer1.get_message().message.value for _ in range(195) ] self.assert_message_count(output_msgs1, 195) # The total offset across both partitions should be at 180 @@ -305,8 +305,8 @@ @kafka_versions("all") def test_kafka_consumer(self): - self.send_messages(0, range(0, 100)) - self.send_messages(1, range(100, 200)) + self.send_messages(0, list(range(0, 100))) + self.send_messages(1, list(range(100, 200))) # Start a consumer consumer = self.kafka_consumer(auto_offset_reset='smallest', @@ -333,16 +333,16 @@ # Ask for 5 messages, nothing in queue, block 5 seconds with Timer() as t: with self.assertRaises(ConsumerTimeout): - msg = consumer.next() + msg = next(consumer) self.assertGreaterEqual(t.interval, TIMEOUT_MS / 1000.0 ) - self.send_messages(0, range(0, 10)) + self.send_messages(0, list(range(0, 10))) # Ask for 5 messages, 10 in queue. Get 5 back, no blocking messages = set() with Timer() as t: for i in range(5): - msg = consumer.next() + msg = next(consumer) messages.add((msg.partition, msg.offset)) self.assertEqual(len(messages), 5) self.assertLess(t.interval, TIMEOUT_MS / 1000.0 ) @@ -352,7 +352,7 @@ with Timer() as t: with self.assertRaises(ConsumerTimeout): for i in range(10): - msg = consumer.next() + msg = next(consumer) messages.add((msg.partition, msg.offset)) self.assertEqual(len(messages), 5) self.assertGreaterEqual(t.interval, TIMEOUT_MS / 1000.0 ) @@ -361,8 +361,8 @@ def test_kafka_consumer__offset_commit_resume(self): GROUP_ID = random_string(10) - self.send_messages(0, range(0, 100)) - self.send_messages(1, range(100, 200)) + self.send_messages(0, list(range(0, 100))) + self.send_messages(1, list(range(100, 200))) # Start a consumer consumer1 = self.kafka_consumer( @@ -375,8 +375,8 @@ # Grab the first 195 messages output_msgs1 = [] - for _ in xrange(195): - m = consumer1.next() + for _ in range(195): + m = next(consumer1) output_msgs1.append(m) consumer1.task_done(m) self.assert_message_count(output_msgs1, 195) @@ -395,7 +395,7 @@ output_msgs2 = [] with self.assertRaises(ConsumerTimeout): while TrRefactoringTool: No changes to ../python3/test/test_consumer.py RefactoringTool: No changes to ../python3/test/test_conn.py RefactoringTool: Refactored ../python3/test/test_codec.py RefactoringTool: No changes to ../python3/test/test_client_integration.py RefactoringTool: Refactored ../python3/test/test_client.py RefactoringTool: No changes to ../python3/test/service.py RefactoringTool: No changes to ../python3/test/fixtures.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/load_example.py RefactoringTool: Refactored ../python3/kafka/util.py RefactoringTool: Refactored ../python3/kafka/protocol.py ue: - m = consumer2.next() + m = next(consumer2) output_msgs2.append(m) self.assert_message_count(output_msgs2, 20) self.assertEqual(len(set(output_msgs1) & set(output_msgs2)), 15) --- ../python3/test/test_codec.py (original) +++ ../python3/test/test_codec.py (refactored) @@ -12,14 +12,14 @@ class TestCodec(unittest.TestCase): def test_gzip(self): - for i in xrange(1000): + for i in range(1000): s1 = random_string(100) s2 = gzip_decode(gzip_encode(s1)) self.assertEqual(s1, s2) @unittest.skipUnless(has_snappy(), "Snappy not available") def test_snappy(self): - for i in xrange(1000): + for i in range(1000): s1 = random_string(100) s2 = snappy_decode(snappy_encode(s1)) self.assertEqual(s1, s2) --- ../python3/test/test_client.py (original) +++ ../python3/test/test_client.py (refactored) @@ -41,7 +41,7 @@ def test_init_with_unicode_csv(self): with patch.object(KafkaClient, 'load_metadata_for_topics'): - client = KafkaClient(hosts=u'kafka01:9092,kafka02:9092,kafka03:9092') + client = KafkaClient(hosts='kafka01:9092,kafka02:9092,kafka03:9092') self.assertEqual( sorted([('kafka01', 9092), ('kafka02', 9092), ('kafka03', 9092)]), --- ../python3/load_example.py (original) +++ ../python3/load_example.py (refactored) @@ -48,9 +48,9 @@ t.start() time.sleep(10) - print 'Messages sent: %d' % threads[0].sent - print 'Messages recvd: %d' % threads[1].valid - print 'Messages invalid: %d' % threads[1].invalid + print('Messages sent: %d' % threads[0].sent) + print('Messages recvd: %d' % threads[1].valid) + print('Messages invalid: %d' % threads[1].invalid) if __name__ == "__main__": logging.basicConfig( --- ../python3/kafka/util.py (original) +++ ../python3/kafka/util.py (refactored) @@ -115,7 +115,7 @@ if t <= 0: raise ValueError('Invalid timeout value') - if not callable(fn): + if not isinstance(fn, collections.Callable): raise ValueError('fn must be callable') self.thread = None --- ../python3/kafka/protocol.py (original) +++ ../python3/kafka/protocol.py (refactored) @@ -208,11 +208,11 @@ message.append(struct.pack('>hii', acks, timeout, len(grouped_payloads))) - for topic, topic_payloads in grouped_payloads.items(): + for topic, topic_payloads in list(grouped_payloads.items()): message.append(struct.pack('>h%dsi' % len(topic), len(topic), topic, len(topic_payloads))) - for partition, payload in topic_payloads.items(): + for partition, payload in list(topic_payloads.items()): msg_set = KafkaProtocol._encode_message_set(payload.messages) message.append(struct.pack('>ii%ds' % len(msg_set), partition, len(msg_set), msg_set)) @@ -268,10 +268,10 @@ message.append(struct.pack('>iiii', -1, max_wait_time, min_bytes, len(grouped_payloads))) - for topic, topic_payloads in grouped_payloads.items(): + for topic, topic_payloads in list(grouped_payloads.items()): message.append(write_short_string(topic)) message.append(struct.pack('>i', len(topic_payloads))) - for partition, payload in topic_payloads.items(): + for partition, payload in list(topic_payloads.items()): message.append(struct.pack('>iqi', partition, payload.offset, payload.max_bytes)) @@ -315,11 +315,11 @@ # -1 is the replica id message.append(struct.pack('>ii', -1, len(grouped_payloads))) - for topic, topic_payloads in grouped_payloads.items(): + for topic, topic_payloads in list(grouped_payloads.items()): messagRefactoringTool: Refactored ../python3/kafka/producer/simple.py RefactoringTool: Refactored ../python3/kafka/producer/keyed.py RefactoringTool: Refactored ../python3/kafka/producer/base.py RefactoringTool: No changes to ../python3/kafka/producer/__init__.py RefactoringTool: No changes to ../python3/kafka/partitioner/roundrobin.py RefactoringTool: No changes to ../python3/kafka/partitioner/hashed.py RefactoringTool: No changes to ../python3/kafka/partitioner/base.py RefactoringTool: No changes to ../python3/kafka/partitioner/__init__.py RefactoringTool: Refactored ../python3/kafka/context.py e.append(write_short_string(topic)) message.append(struct.pack('>i', len(topic_payloads))) - for partition, payload in topic_payloads.items(): + for partition, payload in list(topic_payloads.items()): message.append(struct.pack('>iqi', partition, payload.time, payload.max_offsets)) @@ -448,11 +448,11 @@ message.append(write_short_string(group)) message.append(struct.pack('>i', len(grouped_payloads))) - for topic, topic_payloads in grouped_payloads.items(): + for topic, topic_payloads in list(grouped_payloads.items()): message.append(write_short_string(topic)) message.append(struct.pack('>i', len(topic_payloads))) - for partition, payload in topic_payloads.items(): + for partition, payload in list(topic_payloads.items()): message.append(struct.pack('>iq', partition, payload.offset)) message.append(write_short_string(payload.metadata)) @@ -470,11 +470,11 @@ ((correlation_id,), cur) = relative_unpack('>i', data, 0) ((num_topics,), cur) = relative_unpack('>i', data, cur) - for i in xrange(num_topics): + for i in range(num_topics): (topic, cur) = read_short_string(data, cur) ((num_partitions,), cur) = relative_unpack('>i', data, cur) - for i in xrange(num_partitions): + for i in range(num_partitions): ((partition, error), cur) = relative_unpack('>ih', data, cur) yield OffsetCommitResponse(topic, partition, error) @@ -499,11 +499,11 @@ message.append(write_short_string(group)) message.append(struct.pack('>i', len(grouped_payloads))) - for topic, topic_payloads in grouped_payloads.items(): + for topic, topic_payloads in list(grouped_payloads.items()): message.append(write_short_string(topic)) message.append(struct.pack('>i', len(topic_payloads))) - for partition, payload in topic_payloads.items(): + for partition, payload in list(topic_payloads.items()): message.append(struct.pack('>i', partition)) msg = b''.join(message) --- ../python3/kafka/producer/simple.py (original) +++ ../python3/kafka/producer/simple.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import absolute_import + import logging import random @@ -63,7 +63,7 @@ # Randomize the initial partition that is returned if self.random_start: num_partitions = len(self.client.get_partition_ids_for_topic(topic)) - for _ in xrange(random.randint(0, num_partitions-1)): + for _ in range(random.randint(0, num_partitions-1)): next(self.partition_cycles[topic]) return next(self.partition_cycles[topic]) --- ../python3/kafka/producer/keyed.py (original) +++ ../python3/kafka/producer/keyed.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import absolute_import + import logging --- ../python3/kafka/producer/base.py (original) +++ ../python3/kafka/producer/base.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import absolute_import + import logging import time @@ -6,7 +6,7 @@ try: from queue import Empty except ImportError: - from Queue import Empty + from queue import Empty from collections import defaultdict from multiprocessing import Queue, Process @@ -66,7 +66,7 @@ # Send collected requests upstream reqs = [] - for topic_partition, msg in msgset.items(): + for topic_partition, msg in list(msgset.items()): messages = create_message_set(msg, codec, key) req = ProduceRequest(topic_partition.topic, topic_partition.partition, --- ../python3/kafka/context.py (original) +++ ../python3/kafka/context.py (refactored) @@ -71,7 +71,7 @@ self.high_water_mark[partition] = max_offset - def __nonzero__(self): + RefactoringTool: Refactored ../python3/kafka/consumer/simple.py RefactoringTool: Refactored ../python3/kafka/consumer/multiprocess.py def __bool__(self): """ Return whether any operations were marked in the context. """ @@ -140,7 +140,7 @@ commit_requests = [ OffsetCommitRequest(self.consumer.topic, partition, offset, None) - for partition, offset in partition_offsets.items() + for partition, offset in list(partition_offsets.items()) ] commit_responses = self.consumer.client.send_offset_commit_request( self.consumer.group, @@ -155,7 +155,7 @@ """ self.logger.debug("Updating consumer offsets to: %s", partition_offsets) - for partition, offset in partition_offsets.items(): + for partition, offset in list(partition_offsets.items()): self.consumer.offsets[partition] = offset # consumer keeps other offset states beyond its `offsets` dictionary, --- ../python3/kafka/consumer/simple.py (original) +++ ../python3/kafka/consumer/simple.py (refactored) @@ -1,16 +1,16 @@ -from __future__ import absolute_import + try: from itertools import zip_longest as izip_longest, repeat # pylint: disable-msg=E0611 except ImportError: # python 2 - from itertools import izip_longest as izip_longest, repeat + from itertools import zip_longest as izip_longest, repeat import logging import time import six try: - from Queue import Empty, Queue + from queue import Empty, Queue except ImportError: # python 2 from queue import Empty, Queue @@ -129,7 +129,7 @@ def __repr__(self): return '' % \ - (self.group, self.topic, str(self.offsets.keys())) + (self.group, self.topic, str(list(self.offsets.keys()))) def provide_partition_info(self): """ @@ -151,19 +151,19 @@ """ if whence == 1: # relative to current position - for partition, _offset in self.offsets.items(): + for partition, _offset in list(self.offsets.items()): self.offsets[partition] = _offset + offset elif whence in (0, 2): # relative to beginning or end # divide the request offset by number of partitions, # distribute the remained evenly (delta, rem) = divmod(offset, len(self.offsets)) deltas = {} - for partition, r in izip_longest(self.offsets.keys(), + for partition, r in zip_longest(list(self.offsets.keys()), repeat(1, rem), fillvalue=0): deltas[partition] = delta + r reqs = [] - for partition in self.offsets.keys(): + for partition in list(self.offsets.keys()): if whence == 0: reqs.append(OffsetRequest(self.topic, partition, -2, 1)) elif whence == 2: @@ -286,7 +286,7 @@ def _fetch(self): # Create fetch request payloads for all the partitions partitions = dict((p, self.buffer_size) - for p in self.fetch_offsets.keys()) + for p in list(self.fetch_offsets.keys())) while partitions: requests = [] for partition, buffer_size in six.iteritems(partitions): --- ../python3/kafka/consumer/multiprocess.py (original) +++ ../python3/kafka/consumer/multiprocess.py (refactored) @@ -1,11 +1,11 @@ -from __future__ import absolute_import + import logging import time from multiprocessing import Process, Queue as MPQueue, Event, Value try: - from Queue import Empty + from queue import Empty except ImportError: # python 2 from queue import Empty @@ -123,7 +123,7 @@ self.pause = Event() # Requests the consumers to pause fetch self.size = Value('i', 0) # Indicator of number of messages to fetch - partitions = self.offsets.keys() + partitions = list(self.offsets.keys()) # If unspecified, start one consumer per partition # The logic below ensures that @@ -136,11 +136,11 @RefactoringTool: Refactored ../python3/kafka/consumer/kafka.py RefactoringTool: Refactored ../python3/kafka/consumer/base.py RefactoringTool: No changes to ../python3/kafka/consumer/__init__.py RefactoringTool: No changes to ../python3/kafka/conn.py RefactoringTool: No changes to ../python3/kafka/common.py RefactoringTool: Refactored ../python3/kafka/codec.py RefactoringTool: Refactored ../python3/kafka/client.py RefactoringTool: No changes to ../python3/kafka/__init__.py RefactoringTool: No changes to ../python3/example.py RefactoringTool: Refactored ../python3/docs/conf.py @ # The final set of chunks chunker = lambda *x: [] + list(x) - chunks = map(chunker, *[iter(partitions)] * int(partitions_per_proc)) + chunks = list(map(chunker, *[iter(partitions)] * int(partitions_per_proc))) self.procs = [] for chunk in chunks: - chunk = filter(lambda x: x is not None, chunk) + chunk = [x for x in chunk if x is not None] args = (client.copy(), group, topic, list(chunk), self.queue, self.start, self.exit, --- ../python3/kafka/consumer/kafka.py (original) +++ ../python3/kafka/consumer/kafka.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import absolute_import + from collections import namedtuple from copy import deepcopy @@ -320,7 +320,7 @@ # Reset message iterator in case we were in the middle of one self._reset_message_iterator() - def next(self): + def __next__(self): """ Return a single message from the message iterator If consumer_timeout_ms is set, will raise ConsumerTimeout @@ -736,7 +736,7 @@ return self def __next__(self): - return self.next() + return next(self) def _get_message_iterator(self): # Fetch a new batch if needed --- ../python3/kafka/consumer/base.py (original) +++ ../python3/kafka/consumer/base.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import absolute_import + import logging import numbers @@ -113,7 +113,7 @@ reqs = [] if not partitions: # commit all partitions - partitions = self.offsets.keys() + partitions = list(self.offsets.keys()) for partition in partitions: offset = self.offsets[partition] @@ -155,7 +155,7 @@ partitions (list): list of partitions to check for, default is to check all """ if not partitions: - partitions = self.offsets.keys() + partitions = list(self.offsets.keys()) total = 0 reqs = [] --- ../python3/kafka/codec.py (original) +++ ../python3/kafka/codec.py (refactored) @@ -68,7 +68,7 @@ if xerial_compatible: def _chunker(): - for i in xrange(0, len(payload), xerial_blocksize): + for i in range(0, len(payload), xerial_blocksize): yield payload[i:i+xerial_blocksize] out = BytesIO() --- ../python3/kafka/client.py (original) +++ ../python3/kafka/client.py (refactored) @@ -167,7 +167,7 @@ failed_payloads = [] # For each broker, send the list of request payloads - for broker, payloads in payloads_by_broker.items(): + for broker, payloads in list(payloads_by_broker.items()): conn = self._get_conn(broker.host.decode('utf-8'), broker.port) requestId = self._next_id() request = encoder_fn(client_id=self.client_id, @@ -218,7 +218,7 @@ # Public API # ################# def close(self): - for conn in self.conns.values(): + for conn in list(self.conns.values()): conn.close() def copy(self): @@ -232,7 +232,7 @@ return c def reinit(self): - for conn in self.conns.values(): + for conn in list(self.conns.values()): conn.reinit() def reset_topic_metadata(self, *topics): --- ../python3/docs/conf.py (original) +++ ../python3/docs/conf.py (refactored) @@ -48,8 +48,8 @@ master_doc = 'index' # General information about the project. -project = u'kafka-python' -copyright = u'2015, David Arthur' +project = 'kafka-python' +copyright = '2015, David Arthur' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -203,8 +203,8 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'kafka-python.tex', u'kafka-python Documentation', - u'David Arthur', 'manual'), RefactoringTool: Files that were modified: RefactoringTool: ../python3/conf.py RefactoringTool: ../python3/test/testutil.py RefactoringTool: ../python3/test/test_util.py RefactoringTool: ../python3/test/test_protocol.py RefactoringTool: ../python3/test/test_producer_integration.py RefactoringTool: ../python3/test/test_producer.py RefactoringTool: ../python3/test/test_package.py RefactoringTool: ../python3/test/test_failover_integration.py RefactoringTool: ../python3/test/test_context.py RefactoringTool: ../python3/test/test_consumer_integration.py RefactoringTool: ../python3/test/test_consumer.py RefactoringTool: ../python3/test/test_conn.py RefactoringTool: ../python3/test/test_codec.py RefactoringTool: ../python3/test/test_client_integration.py RefactoringTool: ../python3/test/test_client.py RefactoringTool: ../python3/test/service.py RefactoringTool: ../python3/test/fixtures.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/load_example.py RefactoringTool: ../python3/kafka/util.py RefactoringTool: ../python3/kafka/protocol.py RefactoringTool: ../python3/kafka/producer/simple.py RefactoringTool: ../python3/kafka/producer/keyed.py RefactoringTool: ../python3/kafka/producer/base.py RefactoringTool: ../python3/kafka/producer/__init__.py RefactoringTool: ../python3/kafka/partitioner/roundrobin.py RefactoringTool: ../python3/kafka/partitioner/hashed.py RefactoringTool: ../python3/kafka/partitioner/base.py RefactoringTool: ../python3/kafka/partitioner/__init__.py RefactoringTool: ../python3/kafka/context.py RefactoringTool: ../python3/kafka/consumer/simple.py RefactoringTool: ../python3/kafka/consumer/multiprocess.py RefactoringTool: ../python3/kafka/consumer/kafka.py RefactoringTool: ../python3/kafka/consumer/base.py RefactoringTool: ../python3/kafka/consumer/__init__.py RefactoringTool: ../python3/kafka/conn.py RefactoringTool: ../python3/kafka/common.py RefactoringTool: ../python3/kafka/codec.py RefactoringTool: ../python3/kafka/client.py RefactoringTool: ../python3/kafka/__init__.py RefactoringTool: ../python3/example.py RefactoringTool: ../python3/docs/conf.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ../python3/kafka/consumer/simple.py ### RefactoringTool: Line 162: You should use 'operator.mul(1, rem)' here. + ('index', 'kafka-python.tex', 'kafka-python Documentation', + 'David Arthur', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -233,8 +233,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'kafka-python', u'kafka-python Documentation', - [u'David Arthur'], 1) + ('index', 'kafka-python', 'kafka-python Documentation', + ['David Arthur'], 1) ] # If true, show URL addresses after external links. @@ -247,8 +247,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'kafka-python', u'kafka-python Documentation', - u'David Arthur', 'kafka-python', 'One line description of project.', + ('index', 'kafka-python', 'kafka-python Documentation', + 'David Arthur', 'kafka-python', 'One line description of project.', 'Miscellaneous'), ] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.47018 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-kafka-0.9.4 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug /usr/lib/python2.7/site-packages/setuptools/dist.py:286: UserWarning: Normalizing '0.9.4-dev' to '0.9.4.dev0' normalized_version, running build running build_py creating build creating build/lib creating build/lib/kafka copying kafka/util.py -> build/lib/kafka copying kafka/protocol.py -> build/lib/kafka copying kafka/context.py -> build/lib/kafka copying kafka/conn.py -> build/lib/kafka copying kafka/common.py -> build/lib/kafka copying kafka/codec.py -> build/lib/kafka copying kafka/client.py -> build/lib/kafka copying kafka/__init__.py -> build/lib/kafka creating build/lib/kafka/consumer copying kafka/consumer/simple.py -> build/lib/kafka/consumer copying kafka/consumer/multiprocess.py -> build/lib/kafka/consumer copying kafka/consumer/kafka.py -> build/lib/kafka/consumer copying kafka/consumer/base.py -> build/lib/kafka/consumer copying kafka/consumer/__init__.py -> build/lib/kafka/consumer creating build/lib/kafka/partitioner copying kafka/partitioner/roundrobin.py -> build/lib/kafka/partitioner copying kafka/partitioner/hashed.py -> build/lib/kafka/partitioner copying kafka/partitioner/base.py -> build/lib/kafka/partitioner copying kafka/partitioner/__init__.py -> build/lib/kafka/partitioner creating build/lib/kafka/producer copying kafka/producer/simple.py -> build/lib/kafka/producer copying kafka/producer/keyed.py -> build/lib/kafka/producer copying kafka/producer/base.py -> build/lib/kafka/producer copying kafka/producer/__init__.py -> build/lib/kafka/producer + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-kafka-0.9.4 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/kafka copying kafka/util.py -> build/lib/kafka copying kafka/protocol.py -> build/lib/kafka copying kafka/context.py -> build/lib/kafka copying kafka/conn.py -> build/lib/kafka copying kafka/common.py -> build/lib/kafka copying kafka/codec.py -> build/lib/kafka copying kafka/client.py -> build/lib/kafka copying kafka/__init__.py -> build/lib/kafka creating build/lib/kafka/consumer copying kafka/consumer/simple.py -> build/lib/kafka/consumer copying kafka/consumer/multiprocess.py -> build/lib/kafka/consumer copying kafka/consumer/kafka.py -> build/lib/kafka/consumer copying kafka/consumer/base.py -> build/lib/kafka/consumer copying kafka/consumer/__init__.py -> build/lib/kafka/consumer creating build/lib/kafka/partitioner copying kafka/partitioner/roundrobin.py -> build/lib/kafka/partitioner copying kafka/partitioner/hashed.py -> build/lib/kafka/partitioner copying kafka/partitioner/base.py -> build/lib/kafka/partitioner copying kafka/partitioner/__init__.py -> build/lib/kafka/partitioner creating build/lib/kafka/producer copying kafka/producer/simple.py -> build/lib/kafka/producer copying kafka/producer/keyed.py -> build/lib/kafka/producer copying kafka/producer/base.py -> build/lib/kafka/producer copying kafka/producer/__init__.py -> build/lib/kafka/producer /usr/lib/python3/site-packages/setuptools/dist.py:286: UserWarning: Normalizing '0.9.4-dev' to '0.9.4.dev0' normalized_version, + popd ~/RPM/BUILD/python-module-kafka-0.9.4 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.61250 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-kafka-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-kafka-buildroot + cd python-module-kafka-0.9.4 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-kafka-buildroot --force /usr/lib/python2.7/site-packages/setuptools/dist.py:286: UserWarning: Normalizing '0.9.4-dev' to '0.9.4.dev0' normalized_version, running install running install_lib creating /usr/src/tmp/python-module-kafka-buildroot creating /usr/src/tmp/python-module-kafka-buildroot/usr creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer copying build/lib/kafka/producer/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer copying build/lib/kafka/producer/base.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer copying build/lib/kafka/producer/keyed.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer copying build/lib/kafka/producer/simple.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/base.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/hashed.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/roundrobin.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer copying build/lib/kafka/consumer/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer copying build/lib/kafka/consumer/base.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer copying build/lib/kafka/consumer/kafka.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer copying build/lib/kafka/consumer/multiprocess.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer copying build/lib/kafka/consumer/simple.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer copying build/lib/kafka/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka copying build/lib/kafka/client.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka copying build/lib/kafka/codec.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka copying build/lib/kafka/common.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka copying build/lib/kafka/conn.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka copying build/lib/kafka/context.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka copying build/lib/kafka/protocol.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka copying build/lib/kafka/util.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/base.py to base.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/keyed.py to keyed.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/simple.py to simple.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/base.py to base.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/hashed.py to hashed.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/roundrobin.py to roundrobin.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/base.py to base.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/kafka.py to kafka.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/multiprocess.py to multiprocess.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/simple.py to simple.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/client.py to client.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/codec.py to codec.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/common.py to common.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/conn.py to conn.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/context.py to context.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/protocol.py to protocol.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/util.py to util.pyc running install_egg_info running egg_info creating kafka_python.egg-info writing requirements to kafka_python.egg-info/requires.txt writing kafka_python.egg-info/PKG-INFO writing top-level names to kafka_python.egg-info/top_level.txt writing dependency_links to kafka_python.egg-info/dependency_links.txt writing manifest file 'kafka_python.egg-info/SOURCES.txt' reading manifest file 'kafka_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'kafka_python.egg-info/SOURCES.txt' Copying kafka_python.egg-info to /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka_python-0.9.4.dev0-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-kafka-0.9.4 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-kafka-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer copying build/lib/kafka/producer/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer copying build/lib/kafka/producer/base.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer copying build/lib/kafka/producer/keyed.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer copying build/lib/kafka/producer/simple.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/base.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/hashed.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner copying build/lib/kafka/partitioner/roundrobin.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner creating /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer copying build/lib/kafka/consumer/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer copying build/lib/kafka/consumer/base.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer copying build/lib/kafka/consumer/kafka.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer copying build/lib/kafka/consumer/multiprocess.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer copying build/lib/kafka/consumer/simple.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer copying build/lib/kafka/__init__.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka copying build/lib/kafka/client.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka copying build/lib/kafka/codec.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka copying build/lib/kafka/common.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka copying build/lib/kafka/conn.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka copying build/lib/kafka/context.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka copying build/lib/kafka/protocol.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka copying build/lib/kafka/util.py -> /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/base.py to base.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/keyed.py to keyed.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/simple.py to simple.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/base.py to base.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/hashed.py to hashed.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/roundrobin.py to roundrobin.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/base.py to base.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/kafka.py to kafka.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/multiprocess.py to multiprocess.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/simple.py to simple.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/client.py to client.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/codec.py to codec.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/common.py to common.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/conn.py to conn.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/context.py to context.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/protocol.py to protocol.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/util.py to util.cpython-35.pyc running install_egg_info running egg_info creating kafka_python.egg-info writing requirements to kafka_python.egg-info/requires.txt writing kafka_python.egg-info/PKG-INFO writing dependency_links to kafka_python.egg-info/dependency_links.txt writing top-level names to kafka_python.egg-info/top_level.txt writing manifest file 'kafka_python.egg-info/SOURCES.txt' reading manifest file 'kafka_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'kafka_python.egg-info/SOURCES.txt' Copying kafka_python.egg-info to /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka_python-0.9.4.dev0-py3.5.egg-info running install_scripts /usr/lib/python3/site-packages/setuptools/dist.py:286: UserWarning: Normalizing '0.9.4-dev' to '0.9.4.dev0' normalized_version, + popd ~/RPM/BUILD/python-module-kafka-0.9.4 + export PYTHONPATH=/usr/src/RPM/BUILD/python-module-kafka-0.9.4 + PYTHONPATH=/usr/src/RPM/BUILD/python-module-kafka-0.9.4 + make -C docs pickle make: Entering directory `/usr/src/RPM/BUILD/python-module-kafka-0.9.4/docs' sphinx-build -b pickle -d _build/doctrees . _build/pickle Running Sphinx v1.4a0+ making output directory... loading pickled environment... not yet created building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 9 source files that are out of date updating environment: 9 added, 0 changed, 0 removed reading sources... [ 11%] apidoc/kafka reading sources... [ 22%] apidoc/kafka.consumer reading sources... [ 33%] apidoc/kafka.partitioner reading sources... [ 44%] apidoc/kafka.producer reading sources... [ 55%] apidoc/modules reading sources... [ 66%] index reading sources... [ 77%] install reading sources... [ 88%] tests reading sources... [100%] usage /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/client.py:docstring of kafka.client.KafkaClient.load_metadata_for_topics:13: WARNING: Title underline too short. Exceptions: ---------- /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/client.py:docstring of kafka.client.KafkaClient.load_metadata_for_topics:13: SEVERE: Unexpected section title. Exceptions: ---------- /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/codec.py:docstring of kafka.codec.snappy_encode:11: WARNING: Block quote ends without a blank line; unexpected unindent. /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/codec.py:docstring of kafka.codec.snappy_encode:11: SEVERE: Unexpected section title or transition. ------------- /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/codec.py:docstring of kafka.codec.snappy_encode:11: WARNING: Block quote ends without a blank line; unexpected unindent. /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/codec.py:docstring of kafka.codec.snappy_encode:11: SEVERE: Unexpected section title or transition. -------------- /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/__init__.py:docstring of kafka.KafkaClient.load_metadata_for_topics:13: WARNING: Title underline too short. Exceptions: ---------- /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/__init__.py:docstring of kafka.KafkaClient.load_metadata_for_topics:13: SEVERE: Unexpected section title. Exceptions: ---------- /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/producer/base.py:docstring of kafka.producer.base.Producer.send_messages:1: WARNING: Inline emphasis start-string without end-string. looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 11%] apidoc/kafka writing output... [ 22%] apidoc/kafka.consumer writing output... [ 33%] apidoc/kafka.partitioner writing output... [ 44%] apidoc/kafka.producer writing output... [ 55%] apidoc/modules writing output... [ 66%] index writing output... [ 77%] install writing output... [ 88%] tests writing output... [100%] usage /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/__init__.py:docstring of kafka.KafkaConsumer.get_partition_offsets:None: WARNING: more than one target found for cross-reference u'topic': kafka.common.ProduceRequest.topic, kafka.common.FetchRequest.topic, kafka.common.KafkaMessage.topic, kafka.common.OffsetCommitResponse.topic, kafka.common.ProduceResponse.topic, kafka.common.OffsetRequest.topic, kafka.common.TopicMetadata.topic, kafka.common.OffsetFetchRequest.topic, kafka.common.OffsetResponse.topic, kafka.common.PartitionMetadata.topic, kafka.common.OffsetFetchResponse.topic, kafka.common.TopicAndPartition.topic, kafka.common.FetchResponse.topic, kafka.common.OffsetCommitRequest.topic /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/consumer/kafka.py:docstring of kafka.consumer.kafka.KafkaConsumer.get_partition_offsets:None: WARNING: more than one target found for cross-reference u'topic': kafka.common.ProduceRequest.topic, kafka.common.FetchRequest.topic, kafka.common.KafkaMessage.topic, kafka.common.OffsetCommitResponse.topic, kafka.common.ProduceResponse.topic, kafka.common.OffsetRequest.topic, kafka.common.TopicMetadata.topic, kafka.common.OffsetFetchRequest.topic, kafka.common.OffsetResponse.topic, kafka.common.PartitionMetadata.topic, kafka.common.OffsetFetchResponse.topic, kafka.common.TopicAndPartition.topic, kafka.common.FetchResponse.topic, kafka.common.OffsetCommitRequest.topic /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/consumer/__init__.py:docstring of kafka.consumer.KafkaConsumer.get_partition_offsets:None: WARNING: more than one target found for cross-reference u'topic': kafka.common.ProduceRequest.topic, kafka.common.FetchRequest.topic, kafka.common.KafkaMessage.topic, kafka.common.OffsetCommitResponse.topic, kafka.common.ProduceResponse.topic, kafka.common.OffsetRequest.topic, kafka.common.TopicMetadata.topic, kafka.common.OffsetFetchRequest.topic, kafka.common.OffsetResponse.topic, kafka.common.PartitionMetadata.topic, kafka.common.OffsetFetchResponse.topic, kafka.common.TopicAndPartition.topic, kafka.common.FetchResponse.topic, kafka.common.OffsetCommitRequest.topic generating indices... genindex py-modindex highlighting module code... [ 2%] namedtuple_OffsetFetchResponse highlighting module code... [ 5%] kafka.client highlighting module code... [ 8%] kafka.util highlighting module code... [ 10%] kafka.producer.simple highlighting module code... [ 13%] kafka.consumer.kafka highlighting module code... [ 16%] namedtuple_FetchResponse highlighting module code... [ 18%] namedtuple_OffsetRequest highlighting module code... [ 21%] kafka.partitioner.hashed highlighting module code... [ 24%] namedtuple_ProduceResponse highlighting module code... [ 27%] namedtuple_MetadataResponse highlighting module code... [ 29%] namedtuple_ProduceRequest highlighting module code... [ 32%] namedtuple_OffsetAndMessage highlighting module code... [ 35%] namedtuple_FetchRequest highlighting module code... [ 37%] namedtuple_MetadataRequest highlighting module code... [ 40%] namedtuple_OffsetResponse highlighting module code... [ 43%] kafka.context highlighting module code... [ 45%] namedtuple_TopicAndPartition highlighting module code... [ 48%] namedtuple_OffsetFetchRequest highlighting module code... [ 51%] namedtuple_BrokerMetadata highlighting module code... [ 54%] kafka.conn highlighting module code... [ 56%] namedtuple_TopicMetadata highlighting module code... [ 59%] namedtuple_OffsetsStruct highlighting module code... [ 62%] kafka.codec highlighting module code... [ 64%] namedtuple_OffsetCommitResponse highlighting module code... [ 67%] kafka.consumer.multiprocess highlighting module code... [ 70%] kafka.protocol highlighting module code... [ 72%] kafka.partitioner.roundrobin highlighting module code... [ 75%] namedtuple_Message highlighting module code... [ 78%] kafka.partitioner.base highlighting module code... [ 81%] kafka.producer.keyed highlighting module code... [ 83%] kafka.consumer.simple highlighting module code... [ 86%] namedtuple_PartitionMetadata highlighting module code... [ 89%] kafka.common highlighting module code... [ 91%] kafka.producer.base highlighting module code... [ 94%] namedtuple_OffsetCommitRequest highlighting module code... [ 97%] namedtuple_KafkaMessage highlighting module code... [100%] kafka.consumer.base writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-kafka-0.9.4/docs/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 13 warnings. Build finished; now you can process the pickle files. make: Leaving directory `/usr/src/RPM/BUILD/python-module-kafka-0.9.4/docs' + make -C docs html make: Entering directory `/usr/src/RPM/BUILD/python-module-kafka-0.9.4/docs' sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v1.4a0+ making output directory... loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 9 source files that are out of date updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done writing output... [ 11%] apidoc/kafka writing output... [ 22%] apidoc/kafka.consumer writing output... [ 33%] apidoc/kafka.partitioner writing output... [ 44%] apidoc/kafka.producer writing output... [ 55%] apidoc/modules writing output... [ 66%] index writing output... [ 77%] install writing output... [ 88%] tests writing output... [100%] usage /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/__init__.py:docstring of kafka.KafkaConsumer.get_partition_offsets:None: WARNING: more than one target found for cross-reference u'topic': kafka.common.ProduceRequest.topic, kafka.common.FetchRequest.topic, kafka.common.KafkaMessage.topic, kafka.common.OffsetCommitResponse.topic, kafka.common.ProduceResponse.topic, kafka.common.OffsetRequest.topic, kafka.common.TopicMetadata.topic, kafka.common.OffsetFetchRequest.topic, kafka.common.OffsetResponse.topic, kafka.common.PartitionMetadata.topic, kafka.common.OffsetFetchResponse.topic, kafka.common.TopicAndPartition.topic, kafka.common.FetchResponse.topic, kafka.common.OffsetCommitRequest.topic /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/consumer/kafka.py:docstring of kafka.consumer.kafka.KafkaConsumer.get_partition_offsets:None: WARNING: more than one target found for cross-reference u'topic': kafka.common.ProduceRequest.topic, kafka.common.FetchRequest.topic, kafka.common.KafkaMessage.topic, kafka.common.OffsetCommitResponse.topic, kafka.common.ProduceResponse.topic, kafka.common.OffsetRequest.topic, kafka.common.TopicMetadata.topic, kafka.common.OffsetFetchRequest.topic, kafka.common.OffsetResponse.topic, kafka.common.PartitionMetadata.topic, kafka.common.OffsetFetchResponse.topic, kafka.common.TopicAndPartition.topic, kafka.common.FetchResponse.topic, kafka.common.OffsetCommitRequest.topic /usr/src/RPM/BUILD/python-module-kafka-0.9.4/kafka/consumer/__init__.py:docstring of kafka.consumer.KafkaConsumer.get_partition_offsets:None: WARNING: more than one target found for cross-reference u'topic': kafka.common.ProduceRequest.topic, kafka.common.FetchRequest.topic, kafka.common.KafkaMessage.topic, kafka.common.OffsetCommitResponse.topic, kafka.common.ProduceResponse.topic, kafka.common.OffsetRequest.topic, kafka.common.TopicMetadata.topic, kafka.common.OffsetFetchRequest.topic, kafka.common.OffsetResponse.topic, kafka.common.PartitionMetadata.topic, kafka.common.OffsetFetchResponse.topic, kafka.common.TopicAndPartition.topic, kafka.common.FetchResponse.topic, kafka.common.OffsetCommitRequest.topic generating indices... genindex py-modindex highlighting module code... [ 2%] namedtuple_OffsetFetchResponse highlighting module code... [ 5%] kafka.client highlighting module code... [ 8%] kafka.util highlighting module code... [ 10%] kafka.producer.simple highlighting module code... [ 13%] kafka.consumer.kafka highlighting module code... [ 16%] namedtuple_FetchResponse highlighting module code... [ 18%] namedtuple_OffsetRequest highlighting module code... [ 21%] kafka.partitioner.hashed highlighting module code... [ 24%] namedtuple_ProduceResponse highlighting module code... [ 27%] namedtuple_MetadataResponse highlighting module code... [ 29%] namedtuple_ProduceRequest highlighting module code... [ 32%] namedtuple_OffsetAndMessage highlighting module code... [ 35%] namedtuple_FetchRequest highlighting module code... [ 37%] namedtuple_MetadataRequest highlighting module code... [ 40%] namedtuple_OffsetResponse highlighting module code... [ 43%] kafka.context highlighting module code... [ 45%] namedtuple_TopicAndPartition highlighting module code... [ 48%] namedtuple_OffsetFetchRequest highlighting module code... [ 51%] namedtuple_BrokerMetadata highlighting module code... [ 54%] kafka.conn highlighting module code... [ 56%] namedtuple_TopicMetadata highlighting module code... [ 59%] namedtuple_OffsetsStruct highlighting module code... [ 62%] namedtuple_OffsetCommitResponse highlighting module code... [ 64%] kafka.codec highlighting module code... [ 67%] kafka.protocol highlighting module code... [ 70%] namedtuple_PartitionMetadata highlighting module code... [ 72%] namedtuple_Message highlighting module code... [ 75%] kafka.partitioner.base highlighting module code... [ 78%] kafka.consumer.multiprocess highlighting module code... [ 81%] namedtuple_KafkaMessage highlighting module code... [ 83%] kafka.consumer.simple highlighting module code... [ 86%] kafka.partitioner.roundrobin highlighting module code... [ 89%] kafka.common highlighting module code... [ 91%] kafka.producer.base highlighting module code... [ 94%] namedtuple_OffsetCommitRequest highlighting module code... [ 97%] kafka.producer.keyed highlighting module code... [100%] kafka.consumer.base writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-kafka-0.9.4/docs/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 4 warnings. Build finished. The HTML pages are in _build/html. make: Leaving directory `/usr/src/RPM/BUILD/python-module-kafka-0.9.4/docs' + cp -fR docs/_build/pickle /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-kafka-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-kafka-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-kafka-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-kafka-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-kafka-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-kafka-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/__init__.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/base.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/kafka.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/multiprocess.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/simple.pyc compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/kafka.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/multiprocess.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/simple.py unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/__init__.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/base.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/hashed.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/roundrobin.pyc compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/hashed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/roundrobin.py unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/__init__.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/base.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/keyed.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/simple.pyc compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/keyed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/simple.py unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/__init__.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/client.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/codec.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/common.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/conn.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/context.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/protocol.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/util.pyc compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/client.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/codec.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/common.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/conn.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/context.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/protocol.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/util.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-kafka-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/kafka.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/multiprocess.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/consumer/simple.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/hashed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/partitioner/roundrobin.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/keyed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/producer/simple.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/client.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/codec.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/common.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/conn.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/context.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/protocol.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python2.7/site-packages/kafka/util.py Bytecompiling python3 modules in /usr/src/tmp/python-module-kafka-buildroot using python3 unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/client.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/codec.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/common.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/conn.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/context.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/protocol.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__pycache__/util.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__pycache__/base.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__pycache__/kafka.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__pycache__/multiprocess.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__pycache__/simple.cpython-35.pyc compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/kafka.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/multiprocess.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/simple.py unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__pycache__/base.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__pycache__/hashed.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__pycache__/roundrobin.cpython-35.pyc compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/hashed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/roundrobin.py unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__pycache__/base.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__pycache__/keyed.cpython-35.pyc unlink /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__pycache__/simple.cpython-35.pyc compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/keyed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/simple.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/client.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/codec.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/common.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/conn.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/context.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/protocol.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/util.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-kafka-buildroot using python3 -O compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/kafka.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/multiprocess.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/simple.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/hashed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/roundrobin.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/keyed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/simple.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/client.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/codec.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/common.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/conn.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/context.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/protocol.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/util.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-kafka-buildroot using python3 -OO compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/kafka.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/multiprocess.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/consumer/simple.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/hashed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/partitioner/roundrobin.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/base.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/keyed.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/producer/simple.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/__init__.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/client.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/codec.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/common.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/conn.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/context.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/protocol.py compile /usr/src/tmp/python-module-kafka-buildroot/usr/lib/python3/site-packages/kafka/util.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/kafka/__pycache__/util.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/util.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/protocol.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/protocol.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/context.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/context.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/conn.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/conn.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/common.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/common.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/common.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/common.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/codec.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/codec.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/client.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/client.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/kafka/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/kafka/consumer/__pycache__/simple.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/consumer/__pycache__/simple.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/consumer/__pycache__/multiprocess.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/consumer/__pycache__/multiprocess.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/consumer/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/consumer/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/consumer/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/kafka/consumer/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/roundrobin.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/roundrobin.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/hashed.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/hashed.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/base.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/base.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/kafka/partitioner/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/kafka/producer/__pycache__/simple.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/producer/__pycache__/simple.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/producer/__pycache__/keyed.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/producer/__pycache__/keyed.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/producer/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/kafka/producer/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/kafka/producer/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/kafka/producer/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/kafka/util.pyo' => './usr/lib/python2.7/site-packages/kafka/util.pyc' './usr/lib/python2.7/site-packages/kafka/protocol.pyo' => './usr/lib/python2.7/site-packages/kafka/protocol.pyc' './usr/lib/python2.7/site-packages/kafka/context.pyo' => './usr/lib/python2.7/site-packages/kafka/context.pyc' './usr/lib/python2.7/site-packages/kafka/conn.pyo' => './usr/lib/python2.7/site-packages/kafka/conn.pyc' './usr/lib/python2.7/site-packages/kafka/common.pyo' => './usr/lib/python2.7/site-packages/kafka/common.pyc' './usr/lib/python2.7/site-packages/kafka/codec.pyo' => './usr/lib/python2.7/site-packages/kafka/codec.pyc' './usr/lib/python2.7/site-packages/kafka/client.pyo' => './usr/lib/python2.7/site-packages/kafka/client.pyc' './usr/lib/python2.7/site-packages/kafka/__init__.pyo' => './usr/lib/python2.7/site-packages/kafka/__init__.pyc' './usr/lib/python2.7/site-packages/kafka/consumer/simple.pyo' => './usr/lib/python2.7/site-packages/kafka/consumer/simple.pyc' './usr/lib/python2.7/site-packages/kafka/consumer/multiprocess.pyo' => './usr/lib/python2.7/site-packages/kafka/consumer/multiprocess.pyc' './usr/lib/python2.7/site-packages/kafka/consumer/__init__.pyo' => './usr/lib/python2.7/site-packages/kafka/consumer/__init__.pyc' './usr/lib/python2.7/site-packages/kafka/partitioner/roundrobin.pyo' => './usr/lib/python2.7/site-packages/kafka/partitioner/roundrobin.pyc' './usr/lib/python2.7/site-packages/kafka/partitioner/hashed.pyo' => './usr/lib/python2.7/site-packages/kafka/partitioner/hashed.pyc' './usr/lib/python2.7/site-packages/kafka/partitioner/base.pyo' => './usr/lib/python2.7/site-packages/kafka/partitioner/base.pyc' './usr/lib/python2.7/site-packages/kafka/partitioner/__init__.pyo' => './usr/lib/python2.7/site-packages/kafka/partitioner/__init__.pyc' './usr/lib/python2.7/site-packages/kafka/producer/simple.pyo' => './usr/lib/python2.7/site-packages/kafka/producer/simple.pyc' './usr/lib/python2.7/site-packages/kafka/producer/keyed.pyo' => './usr/lib/python2.7/site-packages/kafka/producer/keyed.pyc' './usr/lib/python2.7/site-packages/kafka/producer/__init__.pyo' => './usr/lib/python2.7/site-packages/kafka/producer/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.76951 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-kafka-0.9.4 + export PYTHONPATH=/usr/src/RPM/BUILD/python-module-kafka-0.9.4 + PYTHONPATH=/usr/src/RPM/BUILD/python-module-kafka-0.9.4 + py.test ============================= test session starts ============================== platform linux2 -- Python 2.7.11, pytest-3.2.1, py-1.4.34, pluggy-0.4.0 rootdir: /usr/src/RPM/BUILD/python-module-kafka-0.9.4, inifile: collected 128 items test/test_client.py .............. test/test_client_integration.py sss test/test_codec.py ..... test/test_conn.py ............. test/test_consumer.py .. test/test_consumer_integration.py ssssssssssssss test/test_context.py ..... test/test_failover_integration.py sss test/test_package.py .. test/test_producer.py .. test/test_producer_integration.py sssssssssssssssssss test/test_protocol.py ............................. test/test_util.py .....s........... ==================== 88 passed, 40 skipped in 3.18 seconds ===================== + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-kafka-0.9.4 + export PYTHONPATH=/usr/src/RPM/BUILD/python3 + PYTHONPATH=/usr/src/RPM/BUILD/python3 + py.test-3.5 /usr/src/tmp/rpm-tmp.76951: line 125: py.test-3.5: command not found error: Bad exit status from /usr/src/tmp/rpm-tmp.76951 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.76951 (%check) Command exited with non-zero status 1 19.09user 0.82system 0:24.78elapsed 80%CPU (0avgtext+0avgdata 73976maxresident)k 0inputs+0outputs (0major+194349minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-kafka-0.9.4-alt1.dev.git20150219.1.1.src.rpm' failed. Command exited with non-zero status 1 33.29user 4.57system 0:47.88elapsed 79%CPU (0avgtext+0avgdata 125136maxresident)k 288inputs+0outputs (0major+536207minor)pagefaults 0swaps