<86>Apr 14 01:22:23 userdel[8211]: delete user 'rooter' <86>Apr 14 01:22:23 userdel[8211]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:22:23 userdel[8211]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:22:23 groupadd[8240]: group added to /etc/group: name=rooter, GID=615 <86>Apr 14 01:22:23 groupadd[8240]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:22:23 groupadd[8240]: new group: name=rooter, GID=615 <86>Apr 14 01:22:23 useradd[8259]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Apr 14 01:22:23 userdel[8297]: delete user 'builder' <86>Apr 14 01:22:23 userdel[8297]: removed group 'builder' owned by 'builder' <86>Apr 14 01:22:23 userdel[8297]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:22:23 groupadd[8317]: group added to /etc/group: name=builder, GID=616 <86>Apr 14 01:22:23 groupadd[8317]: group added to /etc/gshadow: name=builder <86>Apr 14 01:22:23 groupadd[8317]: new group: name=builder, GID=616 <86>Apr 14 01:22:23 useradd[8339]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Apr 14 01:22:28 rpmi: perl-Encode-2.83-alt1 1459157776 installed <13>Apr 14 01:22:28 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 14 01:22:28 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Apr 14 01:22:28 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:22:28 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:22:28 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:22:28 rpmi: libopenblas-0.2.14-alt1.git20150324 1433158855 installed <13>Apr 14 01:22:28 rpmi: liblcms2-2.8-alt1 1471601528 installed <13>Apr 14 01:22:28 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Apr 14 01:22:28 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Apr 14 01:22:28 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Apr 14 01:22:28 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Apr 14 01:22:28 rpmi: libnumpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:22:28 rpmi: libwayland-client-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:22:28 rpmi: perl-XML-NamespaceSupport-1.11-alt3 1322003535 installed <13>Apr 14 01:22:28 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 14 01:22:28 rpmi: libtasn1-4.9-alt1 1469555628 installed <13>Apr 14 01:22:28 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Apr 14 01:22:28 rpmi: msulogin-1.0-alt1 1366288481 installed <13>Apr 14 01:22:28 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Apr 14 01:22:28 rpmi: libwayland-server-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:22:28 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Apr 14 01:22:28 rpmi: perl-Compress-Raw-Zlib-2.069-alt1.1 1448470036 installed <13>Apr 14 01:22:28 rpmi: perl-libnet-1:3.08-alt1 1458419902 installed <13>Apr 14 01:22:28 rpmi: perl-URI-1.71-alt1 1455181348 installed <13>Apr 14 01:22:28 rpmi: perl-XML-SAX-Base-1.08-alt1 1317871344 installed <13>Apr 14 01:22:28 rpmi: libnettle6-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Apr 14 01:22:28 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 14 01:22:28 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 01:22:28 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:22:28 rpmi: libhogweed4-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Apr 14 01:22:28 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Apr 14 01:22:28 rpmi: sysvinit-2.88-alt5 1424350685 installed <13>Apr 14 01:22:28 rpmi: libwayland-cursor-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:22:28 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Apr 14 01:22:28 rpmi: libmng-1.0.10-alt2.M80P.1 1476964805 installed <13>Apr 14 01:22:29 rpmi: libjasper-1.900.1-alt3 1391718482 installed <13>Apr 14 01:22:29 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Apr 14 01:22:29 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Apr 14 01:22:29 rpmi: xorg-rgb-1.0.4-alt1.qa1 1366268675 installed <13>Apr 14 01:22:29 rpmi: mount-2.30.2-alt0.M80P.1 1522077023 installed <86>Apr 14 01:22:29 groupadd[38355]: group added to /etc/group: name=utempter, GID=499 <86>Apr 14 01:22:29 groupadd[38355]: group added to /etc/gshadow: name=utempter <86>Apr 14 01:22:29 groupadd[38355]: new group: name=utempter, GID=499 <13>Apr 14 01:22:29 rpmi: libutempter-1.1.6-alt2 1299636222 installed <13>Apr 14 01:22:29 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1 1488560683 installed <13>Apr 14 01:22:29 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Apr 14 01:22:29 rpmi: python-module-pycares-0.6.3-alt1.1.1 1459598195 installed <13>Apr 14 01:22:29 rpmi: pytz-zoneinfo-1:2015.4-alt1.1.1 1460413776 installed <13>Apr 14 01:22:29 rpmi: python-module-certifi-2015.04.28-alt1.1 1457893771 installed <13>Apr 14 01:22:29 rpmi: libseccomp-2.4.0-alt1 p8+225578.100.3.1 1554139373 installed <13>Apr 14 01:22:29 rpmi: qt4-common-4.8.7-alt7 1461589658 installed <13>Apr 14 01:22:29 rpmi: libqt4-core-4.8.7-alt7 1461589658 installed <13>Apr 14 01:22:29 rpmi: libpcre2-10.23-alt0.M80P.1 1487919866 installed <13>Apr 14 01:22:29 rpmi: libnumpy-py3-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:22:29 rpmi: libxblas-1.0.248-alt1 1322010716 installed <13>Apr 14 01:22:29 rpmi: libkmod-21-alt1 1437433966 installed <13>Apr 14 01:22:29 rpmi: libiptables-1.4.21-alt3 1435789456 installed <13>Apr 14 01:22:29 rpmi: libxkbcommon-0.7.2-alt0.M80P.1 1503524837 installed <13>Apr 14 01:22:29 rpmi: libgudev-1:231-alt0.M80P.1 1487052830 installed <13>Apr 14 01:22:29 rpmi: udev-rules-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786259 installed <13>Apr 14 01:22:29 rpmi: libltdl7-2.4.2-alt5 1450059753 installed <13>Apr 14 01:22:29 rpmi: libgts-0.7.6-alt2.drc20130205 1360123643 installed <13>Apr 14 01:22:29 rpmi: libpaper-1.1.24-alt4 1315383473 installed <13>Apr 14 01:22:29 rpmi: libopenjpeg2.0-2.2.0-alt0.M80P.1 1503526491 installed <13>Apr 14 01:22:30 rpmi: libgtk+2-locales-2.24.31-alt1 1473461664 installed <13>Apr 14 01:22:30 rpmi: libquadmath0-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:22:30 rpmi: libgfortran3-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:22:30 rpmi: liblapack-1:3.5.0-alt1 1401382194 installed <13>Apr 14 01:22:30 rpmi: libfontenc-1.1.2-alt1 1373978804 installed <13>Apr 14 01:22:30 rpmi: libepoxy-1.4.3-alt0.M80P.1 1498727071 installed <13>Apr 14 01:22:30 rpmi: libdatrie-0.2.8-alt1_5 1410185969 installed <13>Apr 14 01:22:30 rpmi: libthai-0.1.24-alt1_1 1459282110 installed <13>Apr 14 01:22:30 rpmi: publicsuffix-list-dafsa-20190329-alt1 p8+226349.100.1.1 1554128046 installed <13>Apr 14 01:22:30 rpmi: libpsl-0.18.0-alt0.M80P.1 1502785107 installed <13>Apr 14 01:22:30 rpmi: libnghttp2-1.8.0-alt1 1456818805 installed <13>Apr 14 01:22:30 rpmi: libdevmapper-1.02.152-alt1 p8.216818.100 1542993609 installed <13>Apr 14 01:22:30 rpmi: libusb-1.0.21-alt0.M80P.1 1485147102 installed <13>Apr 14 01:22:30 rpmi: libpixman-3:0.32.8-alt1 1447610691 installed <13>Apr 14 01:22:30 rpmi: libbrotlicommon0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 14 01:22:30 rpmi: libbrotlidec0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 14 01:22:30 rpmi: libann-1.1.2-alt4 1299827962 installed <13>Apr 14 01:22:30 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 14 01:22:30 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 14 01:22:30 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 14 01:22:30 rpmi: libgbm-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:22:30 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Apr 14 01:22:30 rpmi: perl-IO-Socket-IP-0.37-alt1 1444921335 installed <13>Apr 14 01:22:30 rpmi: perl-Compress-Raw-Bzip2-2.069-alt1.1 1448470068 installed <13>Apr 14 01:22:30 rpmi: perl-IO-Compress-2.069-alt1 1444618007 installed <13>Apr 14 01:22:30 rpmi: perl-HTTP-Message-6.11-alt1 1444616672 installed <13>Apr 14 01:22:30 rpmi: perl-HTTP-Cookies-6.01-alt1 1329759964 installed <13>Apr 14 01:22:30 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Apr 14 01:22:30 rpmi: perl-Net-HTTP-6.09-alt1 1432310023 installed <13>Apr 14 01:22:30 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Apr 14 01:22:30 rpmi: perl-HTML-Parser-3.72-alt1 1455170565 installed <13>Apr 14 01:22:30 rpmi: perl-libwww-6.15-alt1 1449505512 installed <13>Apr 14 01:22:30 rpmi: hwclock-1:2.30.2-alt0.M80P.1 1522077023 installed <13>Apr 14 01:22:30 rpmi: libgdk-pixbuf-locales-2.36.11-alt0.M80P.1 1507198237 installed <13>Apr 14 01:22:30 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Apr 14 01:22:30 rpmi: libproxy-0.4.14-alt0.M80P.1 1491211278 installed <13>Apr 14 01:22:30 rpmi: libnspr-1:4.20-alt1 p8.216526.40 1542382588 installed <13>Apr 14 01:22:30 rpmi: libnss-3.40.0-alt0.M80P.1 p8.216526.44 1542814585 installed <13>Apr 14 01:22:30 rpmi: t1lib-5.1.2-alt5 1326979643 installed <13>Apr 14 01:22:30 rpmi: libkpathsea-2008.0-alt0.15.6 1449446882 installed <13>Apr 14 01:22:30 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Apr 14 01:22:30 rpmi: libatk-locales-2.24.0-alt0.M80P.1 1504535386 installed <13>Apr 14 01:22:30 rpmi: libatk-2.24.0-alt0.M80P.1 1504535253 installed <13>Apr 14 01:22:30 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Apr 14 01:22:30 rpmi: shared-mime-info-1.9-alt0.M80P.1 1506021412 installed <13>Apr 14 01:22:31 rpmi: gsettings-desktop-schemas-data-3.24.1-alt0.M80P.1 1504768054 installed <13>Apr 14 01:22:31 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 01:22:31 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 01:22:31 rpmi: libsystemd-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:22:31 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:22:31 rpmi: libavahi-0.6.31-alt7.M80P.1 1526318593 installed <13>Apr 14 01:22:31 rpmi: libcryptsetup-1.7.1-alt1 1456763325 installed <13>Apr 14 01:22:31 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 01:22:31 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 01:22:31 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 01:22:31 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 01:22:31 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 14 01:22:31 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 01:22:31 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Apr 14 01:22:31 rpmi: libXmu-1.1.2-alt1 1391072528 installed <13>Apr 14 01:22:31 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 14 01:22:31 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 14 01:22:31 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 14 01:22:31 rpmi: libXcursor-1.1.15-alt1.M80P.1 1512373713 installed <13>Apr 14 01:22:31 rpmi: libXinerama-1.1.3-alt1 1369984571 installed <13>Apr 14 01:22:31 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 14 01:22:31 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Apr 14 01:22:31 rpmi: libXaw-1.0.12-alt1 1391072621 installed <13>Apr 14 01:22:31 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 14 01:22:31 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:22:32 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 14 01:22:32 rpmi: libat-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Apr 14 01:22:32 rpmi: libXcomposite-0.4.3-alt3 1297306939 installed <13>Apr 14 01:22:32 rpmi: libEGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:22:32 rpmi: libfreeglut-3.0.0-alt1 1429173818 installed <13>Apr 14 01:22:32 rpmi: libwayland-egl-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:22:32 rpmi: xmessage-1.0.3-alt1.qa1 1366270848 installed <13>Apr 14 01:22:32 rpmi: xauth-1:1.0.9-alt1 1432033312 installed <13>Apr 14 01:22:32 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Apr 14 01:22:32 rpmi: libxkbfile-1.0.8-alt1 1331193040 installed <13>Apr 14 01:22:32 rpmi: xkbcomp-1.3.1-alt1 1460969071 installed <13>Apr 14 01:22:32 rpmi: xkeyboard-config-1:2.19-alt1 1481275801 installed <13>Apr 14 01:22:32 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:22:32 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:22:32 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:32 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:22:32 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:22:32 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:22:32 rpmi: libgio-2.52.3-alt0.M80P.1 1504533271 installed <13>Apr 14 01:22:32 rpmi: gobject-introspection-1.52.1-alt0.M80P.1 1504533480 installed <13>Apr 14 01:22:32 rpmi: libgdk-pixbuf-2.36.11-alt0.M80P.1 1507198160 installed <13>Apr 14 01:22:32 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:22:32 groupadd[51714]: group added to /etc/group: name=_keytab, GID=498 <86>Apr 14 01:22:32 groupadd[51714]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:22:32 groupadd[51714]: new group: name=_keytab, GID=498 <13>Apr 14 01:22:32 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:22:32 rpmi: libcups-2.1.0-alt2.M80P.4 p8+223280.100.1.1 1551372192 installed <13>Apr 14 01:22:32 rpmi: libp11-kit-0.23.8-alt1.M80P.1 1504877563 installed <86>Apr 14 01:22:32 groupadd[53133]: group added to /etc/group: name=messagebus, GID=497 <86>Apr 14 01:22:32 groupadd[53133]: group added to /etc/gshadow: name=messagebus <86>Apr 14 01:22:32 groupadd[53133]: new group: name=messagebus, GID=497 <86>Apr 14 01:22:32 useradd[53198]: new user: name=messagebus, UID=499, GID=497, home=/run/dbus, shell=/dev/null <13>Apr 14 01:22:32 rpmi: dbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:22:33 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461609 installed <13>Apr 14 01:22:33 rpmi: gobject-introspection-x11-1.52.1-alt0.M80P.1 1504533480 installed <13>Apr 14 01:22:33 rpmi: gsettings-desktop-schemas-3.24.1-alt0.M80P.1 1504768052 installed <13>Apr 14 01:22:33 rpmi: libgusb-0.2.11-alt0.M80P.1 1503526571 installed <13>Apr 14 01:22:33 rpmi: libcolord-1.3.5-alt0.M80P.1 1488875506 installed <13>Apr 14 01:22:33 rpmi: startup-0.9.9.5-alt1.2 1397832469 installed <13>Apr 14 01:22:33 rpmi: perl-XML-SAX-0.99-alt2 1384805188 installed <13>Apr 14 01:22:33 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Apr 14 01:22:33 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Apr 14 01:22:33 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Apr 14 01:22:34 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 14 01:22:34 rpmi: libcairo-1:1.14.4-alt1 1447005495 installed <13>Apr 14 01:22:34 rpmi: libcairo-gobject-1:1.14.4-alt1 1447005495 installed <13>Apr 14 01:22:34 rpmi: libgd2-2.0.35-alt6 1366289709 installed <13>Apr 14 01:22:34 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Apr 14 01:22:34 rpmi: libpango-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 01:22:34 rpmi: libgtk+2-2.24.31-alt1 1473461609 installed <13>Apr 14 01:22:34 rpmi: mkfontscale-1.1.0-alt1 1332532579 installed <13>Apr 14 01:22:34 rpmi: mkfontdir-1.0.7-alt1 1332532636 installed <13>Apr 14 01:22:35 rpmi: fonts-bitmap-misc-7.0.0-alt6 1238575088 installed <13>Apr 14 01:22:35 rpmi: xorg-server-common-2:1.18.4-alt1.M80P.8 p8+226404.200.2.1 1554276813 installed <13>Apr 14 01:22:35 rpmi: xterm-320-alt2 p8.216245.100 1541756957 installed <13>Apr 14 01:22:35 rpmi: libglade-2.6.4-alt5.qa1 1366416175 installed <13>Apr 14 01:22:35 rpmi: liblasi-1.1.2-alt1.qa1 1460141148 installed <13>Apr 14 01:22:35 rpmi: librsvg-1:2.40.18-alt0.M80P.1 1500537889 installed <13>Apr 14 01:22:35 rpmi: libpango-gir-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 01:22:35 rpmi: libpangox-compat-0.0.2-alt1 1465069388 installed <13>Apr 14 01:22:35 rpmi: libgtkglext-1.2.0-alt2.4 1351047968 installed <13>Apr 14 01:22:35 rpmi: dvipng-1.14-alt1.qa1.1 1449176640 installed <13>Apr 14 01:22:35 rpmi: libgs-9.20-alt1.M80P.1 1494700569 installed <13>Apr 14 01:22:36 rpmi: libgraphviz-2.38.0-alt2.1 1448552001 installed <13>Apr 14 01:22:36 rpmi: libqt4-gui-4.8.7-alt7 1461589658 installed <13>Apr 14 01:22:36 rpmi: graphviz-2.38.0-alt2.1 1448552001 installed <13>Apr 14 01:22:36 rpmi: perl-XML-Simple-2.22-alt1 1449506808 installed <13>Apr 14 01:22:36 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Apr 14 01:22:38 rpmi: icon-theme-adwaita-3.24.0-alt0.M80P.1 1504567873 installed <13>Apr 14 01:22:38 rpmi: dbus-tools-gui-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:22:38 rpmi: at-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Apr 14 01:22:38 rpmi: at-spi2-atk-2.24.1-alt0.M80P.1 1504536077 installed <13>Apr 14 01:22:38 rpmi: libgnutls30-3.6.7-alt0.M80P.1 p8+225835.100.2.1 1554226496 installed <13>Apr 14 01:22:38 rpmi: glib-networking-2.50.0-alt1.M80P.1 1503575484 installed <13>Apr 14 01:22:38 rpmi: libsoup-2.62.2-alt0.M80P.1 1528058397 installed <13>Apr 14 01:22:38 rpmi: libsoup-gnome-2.62.2-alt0.M80P.1 1528058397 installed <13>Apr 14 01:22:38 rpmi: librest-0.8.1-alt0.M80P.1 1509920808 installed <86>Apr 14 01:22:38 groupadd[67973]: group added to /etc/group: name=sasl, GID=496 <86>Apr 14 01:22:38 groupadd[67973]: group added to /etc/gshadow: name=sasl <86>Apr 14 01:22:38 groupadd[67973]: new group: name=sasl, GID=496 <13>Apr 14 01:22:38 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 01:22:38 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 01:22:38 rpmi: libcurl-7.64.0-alt1 p8+220788.100.1.1 1549495393 installed <13>Apr 14 01:22:38 rpmi: libgdk-pixbuf-gir-2.36.11-alt0.M80P.1 1507198160 installed <13>Apr 14 01:22:38 rpmi: libatk-gir-2.24.0-alt0.M80P.1 1504535253 installed <13>Apr 14 01:22:38 rpmi: libdconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Apr 14 01:22:38 rpmi: dconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Apr 14 01:22:38 rpmi: libgtk+3-schemas-3.22.26-alt0.M80P.1 1510825424 installed <13>Apr 14 01:22:38 rpmi: libpolkit-0.113-alt2 1469643478 installed <86>Apr 14 01:22:38 groupadd[68383]: group added to /etc/group: name=colord, GID=495 <86>Apr 14 01:22:38 groupadd[68383]: group added to /etc/gshadow: name=colord <86>Apr 14 01:22:38 groupadd[68383]: new group: name=colord, GID=495 <86>Apr 14 01:22:38 useradd[68425]: new user: name=colord, UID=498, GID=495, home=/var/colord, shell=/dev/null <13>Apr 14 01:22:38 rpmi: colord-1.3.5-alt0.M80P.1 1488875506 installed <13>Apr 14 01:22:38 rpmi: libjson-glib-1.2.8-alt0.M80P.1 1489956779 installed <13>Apr 14 01:22:39 rpmi: libgtk+3-3.22.26-alt0.M80P.1 1510825302 installed <13>Apr 14 01:22:39 rpmi: libgtk+3-gir-3.22.26-alt0.M80P.1 1510825302 installed <13>Apr 14 01:22:39 rpmi: systemd-utils-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:22:39 rpmi: perl-XML-LibXML-2.0124-alt1 1458750523 installed <13>Apr 14 01:22:39 rpmi: libp11-kit-trust-0.23.8-alt1.M80P.1 1504877563 installed <13>Apr 14 01:22:39 rpmi: dbus-tools-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:22:40 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:22:40 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:40 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:22:40 rpmi: python3-module-pyparsing-2.0.3-alt1.1 1458039018 installed <13>Apr 14 01:22:40 rpmi: python3-module-pydot-1.0.29-alt1.git20140730.1.1 1458071714 installed <13>Apr 14 01:22:40 rpmi: python3-module-cycler-0.10.0-alt1 1493854024 installed <13>Apr 14 01:22:40 rpmi: python3-module-dateutil-2.4.2-alt1.git20150728.1.1 1458152500 installed <13>Apr 14 01:22:40 rpmi: python3-module-certifi-2015.04.28-alt1.1 1457893771 installed <13>Apr 14 01:22:40 rpmi: python3-module-decorator-4.0.2-alt1.1.1 1457912822 installed <13>Apr 14 01:22:40 rpmi: python3-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Apr 14 01:22:40 rpmi: python3-module-zc-1.0.0-alt6.2 1458024144 installed <13>Apr 14 01:22:40 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:22:40 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:22:40 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:40 rpmi: python3-module-pycares-0.6.3-alt1.1.1 1459598195 installed <13>Apr 14 01:22:40 rpmi: python3-module-pycairo-1.13.3-alt0.M80P.1 1504561359 installed <13>Apr 14 01:22:40 rpmi: python3-module-pygobject3-3.24.1-alt1.M80P.1 1504561842 installed <13>Apr 14 01:22:40 rpmi: python3-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:22:40 rpmi: python3-module-pygraphviz-1.3-alt2.git20140720.1 1459598662 installed <13>Apr 14 01:22:40 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:22:40 rpmi: python3-module-numpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:22:41 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:41 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:22:41 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 14 01:22:41 rpmi: python3-module-tornado-4.2.1-alt2.M80P.1 1496088637 installed <13>Apr 14 01:22:41 rpmi: python3-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed <13>Apr 14 01:22:42 rpmi: python3-module-scipy-0.19.1-alt0.M80P.1 1503655912 installed <13>Apr 14 01:22:42 rpmi: python3-module-networkx-core-1:1.10-alt2.1.1 1458012268 installed <13>Apr 14 01:22:42 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:22:42 rpmi: python3-module-numpy-testing-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:22:42 rpmi: python3-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Apr 14 01:22:42 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:42 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:42 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:42 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:42 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:22:42 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:42 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:22:43 rpmi: python3-module-matplotlib-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:22:43 rpmi: python-module-cycler-0.10.0-alt1 1493854024 installed <13>Apr 14 01:22:43 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:22:43 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-module-pyparsing-2.0.3-alt1 1423469752 installed <13>Apr 14 01:22:43 rpmi: python-module-pydot-1.0.29-alt1.git20140730.1.1 1458071714 installed <13>Apr 14 01:22:43 rpmi: python-module-dateutil-2.6.0-alt0.M80P.1 1507185893 installed <13>Apr 14 01:22:43 rpmi: python-module-pycurl-7.19.5.3-alt1.1.1 1459598459 installed <13>Apr 14 01:22:43 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed <13>Apr 14 01:22:43 rpmi: python-module-pygobject3-3.24.1-alt1.M80P.1 1504561842 installed <13>Apr 14 01:22:43 rpmi: python-module-pycairo-1.13.3-alt0.M80P.1 1504561359 installed <13>Apr 14 01:22:43 rpmi: python-module-pygraphviz-1.3-alt2.git20140720.1 1459598662 installed <13>Apr 14 01:22:43 rpmi: python-module-backports-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:22:43 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:22:43 rpmi: python-module-decorator-4.0.2-alt1.1.1 1457912822 installed <13>Apr 14 01:22:43 rpmi: python-module-functools32-3.2.3.2-alt1.git20150711 1438148996 installed <13>Apr 14 01:22:43 rpmi: python-module-simplejson-3.15.0-alt1.M80P.1 1528995430 installed <13>Apr 14 01:22:43 rpmi: python-modules-wsgiref-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:22:43 rpmi: python-module-mpmath-0.19-alt1.git20150621.1.1.1 1460407091 installed <13>Apr 14 01:22:43 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:22:43 rpmi: python3-module-matplotlib-gtk3-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:22:43 rpmi: python3-module-matplotlib-cairo-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:22:43 rpmi: python3-module-networkx-drawing-1:1.10-alt2.1.1 1458012268 installed <13>Apr 14 01:22:43 rpmi: python-module-numpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:22:44 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:22:44 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 14 01:22:44 rpmi: python-module-tornado-4.2.1-alt2.M80P.1 1496088637 installed <13>Apr 14 01:22:44 rpmi: python-module-future-0.16.0-alt2 p8.217804.100 1544713302 installed <13>Apr 14 01:22:44 rpmi: python-module-pyglet-1.3.0-alt4.a1.hg20150730.1.1.1 1460413686 installed <13>Apr 14 01:22:44 rpmi: python-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed <13>Apr 14 01:22:44 rpmi: python-module-numpy-testing-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:22:44 rpmi: python-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Apr 14 01:22:44 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:22:44 rpmi: python-module-sympy-1:0.7.7-alt1.dev.git20150830.1 1458041813 installed <13>Apr 14 01:22:45 rpmi: python-module-matplotlib-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:22:46 rpmi: python-module-scipy-0.19.1-alt0.M80P.1 1503655912 installed <13>Apr 14 01:22:46 rpmi: python-module-networkx-core-1:1.10-alt2.1.1 1458012268 installed <13>Apr 14 01:22:46 rpmi: python-module-matplotlib-gtk3-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:22:46 rpmi: python-module-matplotlib-cairo-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:22:46 rpmi: python-module-sympy-tests-1:0.7.7-alt1.dev.git20150830.1 1458041813 installed <13>Apr 14 01:22:46 rpmi: python-module-networkx-drawing-1:1.10-alt2.1.1 1458012268 installed Installing python-module-projx-0.3.6-alt1.git20150215.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.66540 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-projx-0.3.6 + echo 'Source #0 (python-module-projx-0.3.6.tar):' Source #0 (python-module-projx-0.3.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-projx-0.3.6.tar + cd python-module-projx-0.3.6 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/projx/utils.py RefactoringTool: Refactored ../python3/projx/nxprojx.py --- ../python3/projx/utils.py (original) +++ ../python3/projx/utils.py (refactored) @@ -413,13 +413,13 @@ """ labels_dict = {} for node, attrs in graph.nodes(data=True): - label = u'' - for k, v in attrs.items(): + label = '' + for k, v in list(attrs.items()): if k in label_attrs: try: - label += u'{0}: {1}\n'.format(k, v) + label += '{0}: {1}\n'.format(k, v) except: - label += u'{0}: {1}\n'.format(k, v).encode('utf-8') + label += '{0}: {1}\n'.format(k, v).encode('utf-8') labels_dict[node] = label return labels_dict @@ -464,7 +464,7 @@ for edge in g.edges(data=True): if edge[2]['weight'] < min_weight: g.remove_edge(edge[0], edge[1]) - for node, deg in g.degree().items(): + for node, deg in list(g.degree().items()): if deg == 0: g.remove_node(node) return g --- ../python3/projx/nxprojx.py (original) +++ ../python3/projx/nxprojx.py (refactored) @@ -13,7 +13,7 @@ :param graph: networx.Graph :returns: networkx.Graph """ - mapping = dict(zip(graph.nodes(), range(0, graph.number_of_nodes()))) + mapping = dict(list(zip(graph.nodes(), list(range(0, graph.number_of_nodes()))))) # Change nodes to integers. graph = nx.relabel_nodes(graph, mapping) return graph @@ -55,9 +55,9 @@ if attrs is None: attrs = {} if method in ["jaccard", "newman"]: - snbrs = {node for node in graph[source].keys() + snbrs = {node for node in list(graph[source].keys()) if graph.node[node][node_type_attr] in params} - tnbrs = {node for node in graph[target].keys() + tnbrs = {node for node in list(graph[target].keys()) if graph.node[node][node_type_attr] in params} intersect = snbrs & tnbrs if method == "jaccard": @@ -95,10 +95,10 @@ if attrs is None: attrs = {} if method == "edges": - nbrs = {k: v for (k, v) in graph[source].items() + nbrs = {k: v for (k, v) in list(graph[source].items()) if graph.node[k][node_type_attr] in params} - edges = zip([target] * len(nbrs), nbrs, - [v for (k, v) in nbrs.items()]) + edges = list(zip([target] * len(nbrs), nbrs, + [v for (k, v) in list(nbrs.items())])) graph = _add_edges_from(graph, edges) old_attrs = graph.node[target] merged_attrs = merge_attrs(attrs, old_attrs, @@ -138,10 +138,10 @@ graph.add_node(node_id, attrs) nbrs = dict(graph[source]) nbrs.update(dict(graph[target])) - nbrs = {k: v for (k, v) in nbrs.items() + nbrs = {k: v for (k, v) in list(nbrs.items()) if graph.node[k][node_type_attr] != node_type} - edges = zip([node_id] * len(nbrs), nbrs, - [v for (_, v) in nbrs.items()]) + edges = list(zip([node_id] * len(nbrs), nbrs, + [v for (_, v) in list(nbrs.items())])) graph = _add_edges_from(graph, edges) return graph @@ -252,30 +252,30 @@ :returns: Dict. """ attrs = {} - for k, v in old_attrs.items(): + for k, v in list(old_attrs.items()): if k in reserved: attrs[k] = v elif isinstance(v, dict): attrs[k] = dict(v) - elif isinstance(v, str) or isinstance(v, unicode): + elif isinstance(v, str) or isinstance(v, str): attrs[k] = {v: 1} - for k, v in new_attrs.items(): + for k, v in list(new_attrs.items()): if k in reserved: attrs[k] = v elif k in attrs: count_dict = attrs[k] if isinstance(v, dict): - for i, j in v.items(): + for i, j in list(v.items()): count_dict.setdefault(i, 0) count_dict[i] += j - elif isinstance(v, str) or isinstance(v, unicode): + elif isinstance(v, str) or isinstance(v, str): RefactoringTool: Refactored ../python3/projx/modules/nx_xtrct.py RefactoringTool: Refactored ../python3/projx/modules/neo4j_xtrct.py RefactoringTool: Refactored ../python3/projx/modules/loaders.py count_dict.setdefault(v, 0) count_dict[v] += 1 attrs[k] = count_dict else: if isinstance(v, dict): attrs[k] = dict(v) - elif isinstance(v, str) or isinstance(v, unicode): + elif isinstance(v, str) or isinstance(v, str): attrs[k] = {v: 1} return attrs --- ../python3/projx/modules/nx_xtrct.py (original) +++ ../python3/projx/modules/nx_xtrct.py (refactored) @@ -52,7 +52,7 @@ paths = extractor_json["paths"] for record in paths: for transformer in transformers: - trans_kwrd = transformer.keys()[0] + trans_kwrd = list(transformer.keys())[0] trans = transformer[trans_kwrd] to_set = trans.get("set", []) attrs = _nx_lookup_attrs(to_set, record, graph) --- ../python3/projx/modules/neo4j_xtrct.py (original) +++ ../python3/projx/modules/neo4j_xtrct.py (refactored) @@ -19,7 +19,7 @@ query = extractor_json["query"] for record in graph.cypher.execute(query): for transformer in transformers: - trans_kwrd = transformer.keys()[0] + trans_kwrd = list(transformer.keys())[0] trans = transformer[trans_kwrd] to_set = trans.get("set", []) attrs = _neo4j_lookup_attrs(to_set, record) --- ../python3/projx/modules/loaders.py (original) +++ ../python3/projx/modules/loaders.py (refactored) @@ -9,7 +9,7 @@ import time import networkx as nx from projx import nxprojx -from nx_xtrct import _nx_lookup_attrs +from .nx_xtrct import _nx_lookup_attrs try: from py2neo import Graph except ImportError: @@ -32,7 +32,7 @@ for trans in stream(transformers, extractor_json): record, trans_kwrd, trans, attrs = trans method = trans.get("method", {"none": []}) - method_kwrd = method.keys()[0] + method_kwrd = list(method.keys())[0] params = method.get(method_kwrd, {"args": []})["args"] src, target, to_del = _apply_nx2nx_transformer(trans, record) fn = projector.transformations[trans_kwrd] @@ -63,11 +63,11 @@ """ removals = set() projector = nxprojx.NXProjector(max(graph.nodes())) - trans_kwrd = transformer.keys()[0] + trans_kwrd = list(transformer.keys())[0] trans = transformer[trans_kwrd] to_set = trans.get("set", []) method = trans.get("method", {"none": []}) - method_kwrd = method.keys()[0] + method_kwrd = list(method.keys())[0] params = method.get(method_kwrd, {"args": []})["args"] fn = projector.transformations[trans_kwrd] for record in paths: @@ -136,9 +136,9 @@ extractor_json = extractor(graph) uri = loader_json.get("uri", "http://localhost:7474/db/data") stmt_per_req = loader_json.get("stmt_per_req", 100) - print("Statements per request: {0}".format(stmt_per_req)) + print(("Statements per request: {0}".format(stmt_per_req))) req_per_tx = loader_json.get("req_per_tx", 10) - print("Requests per transactions: {0}".format(req_per_tx)) + print(("Requests per transactions: {0}".format(req_per_tx))) output_graph = Graph(uri) statements = 0 requests = 0 @@ -148,7 +148,7 @@ try: ndx = "CREATE INDEX ON :{0}({1});".format(ndx["label"], ndx["attr"]) output_graph.cypher.execute(ndx) - print("Created index: {0}".format(ndx)) + print(("Created index: {0}".format(ndx))) except: raise Exception("Invalid index") tx = output_graph.cypher.begin() @@ -179,7 +179,7 @@ requests += 1 current = datetime.now() - start if not edges % 1000000: - print("Merged {0} edges in {1}".format(edges, current)) + print(("Merged {0} edges in {1}".format(edges, current))) statements = 0 if requests == req_per_tx: tx.commit() @@ -188,7 +188,7 @@ if not tx.finished: tx.commit() finish = datetime.now() - RefactoringTool: Refactored ../python3/projx/modules/edgelist_xtrct.py RefactoringTool: Refactored ../python3/projx/grammar.py RefactoringTool: Refactored ../python3/projx/etl.py RefactoringTool: Refactored ../python3/projx/api.py RefactoringTool: Refactored ../python3/projx/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/projx/utils.py RefactoringTool: ../python3/projx/nxprojx.py RefactoringTool: ../python3/projx/modules/nx_xtrct.py RefactoringTool: ../python3/projx/modules/neo4j_xtrct.py RefactoringTool: ../python3/projx/modules/loaders.py RefactoringTool: ../python3/projx/modules/edgelist_xtrct.py RefactoringTool: ../python3/projx/grammar.py RefactoringTool: ../python3/projx/etl.py RefactoringTool: ../python3/projx/api.py RefactoringTool: ../python3/projx/__init__.py print("Load complete: merged {0} edges in {1}".format(edges, finish - start)) + print(("Load complete: merged {0} edges in {1}".format(edges, finish - start))) --- ../python3/projx/modules/edgelist_xtrct.py (original) +++ ../python3/projx/modules/edgelist_xtrct.py (refactored) @@ -26,7 +26,7 @@ line = line.rstrip("\n") record = nxprojx.Record(line.split(delim)[:2], extractor_json["alias"]) for transformer in transformers: - trans_kwrd = transformer.keys()[0] + trans_kwrd = list(transformer.keys())[0] trans = transformer[trans_kwrd] to_set = trans.get("set", []) attrs = _edgelist_value(to_set) --- ../python3/projx/grammar.py (original) +++ ../python3/projx/grammar.py (refactored) @@ -142,7 +142,7 @@ "traversal": list(roundrobin(nodes, edges)) } }, - "transformers": map(parse_transformation, transformations), + "transformers": list(map(parse_transformation, transformations)), "loader": { "nx2nx": {} } @@ -187,7 +187,7 @@ "roundrobin('ABC', 'D', 'EF') --> A D E B F C" # Recipe credited to George Sakkis pending = len(iterables) - nexts = cycle(iter(it).next for it in iterables) + nexts = cycle(iter(it).__next__ for it in iterables) while pending: try: for next in nexts: --- ../python3/projx/etl.py (original) +++ ../python3/projx/etl.py (refactored) @@ -4,7 +4,7 @@ stream function, list of transformers (JSON), the loader JSON, and graph object for the loader pipeline. """ -from modules import loaders, neo4j_xtrct, nx_xtrct, edgelist_xtrct +from .modules import loaders, neo4j_xtrct, nx_xtrct, edgelist_xtrct class ETL(object): @@ -20,7 +20,7 @@ # Get the extractor info. try: self.extractor_json = etl["extractor"] - self.extractor_name = self.extractor_json.keys()[0] + self.extractor_name = list(self.extractor_json.keys())[0] except (KeyError, IndexError): raise Exception("Please define valid extractor") @@ -30,7 +30,7 @@ # Get the loader info. try: self.loader_json = etl["loader"] - self.loader_name = self.loader_json.keys()[0] + self.loader_name = list(self.loader_json.keys())[0] except (KeyError, IndexError): raise Exception("Please define valid loader.") --- ../python3/projx/api.py (original) +++ ../python3/projx/api.py (refactored) @@ -2,8 +2,8 @@ """ Main API functions. """ -from etl import ETL -from grammar import parse_query +from .etl import ETL +from .grammar import parse_query def execute_etl(etl, graph=None): --- ../python3/projx/__init__.py (original) +++ ../python3/projx/__init__.py (refactored) @@ -5,4 +5,4 @@ from .utils import (test_graph, project_etl, transfer_etl, combine_etl, multi_transform_etl, draw_simple_graph, remove_edges, proj_density, neo4j2nx_etl, edgelist2neo4j_etl) -import modules +from . import modules + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.19989 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-projx-0.3.6 + 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/projx copying projx/utils.py -> build/lib/projx copying projx/nxprojx.py -> build/lib/projx copying projx/grammar.py -> build/lib/projx copying projx/etl.py -> build/lib/projx copying projx/api.py -> build/lib/projx copying projx/__init__.py -> build/lib/projx creating build/lib/projx/modules copying projx/modules/nx_xtrct.py -> build/lib/projx/modules copying projx/modules/neo4j_xtrct.py -> build/lib/projx/modules copying projx/modules/loaders.py -> build/lib/projx/modules copying projx/modules/edgelist_xtrct.py -> build/lib/projx/modules copying projx/modules/__init__.py -> build/lib/projx/modules + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-projx-0.3.6 + 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/projx copying projx/utils.py -> build/lib/projx copying projx/nxprojx.py -> build/lib/projx copying projx/grammar.py -> build/lib/projx copying projx/etl.py -> build/lib/projx copying projx/api.py -> build/lib/projx copying projx/__init__.py -> build/lib/projx creating build/lib/projx/modules copying projx/modules/nx_xtrct.py -> build/lib/projx/modules copying projx/modules/neo4j_xtrct.py -> build/lib/projx/modules copying projx/modules/loaders.py -> build/lib/projx/modules copying projx/modules/edgelist_xtrct.py -> build/lib/projx/modules copying projx/modules/__init__.py -> build/lib/projx/modules + popd ~/RPM/BUILD/python-module-projx-0.3.6 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.19989 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-projx-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-projx-buildroot + cd python-module-projx-0.3.6 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-projx-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-projx-buildroot creating /usr/src/tmp/python-module-projx-buildroot/usr creating /usr/src/tmp/python-module-projx-buildroot/usr/lib creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules copying build/lib/projx/modules/__init__.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules copying build/lib/projx/modules/edgelist_xtrct.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules copying build/lib/projx/modules/loaders.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules copying build/lib/projx/modules/neo4j_xtrct.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules copying build/lib/projx/modules/nx_xtrct.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules copying build/lib/projx/__init__.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx copying build/lib/projx/api.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx copying build/lib/projx/etl.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx copying build/lib/projx/grammar.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx copying build/lib/projx/nxprojx.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx copying build/lib/projx/utils.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/edgelist_xtrct.py to edgelist_xtrct.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/loaders.py to loaders.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/neo4j_xtrct.py to neo4j_xtrct.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/nx_xtrct.py to nx_xtrct.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/api.py to api.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/etl.py to etl.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/grammar.py to grammar.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/nxprojx.py to nxprojx.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/utils.py to utils.pyc running install_egg_info running egg_info creating projx.egg-info writing requirements to projx.egg-info/requires.txt writing projx.egg-info/PKG-INFO writing top-level names to projx.egg-info/top_level.txt writing dependency_links to projx.egg-info/dependency_links.txt writing manifest file 'projx.egg-info/SOURCES.txt' reading manifest file 'projx.egg-info/SOURCES.txt' writing manifest file 'projx.egg-info/SOURCES.txt' Copying projx.egg-info to /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx-0.3.6-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-projx-0.3.6 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-projx-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx creating /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules copying build/lib/projx/modules/__init__.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules copying build/lib/projx/modules/edgelist_xtrct.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules copying build/lib/projx/modules/loaders.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules copying build/lib/projx/modules/neo4j_xtrct.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules copying build/lib/projx/modules/nx_xtrct.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules copying build/lib/projx/__init__.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx copying build/lib/projx/api.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx copying build/lib/projx/etl.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx copying build/lib/projx/grammar.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx copying build/lib/projx/nxprojx.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx copying build/lib/projx/utils.py -> /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/edgelist_xtrct.py to edgelist_xtrct.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/loaders.py to loaders.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/neo4j_xtrct.py to neo4j_xtrct.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/nx_xtrct.py to nx_xtrct.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/api.py to api.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/etl.py to etl.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/grammar.py to grammar.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/nxprojx.py to nxprojx.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/utils.py to utils.cpython-35.pyc running install_egg_info running egg_info creating projx.egg-info writing projx.egg-info/PKG-INFO writing requirements to projx.egg-info/requires.txt writing dependency_links to projx.egg-info/dependency_links.txt writing top-level names to projx.egg-info/top_level.txt writing manifest file 'projx.egg-info/SOURCES.txt' reading manifest file 'projx.egg-info/SOURCES.txt' writing manifest file 'projx.egg-info/SOURCES.txt' Copying projx.egg-info to /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx-0.3.6-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-projx-0.3.6 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-projx-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-projx-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-projx-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-projx-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-projx-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-projx-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/__init__.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/edgelist_xtrct.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/loaders.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/neo4j_xtrct.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/nx_xtrct.pyc compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/edgelist_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/loaders.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/neo4j_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/nx_xtrct.py unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/__init__.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/api.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/etl.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/grammar.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/nxprojx.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/utils.pyc compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/api.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/etl.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/grammar.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/nxprojx.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/utils.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-projx-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/edgelist_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/loaders.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/neo4j_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/modules/nx_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/api.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/etl.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/grammar.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/nxprojx.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python2.7/site-packages/projx/utils.py Bytecompiling python3 modules in /usr/src/tmp/python-module-projx-buildroot using python3 unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__pycache__/api.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__pycache__/etl.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__pycache__/grammar.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__pycache__/nxprojx.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__pycache__/utils.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__pycache__/edgelist_xtrct.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__pycache__/loaders.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__pycache__/neo4j_xtrct.cpython-35.pyc unlink /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__pycache__/nx_xtrct.cpython-35.pyc compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/edgelist_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/loaders.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/neo4j_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/nx_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/api.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/etl.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/grammar.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/nxprojx.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-projx-buildroot using python3 -O compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/edgelist_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/loaders.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/neo4j_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/nx_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/api.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/etl.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/grammar.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/nxprojx.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-projx-buildroot using python3 -OO compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/edgelist_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/loaders.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/neo4j_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/modules/nx_xtrct.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/__init__.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/api.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/etl.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/grammar.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/nxprojx.py compile /usr/src/tmp/python-module-projx-buildroot/usr/lib/python3/site-packages/projx/utils.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/projx/__pycache__/utils.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/__pycache__/utils.cpython-35.pyc' './usr/lib/python3/site-packages/projx/__pycache__/nxprojx.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/__pycache__/nxprojx.cpython-35.pyc' './usr/lib/python3/site-packages/projx/__pycache__/grammar.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/__pycache__/grammar.cpython-35.pyc' './usr/lib/python3/site-packages/projx/__pycache__/etl.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/__pycache__/etl.cpython-35.pyc' './usr/lib/python3/site-packages/projx/__pycache__/api.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/__pycache__/api.cpython-35.pyc' './usr/lib/python3/site-packages/projx/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/projx/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/projx/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/projx/modules/__pycache__/nx_xtrct.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/modules/__pycache__/nx_xtrct.cpython-35.pyc' './usr/lib/python3/site-packages/projx/modules/__pycache__/neo4j_xtrct.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/modules/__pycache__/neo4j_xtrct.cpython-35.pyc' './usr/lib/python3/site-packages/projx/modules/__pycache__/loaders.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/modules/__pycache__/loaders.cpython-35.pyc' './usr/lib/python3/site-packages/projx/modules/__pycache__/edgelist_xtrct.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/modules/__pycache__/edgelist_xtrct.cpython-35.pyc' './usr/lib/python3/site-packages/projx/modules/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/projx/modules/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/projx/modules/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/projx/modules/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/projx/utils.pyo' => './usr/lib/python2.7/site-packages/projx/utils.pyc' './usr/lib/python2.7/site-packages/projx/nxprojx.pyo' => './usr/lib/python2.7/site-packages/projx/nxprojx.pyc' './usr/lib/python2.7/site-packages/projx/grammar.pyo' => './usr/lib/python2.7/site-packages/projx/grammar.pyc' './usr/lib/python2.7/site-packages/projx/etl.pyo' => './usr/lib/python2.7/site-packages/projx/etl.pyc' './usr/lib/python2.7/site-packages/projx/api.pyo' => './usr/lib/python2.7/site-packages/projx/api.pyc' './usr/lib/python2.7/site-packages/projx/__init__.pyo' => './usr/lib/python2.7/site-packages/projx/__init__.pyc' './usr/lib/python2.7/site-packages/projx/modules/nx_xtrct.pyo' => './usr/lib/python2.7/site-packages/projx/modules/nx_xtrct.pyc' './usr/lib/python2.7/site-packages/projx/modules/neo4j_xtrct.pyo' => './usr/lib/python2.7/site-packages/projx/modules/neo4j_xtrct.pyc' './usr/lib/python2.7/site-packages/projx/modules/loaders.pyo' => './usr/lib/python2.7/site-packages/projx/modules/loaders.pyc' './usr/lib/python2.7/site-packages/projx/modules/edgelist_xtrct.pyo' => './usr/lib/python2.7/site-packages/projx/modules/edgelist_xtrct.pyc' './usr/lib/python2.7/site-packages/projx/modules/__init__.pyo' => './usr/lib/python2.7/site-packages/projx/modules/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.55361 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-projx-0.3.6 + python setup.py test running test running egg_info deleting projx.egg-info/requires.txt writing projx.egg-info/PKG-INFO writing top-level names to projx.egg-info/top_level.txt writing dependency_links to projx.egg-info/dependency_links.txt reading manifest file 'projx.egg-info/SOURCES.txt' writing manifest file 'projx.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK ++ find projx -name '*.py' + py.test -vv projx/utils.py projx/nxprojx.py projx/modules/nx_xtrct.py projx/modules/neo4j_xtrct.py projx/modules/loaders.py projx/modules/edgelist_xtrct.py projx/modules/__init__.py projx/grammar.py projx/etl.py projx/api.py projx/__init__.py ============================= test session starts ============================== platform linux2 -- Python 2.7.11, pytest-3.2.1, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python cachedir: .cache rootdir: /usr/src/RPM/BUILD/python-module-projx-0.3.6, inifile: collecting ... collected 2 items projx/utils.py::test_graph PASSED projx/__init__.py::test_graph <- projx/utils.py PASSED =========================== 2 passed in 0.31 seconds =========================== + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-projx-0.3.6 + python3 setup.py test running test running egg_info writing top-level names to projx.egg-info/top_level.txt writing dependency_links to projx.egg-info/dependency_links.txt deleting projx.egg-info/requires.txt writing projx.egg-info/PKG-INFO reading manifest file 'projx.egg-info/SOURCES.txt' writing manifest file 'projx.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK Install py2neo to use Neo4j module. Install py2neo to use Neo4j module. ++ find projx -name '*.py' + py.test-3.5 -vv projx/utils.py projx/nxprojx.py projx/modules/nx_xtrct.py projx/modules/neo4j_xtrct.py projx/modules/loaders.py projx/modules/edgelist_xtrct.py projx/modules/__init__.py projx/grammar.py projx/etl.py projx/api.py projx/__init__.py /usr/src/tmp/rpm-tmp.55361: line 125: py.test-3.5: command not found error: Bad exit status from /usr/src/tmp/rpm-tmp.55361 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.55361 (%check) Command exited with non-zero status 1 4.28user 0.54system 0:05.38elapsed 89%CPU (0avgtext+0avgdata 58388maxresident)k 0inputs+0outputs (0major+155928minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-projx-0.3.6-alt1.git20150215.1.1.src.rpm' failed. Command exited with non-zero status 1 25.97user 4.37system 0:33.86elapsed 89%CPU (0avgtext+0avgdata 121932maxresident)k 20384inputs+0outputs (0major+572121minor)pagefaults 0swaps