<86>Apr 14 01:03:34 userdel[99556]: delete user 'rooter' <86>Apr 14 01:03:34 userdel[99556]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:03:34 groupadd[99563]: group added to /etc/group: name=rooter, GID=651 <86>Apr 14 01:03:34 groupadd[99563]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:03:34 groupadd[99563]: new group: name=rooter, GID=651 <86>Apr 14 01:03:34 useradd[99585]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Apr 14 01:03:34 userdel[99597]: delete user 'builder' <86>Apr 14 01:03:34 userdel[99597]: removed group 'builder' owned by 'builder' <86>Apr 14 01:03:34 userdel[99597]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:03:34 groupadd[99605]: group added to /etc/group: name=builder, GID=652 <86>Apr 14 01:03:34 groupadd[99605]: group added to /etc/gshadow: name=builder <86>Apr 14 01:03:34 groupadd[99605]: new group: name=builder, GID=652 <86>Apr 14 01:03:34 useradd[99613]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash <13>Apr 14 01:03:37 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:03:37 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 14 01:03:37 rpmi: libwayland-server-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:03:37 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:03:37 rpmi: python-sphinx-objects.inv-2.3.6.20160413-alt1 1460595508 installed <13>Apr 14 01:03:37 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 14 01:03:37 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 01:03:37 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 01:03:37 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Apr 14 01:03:37 rpmi: libdbi-1.0-alt1.cvs20092729.2 1300001782 installed <13>Apr 14 01:03:37 rpmi: libdatrie-0.2.8-alt1_5 1410185969 installed <13>Apr 14 01:03:37 rpmi: libthai-0.1.24-alt1_1 1459282110 installed <13>Apr 14 01:03:37 rpmi: libpixman-3:0.32.8-alt1 1447610691 installed <13>Apr 14 01:03:37 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Apr 14 01:03:37 rpmi: libwayland-client-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:03:37 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 14 01:03:37 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 14 01:03:37 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 14 01:03:37 rpmi: libgbm-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:03:37 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 01:03:37 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 01:03:37 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 01:03:37 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 01:03:37 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 01:03:37 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 14 01:03:37 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 01:03:37 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 14 01:03:37 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 14 01:03:37 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 14 01:03:37 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:03:37 rpmi: libEGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:03:37 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:03:37 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:03:37 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:37 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:03:37 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:03:37 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:03:37 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:03:37 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:03:37 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:03:38 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Apr 14 01:03:38 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Apr 14 01:03:38 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Apr 14 01:03:39 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 14 01:03:39 rpmi: libcairo-1:1.14.4-alt1 1447005495 installed <13>Apr 14 01:03:39 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Apr 14 01:03:39 rpmi: libpango-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 01:03:39 rpmi: fonts-ttf-dejavu-2.35-alt1 1431945261 installed <13>Apr 14 01:03:39 rpmi: librrd4-1.5.4-alt1.1 1448482045 installed <86>Apr 14 01:03:39 groupadd[110140]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:03:39 groupadd[110140]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:03:39 groupadd[110140]: new group: name=_keytab, GID=499 <13>Apr 14 01:03:39 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:03:40 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:03:40 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:40 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:03:40 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 01:03:40 rpmi: python3-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 01:03:40 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:03:40 rpmi: python3-module-pytz-1:2015.4-alt1.1.1 1460413776 installed <13>Apr 14 01:03:40 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 14 01:03:40 rpmi: python3-module-sphinx_rtd_theme-0.1.8-alt1.git20150730.1 1457859644 installed <13>Apr 14 01:03:40 rpmi: python3-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Apr 14 01:03:40 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:03:40 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:40 rpmi: python3-module-markupsafe-0.23-alt1.2.1 1459593526 installed <13>Apr 14 01:03:40 rpmi: python3-modules-sqlite3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:03:40 rpmi: python3-module-SQLAlchemy-1.2.15-alt1 p8+223214.600.2.1 1551354313 installed <13>Apr 14 01:03:40 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:03:40 rpmi: python3-module-RRDtool-0.1.1-alt1.git20141011.1.1 1459589070 installed <13>Apr 14 01:03:40 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:03:40 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:40 rpmi: python3-module-jinja2-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 14 01:03:40 rpmi: python3-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 01:03:40 rpmi: python3-module-docutils-0.13-alt4.git20150716.1.1 1460400317 installed <13>Apr 14 01:03:41 rpmi: python3-module-babel-1:2.3.4-alt0.M80P.1 1480881327 installed <13>Apr 14 01:03:41 rpmi: python3-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 14 01:03:41 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:03:41 rpmi: python3-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 01:03:41 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:41 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:41 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:41 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:41 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:41 rpmi: python3-module-Pygments-2.2.0-alt1.M80P.2 p8.214223.100 1538848792 installed <13>Apr 14 01:03:42 rpmi: python3-module-sphinx-1:1.4-alt8.a0.git20150813 1460726255 installed <13>Apr 14 01:03:42 rpmi: python-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 01:03:42 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:42 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:42 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:42 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:42 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:42 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:42 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:03:42 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:03:42 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:03:42 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:03:42 rpmi: python3-module-alabaster-0.7.6-alt1.git20150703.1 1457857919 installed <13>Apr 14 01:03:42 rpmi: python-module-RRDtool-0.1.1-alt1.git20141011.1.1 1459589070 installed <13>Apr 14 01:03:42 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:03:42 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:03:42 rpmi: python-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 01:03:42 rpmi: python-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 01:03:42 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 01:03:42 rpmi: python-module-docutils-0.13-alt4.git20150716.1.1 1460400317 installed Installing python-module-pyrrd-0.1.0-alt1.git20120117.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.41305 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-pyrrd-0.1.0 + echo 'Source #0 (python-module-pyrrd-0.1.0.tar):' Source #0 (python-module-pyrrd-0.1.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-pyrrd-0.1.0.tar + cd python-module-pyrrd-0.1.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (pyrrd-0.1.1-fix.patch):' Patch #0 (pyrrd-0.1.1-fix.patch): + /usr/bin/patch -p1 patching file pyrrd/backend/common.py patching file pyrrd/backend/external.py patching file pyrrd/rrd.py patching file pyrrd/testing/suite.py + 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/setup.py RefactoringTool: No changes to ../python3/sandbox/oubiwann/file-format/rrdmaker.py RefactoringTool: No changes to ../python3/sandbox/oubiwann/file-format/2ds1rra1entry.py RefactoringTool: No changes to ../python3/sandbox/oubiwann/file-format/1ds1rra2entry.py RefactoringTool: No changes to ../python3/sandbox/oubiwann/file-format/1ds1rra1entry.py RefactoringTool: Refactored ../python3/pyrrd/rrd.py RefactoringTool: Refactored ../python3/pyrrd/util/dist.py --- ../python3/pyrrd/rrd.py (original) +++ ../python3/pyrrd/rrd.py (refactored) @@ -18,10 +18,10 @@ ValueError: Names must be shorter than 19 characters """ if name != re.sub('[^A-Za-z0-9_]', '', name): - raise ValueError, "Names must consist only of the characters " + \ - "A-Z, a-z, 0-9, _" + raise ValueError("Names must consist only of the characters " + \ + "A-Z, a-z, 0-9, _") if len(name) > 18: - raise ValueError, "Names must be shorter than 19 characters" + raise ValueError("Names must be shorter than 19 characters") def validateDSType(dsType): @@ -38,8 +38,8 @@ return dsType else: valid = ' '.join(valid) - raise ValueError, 'A data source type must be one of the ' + \ - 'following: %s' % valid + raise ValueError('A data source type must be one of the ' + \ + 'following: %s' % valid) def validateRRACF(consolidationFunction): @@ -60,8 +60,8 @@ return cf else: valid = ' '.join(valid) - raise ValueError, "An RRA's consolidation function must be " + \ - "one of the following: %s" % valid + raise ValueError("An RRA's consolidation function must be " + \ + "one of the following: %s" % valid) class RRD(mapper.RRDMapper): @@ -100,7 +100,7 @@ mode="w", backend=external): super(RRD, self).__init__() if filename == None: - raise ValueError, "You must provide a filename." + raise ValueError("You must provide a filename.") self.filename = filename if not start or isinstance(start, datetime): self.start = util.epoch(start) @@ -161,9 +161,9 @@ ('somefile', ['--template', u'ds0', '1000000:value', '1000001:anothervalue']) >>> my_rrd.values = [] """ - values = ':'.join([unicode(x) for x in values]) + values = ':'.join([str(x) for x in values]) self.values.append((timeOrData, values)) - self.lastupdate = float(unicode(timeOrData).split(":")[0]) + self.lastupdate = float(str(timeOrData).split(":")[0]) # for backwards compatibility bufferValues = bufferValue @@ -171,7 +171,7 @@ def create(self, debug=False): data = self.backend.prepareObject('create', self) if debug: - print data + print(data) self.backend.create(*data) # XXX this can be uncommented when we're doing full database imports with @@ -195,7 +195,7 @@ if self.values: data = self.backend.prepareObject('update', self) if debug: - print data + print(data) if not dryRun: self.backend.update(debug=debug, *data) self.values = [] @@ -391,9 +391,9 @@ maxval='U', rpn=None): super(DataSource, self).__init__() if dsName == None: - raise ValueError, "You must provide a name for the data source." + raise ValueError("You must provide a name for the data source.") if dsType == None: - raise ValueError, "You must provide a type for the data source." + raise ValueError("You must provide a type for the data source.") self.name = dsName self.type = dsType self.minimal_heartbeat = heartbeat @@ -466,7 +466,7 @@ super(RRA, self).__init__() if cf == None: msg = "You must provide a value for the consolidation function." - raise ValueError, msg + raise ValueError(msg) self.cf = cf self.xff = xff self.steps = steps --- ../python3/pyrrd/util/dist.py (original) +++ ../python3/pyrrd/util/dist.py (refactored) @@ -58,13 +58,13 @@ """ import docutils.utils import docutils.parsers.rst - import StringIO + import io doc = docutils.utils.new_document('validator') # our desired settings doc.reporter.halt_level = 5 doc.reporter.report_level = 1 - RefactoringTool: No changes to ../python3/pyrrd/util/__init__.py RefactoringTool: Refactored ../python3/pyrrd/tests/test_rrd.py stream = doc.reporter.stream = StringIO.StringIO() + stream = doc.reporter.stream = io.StringIO() # docutils buglets (?) doc.settings.tab_width = 2 doc.settings.pep_references = doc.settings.rfc_references = False @@ -82,7 +82,7 @@ """ if hasDocutils(): return _validateReST(text) - print " *** No docutils; can't validate ReST." + print(" *** No docutils; can't validate ReST.") return '' @@ -102,7 +102,7 @@ f.close() tmp.append('\n\n') else: - print "Warning: '%s' not a legal ReST filename." + print("Warning: '%s' not a legal ReST filename.") tmp.append(arg) if len(tmp) == 1: res = tmp[0] @@ -118,14 +118,14 @@ f.close() report = validateReST(res) if report: - print report + print(report) if stop_on_errors: - print 'ReST validation error' - print - print 'See the following:' - print ' http://docutils.sourceforge.net/docs/user/rst/cheatsheet.txt' - print ' http://docutils.sourceforge.net/docs/user/rst/quickstart.html' - print + print('ReST validation error') + print() + print('See the following:') + print(' http://docutils.sourceforge.net/docs/user/rst/cheatsheet.txt') + print(' http://docutils.sourceforge.net/docs/user/rst/quickstart.html') + print() raise ValueError('ReST validation error') return res --- ../python3/pyrrd/tests/test_rrd.py (original) +++ ../python3/pyrrd/tests/test_rrd.py (refactored) @@ -8,12 +8,12 @@ def test_creationDefaults(self): filename = '/tmp/test.rrd' rrd = RRD(filename, start=920804400) - self.assertEquals(rrd.filename, filename) - self.assertEquals(rrd.ds, []) - self.assertEquals(rrd.rra, []) - self.assertEquals(rrd.values, []) - self.assertEquals(rrd.step, 300) - self.assertEquals(rrd.lastupdate, None) + self.assertEqual(rrd.filename, filename) + self.assertEqual(rrd.ds, []) + self.assertEqual(rrd.rra, []) + self.assertEqual(rrd.values, []) + self.assertEqual(rrd.step, 300) + self.assertEqual(rrd.lastupdate, None) def test_creation(self): dss = [] @@ -23,14 +23,14 @@ rras.append(RRA(cf='AVERAGE', xff=0.5, steps=1, rows=24)) rras.append(RRA(cf='AVERAGE', xff=0.5, steps=6, rows=10)) rrd = RRD(filename, ds=dss, rra=rras, start=920804400) - self.assertEquals(rrd.filename, filename) - self.assertEquals(repr(rrd.ds), "[DS:speed:COUNTER:600:U:U]") - self.assertEquals( + self.assertEqual(rrd.filename, filename) + self.assertEqual(repr(rrd.ds), "[DS:speed:COUNTER:600:U:U]") + self.assertEqual( repr(rrd.rra), "[RRA:AVERAGE:0.5:1:24, RRA:AVERAGE:0.5:6:10]") - self.assertEquals(rrd.values, []) - self.assertEquals(rrd.step, 300) - self.assertEquals(rrd.lastupdate, None) + self.assertEqual(rrd.values, []) + self.assertEqual(rrd.step, 300) + self.assertEqual(rrd.lastupdate, None) def test_creationDSsAndRRAs(self): dss1 = [] @@ -40,15 +40,15 @@ rras1.append(RRA(cf='AVERAGE', xff=0.5, steps=1, rows=24)) rras1.append(RRA(cf='AVERAGE', xff=0.5, steps=6, rows=10)) rrd1 = RRD(filename, ds=dss1, rra=rras1, start=920804400) - self.assertEquals(repr(rrd1.ds), "[DS:speed:COUNTER:600:U:U]") - self.assertEquals( + self.assertEqual(repr(rrd1.ds), "[DS:speed:COUNTER:600:U:U]") + self.assertEqual( repr(rrd1.rra), "[RRA:AVERAGE:0.5:1:24, RRA:AVERAGE:0.5:6:10]") filename = '/tmp/test2.rrd' rrd2 = RRD(filename, start=920804400) - self.assertEquals(rrd2.ds, []) - self.assertEquals(rrd2.rra,[]) + self.assertEqual(rrd2.ds, []) + sRefactoringTool: Refactored ../python3/pyrrd/tests/test_node.py RefactoringTool: Refactored ../python3/pyrrd/tests/test_mapper.py elf.assertEqual(rrd2.rra,[]) dss3 = [] rras3 = [] @@ -58,7 +58,7 @@ rras3.append(RRA(cf='AVERAGE', xff=0.5, steps=12, rows=10)) rrd3 = RRD(filename, ds=dss3, rra=rras3, start=920804400) - self.assertEquals(repr(rrd3.ds), "[DS:speed:COUNTER:300:U:U]") - self.assertEquals( + self.assertEqual(repr(rrd3.ds), "[DS:speed:COUNTER:300:U:U]") + self.assertEqual( repr(rrd3.rra), "[RRA:AVERAGE:0.5:2:24, RRA:AVERAGE:0.5:12:10]") --- ../python3/pyrrd/tests/test_node.py (original) +++ ../python3/pyrrd/tests/test_node.py (refactored) @@ -12,9 +12,9 @@ def test_creation(self): rrd = RRDXMLNode(self.tree) - self.assertEquals(rrd.getAttribute("version"), "0003") - self.assertEquals(rrd.getAttribute("step"), "300") - self.assertEquals(rrd.getAttribute("lastupdate"), "920804400") + self.assertEqual(rrd.getAttribute("version"), "0003") + self.assertEqual(rrd.getAttribute("step"), "300") + self.assertEqual(rrd.getAttribute("lastupdate"), "920804400") def test_creationDS(self): dsChecks = [ @@ -27,10 +27,10 @@ ("value", "0.0000000000e+00"), ("unknown_sec", "0")] rrd = RRDXMLNode(self.tree) - self.assertEquals(len(rrd.ds), 1) + self.assertEqual(len(rrd.ds), 1) ds = rrd.ds[0] for name, value in dsChecks: - self.assertEquals(ds.getAttribute(name), value) + self.assertEqual(ds.getAttribute(name), value) def test_creationRRA(self): rra1Checks = [ @@ -40,21 +40,21 @@ ("cf", "AVERAGE"), ("pdp_per_row", "6")] rrd = RRDXMLNode(self.tree) - self.assertEquals(len(rrd.rra), 2) + self.assertEqual(len(rrd.rra), 2) rra1 = rrd.rra[0] for name, value in rra1Checks: - self.assertEquals(rra1.getAttribute(name), value) + self.assertEqual(rra1.getAttribute(name), value) rra2 = rrd.rra[1] for name, value in rra2Checks: - self.assertEquals(rra2.getAttribute(name), value) + self.assertEqual(rra2.getAttribute(name), value) def test_creationRRAParams(self): rrd = RRDXMLNode(self.tree) - self.assertEquals(len(rrd.rra), 2) + self.assertEqual(len(rrd.rra), 2) rra1 = rrd.rra[0] - self.assertEquals(rra1.getAttribute("xff"), "5.0000000000e-01") + self.assertEqual(rra1.getAttribute("xff"), "5.0000000000e-01") rra2 = rrd.rra[1] - self.assertEquals(rra2.getAttribute("xff"), "5.0000000000e-01") + self.assertEqual(rra2.getAttribute("xff"), "5.0000000000e-01") def test_creationRRACDPPrep(self): dsChecks = [ @@ -64,13 +64,13 @@ ("unknown_datapoints", "0")] rrd = RRDXMLNode(self.tree) cdpPrep1 = rrd.rra[0].cdp_prep - self.assertEquals(len(cdpPrep1.ds), 1) + self.assertEqual(len(cdpPrep1.ds), 1) for name, value in dsChecks: - self.assertEquals(cdpPrep1.ds[0].getAttribute(name), value) + self.assertEqual(cdpPrep1.ds[0].getAttribute(name), value) cdpPrep2 = rrd.rra[1].cdp_prep - self.assertEquals(len(cdpPrep2.ds), 1) + self.assertEqual(len(cdpPrep2.ds), 1) for name, value in dsChecks: - self.assertEquals(cdpPrep2.ds[0].getAttribute(name), value) + self.assertEqual(cdpPrep2.ds[0].getAttribute(name), value) def test_creationIncludeData(self): rrd = RRDXMLNode(self.tree, includeData=True) --- ../python3/pyrrd/tests/test_mapper.py (original) +++ ../python3/pyrrd/tests/test_mapper.py (refactored) @@ -28,49 +28,49 @@ def test_map(self): rrd = self.makeMapper() - self.assertEquals(rrd.version, 3) - self.assertEquals(rrd.step, 300) - self.assertEquals(rrd.lastupdate, 920804400) + self.assertEqual(rrd.version, 3) + self.assertEqual(rrd.step, 300) + self.assertEqual(rrd.lastupdate, 920804400) def test_maRefactoringTool: Refactored ../python3/pyrrd/testing/suite.py RefactoringTool: Refactored ../python3/pyrrd/testing/runner.py RefactoringTool: No changes to ../python3/pyrrd/testing/result.py RefactoringTool: No changes to ../python3/pyrrd/testing/dump.py RefactoringTool: No changes to ../python3/pyrrd/testing/base.py RefactoringTool: No changes to ../python3/pyrrd/node.py RefactoringTool: No changes to ../python3/pyrrd/meta.py RefactoringTool: Refactored ../python3/pyrrd/mapper.py pDS(self): rrd = self.makeMapper() - self.assertEquals(len(rrd.ds), 1) + self.assertEqual(len(rrd.ds), 1) ds = rrd.ds[0] - self.assertEquals(ds.name, "speed") - self.assertEquals(ds.type, "COUNTER") - self.assertEquals(ds.minimal_heartbeat, 600) - self.assertEquals(ds.min, "NaN") - self.assertEquals(ds.max, "NaN") + self.assertEqual(ds.name, "speed") + self.assertEqual(ds.type, "COUNTER") + self.assertEqual(ds.minimal_heartbeat, 600) + self.assertEqual(ds.min, "NaN") + self.assertEqual(ds.max, "NaN") def test_mapRRA(self): rrd = self.makeMapper() - self.assertEquals(len(rrd.rra), 2) + self.assertEqual(len(rrd.rra), 2) rra1 = rrd.rra[0] - self.assertEquals(rra1.cf, "AVERAGE") - self.assertEquals(rra1.pdp_per_row, 1) + self.assertEqual(rra1.cf, "AVERAGE") + self.assertEqual(rra1.pdp_per_row, 1) rra2 = rrd.rra[1] - self.assertEquals(rra2.cf, "AVERAGE") - self.assertEquals(rra2.pdp_per_row, 6) + self.assertEqual(rra2.cf, "AVERAGE") + self.assertEqual(rra2.pdp_per_row, 6) def test_mapRRAParams(self): rrd = self.makeMapper() rra1 = rrd.rra[0] - self.assertEquals(rra1.xff, 0.5) + self.assertEqual(rra1.xff, 0.5) rra2 = rrd.rra[1] - self.assertEquals(rra2.xff, 0.5) + self.assertEqual(rra2.xff, 0.5) def test_mapRRACDPPrep(self): rrd = self.makeMapper() ds1 = rrd.rra[0].ds - self.assertEquals(len(ds1), 1) - self.assertEquals(ds1[0].primary_value, 0.0) - self.assertEquals(ds1[0].secondary_value, 0.0) - self.assertEquals(str(ds1[0].value), str(NaN())) - self.assertEquals(ds1[0].unknown_datapoints, 0) + self.assertEqual(len(ds1), 1) + self.assertEqual(ds1[0].primary_value, 0.0) + self.assertEqual(ds1[0].secondary_value, 0.0) + self.assertEqual(str(ds1[0].value), str(NaN())) + self.assertEqual(ds1[0].unknown_datapoints, 0) ds2 = rrd.rra[1].ds - self.assertEquals(len(ds2), 1) - self.assertEquals(len(ds1), 1) - self.assertEquals(ds2[0].primary_value, 0.0) - self.assertEquals(ds2[0].secondary_value, 0.0) - self.assertEquals(str(ds2[0].value), str(NaN())) - self.assertEquals(ds2[0].unknown_datapoints, 0) + self.assertEqual(len(ds2), 1) + self.assertEqual(len(ds1), 1) + self.assertEqual(ds2[0].primary_value, 0.0) + self.assertEqual(ds2[0].secondary_value, 0.0) + self.assertEqual(str(ds2[0].value), str(NaN())) + self.assertEqual(ds2[0].unknown_datapoints, 0) --- ../python3/pyrrd/testing/suite.py (original) +++ ../python3/pyrrd/testing/suite.py (refactored) @@ -21,7 +21,7 @@ if filename in skipFiles: return False if path in skipFiles: - print "skip it!" + print("skip it!") return False return True --- ../python3/pyrrd/testing/runner.py (original) +++ ../python3/pyrrd/testing/runner.py (refactored) @@ -34,7 +34,7 @@ def get_suite(loader, top_level_directory, options): - print options.test_specific + print(options.test_specific) if options.test_specific: suite = loader.loadTestsFromName(options.test_specific) elif hasattr(loader, "discover"): --- ../python3/pyrrd/mapper.py (original) +++ ../python3/pyrrd/mapper.py (refactored) @@ -14,7 +14,7 @@ __skip_repr__ = [] def setAttributes(self, attributes): - for name, value in attributes.items(): + for name, value in list(attributes.items()): if name not in self.__skip_repr__: setattr(self, name, value) @@ -31,10 +31,10 @@ self.setAttributes(node.attributes) def printInfo(self): - for name, value in self.getData().items(): - if value is None: - continue - print "%s = %s" % (name, unicode(value)) + for name, value in list(self.getData().items()): + RefactoringTool: Refactored ../python3/pyrrd/graph.py if value is None: + continue + print("%s = %s" % (name, str(value))) class RowMapper(Mapper): @@ -64,11 +64,11 @@ ] def printInfo(self, prefix, index): - for name, value in self.getData().items(): - if value is None: - continue - print "%s.cdp_prep[%s].%s = %s" % ( - prefix, index, name, unicode(value)) + for name, value in list(self.getData().items()): + if value is None: + continue + print("%s.cdp_prep[%s].%s = %s" % ( + prefix, index, name, str(value))) class CDPPrepMapper(Mapper, DSMixin): @@ -114,10 +114,10 @@ def printInfo(self, index): prefix = "rra[%s]" % index - for name, value in self.getData().items(): - if value is None: - continue - print "%s.%s = %s" % (prefix, name, unicode(value)) + for name, value in list(self.getData().items()): + if value is None: + continue + print("%s.%s = %s" % (prefix, name, str(value))) for index, ds in enumerate(self.ds): ds.printInfo(prefix, index) @@ -138,11 +138,11 @@ ] def printInfo(self): - for name, value in self.getData().items(): + for name, value in list(self.getData().items()): if value is None: continue if name != self.name: - print "ds[%s].%s = %s" % (self.name, name, unicode(value)) + print("ds[%s].%s = %s" % (self.name, name, str(value))) class RRDMapper(Mapper, DSMixin): --- ../python3/pyrrd/graph.py (original) +++ ../python3/pyrrd/graph.py (refactored) @@ -21,10 +21,10 @@ ValueError: Names must be shorter than 255 characters ''' if name != re.sub('[^A-Za-z0-9_-]', '', name): - raise ValueError, "Names must consist only of the characters " + \ - "A-Z, a-z, 0-9, -, _" + raise ValueError("Names must consist only of the characters " + \ + "A-Z, a-z, 0-9, -, _") if len(name) > 255: - raise ValueError, "Names must be shorter than 255 characters" + raise ValueError("Names must be shorter than 255 characters") return name def escapeColons(data): @@ -54,8 +54,8 @@ ''' if isinstance(instance, objType): return instance - raise TypeError, "%s instance is not of type %s" % ( - type(instance).__name__, objType.__name__) + raise TypeError("%s instance is not of type %s" % ( + type(instance).__name__, objType.__name__)) def validateImageFormat(format): ''' @@ -74,8 +74,8 @@ return format else: valid = ' '.join(valid) - raise ValueError, 'The image format must be one of the ' + \ - 'following: %s' % valid + raise ValueError('The image format must be one of the ' + \ + 'following: %s' % valid) class DataDefinition(object): ''' @@ -163,7 +163,7 @@ self.cdef): msg = ("vname, rrdfile, dsName, and cdef " + "are all required attributes and cannot be None.") - raise ValueError, msg + raise ValueError(msg) main = 'DEF:%(vname)s=%(rrdfile)s:%(dsName)s:%(cdef)s' % ( self.__dict__) tail = '' @@ -220,9 +220,9 @@ ''' def __init__(self, vname=None, rpn=None): if vname == None: - raise ValueError, "You must provide a variable definition name." + raise ValueError("You must provide a variable definition name.") if rpn == None: - raise ValueError, "You must provide an RPN statement(s)." + raise ValueError("You must provide an RPN statement(s).") self.vname = validateVName(vname) self.rpn = rpn self.abbr = 'VDEF' @@ -477,12 +477,12 @@ self.stack = stack if value: if not (isinstance(value, str) or isinstance(value, int)): - raise ValueError, "The parameter 'value' must be RefactoringTool: Refactored ../python3/pyrrd/backend/external.py " + \ - "either a string or an integer." + raise ValueError("The parameter 'value' must be " + \ + "either a string or an integer.") else: if not defObj: - raise Exception, "You must provide either a value " + \ - "or a definition object." + raise Exception("You must provide either a value " + \ + "or a definition object.") else: value = defObj.vname self.vname = value @@ -495,7 +495,7 @@ ''' main = self.abbr if self.width: - main += unicode(self.width) + main += str(self.width) main += ':%s' % self.vname if self.color: main += self.color @@ -551,23 +551,23 @@ ''' def __init__(self, defObj=None, color=None, fraction=None, legend=''): if not defObj: - raise Exception, "You must provide either a value " + \ - "or a definition object." + raise Exception("You must provide either a value " + \ + "or a definition object.") else: value1 = defObj.vname if fraction: if not (isinstance(fraction, float) or isinstance(fraction, int)): - raise TypeError, "The parameter 'fraction' must" + \ - "be a float value between 0 and 1." + raise TypeError("The parameter 'fraction' must" + \ + "be a float value between 0 and 1.") else: if 0 <= fraction <= 1: value2 = fraction else: - raise ValueError, "The parameter 'fraction' must" + \ - "be a value between 0 and 1." + raise ValueError("The parameter 'fraction' must" + \ + "be a value between 0 and 1.") if not color: - raise ValueError, "Missing required parameter color" + raise ValueError("Missing required parameter color") self.vname = value1 @@ -682,7 +682,7 @@ def __repr__(self): joiner = ' --color ' - params = self.__dict__.items() + params = list(self.__dict__.items()) params.sort() attrs = [ name.upper()+color for name,color in params if color ] return joiner.join(attrs) @@ -847,7 +847,7 @@ ''' data = self.backend.prepareObject('graph', self) if debug: - print data + print(data) self.backend.graph(*data) --- ../python3/pyrrd/backend/external.py (original) +++ ../python3/pyrrd/backend/external.py (refactored) @@ -16,7 +16,7 @@ close_fds=close_fds) (stdout, stderr) = process.communicate() if stderr: - print command + print(command) #import pdb;pdb.set_trace() raise ExternalCommandError(stderr.strip()) if process.returncode != 0: @@ -141,7 +141,7 @@ for line in lines[2:]: time, data = line.split(":") data = [common.coerce(datum) for datum in data.split()] - results["time"][int(time)] = dict(zip(dsNames, data)) + results["time"][int(time)] = dict(list(zip(dsNames, data))) for dsName, datum in zip(dsNames, data): results["ds"].setdefault(dsName, []) results["ds"][dsName].append((int(time), common.coerce(datum))) @@ -281,8 +281,8 @@ if function == 'create': validParams = ['start', 'step'] params = common.buildParameters(obj, validParams) - data = [unicode(x) for x in obj.ds] - data += [unicode(x) for x in obj.rra] + data = [str(x) for x in obj.ds] + data += [str(x) for x in obj.rra] return (obj.filename, params + data) if function == 'update': @@ -316,7 +316,7 @@ 'force_rules_legend', 'tabwidth', 'base', 'color', 'imgformat', 'slope_mode'] params = common.buildParameters(obj, validParams) - datRefactoringTool: Refactored ../python3/pyrrd/backend/common.py RefactoringTool: Refactored ../python3/pyrrd/backend/tests/test_external.py RefactoringTool: Refactored ../python3/pyrrd/backend/tests/test_bindings.py RefactoringTool: No changes to ../python3/pyrrd/backend/native/format.py RefactoringTool: Refactored ../python3/pyrrd/backend/bindings.py a = [unicode(x) for x in obj.data] + data = [str(x) for x in obj.data] return (obj.filename, params + data) --- ../python3/pyrrd/backend/common.py (original) +++ ../python3/pyrrd/backend/common.py (refactored) @@ -23,12 +23,12 @@ try: return float(value) except ValueError: - value = unicode(value).lower() + value = str(value).lower() if value in ["unkn", "u"]: return None elif value == "nan": return NaN() - raise ValueError, "Unexpected type for data (%s)" % value + raise ValueError("Unexpected type for data (%s)" % value) def iterParse(lines): @@ -92,7 +92,7 @@ param = param.replace("_", "-") if isinstance(attr, bool): attr = "" - params.extend(["--%s" % param, unicode(attr)]) + params.extend(["--%s" % param, str(attr)]) return [x for x in params if x] --- ../python3/pyrrd/backend/tests/test_external.py (original) +++ ../python3/pyrrd/backend/tests/test_external.py (refactored) @@ -1,4 +1,4 @@ -from cStringIO import StringIO +from io import StringIO import os import sys import tempfile @@ -29,7 +29,7 @@ "step)") try: self.rrd.update() - except ExternalCommandError, error: + except ExternalCommandError as error: self.assertTrue(str(error).startswith("ERROR:")) self.assertTrue(str(error).endswith(expected)) @@ -66,5 +66,5 @@ if obtained.startswith("filename"): self.assertTrue(expected.strip().startswith("filename")) else: - self.assertEquals(obtained.strip(), expected.strip()) + self.assertEqual(obtained.strip(), expected.strip()) sys.stdout = originalStdout --- ../python3/pyrrd/backend/tests/test_bindings.py (original) +++ ../python3/pyrrd/backend/tests/test_bindings.py (refactored) @@ -1,4 +1,4 @@ -from cStringIO import StringIO +from io import StringIO import os import sys import tempfile @@ -54,7 +54,7 @@ if obtained.startswith("filename"): self.assertTrue(expected.strip().startswith("filename")) else: - self.assertEquals(obtained.strip(), expected.strip()) + self.assertEqual(obtained.strip(), expected.strip()) def test_infoReadMode(self): expectedOutput = """ @@ -92,10 +92,10 @@ rrd.info(useBindings=True, stream=output) for obtained, expected in zip( output.getvalue().split("\n"), expectedOutput): - print "obtained:", obtained - print "expected:", expected + print("obtained:", obtained) + print("expected:", expected) if obtained.startswith("filename"): self.assertTrue(expected.strip().startswith("filename")) else: - self.assertEquals(obtained.strip(), expected.strip()) + self.assertEqual(obtained.strip(), expected.strip()) sys.stdout = originalStdout --- ../python3/pyrrd/backend/bindings.py (original) +++ ../python3/pyrrd/backend/bindings.py (refactored) @@ -157,8 +157,8 @@ # right now) args = [str(x) for x in args] if debug: - print "function:", function - print "args:", args + print("function:", function) + print("args:", args) return function(*args) @@ -444,8 +444,8 @@ if function == 'create': validParams = ['start', 'step'] params = buildParameters(obj, validParams) - params += [unicode(x) for x in obj.ds] - params += [unicode(x) for x in obj.rra] + params += [str(x) for x in obj.ds] + params += [str(x) for x in obj.rra] return (obj.filename, params) if function == 'update': @@ -478,7 +478,7 @@ 'force_rules_legend', 'tabwidth', 'base', 'color', 'imgformat', 'slope_mode'] params = buildParameters(obj, validParams) - params += [unicode(x) for x in obj.data] + pRefactoringTool: No changes to ../python3/examples/example5.py RefactoringTool: Refactored ../python3/examples/example4.py RefactoringTool: Refactored ../python3/examples/example3.py RefactoringTool: No changes to ../python3/examples/example2.py RefactoringTool: No changes to ../python3/examples/example1.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/sandbox/oubiwann/file-format/rrdmaker.py RefactoringTool: ../python3/sandbox/oubiwann/file-format/2ds1rra1entry.py RefactoringTool: ../python3/sandbox/oubiwann/file-format/1ds1rra2entry.py RefactoringTool: ../python3/sandbox/oubiwann/file-format/1ds1rra1entry.py RefactoringTool: ../python3/pyrrd/rrd.py RefactoringTool: ../python3/pyrrd/util/dist.py RefactoringTool: ../python3/pyrrd/util/__init__.py RefactoringTool: ../python3/pyrrd/tests/test_rrd.py RefactoringTool: ../python3/pyrrd/tests/test_node.py RefactoringTool: ../python3/pyrrd/tests/test_mapper.py RefactoringTool: ../python3/pyrrd/testing/suite.py RefactoringTool: ../python3/pyrrd/testing/runner.py RefactoringTool: ../python3/pyrrd/testing/result.py RefactoringTool: ../python3/pyrrd/testing/dump.py RefactoringTool: ../python3/pyrrd/testing/base.py RefactoringTool: ../python3/pyrrd/node.py RefactoringTool: ../python3/pyrrd/meta.py RefactoringTool: ../python3/pyrrd/mapper.py RefactoringTool: ../python3/pyrrd/graph.py RefactoringTool: ../python3/pyrrd/backend/external.py RefactoringTool: ../python3/pyrrd/backend/common.py RefactoringTool: ../python3/pyrrd/backend/tests/test_external.py RefactoringTool: ../python3/pyrrd/backend/tests/test_bindings.py RefactoringTool: ../python3/pyrrd/backend/native/format.py RefactoringTool: ../python3/pyrrd/backend/bindings.py RefactoringTool: ../python3/examples/example5.py RefactoringTool: ../python3/examples/example4.py RefactoringTool: ../python3/examples/example3.py RefactoringTool: ../python3/examples/example2.py RefactoringTool: ../python3/examples/example1.py arams += [str(x) for x in obj.data] return (obj.filename, params) --- ../python3/examples/example4.py (original) +++ ../python3/examples/example4.py (refactored) @@ -42,7 +42,7 @@ # let's generate some data... currentTime = startTime -for i in xrange(maxSteps): +for i in range(maxSteps): currentTime += step # lets update the RRD/purge the buffer ever 100 entires if i % 100 == 0: --- ../python3/examples/example3.py (original) +++ ../python3/examples/example3.py (refactored) @@ -36,7 +36,7 @@ # let's generate some data... currentTime = startTime -for i in xrange(maxSteps): +for i in range(maxSteps): currentTime += step # lets update the RRD/purge the buffer ever 100 entires if i % 100 == 0 and myRRD.values: + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.52890 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pyrrd-0.1.0 + 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 running build running build_py creating build creating build/lib creating build/lib/pyrrd copying pyrrd/rrd.py -> build/lib/pyrrd copying pyrrd/node.py -> build/lib/pyrrd copying pyrrd/meta.py -> build/lib/pyrrd copying pyrrd/mapper.py -> build/lib/pyrrd copying pyrrd/graph.py -> build/lib/pyrrd copying pyrrd/exceptions.py -> build/lib/pyrrd copying pyrrd/__init__.py -> build/lib/pyrrd creating build/lib/pyrrd/util copying pyrrd/util/dist.py -> build/lib/pyrrd/util copying pyrrd/util/__init__.py -> build/lib/pyrrd/util creating build/lib/pyrrd/tests copying pyrrd/tests/test_rrd.py -> build/lib/pyrrd/tests copying pyrrd/tests/test_node.py -> build/lib/pyrrd/tests copying pyrrd/tests/test_mapper.py -> build/lib/pyrrd/tests copying pyrrd/tests/__init__.py -> build/lib/pyrrd/tests creating build/lib/pyrrd/testing copying pyrrd/testing/suite.py -> build/lib/pyrrd/testing copying pyrrd/testing/runner.py -> build/lib/pyrrd/testing copying pyrrd/testing/result.py -> build/lib/pyrrd/testing copying pyrrd/testing/dump.py -> build/lib/pyrrd/testing copying pyrrd/testing/base.py -> build/lib/pyrrd/testing copying pyrrd/testing/__init__.py -> build/lib/pyrrd/testing creating build/lib/pyrrd/backend copying pyrrd/backend/external.py -> build/lib/pyrrd/backend copying pyrrd/backend/common.py -> build/lib/pyrrd/backend copying pyrrd/backend/bindings.py -> build/lib/pyrrd/backend copying pyrrd/backend/__init__.py -> build/lib/pyrrd/backend creating build/lib/pyrrd/backend/tests copying pyrrd/backend/tests/test_external.py -> build/lib/pyrrd/backend/tests copying pyrrd/backend/tests/test_bindings.py -> build/lib/pyrrd/backend/tests copying pyrrd/backend/tests/__init__.py -> build/lib/pyrrd/backend/tests creating build/lib/pyrrd/backend/native copying pyrrd/backend/native/format.py -> build/lib/pyrrd/backend/native copying pyrrd/backend/native/__init__.py -> build/lib/pyrrd/backend/native + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pyrrd-0.1.0 + 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/pyrrd copying pyrrd/rrd.py -> build/lib/pyrrd copying pyrrd/node.py -> build/lib/pyrrd copying pyrrd/meta.py -> build/lib/pyrrd copying pyrrd/mapper.py -> build/lib/pyrrd copying pyrrd/graph.py -> build/lib/pyrrd copying pyrrd/exceptions.py -> build/lib/pyrrd copying pyrrd/__init__.py -> build/lib/pyrrd creating build/lib/pyrrd/util copying pyrrd/util/dist.py -> build/lib/pyrrd/util copying pyrrd/util/__init__.py -> build/lib/pyrrd/util creating build/lib/pyrrd/tests copying pyrrd/tests/test_rrd.py -> build/lib/pyrrd/tests copying pyrrd/tests/test_node.py -> build/lib/pyrrd/tests copying pyrrd/tests/test_mapper.py -> build/lib/pyrrd/tests copying pyrrd/tests/__init__.py -> build/lib/pyrrd/tests creating build/lib/pyrrd/testing copying pyrrd/testing/suite.py -> build/lib/pyrrd/testing copying pyrrd/testing/runner.py -> build/lib/pyrrd/testing copying pyrrd/testing/result.py -> build/lib/pyrrd/testing copying pyrrd/testing/dump.py -> build/lib/pyrrd/testing copying pyrrd/testing/base.py -> build/lib/pyrrd/testing copying pyrrd/testing/__init__.py -> build/lib/pyrrd/testing creating build/lib/pyrrd/backend copying pyrrd/backend/external.py -> build/lib/pyrrd/backend copying pyrrd/backend/common.py -> build/lib/pyrrd/backend copying pyrrd/backend/bindings.py -> build/lib/pyrrd/backend copying pyrrd/backend/__init__.py -> build/lib/pyrrd/backend creating build/lib/pyrrd/backend/tests copying pyrrd/backend/tests/test_external.py -> build/lib/pyrrd/backend/tests copying pyrrd/backend/tests/test_bindings.py -> build/lib/pyrrd/backend/tests copying pyrrd/backend/tests/__init__.py -> build/lib/pyrrd/backend/tests creating build/lib/pyrrd/backend/native copying pyrrd/backend/native/format.py -> build/lib/pyrrd/backend/native copying pyrrd/backend/native/__init__.py -> build/lib/pyrrd/backend/native + popd ~/RPM/BUILD/python-module-pyrrd-0.1.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.31130 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-pyrrd-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-pyrrd-buildroot + cd python-module-pyrrd-0.1.0 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-pyrrd-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-pyrrd-buildroot creating /usr/src/tmp/python-module-pyrrd-buildroot/usr creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native copying build/lib/pyrrd/backend/native/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native copying build/lib/pyrrd/backend/native/format.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/tests/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/tests/test_bindings.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/tests/test_external.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend copying build/lib/pyrrd/backend/bindings.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend copying build/lib/pyrrd/backend/common.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend copying build/lib/pyrrd/backend/external.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/base.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/dump.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/result.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/runner.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/suite.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/test_mapper.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/test_node.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/test_rrd.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util copying build/lib/pyrrd/util/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util copying build/lib/pyrrd/util/dist.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util copying build/lib/pyrrd/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd copying build/lib/pyrrd/exceptions.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd copying build/lib/pyrrd/graph.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd copying build/lib/pyrrd/mapper.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd copying build/lib/pyrrd/meta.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd copying build/lib/pyrrd/node.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd copying build/lib/pyrrd/rrd.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/format.py to format.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_bindings.py to test_bindings.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_external.py to test_external.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/bindings.py to bindings.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/common.py to common.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/external.py to external.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/base.py to base.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/dump.py to dump.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/result.py to result.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/runner.py to runner.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/suite.py to suite.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_mapper.py to test_mapper.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_node.py to test_node.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_rrd.py to test_rrd.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/dist.py to dist.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/graph.py to graph.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/mapper.py to mapper.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/meta.py to meta.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/node.py to node.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/rrd.py to rrd.pyc running install_egg_info running egg_info creating PyRRD.egg-info writing PyRRD.egg-info/PKG-INFO writing top-level names to PyRRD.egg-info/top_level.txt writing dependency_links to PyRRD.egg-info/dependency_links.txt writing manifest file 'PyRRD.egg-info/SOURCES.txt' reading manifest file 'PyRRD.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'PyRRD.egg-info/SOURCES.txt' Copying PyRRD.egg-info to /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/PyRRD-0.1.0-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pyrrd-0.1.0 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-pyrrd-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native copying build/lib/pyrrd/backend/native/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native copying build/lib/pyrrd/backend/native/format.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/tests/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/tests/test_bindings.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/tests/test_external.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests copying build/lib/pyrrd/backend/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend copying build/lib/pyrrd/backend/bindings.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend copying build/lib/pyrrd/backend/common.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend copying build/lib/pyrrd/backend/external.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/base.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/dump.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/result.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/runner.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing copying build/lib/pyrrd/testing/suite.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/test_mapper.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/test_node.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests copying build/lib/pyrrd/tests/test_rrd.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests creating /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util copying build/lib/pyrrd/util/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util copying build/lib/pyrrd/util/dist.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util copying build/lib/pyrrd/__init__.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd copying build/lib/pyrrd/exceptions.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd copying build/lib/pyrrd/graph.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd copying build/lib/pyrrd/mapper.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd copying build/lib/pyrrd/meta.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd copying build/lib/pyrrd/node.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd copying build/lib/pyrrd/rrd.py -> /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/format.py to format.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_bindings.py to test_bindings.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_external.py to test_external.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/bindings.py to bindings.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/common.py to common.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/external.py to external.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/base.py to base.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/dump.py to dump.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/result.py to result.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/runner.py to runner.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/suite.py to suite.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_mapper.py to test_mapper.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_node.py to test_node.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_rrd.py to test_rrd.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/dist.py to dist.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/exceptions.py to exceptions.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/graph.py to graph.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/mapper.py to mapper.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/meta.py to meta.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/node.py to node.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/rrd.py to rrd.cpython-35.pyc running install_egg_info running egg_info creating PyRRD.egg-info writing top-level names to PyRRD.egg-info/top_level.txt writing PyRRD.egg-info/PKG-INFO writing dependency_links to PyRRD.egg-info/dependency_links.txt writing manifest file 'PyRRD.egg-info/SOURCES.txt' reading manifest file 'PyRRD.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'PyRRD.egg-info/SOURCES.txt' Copying PyRRD.egg-info to /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/PyRRD-0.1.0-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-pyrrd-0.1.0 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-pyrrd-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-pyrrd-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-pyrrd-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-pyrrd-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-pyrrd-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-pyrrd-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/__init__.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/format.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/format.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/__init__.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_bindings.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_external.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_external.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/__init__.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/bindings.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/common.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/external.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/common.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/external.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/__init__.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/base.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/dump.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/result.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/runner.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/suite.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/base.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/dump.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/result.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/runner.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/suite.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/__init__.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_mapper.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_node.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_rrd.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_rrd.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/__init__.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/dist.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/dist.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/__init__.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/exceptions.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/graph.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/mapper.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/meta.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/node.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/rrd.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/exceptions.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/graph.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/meta.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/rrd.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-pyrrd-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/native/format.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_external.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/common.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/backend/external.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/base.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/dump.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/result.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/runner.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/testing/suite.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/tests/test_rrd.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/util/dist.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/exceptions.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/graph.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/meta.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python2.7/site-packages/pyrrd/rrd.py Bytecompiling python3 modules in /usr/src/tmp/python-module-pyrrd-buildroot using python3 unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__pycache__/exceptions.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__pycache__/graph.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__pycache__/mapper.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__pycache__/meta.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__pycache__/node.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__pycache__/rrd.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__pycache__/bindings.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__pycache__/common.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__pycache__/external.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/format.cpython-35.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/format.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_bindings.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_external.cpython-35.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_external.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/common.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/external.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__pycache__/base.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__pycache__/dump.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__pycache__/result.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__pycache__/runner.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__pycache__/suite.cpython-35.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/base.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/dump.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/result.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/runner.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/suite.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_mapper.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_node.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_rrd.cpython-35.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_rrd.py unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/__pycache__/dist.cpython-35.pyc compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/dist.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/exceptions.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/graph.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/meta.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/rrd.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-pyrrd-buildroot using python3 -O compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/format.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_external.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/common.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/external.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/base.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/dump.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/result.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/runner.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/suite.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_rrd.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/dist.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/exceptions.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/graph.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/meta.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/rrd.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-pyrrd-buildroot using python3 -OO compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/native/format.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/tests/test_external.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/bindings.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/common.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/backend/external.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/base.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/dump.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/result.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/runner.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/testing/suite.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/tests/test_rrd.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/util/dist.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/__init__.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/exceptions.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/graph.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/mapper.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/meta.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/node.py compile /usr/src/tmp/python-module-pyrrd-buildroot/usr/lib/python3/site-packages/pyrrd/rrd.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pyrrd/__pycache__/rrd.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/rrd.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/node.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/node.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/meta.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/meta.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/meta.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/meta.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/mapper.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/mapper.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/graph.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/graph.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/exceptions.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/exceptions.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/exceptions.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/exceptions.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/util/__pycache__/dist.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/util/__pycache__/dist.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/util/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/util/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_rrd.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_rrd.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_rrd.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_rrd.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_node.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_node.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_node.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_node.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_mapper.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_mapper.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_mapper.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/test_mapper.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/tests/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/suite.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/suite.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/runner.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/runner.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/result.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/result.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/result.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/result.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/dump.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/dump.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/dump.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/dump.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/base.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/base.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/base.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/base.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/testing/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/external.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/external.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/common.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/common.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/bindings.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/bindings.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_external.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_external.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_external.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_external.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_bindings.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_bindings.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_bindings.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/test_bindings.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/tests/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/format.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/format.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pyrrd/backend/native/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/pyrrd/rrd.pyo' => './usr/lib/python2.7/site-packages/pyrrd/rrd.pyc' './usr/lib/python2.7/site-packages/pyrrd/node.pyo' => './usr/lib/python2.7/site-packages/pyrrd/node.pyc' './usr/lib/python2.7/site-packages/pyrrd/meta.pyo' => './usr/lib/python2.7/site-packages/pyrrd/meta.pyc' './usr/lib/python2.7/site-packages/pyrrd/mapper.pyo' => './usr/lib/python2.7/site-packages/pyrrd/mapper.pyc' './usr/lib/python2.7/site-packages/pyrrd/graph.pyo' => './usr/lib/python2.7/site-packages/pyrrd/graph.pyc' './usr/lib/python2.7/site-packages/pyrrd/exceptions.pyo' => './usr/lib/python2.7/site-packages/pyrrd/exceptions.pyc' './usr/lib/python2.7/site-packages/pyrrd/__init__.pyo' => './usr/lib/python2.7/site-packages/pyrrd/__init__.pyc' './usr/lib/python2.7/site-packages/pyrrd/util/dist.pyo' => './usr/lib/python2.7/site-packages/pyrrd/util/dist.pyc' './usr/lib/python2.7/site-packages/pyrrd/util/__init__.pyo' => './usr/lib/python2.7/site-packages/pyrrd/util/__init__.pyc' './usr/lib/python2.7/site-packages/pyrrd/tests/test_rrd.pyo' => './usr/lib/python2.7/site-packages/pyrrd/tests/test_rrd.pyc' './usr/lib/python2.7/site-packages/pyrrd/tests/test_node.pyo' => './usr/lib/python2.7/site-packages/pyrrd/tests/test_node.pyc' './usr/lib/python2.7/site-packages/pyrrd/tests/test_mapper.pyo' => './usr/lib/python2.7/site-packages/pyrrd/tests/test_mapper.pyc' './usr/lib/python2.7/site-packages/pyrrd/tests/__init__.pyo' => './usr/lib/python2.7/site-packages/pyrrd/tests/__init__.pyc' './usr/lib/python2.7/site-packages/pyrrd/testing/suite.pyo' => './usr/lib/python2.7/site-packages/pyrrd/testing/suite.pyc' './usr/lib/python2.7/site-packages/pyrrd/testing/runner.pyo' => './usr/lib/python2.7/site-packages/pyrrd/testing/runner.pyc' './usr/lib/python2.7/site-packages/pyrrd/testing/result.pyo' => './usr/lib/python2.7/site-packages/pyrrd/testing/result.pyc' './usr/lib/python2.7/site-packages/pyrrd/testing/dump.pyo' => './usr/lib/python2.7/site-packages/pyrrd/testing/dump.pyc' './usr/lib/python2.7/site-packages/pyrrd/testing/base.pyo' => './usr/lib/python2.7/site-packages/pyrrd/testing/base.pyc' './usr/lib/python2.7/site-packages/pyrrd/testing/__init__.pyo' => './usr/lib/python2.7/site-packages/pyrrd/testing/__init__.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/external.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/external.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/common.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/common.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/bindings.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/bindings.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/__init__.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/__init__.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_external.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_external.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_bindings.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/tests/test_bindings.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/tests/__init__.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/tests/__init__.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/native/format.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/native/format.pyc' './usr/lib/python2.7/site-packages/pyrrd/backend/native/__init__.pyo' => './usr/lib/python2.7/site-packages/pyrrd/backend/native/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.37433 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pyrrd-0.1.0 + python setup.py test running test running egg_info writing PyRRD.egg-info/PKG-INFO writing top-level names to PyRRD.egg-info/top_level.txt writing dependency_links to PyRRD.egg-info/dependency_links.txt reading manifest file 'PyRRD.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'PyRRD.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pyrrd-0.1.0 + python3 setup.py test running test running egg_info writing PyRRD.egg-info/PKG-INFO writing dependency_links to PyRRD.egg-info/dependency_links.txt writing top-level names to PyRRD.egg-info/top_level.txt reading manifest file 'PyRRD.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'PyRRD.egg-info/SOURCES.txt' running build_ext test_creation (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creationDSsAndRRAs (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creationDefaults (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creation (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationDS (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationIncludeData (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRA (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRACDPPrep (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRAParams (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_map (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapDS (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRA (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRACDPPrep (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRAParams (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... ERROR test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... FAIL test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... ERROR test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... FAIL test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... ERROR test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... FAIL test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... ERROR test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ... FAIL test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ... ERROR test_creation (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creationDSsAndRRAs (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creationDefaults (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creation (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationDS (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationIncludeData (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRA (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRACDPPrep (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRAParams (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_map (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapDS (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRA (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRACDPPrep (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRAParams (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_map (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapDS (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRA (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRACDPPrep (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_mapRRAParams (pyrrd.tests.test_mapper.RRDMapperTestCase) ... ok test_creation (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationDS (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationIncludeData (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRA (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRACDPPrep (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creationRRAParams (pyrrd.tests.test_node.RRDXMLNodeTestCase) ... ok test_creation (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creationDSsAndRRAs (pyrrd.tests.test_rrd.RRDTestCase) ... ok test_creationDefaults (pyrrd.tests.test_rrd.RRDTestCase) ... ok ====================================================================== ERROR: test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 89, in test_infoReadMode rrd = RRD(filename=self.rrdfile.name, mode="r", backend=bindings) File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 123, in __init__ self.load() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 353, in load self.map() File "/usr/src/RPM/BUILD/python3/pyrrd/mapper.py", line 202, in map tree = self.backend.load(self.filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/bindings.py", line 345, in load return external.load(filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 197, in load return XML(dump(filename)) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 177, in dump output = _cmd('dump', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 89, in test_infoReadMode rrd = RRD(filename=self.rrdfile.name, mode="r", backend=bindings) File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 123, in __init__ self.load() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 353, in load self.map() File "/usr/src/RPM/BUILD/python3/pyrrd/mapper.py", line 202, in map tree = self.backend.load(self.filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/bindings.py", line 345, in load return external.load(filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 197, in load return XML(dump(filename)) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 177, in dump output = _cmd('dump', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 89, in test_infoReadMode rrd = RRD(filename=self.rrdfile.name, mode="r", backend=bindings) File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 123, in __init__ self.load() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 353, in load self.map() File "/usr/src/RPM/BUILD/python3/pyrrd/mapper.py", line 202, in map tree = self.backend.load(self.filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/bindings.py", line 345, in load return external.load(filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 197, in load return XML(dump(filename)) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 177, in dump output = _cmd('dump', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_infoReadMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 89, in test_infoReadMode rrd = RRD(filename=self.rrdfile.name, mode="r", backend=bindings) File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 123, in __init__ self.load() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 353, in load self.map() File "/usr/src/RPM/BUILD/python3/pyrrd/mapper.py", line 202, in map tree = self.backend.load(self.filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/bindings.py", line 345, in load return external.load(filename) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 197, in load return XML(dump(filename)) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 177, in dump output = _cmd('dump', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_infoWriteMode (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== ERROR: test_updateError (pyrrd.backend.tests.test_external.ExternalBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_external.py", line 21, in setUp self.rrd.create() File "/usr/src/RPM/BUILD/python3/pyrrd/rrd.py", line 175, in create self.backend.create(*data) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 49, in create output = _cmd('create', parameters) File "/usr/src/RPM/BUILD/python3/pyrrd/backend/external.py", line 21, in _cmd raise ExternalCommandError(stderr.strip()) pyrrd.exceptions.ExternalCommandError: b'/bin/sh: rrdtool: command not found' ====================================================================== FAIL: test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 57, in test_infoWriteMode self.assertEqual(obtained.strip(), expected.strip()) AssertionError: "{'ds[speed].index': 0," != "rra = [{'rows': 24, 'database': None, 'cf[461 chars]ne}]" - {'ds[speed].index': 0, + rra = [{'rows': 24, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 1, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}, {'rows': 10, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 6, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}] ====================================================================== FAIL: test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 57, in test_infoWriteMode self.assertEqual(obtained.strip(), expected.strip()) AssertionError: "{'ds[speed].index': 0," != "rra = [{'rows': 24, 'database': None, 'cf[461 chars]ne}]" - {'ds[speed].index': 0, + rra = [{'rows': 24, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 1, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}, {'rows': 10, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 6, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}] ====================================================================== FAIL: test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 57, in test_infoWriteMode self.assertEqual(obtained.strip(), expected.strip()) AssertionError: "{'ds[speed].index': 0," != "rra = [{'rows': 24, 'database': None, 'cf[461 chars]ne}]" - {'ds[speed].index': 0, + rra = [{'rows': 24, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 1, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}, {'rows': 10, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 6, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}] ====================================================================== FAIL: test_infoWriteMode (pyrrd.backend.tests.test_bindings.BindingsBackendTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/pyrrd/backend/tests/test_bindings.py", line 57, in test_infoWriteMode self.assertEqual(obtained.strip(), expected.strip()) AssertionError: "{'ds[speed].index': 0," != "rra = [{'rows': 24, 'database': None, 'cf[461 chars]ne}]" - {'ds[speed].index': 0, + rra = [{'rows': 24, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 1, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}, {'rows': 10, 'database': None, 'cf': 'AVERAGE', 'cdp_prep': None, 'beta': None, 'seasonal_period': None, 'steps': 6, 'window_length': None, 'threshold': None, 'alpha': None, 'pdp_per_row': None, 'xff': 0.5, 'ds': [], 'gamma': None, 'rra_num': None}] ---------------------------------------------------------------------- Ran 58 tests in 0.096s FAILED (failures=4, errors=12) rrdtool create /usr/src/tmp/tmpcsef81mf --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 rrdtool create /usr/src/tmp/tmpvtdgpa_3 --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 function: args: ['/usr/src/tmp/tmpj0vylj7z', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] rrdtool dump /usr/src/tmp/tmpj0vylj7z function: args: ['/usr/src/tmp/tmpe8_42luk', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] rrdtool create /usr/src/tmp/tmpp01ifi2z --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 rrdtool create /usr/src/tmp/tmppg2evzpj --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 function: args: ['/usr/src/tmp/tmpuxwx5hkn', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] rrdtool dump /usr/src/tmp/tmpuxwx5hkn function: args: ['/usr/src/tmp/tmp807mibc1', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] rrdtool create /usr/src/tmp/tmp1i2zg62c --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 rrdtool create /usr/src/tmp/tmp5kkls7b8 --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 function: args: ['/usr/src/tmp/tmp8or8wtsq', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] rrdtool dump /usr/src/tmp/tmp8or8wtsq function: args: ['/usr/src/tmp/tmpvjv4_9lp', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] function: args: ['/usr/src/tmp/tmpgm5v8ix1', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] rrdtool dump /usr/src/tmp/tmpgm5v8ix1 function: args: ['/usr/src/tmp/tmpd6sn_yab', '--start', '920804400', '--step', '300', 'DS:speed:COUNTER:600:U:U', 'RRA:AVERAGE:0.5:1:24', 'RRA:AVERAGE:0.5:6:10'] rrdtool create /usr/src/tmp/tmp0c36dwro --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 rrdtool create /usr/src/tmp/tmp1m1fauro --start 920804400 --step 300 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 error: Bad exit status from /usr/src/tmp/rpm-tmp.37433 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.37433 (%check) Command exited with non-zero status 1 5.62user 0.64system 0:06.92elapsed 90%CPU (0avgtext+0avgdata 34048maxresident)k 0inputs+0outputs (0major+172477minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-pyrrd-0.1.0-alt1.git20120117.1.1.src.rpm' failed. Command exited with non-zero status 1 12.64user 2.72system 0:17.37elapsed 88%CPU (0avgtext+0avgdata 122200maxresident)k 472inputs+0outputs (0major+385459minor)pagefaults 0swaps