<86>Apr 14 02:42:45 userdel[38704]: delete user 'rooter' <86>Apr 14 02:42:45 userdel[38704]: removed group 'rooter' owned by 'rooter' <86>Apr 14 02:42:45 userdel[38704]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 02:42:45 groupadd[38732]: group added to /etc/group: name=rooter, GID=549 <86>Apr 14 02:42:45 groupadd[38732]: group added to /etc/gshadow: name=rooter <86>Apr 14 02:42:45 groupadd[38732]: new group: name=rooter, GID=549 <86>Apr 14 02:42:45 useradd[38745]: new user: name=rooter, UID=549, GID=549, home=/root, shell=/bin/bash <86>Apr 14 02:42:45 userdel[38769]: delete user 'builder' <86>Apr 14 02:42:45 userdel[38769]: removed group 'builder' owned by 'builder' <86>Apr 14 02:42:45 userdel[38769]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 02:42:45 groupadd[38781]: group added to /etc/group: name=builder, GID=550 <86>Apr 14 02:42:45 groupadd[38781]: group added to /etc/gshadow: name=builder <86>Apr 14 02:42:45 groupadd[38781]: new group: name=builder, GID=550 <86>Apr 14 02:42:45 useradd[38792]: new user: name=builder, UID=550, GID=550, home=/usr/src, shell=/bin/bash <13>Apr 14 02:42:55 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Apr 14 02:42:55 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 14 02:42:55 rpmi: perl-Encode-2.83-alt1 1459157776 installed <13>Apr 14 02:42:55 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 02:42:55 rpmi: liblcms2-2.8-alt1 1471601528 installed <13>Apr 14 02:42:55 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 02:42:55 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 02:42:55 rpmi: libsigc++2-2.10.0-alt0.M80P.1 1486890388 installed <13>Apr 14 02:42:55 rpmi: librevenge-0.0.4-alt0.M80P.1 1485147533 installed <13>Apr 14 02:42:55 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Apr 14 02:42:55 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Apr 14 02:42:55 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 14 02:42:55 rpmi: libopenjpeg2.0-2.2.0-alt0.M80P.1 1503526491 installed <13>Apr 14 02:42:55 rpmi: libwayland-client-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 02:42:55 rpmi: perl-XML-NamespaceSupport-1.11-alt3 1322003535 installed <13>Apr 14 02:42:55 rpmi: libtasn1-4.9-alt1 1469555628 installed <13>Apr 14 02:42:55 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Apr 14 02:42:55 rpmi: libsnappy-1.1.3-alt1 1450962240 installed <13>Apr 14 02:42:56 rpmi: libicu56-1:5.6.1-alt1.1 1458012333 installed <13>Apr 14 02:42:56 rpmi: libwmflite-0.2.8.4-alt12 1391506961 installed <13>Apr 14 02:42:56 rpmi: libltdl7-2.4.2-alt5 1450059753 installed <13>Apr 14 02:42:56 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Apr 14 02:42:56 rpmi: libwayland-server-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 02:42:56 rpmi: ilmbase12-common-2.2.0-alt1.1 1434451064 installed <13>Apr 14 02:42:56 rpmi: libiex12-2.2.0-alt1.1 1434451064 installed <13>Apr 14 02:42:56 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Apr 14 02:42:56 rpmi: perl-Compress-Raw-Zlib-2.069-alt1.1 1448470036 installed <13>Apr 14 02:42:56 rpmi: perl-libnet-1:3.08-alt1 1458419902 installed <13>Apr 14 02:42:56 rpmi: perl-URI-1.71-alt1 1455181348 installed <13>Apr 14 02:42:56 rpmi: perl-XML-SAX-Base-1.08-alt1 1317871344 installed <13>Apr 14 02:42:56 rpmi: libnspr-1:4.20-alt1 p8.216526.40 1542382588 installed <13>Apr 14 02:42:56 rpmi: libnss-3.40.0-alt0.M80P.1 p8.216526.44 1542814585 installed <13>Apr 14 02:42:56 rpmi: libnettle6-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Apr 14 02:42:56 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 02:42:56 rpmi: libhogweed4-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Apr 14 02:42:56 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Apr 14 02:42:56 rpmi: libilmthread12-2.2.0-alt1.1 1434451064 installed <13>Apr 14 02:42:56 rpmi: libhalf12-2.2.0-alt1.1 1434451064 installed <13>Apr 14 02:42:56 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Apr 14 02:42:56 rpmi: libcdr-0.1.2-alt1 1455642536 installed <13>Apr 14 02:42:56 rpmi: libvisio-0.1.3-alt1.2 1455363337 installed <13>Apr 14 02:42:56 rpmi: libwayland-cursor-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 02:42:56 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Apr 14 02:42:56 rpmi: libwpd10-0.10.0-alt2 1463135361 installed <13>Apr 14 02:42:56 rpmi: libwpg-0.3.1-alt1 1451770913 installed <13>Apr 14 02:42:56 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Apr 14 02:42:56 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Apr 14 02:42:56 rpmi: libjasper-1.900.1-alt3 1391718482 installed <13>Apr 14 02:42:56 rpmi: desktop-file-utils-0.22.0.patchset1-alt1 1412210843 installed <13>Apr 14 02:42:56 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Apr 14 02:42:56 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.1 1458144873 installed <13>Apr 14 02:42:56 rpmi: python-module-ndg-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 02:42:56 rpmi: python-module-google-0.4.0-alt2.1 1457968526 installed <13>Apr 14 02:42:56 rpmi: python-module-sphinx_rtd_theme-0.1.8-alt1.git20150730.1 1457859644 installed <13>Apr 14 02:42:56 rpmi: python-sphinx-objects.inv-2.3.6.20160413-alt1 1460595508 installed <13>Apr 14 02:42:56 rpmi: python-module-enum34-1.0.4-alt1.1.1 1457942288 installed <13>Apr 14 02:42:56 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Apr 14 02:42:56 rpmi: libxapian-1.2.23-alt1 1459318465 installed <13>Apr 14 02:42:57 rpmi: python-module-xapian-1.2.23-alt1.M80P.1 1503464748 installed <13>Apr 14 02:42:57 rpmi: libpotrace-1.15-alt0.M80P.1 1503911790 installed <13>Apr 14 02:42:57 rpmi: poppler-data-0.4.8-alt1.M80P.1 1524561858 installed <13>Apr 14 02:42:57 rpmi: libxkbcommon-0.7.2-alt0.M80P.1 1503524837 installed <13>Apr 14 02:42:57 rpmi: libgudev-1:231-alt0.M80P.1 1487052830 installed <13>Apr 14 02:42:57 rpmi: udev-rules-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786259 installed <13>Apr 14 02:42:57 rpmi: libgsl-1.16-alt1.git20150121.1 1449191800 installed <13>Apr 14 02:42:57 rpmi: libgomp1-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 02:42:57 rpmi: libgc-7.4.2-alt1 1456336126 installed <13>Apr 14 02:42:57 rpmi: libepoxy-1.4.3-alt0.M80P.1 1498727071 installed <13>Apr 14 02:42:57 rpmi: libhunspell-1.3.1-alt1 1297079102 installed <13>Apr 14 02:42:57 rpmi: libenchant-1.6.0-alt3.qa1 1460409846 installed <13>Apr 14 02:42:57 rpmi: publicsuffix-list-dafsa-20190329-alt1 p8+226349.100.1.1 1554128046 installed <13>Apr 14 02:42:57 rpmi: libpsl-0.18.0-alt0.M80P.1 1502785107 installed <13>Apr 14 02:42:57 rpmi: libnghttp2-1.8.0-alt1 1456818805 installed <13>Apr 14 02:42:57 rpmi: libusb-1.0.21-alt0.M80P.1 1485147102 installed <13>Apr 14 02:42:57 rpmi: libbrotlicommon0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 14 02:42:57 rpmi: libbrotlidec0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 14 02:42:57 rpmi: libaspell-0.60.6.1-alt1.1 1449671374 installed <13>Apr 14 02:42:57 rpmi: libwebp7-0.6.0-alt0.M80P.1 1504535151 installed <13>Apr 14 02:42:57 rpmi: liblqr-0.4.2-alt1 1383038436 installed <13>Apr 14 02:42:57 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Apr 14 02:42:57 rpmi: libgts-0.7.6-alt2.drc20130205 1360123643 installed <13>Apr 14 02:42:57 rpmi: libpaper-1.1.24-alt4 1315383473 installed <13>Apr 14 02:42:57 rpmi: libgtk+2-locales-2.24.31-alt1 1473461664 installed <13>Apr 14 02:42:57 rpmi: libdatrie-0.2.8-alt1_5 1410185969 installed <13>Apr 14 02:42:57 rpmi: libthai-0.1.24-alt1_1 1459282110 installed <13>Apr 14 02:42:57 rpmi: libpixman-3:0.32.8-alt1 1447610691 installed <13>Apr 14 02:42:57 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Apr 14 02:42:57 rpmi: openexr22-common-2.2.0-alt1.1 1434451518 installed <13>Apr 14 02:42:57 rpmi: libilmimf22-2.2.0-alt1.1 1434451518 installed <13>Apr 14 02:42:57 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 14 02:42:57 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 14 02:42:57 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 14 02:42:57 rpmi: libgbm-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 02:42:57 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Apr 14 02:42:57 rpmi: perl-IO-Socket-IP-0.37-alt1 1444921335 installed <13>Apr 14 02:42:57 rpmi: perl-Compress-Raw-Bzip2-2.069-alt1.1 1448470068 installed <13>Apr 14 02:42:57 rpmi: perl-IO-Compress-2.069-alt1 1444618007 installed <13>Apr 14 02:42:57 rpmi: perl-HTTP-Message-6.11-alt1 1444616672 installed <13>Apr 14 02:42:57 rpmi: perl-HTTP-Cookies-6.01-alt1 1329759964 installed <13>Apr 14 02:42:57 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Apr 14 02:42:57 rpmi: perl-Net-HTTP-6.09-alt1 1432310023 installed <13>Apr 14 02:42:57 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Apr 14 02:42:57 rpmi: perl-HTML-Parser-3.72-alt1 1455170565 installed <13>Apr 14 02:42:57 rpmi: perl-libwww-6.15-alt1 1449505512 installed <13>Apr 14 02:42:57 rpmi: icc-profiles-1.0.1-alt1 1200930093 installed <13>Apr 14 02:42:57 rpmi: libgdk-pixbuf-locales-2.36.11-alt0.M80P.1 1507198237 installed <13>Apr 14 02:42:57 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Apr 14 02:42:57 rpmi: libproxy-0.4.14-alt0.M80P.1 1491211278 installed <13>Apr 14 02:42:57 rpmi: djvu-common-3.5.25.3-alt1 1365826139 installed <13>Apr 14 02:42:58 rpmi: libdjvu-3.5.25.3-alt1 1365826137 installed <13>Apr 14 02:42:58 rpmi: libatk-locales-2.24.0-alt0.M80P.1 1504535386 installed <13>Apr 14 02:42:58 rpmi: libatk-2.24.0-alt0.M80P.1 1504535253 installed <13>Apr 14 02:42:58 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Apr 14 02:42:58 rpmi: shared-mime-info-1.9-alt0.M80P.1 1506021412 installed <13>Apr 14 02:42:58 rpmi: gsettings-desktop-schemas-data-3.24.1-alt0.M80P.1 1504768054 installed <13>Apr 14 02:42:58 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 14 02:42:58 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 02:42:58 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 02:42:58 rpmi: libsystemd-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 02:42:58 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 02:42:58 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Apr 14 02:42:58 rpmi: libavahi-0.6.31-alt7.M80P.1 1526318593 installed <13>Apr 14 02:42:58 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 02:42:58 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 02:42:58 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 02:42:58 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 02:42:58 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 02:42:58 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 14 02:42:58 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 02:42:58 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 14 02:42:58 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 14 02:42:58 rpmi: libXcursor-1.1.15-alt1.M80P.1 1512373713 installed <13>Apr 14 02:42:58 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 14 02:42:58 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 14 02:42:58 rpmi: libXinerama-1.1.3-alt1 1369984571 installed <13>Apr 14 02:42:58 rpmi: libat-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Apr 14 02:42:58 rpmi: libXcomposite-0.4.3-alt3 1297306939 installed <13>Apr 14 02:42:58 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Apr 14 02:42:58 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 14 02:42:58 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 02:42:58 rpmi: libEGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 02:42:58 rpmi: libwayland-egl-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 02:42:58 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Apr 14 02:42:58 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Apr 14 02:42:58 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 02:42:58 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 02:42:58 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:42:58 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 02:42:58 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 02:42:58 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 02:42:58 rpmi: python-module-snappy-0.5-alt2.1 1459620721 installed <13>Apr 14 02:42:58 rpmi: rpm-macros-sphinx-1:1.4-alt8.a0.git20150813 1460726255 installed <13>Apr 14 02:42:58 rpmi: python-module-wsaccel-0.6.2-alt1.git20131112.1 1459664766 installed <13>Apr 14 02:42:58 rpmi: python-module-ujson-1.34-alt1.git20140416.1 1459621176 installed <13>Apr 14 02:42:58 rpmi: libgio-2.52.3-alt0.M80P.1 1504533271 installed <13>Apr 14 02:42:58 rpmi: libgdk-pixbuf-2.36.11-alt0.M80P.1 1507198160 installed <13>Apr 14 02:42:58 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 02:42:58 rpmi: gobject-introspection-1.52.1-alt0.M80P.1 1504533480 installed <86>Apr 14 02:42:58 groupadd[87268]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 02:42:58 groupadd[87268]: group added to /etc/gshadow: name=_keytab <86>Apr 14 02:42:58 groupadd[87268]: new group: name=_keytab, GID=499 <13>Apr 14 02:42:58 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 02:42:58 rpmi: libglibmm-2.52.1-alt0.M80P.1 1504768621 installed <13>Apr 14 02:42:58 rpmi: libcups-2.1.0-alt2.M80P.4 p8+223280.100.1.1 1551372192 installed <13>Apr 14 02:42:58 rpmi: libp11-kit-0.23.8-alt1.M80P.1 1504877563 installed <86>Apr 14 02:42:58 groupadd[87799]: group added to /etc/group: name=messagebus, GID=498 <86>Apr 14 02:42:58 groupadd[87799]: group added to /etc/gshadow: name=messagebus <86>Apr 14 02:42:58 groupadd[87799]: new group: name=messagebus, GID=498 <86>Apr 14 02:42:58 useradd[87822]: new user: name=messagebus, UID=499, GID=498, home=/run/dbus, shell=/dev/null <13>Apr 14 02:42:58 rpmi: dbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 02:42:58 rpmi: libatkmm-2.24.2-alt1 1448847317 installed <13>Apr 14 02:42:58 rpmi: gobject-introspection-x11-1.52.1-alt0.M80P.1 1504533480 installed <13>Apr 14 02:42:58 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461609 installed <13>Apr 14 02:42:58 rpmi: gsettings-desktop-schemas-3.24.1-alt0.M80P.1 1504768052 installed <13>Apr 14 02:42:58 rpmi: libgusb-0.2.11-alt0.M80P.1 1503526571 installed <13>Apr 14 02:42:59 rpmi: libcolord-1.3.5-alt0.M80P.1 1488875506 installed <13>Apr 14 02:42:59 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Apr 14 02:42:59 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Apr 14 02:42:59 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Apr 14 02:43:00 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 14 02:43:00 rpmi: libcairo-1:1.14.4-alt1 1447005495 installed <13>Apr 14 02:43:00 rpmi: libcairomm-1.12.0-alt1 1443033142 installed <13>Apr 14 02:43:00 rpmi: libcairo-gobject-1:1.14.4-alt1 1447005495 installed <13>Apr 14 02:43:00 rpmi: perl-XML-SAX-0.99-alt2 1384805188 installed <13>Apr 14 02:43:00 rpmi: perl-XML-Simple-2.22-alt1 1449506808 installed <13>Apr 14 02:43:00 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Apr 14 02:43:01 rpmi: icon-theme-adwaita-3.24.0-alt0.M80P.1 1504567873 installed <13>Apr 14 02:43:02 rpmi: gnome-icon-theme-3.12.0-alt1 1396472723 installed <13>Apr 14 02:43:02 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Apr 14 02:43:02 rpmi: libpango-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 02:43:02 rpmi: libgtk+2-2.24.31-alt1 1473461609 installed <13>Apr 14 02:43:02 rpmi: librsvg-1:2.40.18-alt0.M80P.1 1500537889 installed <13>Apr 14 02:43:02 rpmi: libpangomm-2.40.1-alt1 1473012884 installed <13>Apr 14 02:43:02 rpmi: libgtkmm2-2.24.5-alt0.M80P.1 1486899051 installed <13>Apr 14 02:43:02 rpmi: libgtkspell-2.0.16-alt2 1306243391 installed <13>Apr 14 02:43:02 rpmi: liblasi-1.1.2-alt1.qa1 1460141148 installed <13>Apr 14 02:43:02 rpmi: libpango-gir-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 02:43:02 rpmi: libgd2-2.0.35-alt6 1366289709 installed <13>Apr 14 02:43:02 rpmi: libgs-9.20-alt1.M80P.1 1494700569 installed <13>Apr 14 02:43:03 rpmi: libgraphviz-2.38.0-alt2.1 1448552001 installed <13>Apr 14 02:43:03 rpmi: libImageMagick-6.9.4.7-alt2.M80P.1 1512063387 installed <13>Apr 14 02:43:03 rpmi: fonts-type1-urw-3:1.0.7pre44-alt3 p8+224868.100.1.1 1552412385 installed <13>Apr 14 02:43:03 rpmi: libwmf-0.2.8.4-alt12 1391506961 installed <13>Apr 14 02:43:03 rpmi: wmf-utils-0.2.8.4-alt12 1391506961 installed <13>Apr 14 02:43:03 rpmi: dbus-tools-gui-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 02:43:03 rpmi: at-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Apr 14 02:43:03 rpmi: at-spi2-atk-2.24.1-alt0.M80P.1 1504536077 installed <13>Apr 14 02:43:03 rpmi: libgnutls30-3.6.7-alt0.M80P.1 p8+225835.100.2.1 1554226496 installed <13>Apr 14 02:43:03 rpmi: glib-networking-2.50.0-alt1.M80P.1 1503575484 installed <13>Apr 14 02:43:03 rpmi: libsoup-2.62.2-alt0.M80P.1 1528058397 installed <13>Apr 14 02:43:03 rpmi: libsoup-gnome-2.62.2-alt0.M80P.1 1528058397 installed <13>Apr 14 02:43:03 rpmi: librest-0.8.1-alt0.M80P.1 1509920808 installed <86>Apr 14 02:43:03 groupadd[104038]: group added to /etc/group: name=sasl, GID=497 <86>Apr 14 02:43:03 groupadd[104038]: group added to /etc/gshadow: name=sasl <86>Apr 14 02:43:03 groupadd[104038]: new group: name=sasl, GID=497 <13>Apr 14 02:43:03 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 02:43:03 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 02:43:03 rpmi: libcurl-7.64.0-alt1 p8+220788.100.1.1 1549495393 installed <13>Apr 14 02:43:03 rpmi: libpoppler72-0.61.1-alt1.M80P.1 1524829028 installed <13>Apr 14 02:43:03 rpmi: libpoppler8-glib-0.61.1-alt1.M80P.1 1524829028 installed <13>Apr 14 02:43:03 rpmi: libatk-gir-2.24.0-alt0.M80P.1 1504535253 installed <13>Apr 14 02:43:03 rpmi: libgdk-pixbuf-gir-2.36.11-alt0.M80P.1 1507198160 installed <13>Apr 14 02:43:03 rpmi: libdconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Apr 14 02:43:03 rpmi: dconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Apr 14 02:43:03 rpmi: libgtk+3-schemas-3.22.26-alt0.M80P.1 1510825424 installed <13>Apr 14 02:43:03 rpmi: libpolkit-0.113-alt2 1469643478 installed <86>Apr 14 02:43:04 groupadd[104364]: group added to /etc/group: name=colord, GID=496 <86>Apr 14 02:43:04 groupadd[104364]: group added to /etc/gshadow: name=colord <86>Apr 14 02:43:04 groupadd[104364]: new group: name=colord, GID=496 <86>Apr 14 02:43:04 useradd[104383]: new user: name=colord, UID=498, GID=496, home=/var/colord, shell=/dev/null <13>Apr 14 02:43:04 rpmi: colord-1.3.5-alt0.M80P.1 1488875506 installed <13>Apr 14 02:43:04 rpmi: libjson-glib-1.2.8-alt0.M80P.1 1489956779 installed <13>Apr 14 02:43:04 rpmi: libgtk+3-3.22.26-alt0.M80P.1 1510825302 installed <13>Apr 14 02:43:04 rpmi: libgtk+3-gir-3.22.26-alt0.M80P.1 1510825302 installed <13>Apr 14 02:43:04 rpmi: perl-XML-LibXML-2.0124-alt1 1458750523 installed <13>Apr 14 02:43:04 rpmi: libp11-kit-trust-0.23.8-alt1.M80P.1 1504877563 installed <13>Apr 14 02:43:04 rpmi: dbus-tools-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 02:43:05 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 02:43:05 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:05 rpmi: python3-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Apr 14 02:43:05 rpmi: python3-module-pycparser-2.14-alt1.1 1458071180 installed <13>Apr 14 02:43:05 rpmi: python3-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Apr 14 02:43:05 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 02:43:05 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 02:43:05 rpmi: python3-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Apr 14 02:43:05 rpmi: python3-module-zc-1.0.0-alt6.2 1458024144 installed <13>Apr 14 02:43:05 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:05 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 02:43:05 rpmi: python3-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Apr 14 02:43:05 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 02:43:05 rpmi: python3-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Apr 14 02:43:05 rpmi: python3-module-pygobject3-3.24.1-alt1.M80P.1 1504561842 installed <13>Apr 14 02:43:05 rpmi: python3-module-serial-2.7-alt1.svn20140804.1.1 1460416798 installed <13>Apr 14 02:43:05 rpmi: python3-module-snappy-0.5-alt2.1 1459620721 installed <13>Apr 14 02:43:05 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:05 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 14 02:43:05 rpmi: python3-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Apr 14 02:43:05 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 02:43:05 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 02:43:06 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 02:43:06 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-module-pycrypto-2.7-alt3.a1.git20140620.1 1459652085 installed <13>Apr 14 02:43:06 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 02:43:06 rpmi: python-module-futures-3.0.3-alt1 1439038554 installed <13>Apr 14 02:43:06 rpmi: python-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Apr 14 02:43:06 rpmi: python-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 02:43:06 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 02:43:06 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Apr 14 02:43:06 rpmi: python-module-pycparser-2.14-alt1.1 1458071180 installed <13>Apr 14 02:43:06 rpmi: python-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Apr 14 02:43:06 rpmi: python-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Apr 14 02:43:06 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Apr 14 02:43:06 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 14 02:43:06 rpmi: python-module-pytz-1:2015.4-alt1.1.1 1460413776 installed <13>Apr 14 02:43:06 rpmi: python-module-enchant-1.6.5-alt5 1460390695 installed <13>Apr 14 02:43:06 rpmi: python-module-serial-2.7-alt1.svn20140804.1.1 1460416798 installed <13>Apr 14 02:43:06 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed <13>Apr 14 02:43:06 rpmi: python-module-ecdsa-0.13-alt1.1 1457941564 installed <13>Apr 14 02:43:06 rpmi: python-module-paramiko-1.16.0-alt2.1.1.1 1460405408 installed <13>Apr 14 02:43:06 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 02:43:06 rpmi: python-module-ipaddress-1.0.18-alt0.M80P.1 1525452992 installed <13>Apr 14 02:43:06 rpmi: python-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Apr 14 02:43:06 rpmi: python-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Apr 14 02:43:06 rpmi: python-module-simplejson-3.15.0-alt1.M80P.1 1528995430 installed <13>Apr 14 02:43:06 rpmi: python-module-markupsafe-0.23-alt1.2.1 1459593526 installed <13>Apr 14 02:43:06 rpmi: python-modules-sqlite3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 02:43:06 rpmi: python-module-SQLAlchemy-1.2.15-alt1 p8+223214.600.2.1 1551354313 installed <13>Apr 14 02:43:06 rpmi: python-module-backports-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 02:43:06 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 02:43:06 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 02:43:06 rpmi: python-module-trollius-2.0-alt2.1 1458145800 installed <13>Apr 14 02:43:06 rpmi: python-module-msgpack-0.4.8-alt0.M80P.1 1507224123 installed <13>Apr 14 02:43:06 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 02:43:06 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 14 02:43:06 rpmi: python-module-jinja2-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 14 02:43:06 rpmi: python-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed <13>Apr 14 02:43:06 rpmi: python-module-Fabric-1.10.1-alt1.1.1 1457943302 installed <13>Apr 14 02:43:07 rpmi: python-module-babel-1:2.3.4-alt0.M80P.1 1480881327 installed <13>Apr 14 02:43:07 rpmi: python-module-ndg-httpsclient-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 02:43:07 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Apr 14 02:43:07 rpmi: python-module-urllib3-2:1.21.1-alt1 1506613994 installed <13>Apr 14 02:43:07 rpmi: python-module-requests-2.18.4-alt1 1506613877 installed <13>Apr 14 02:43:07 rpmi: scons-3.0.1-alt0.M80P.1 p8.217801.200 1547224686 installed <13>Apr 14 02:43:07 rpmi: python-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Apr 14 02:43:07 rpmi: python-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 14 02:43:07 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 02:43:07 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 02:43:07 rpmi: python-module-taschenmesser-0.1.5-alt1.git20140825 1415519174 installed <13>Apr 14 02:43:07 rpmi: python-module-boto-2.38.0-alt1.1 1457906767 installed <13>Apr 14 02:43:07 rpmi: python-module-scour-0.29-alt1.git20140726.1.1 1460413992 installed <13>Apr 14 02:43:07 rpmi: python-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 02:43:08 rpmi: python-module-docutils-0.13-alt4.git20150716.1.1 1460400317 installed <13>Apr 14 02:43:08 rpmi: python-module-twisted-core-15.3.0-alt1 1438874883 installed <13>Apr 14 02:43:08 rpmi: python-module-twisted-logger-15.3.0-alt1 1438874883 installed <13>Apr 14 02:43:08 rpmi: python-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 02:43:08 rpmi: python-module-twisted-web-15.3.0-alt1 1438874883 installed <13>Apr 14 02:43:09 rpmi: inkscape-0.92.4-alt0.M80P.1 p8+223780.100.1.1 1551778900 installed <13>Apr 14 02:43:10 rpmi: python-module-Pygments-2.2.0-alt1.M80P.2 p8.214223.100 1538848792 installed <13>Apr 14 02:43:10 rpmi: python-module-sphinx-1:1.4-alt8.a0.git20150813 1460726255 installed <13>Apr 14 02:43:10 rpmi: python-module-alabaster-0.7.6-alt1.git20150703.1 1457857919 installed <13>Apr 14 02:43:10 rpmi: python-module-sphinx-bootstrap-theme-0.4.3-alt1 1415684365 installed <13>Apr 14 02:43:10 rpmi: python-module-sphinxcontrib-spelling-2.1.1-alt2.1.1 1458144873 installed Installing python-module-autobahn-0.9.5-alt1.git20150111.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72242 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-autobahn-0.9.5 + echo 'Source #0 (python-module-autobahn-0.9.5.tar):' Source #0 (python-module-autobahn-0.9.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-autobahn-0.9.5.tar + cd python-module-autobahn-0.9.5 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + install -pm644 /usr/share/python-sphinx/objects.inv ./ + '[' -e ./conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template ./conf.py + ln -s ../objects.inv doc/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.72242 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-autobahn-0.9.5 + pushd autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5/autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5 + 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/autobahn copying autobahn/util.py -> build/lib/autobahn copying autobahn/__init__.py -> build/lib/autobahn creating build/lib/autobahn/wamp copying autobahn/wamp/websocket.py -> build/lib/autobahn/wamp copying autobahn/wamp/uri.py -> build/lib/autobahn/wamp copying autobahn/wamp/types.py -> build/lib/autobahn/wamp copying autobahn/wamp/serializer.py -> build/lib/autobahn/wamp copying autobahn/wamp/role.py -> build/lib/autobahn/wamp copying autobahn/wamp/protocol.py -> build/lib/autobahn/wamp copying autobahn/wamp/message.py -> build/lib/autobahn/wamp copying autobahn/wamp/interfaces.py -> build/lib/autobahn/wamp copying autobahn/wamp/exception.py -> build/lib/autobahn/wamp copying autobahn/wamp/auth.py -> build/lib/autobahn/wamp copying autobahn/wamp/__init__.py -> build/lib/autobahn/wamp creating build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_uri_pattern.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_serializer.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_protocol_peer.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_protocol.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_message.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_auth.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/_test_component.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/__init__.py -> build/lib/autobahn/wamp/test creating build/lib/autobahn/websocket copying autobahn/websocket/xormasker.py -> build/lib/autobahn/websocket copying autobahn/websocket/utf8validator.py -> build/lib/autobahn/websocket copying autobahn/websocket/useragent.py -> build/lib/autobahn/websocket copying autobahn/websocket/protocol.py -> build/lib/autobahn/websocket copying autobahn/websocket/interfaces.py -> build/lib/autobahn/websocket copying autobahn/websocket/http.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_snappy.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_deflate.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_bzip2.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_base.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress.py -> build/lib/autobahn/websocket copying autobahn/websocket/__init__.py -> build/lib/autobahn/websocket creating build/lib/autobahn/websocket/test copying autobahn/websocket/test/test_websocket_url.py -> build/lib/autobahn/websocket/test copying autobahn/websocket/test/__init__.py -> build/lib/autobahn/websocket/test creating build/lib/autobahn/asyncio copying autobahn/asyncio/websocket.py -> build/lib/autobahn/asyncio copying autobahn/asyncio/wamp.py -> build/lib/autobahn/asyncio copying autobahn/asyncio/__init__.py -> build/lib/autobahn/asyncio creating build/lib/autobahn/twisted copying autobahn/twisted/websocket.py -> build/lib/autobahn/twisted copying autobahn/twisted/wamp.py -> build/lib/autobahn/twisted copying autobahn/twisted/util.py -> build/lib/autobahn/twisted copying autobahn/twisted/resource.py -> build/lib/autobahn/twisted copying autobahn/twisted/rawsocket.py -> build/lib/autobahn/twisted copying autobahn/twisted/longpoll.py -> build/lib/autobahn/twisted copying autobahn/twisted/forwarder.py -> build/lib/autobahn/twisted copying autobahn/twisted/flashpolicy.py -> build/lib/autobahn/twisted copying autobahn/twisted/choosereactor.py -> build/lib/autobahn/twisted copying autobahn/twisted/__init__.py -> build/lib/autobahn/twisted package init file 'twisted/plugins/__init__.py' not found (or not a regular file) creating build/lib/twisted creating build/lib/twisted/plugins copying twisted/plugins/autobahn_twistd.py -> build/lib/twisted/plugins copying twisted/plugins/autobahn_endpoints.py -> build/lib/twisted/plugins + popd ~/RPM/BUILD/python-module-autobahn-0.9.5 + pushd ../python3/autobahn ~/RPM/BUILD/python3/autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5 + find -type f -name '*.py' -exec 2to3 -w '{}' + 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 ./twisted/plugins/autobahn_twistd.py RefactoringTool: Refactored ./twisted/plugins/autobahn_endpoints.py RefactoringTool: Refactored ./setup.py RefactoringTool: Refactored ./autobahn/websocket/xormasker.py RefactoringTool: No changes to ./autobahn/websocket/utf8validator.py RefactoringTool: Refactored ./autobahn/websocket/useragent.py RefactoringTool: Refactored ./autobahn/websocket/test/test_websocket_url.py RefactoringTool: Refactored ./autobahn/websocket/protocol.py --- ./twisted/plugins/autobahn_endpoints.py (original) +++ ./twisted/plugins/autobahn_endpoints.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + from zope.interface import implementer --- ./setup.py (original) +++ ./setup.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + import sys import platform @@ -165,6 +165,6 @@ from twisted.plugin import IPlugin, getPlugins list(getPlugins(IPlugin)) except Exception as e: - print("Failed to update Twisted plugin cache: {0}".format(e)) + print(("Failed to update Twisted plugin cache: {0}".format(e))) else: print("Twisted dropin.cache regenerated.") --- ./autobahn/websocket/xormasker.py (original) +++ ./autobahn/websocket/xormasker.py (refactored) @@ -70,7 +70,7 @@ def process(self, data): dlen = len(data) payload = array('B', data) - for k in xrange(dlen): + for k in range(dlen): payload[k] ^= self.msk[self.ptr & 3] self.ptr += 1 return payload.tostring() @@ -83,13 +83,13 @@ self.ptr = 0 self.mskarray = [array('B'), array('B'), array('B'), array('B')] if six.PY3: - for j in xrange(4): + for j in range(4): self.mskarray[0].append(mask[ j & 3]) self.mskarray[1].append(mask[(j + 1) & 3]) self.mskarray[2].append(mask[(j + 2) & 3]) self.mskarray[3].append(mask[(j + 3) & 3]) else: - for j in xrange(4): + for j in range(4): self.mskarray[0].append(ord(mask[ j & 3])) self.mskarray[1].append(ord(mask[(j + 1) & 3])) self.mskarray[2].append(ord(mask[(j + 2) & 3])) @@ -105,7 +105,7 @@ dlen = len(data) payload = array('B', data) msk = self.mskarray[self.ptr & 3] - for k in xrange(dlen): + for k in range(dlen): payload[k] ^= msk[k & 3] self.ptr += dlen return payload.tostring() --- ./autobahn/websocket/useragent.py (original) +++ ./autobahn/websocket/useragent.py (refactored) @@ -295,7 +295,7 @@ """ ws = _lookupWsSupport(ua) if debug: - if not UA_DETECT_WS_SUPPORT_DB.has_key(ua): + if ua not in UA_DETECT_WS_SUPPORT_DB: UA_DETECT_WS_SUPPORT_DB[ua] = ws if not ws[2]: @@ -307,6 +307,6 @@ else: msg = "ERROR" - print("DETECT_WS_SUPPORT: %s %s %s %s %s" % (ua, ws[0], ws[1], ws[2], msg)) + print(("DETECT_WS_SUPPORT: %s %s %s %s %s" % (ua, ws[0], ws[1], ws[2], msg))) return ws --- ./autobahn/websocket/test/test_websocket_url.py (original) +++ ./autobahn/websocket/test/test_websocket_url.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + #from twisted.trial import unittest import unittest --- ./autobahn/websocket/protocol.py (original) +++ ./autobahn/websocket/protocol.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ["createWsUrl", "parseWsUrl", @@ -70,17 +70,17 @@ ## if not six.PY3: ## Python 2 - import urlparse + import urllib.parse else: ## Python 3 from urllib import parse as urlparse wsschemes = ["ws", "wss"] -urlparse.uses_relative.extend(wsschemes) -urlparse.uses_netloc.extend(wsschemes) -urlparse.uses_params.extend(wsschemes) -urlparse.uses_query.extend(wsschemes) -urlparse.uses_fragment.extend(wsschemes) +urllib.parse.uses_relative.extend(wsschemes) +urllib.parse.uses_netloc.extend(wsschemes) +urllib.parse.uses_params.extend(wsschemes) +urllib.parse.uses_query.extend(wsschemes) +urllib.parse.uses_fragment.extendRefactoringTool: No changes to ./autobahn/websocket/interfaces.py RefactoringTool: No changes to ./autobahn/websocket/http.py RefactoringTool: Refactored ./autobahn/websocket/compress_snappy.py RefactoringTool: Refactored ./autobahn/websocket/compress_deflate.py RefactoringTool: Refactored ./autobahn/websocket/compress_bzip2.py RefactoringTool: No changes to ./autobahn/websocket/compress_base.py RefactoringTool: Refactored ./autobahn/websocket/compress.py RefactoringTool: Refactored ./autobahn/wamp/websocket.py (wsschemes) @@ -140,7 +140,7 @@ :returns: tuple -- A tuple (isSecure, host, port, resource, path, params) """ - parsed = urlparse.urlparse(url) + parsed = urllib.parse.urlparse(url) if not parsed.hostname or parsed.hostname == "": raise Exception("invalid WebSocket URL: missing hostname") if parsed.scheme not in ["ws", "wss"]: @@ -162,7 +162,7 @@ path = ppath if parsed.query is not None and parsed.query != "": resource = ppath + "?" + parsed.query - params = urlparse.parse_qs(parsed.query) + params = urllib.parse.parse_qs(parsed.query) else: resource = ppath params = {} @@ -2808,7 +2808,7 @@ """ Parse Hixie76 opening handshake key provided by client. """ - return int(filter(lambda x: x.isdigit(), key)) / key.count(" ") + return int([x for x in key if x.isdigit()]) / key.count(" ") def processHandshake(self): @@ -3233,7 +3233,7 @@ ## optional, user supplied additional HTTP headers ## ## headers from factory, headers from onConnect - for headers_source in (self.factory.headers.items(), headers.items()): + for headers_source in (list(self.factory.headers.items()), list(headers.items())): for uh in headers_source: if isinstance(uh[1], six.string_types): header_values = [uh[1]] @@ -3590,7 +3590,7 @@ self.closeHandshakeTimeout = 1 self.tcpNoDelay = True self.serveFlashSocketPolicy = False - self.flashSocketPolicy = u''' + self.flashSocketPolicy = ''' \x00''' @@ -3930,11 +3930,11 @@ number1 = random.randint(0, max1) product1 = number1 * spaces1 key1 = str(product1) - rchars = filter(lambda x: (0x21 <= x <= 0x2f) or (0x3a <= x <= 0x7e), range(0,127)) - for i in xrange(random.randint(1, 12)): + rchars = [x for x in range(0,127) if (0x21 <= x <= 0x2f) or (0x3a <= x <= 0x7e)] + for i in range(random.randint(1, 12)): p = random.randint(0, len(key1) - 1) key1 = key1[:p] + chr(random.choice(rchars)) + key1[p:] - for i in xrange(spaces1): + for i in range(spaces1): p = random.randint(1, len(key1) - 2) key1 = key1[:p] + ' ' + key1[p:] return key1, number1 @@ -3967,7 +3967,7 @@ ## optional, user supplied additional HTTP headers ## - for uh in self.factory.headers.items(): + for uh in list(self.factory.headers.items()): request += "%s: %s\x0d\x0a" % (uh[0], uh[1]) ## handshake random key --- ./autobahn/websocket/compress_snappy.py (original) +++ ./autobahn/websocket/compress_snappy.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( --- ./autobahn/websocket/compress_deflate.py (original) +++ ./autobahn/websocket/compress_deflate.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( --- ./autobahn/websocket/compress_bzip2.py (original) +++ ./autobahn/websocket/compress_bzip2.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( --- ./autobahn/websocket/compress.py (original) +++ ./autobahn/websocket/compress.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + ## this must be a list (not tuple), since we dynamically ## extend it .. --- ./autobahn/wamp/websocket.py (original) +++ ./autobahn/wamp/websocket.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__= ['WRefactoringTool: No changes to ./autobahn/wamp/uri.py RefactoringTool: Refactored ./autobahn/wamp/types.py ampWebSocketServerProtocol', @@ -31,6 +31,7 @@ from autobahn.wamp.exception import ProtocolError, SerializationError, TransportLost import traceback +import collections @@ -41,7 +42,7 @@ def _bailout(self, code, reason = None): if self.factory.debug_wamp: - print("Failing WAMP-over-WebSocket transport: code = {0}, reason = '{1}'".format(code, reason)) + print(("Failing WAMP-over-WebSocket transport: code = {0}, reason = '{1}'".format(code, reason))) self.failConnection(code, reason) @@ -73,7 +74,7 @@ # noinspection PyBroadException try: if self.factory.debug_wamp: - print("WAMP-over-WebSocket transport lost: wasClean = {0}, code = {1}, reason = '{2}'".format(wasClean, code, reason)) + print(("WAMP-over-WebSocket transport lost: wasClean = {0}, code = {1}, reason = '{2}'".format(wasClean, code, reason))) self._session.onClose(wasClean) except Exception: ## silently ignore exceptions raised here .. @@ -89,7 +90,7 @@ try: for msg in self._serializer.unserialize(payload, isBinary): if self.factory.debug_wamp: - print("RX {0}".format(msg)) + print(("RX {0}".format(msg))) self._session.onMessage(msg) except ProtocolError as e: @@ -112,7 +113,7 @@ if self.isOpen(): try: if self.factory.debug_wamp: - print("TX {0}".format(msg)) + print(("TX {0}".format(msg))) payload, isBinary = self._serializer.serialize(msg) except Exception as e: ## all exceptions raised from above should be serialization errors .. @@ -182,7 +183,7 @@ headers = {} for subprotocol in request.protocols: version, serializerId = parseSubprotocolIdentifier(subprotocol) - if version == 2 and serializerId in self.factory._serializers.keys(): + if version == 2 and serializerId in list(self.factory._serializers.keys()): self._serializer = self.factory._serializers[serializerId] return subprotocol, headers @@ -236,7 +237,7 @@ :class:`autobahn.wamp.interfaces.ISerializer`. :type serializers: list """ - assert(callable(factory)) + assert(isinstance(factory, collections.Callable)) self._factory = factory self.debug_wamp = debug_wamp --- ./autobahn/wamp/types.py (original) +++ ./autobahn/wamp/types.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( 'ComponentConfig', @@ -37,6 +37,7 @@ ) import six +import collections @@ -119,7 +120,7 @@ Information to deny a ``HELLO``. """ - def __init__(self, reason = u"wamp.error.not_authorized", message = None): + def __init__(self, reason = "wamp.error.not_authorized", message = None): """ :param reason: The reason of denying the authentication (an URI, e.g. ``wamp.error.not_authorized``) @@ -267,7 +268,7 @@ in this keyword argument to the callable. :type details_arg: str """ - assert(match is None or (type(match) == six.text_type and match in [u'exact', u'prefix', u'wildcard'])) + assert(match is None or (type(match) == six.text_type and match in ['exact', 'prefix', 'wildcard'])) assert(details_arg is None or type(details_arg) == str) self.match = match @@ -453,10 +454,10 @@ If ``runOne == "partition"``, then ``runPartitions`` MUST be present. :type runOn: str """ - assert(onProgress is None or callable(onProgress)) + assert(onProgress is None or isinstance(onProgress, collections.Callable)) assert(timeout is None or (type(timeout) in list(six.integer_types) + [float] and timeout > 0)) assert(discloseMe is None or type(discloseMe) == bool) - assert(runOn is None or (type(runOn) == six.text_type and runOn in [u"all", u"any", u"partition"RefactoringTool: Refactored ./autobahn/wamp/test/test_uri_pattern.py ])) + assert(runOn is None or (type(runOn) == six.text_type and runOn in ["all", "any", "partition"])) self.onProgress = onProgress self.timeout = timeout --- ./autobahn/wamp/test/test_uri_pattern.py (original) +++ ./autobahn/wamp/test/test_uri_pattern.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + import sys @@ -41,37 +41,37 @@ pass def test_invalid_uris(self): - for u in [u"", - u"com.myapp..update", - u"com.myapp.<123:int>.update", - u"com.myapp.<:product>.update", - u"com.myapp..update", - u"com.myapp..update", + for u in ["", + "com.myapp..update", + "com.myapp.<123:int>.update", + "com.myapp.<:product>.update", + "com.myapp..update", + "com.myapp..update", ]: self.assertRaises(Exception, Pattern, u, Pattern.URI_TARGET_ENDPOINT) def test_valid_uris(self): - for u in [u"com.myapp.proc1", - u"123", - u"com.myapp..update", + for u in ["com.myapp.proc1", + "123", + "com.myapp..update", ]: p = Pattern(u, Pattern.URI_TARGET_ENDPOINT) self.assertIsInstance(p, Pattern) def test_parse_uris(self): tests = [ - (u"com.myapp..update", [ - (u"com.myapp.0.update", {u'product': 0}), - (u"com.myapp.123456.update", {u'product': 123456}), - (u"com.myapp.aaa.update", None), - (u"com.myapp..update", None), - (u"com.myapp.0.delete", None), + ("com.myapp..update", [ + ("com.myapp.0.update", {'product': 0}), + ("com.myapp.123456.update", {'product': 123456}), + ("com.myapp.aaa.update", None), + ("com.myapp..update", None), + ("com.myapp.0.delete", None), ] ), - (u"com.myapp..update", [ - (u"com.myapp.box.update", {u'product': u'box'}), - (u"com.myapp.123456.update", {u'product': u'123456'}), - (u"com.myapp..update", None), + ("com.myapp..update", [ + ("com.myapp.box.update", {'product': 'box'}), + ("com.myapp.123456.update", {'product': '123456'}), + ("com.myapp..update", None), ] ) ] @@ -92,7 +92,7 @@ def test_decorate_endpoint(self): - @wamp.register(u"com.calculator.square") + @wamp.register("com.calculator.square") def square(_): pass @@ -103,11 +103,11 @@ self.assertTrue(square._wampuris[0].is_endpoint()) self.assertFalse(square._wampuris[0].is_handler()) self.assertFalse(square._wampuris[0].is_exception()) - self.assertEqual(square._wampuris[0].uri(), u"com.calculator.square") + self.assertEqual(square._wampuris[0].uri(), "com.calculator.square") self.assertEqual(square._wampuris[0]._type, Pattern.URI_TYPE_EXACT) # noinspection PyUnusedLocal - @wamp.register(u"com.myapp.product..update") + @wamp.register("com.myapp.product..update") def update_product(product = None, label = None): pass @@ -118,11 +118,11 @@ self.assertTrue(update_product._wampuris[0].is_endpoint()) self.assertFalse(update_product._wampuris[0].is_handler()) self.assertFalse(update_product._wampuris[0].is_exception()) - self.assertEqual(update_product._wampuris[0].uri(), u"com.myapp.product..update") + self.assertEqual(update_product._wampuris[0].uri(), "com.myapp.product..update") self.assertEqual(update_product._wampuris[0]._type, Pattern.URI_TYPE_WILDCARD) # noinspection PyUnusedLocal - @wamp.register(u"com.myapp...update") + @wamp.register("com.myapp...update") def update(category = None, cid = None): pass @@ -133,13 +133,13 @@ self.assertTrue(update._wampuris[0].is_endpoint()) self.assertFalse(update._wampuris[0].is_handler()) self.assertFalse(update._wampuris[0].is_exception()) - self.assertEqual(update._wampuris[0].uri(), u"com.myapp...update") + self.assertEqual(update._wampuris[0].uri(), "com.myapp...update") self.assertEqual(update._wampuris[0]._type, Pattern.URI_TYPE_WILDCARD) def test_decorate_handler(self): - @wamp.subscribe(u"com.myapp.on_shutdown") + @wamp.subscribe("com.myapp.on_shutdown") def on_shutdown(): pass @@ -150,11 +150,11 @@ self.assertFalse(on_shutdown._wampuris[0].is_endpoint()) self.assertTrue(on_shutdown._wampuris[0].is_handler()) self.assertFalse(on_shutdown._wampuris[0].is_exception()) - self.assertEqual(on_shutdown._wampuris[0].uri(), u"com.myapp.on_shutdown") + self.assertEqual(on_shutdown._wampuris[0].uri(), "com.myapp.on_shutdown") self.assertEqual(on_shutdown._wampuris[0]._type, Pattern.URI_TYPE_EXACT) # noinspection PyUnusedLocal - @wamp.subscribe(u"com.myapp.product..on_update") + @wamp.subscribe("com.myapp.product..on_update") def on_product_update(product = None, label = None): pass @@ -165,10 +165,10 @@ self.assertFalse(on_product_update._wampuris[0].is_endpoint()) self.assertTrue(on_product_update._wampuris[0].is_handler()) self.assertFalse(on_product_update._wampuris[0].is_exception()) - self.assertEqual(on_product_update._wampuris[0].uri(), u"com.myapp.product..on_update") + self.assertEqual(on_product_update._wampuris[0].uri(), "com.myapp.product..on_update") self.assertEqual(on_product_update._wampuris[0]._type, Pattern.URI_TYPE_WILDCARD) - @wamp.subscribe(u"com.myapp...on_update") + @wamp.subscribe("com.myapp...on_update") def on_update(category = None, cid = None, label = None): pass @@ -179,13 +179,13 @@ self.assertFalse(on_update._wampuris[0].is_endpoint()) self.assertTrue(on_update._wampuris[0].is_handler()) self.assertFalse(on_update._wampuris[0].is_exception()) - self.assertEqual(on_update._wampuris[0].uri(), u"com.myapp...on_update") + self.assertEqual(on_update._wampuris[0].uri(), "com.myapp...on_update") self.assertEqual(on_update._wampuris[0]._type, Pattern.URI_TYPE_WILDCARD) def test_decorate_exception(self): - @wamp.error(u"com.myapp.error") + @wamp.error("com.myapp.error") class AppError(Exception): pass @@ -196,10 +196,10 @@ self.assertFalse(AppError._wampuris[0].is_endpoint()) self.assertFalse(AppError._wampuris[0].is_handler()) self.assertTrue(AppError._wampuris[0].is_exception()) - self.assertEqual(AppError._wampuris[0].uri(), u"com.myapp.error") + self.assertEqual(AppError._wampuris[0].uri(), "com.myapp.error") self.assertEqual(AppError._wampuris[0]._type, Pattern.URI_TYPE_EXACT) - @wamp.error(u"com.myapp.product..product_inactive") + @wamp.error("com.myapp.product..product_inactive") class ProductInactiveError(Exception): pass @@ -210,10 +210,10 @@ self.assertFalse(ProductInactiveError._wampuris[0].is_endpoint()) self.assertFalse(ProductInactiveError._wampuris[0].is_handler()) self.assertTrue(ProductInactiveError._wampuris[0].is_exception()) - self.assertEqual(ProductInactiveError._wampuris[0].uri(), u"com.myapp.product..product_inactive") + self.assertEqual(ProductInactiveError._wampuris[0].uri(), "com.myapp.product..product_inactive") self.assertEqual(ProductInactiveError._wampuris[0]._type, Pattern.URI_TYPE_WILDCARD) - @wamp.error(u"com.myapp...inactive") + @wamp.error("com.myapp...inactive") class ObjectInactiveError(Exception): pass @@ -224,65 +224,65 @@ self.assertFalse(ObjectInactiveError._wampuris[0].is_endpoint()) self.assertFalse(ObjectInactiveError._wampuris[0].is_handler()) self.assertTrue(ObjectInactiveError._wampuris[0].is_exception()) - self.assertEqual(ObjectInactiveError._wampuris[0].uri(), u"com.myapp...inactive") + self.assertEqual(ObjectInactiveError._wampuris[0].uri(), "com.myapp...inactive") self.assertEqual(ObjectInactiveError._wampuris[0]._type, Pattern.URI_TYPE_WILDCARD) def test_match_decorated_endpoint(self): - @wamp.register(u"com.calculator.square") + @wamp.register("com.calculator.square") def square(x): return x - args, kwargs = square._wampuris[0].match(u"com.calculator.square") + args, kwargs = square._wampuris[0].match("com.calculator.square") self.assertEqual(square(666, **kwargs), 666) - @wamp.register(u"com.myapp.product..update") + @wamp.register("com.myapp.product..update") def update_product(product = None, label = None): return product, label - args, kwargs = update_product._wampuris[0].match(u"com.myapp.product.123456.update") + args, kwargs = update_product._wampuris[0].match("com.myapp.product.123456.update") kwargs['label'] = "foobar" self.assertEqual(update_product(**kwargs), (123456, "foobar")) - @wamp.register(u"com.myapp...update") + @wamp.register("com.myapp...update") def update(category = None, cid = None, label = None): return category, cid, label - args, kwargs = update._wampuris[0].match(u"com.myapp.product.123456.update") + args, kwargs = update._wampuris[0].match("com.myapp.product.123456.update") kwargs['label'] = "foobar" self.assertEqual(update(**kwargs), ("product", 123456, "foobar")) def test_match_decorated_handler(self): - @wamp.subscribe(u"com.myapp.on_shutdown") + @wamp.subscribe("com.myapp.on_shutdown") def on_shutdown(): pass - args, kwargs = on_shutdown._wampuris[0].match(u"com.myapp.on_shutdown") + args, kwargs = on_shutdown._wampuris[0].match("com.myapp.on_shutdown") self.assertEqual(on_shutdown(**kwargs), None) - @wamp.subscribe(u"com.myapp.product..on_update") + @wamp.subscribe("com.myapp.product..on_update") def on_product_update(product = None, label = None): return product, label - args, kwargs = on_product_update._wampuris[0].match(u"com.myapp.product.123456.on_update") + args, kwargs = on_product_update._wampuris[0].match("com.myapp.product.123456.on_update") kwargs['label'] = "foobar" self.assertEqual(on_product_update(**kwargs), (123456, "foobar")) - @wamp.subscribe(u"com.myapp...on_update") + @wamp.subscribe("com.myapp...on_update") def on_update(category = None, cid = None, label = None): return category, cid, label - args, kwargs = on_update._wampuris[0].match(u"com.myapp.product.123456.on_update") + args, kwargs = on_update._wampuris[0].match("com.myapp.product.123456.on_update") kwargs['label'] = "foobar" self.assertEqual(on_update(**kwargs), ("product", 123456, "foobar")) def test_match_decorated_exception(self): - @wamp.error(u"com.myapp.error") + @wamp.error("com.myapp.error") class AppError(Exception): def __init__(self, msg): @@ -292,12 +292,12 @@ return self.__class__ == other.__class__ and \ self.args == other.args - args, kwargs = AppError._wampuris[0].match(u"com.myapp.error") + args, kwargs = AppError._wampuris[0].match("com.myapp.error") # noinspection PyArgumentList - self.assertEqual(AppError(u"fuck", **kwargs), AppError(u"fuck")) - - - @wamp.error(u"com.myapp.product..product_inactive") + self.assertEqual(AppError("fuck", **kwargs), AppError("fuck")) + + + @wamp.error("com.myapp.product..product_inactive") class ProductInactiveError(Exception): def __init__(self, msg, product = None): @@ -309,11 +309,11 @@ self.args == other.args and \ self.product == other.product - args, kwargs = ProductInactiveError._wampuris[0].match(u"com.myapp.product.123456.product_inactive") + args, kwargs = ProductInactiveError._wampuris[0].match("com.myapp.product.123456.product_inactive") self.assertEqual(ProductInactiveError("fuck", **kwargs), ProductInactiveError("fuck", 123456)) - @wamp.error(u"com.myapp...inactive") + @wamp.error("com.myapp...inactive") class ObjectInactiveError(Exception): def __init__(self, msg, category = None, product = None): @@ -327,7 +327,7 @@ self.category == other.category and \ self.product == other.product - args, kwargs = ObjectInactiveError._wampuris[0].match(u"com.myapp.product.123456.inactive") + args, kwargs = ObjectInactiveError._wampuris[0].match("com.myapp.product.123456.inactive") self.assertEqual(ObjectInactiveError("fuck", **kwargs), ObjectInactiveError("fuck", "product", 123456)) @@ -424,7 +424,7 @@ def test(): # noinspection PyUnusedLocal - @wamp.error(u"com.test.error") + @wamp.error("com.test.error") class Foo: pass @@ -434,8 +434,8 @@ def test_decorate_endpoint_multiple(self): # noinspection PyUnusedLocal - @wamp.register(u"com.oldapp.oldproc") - @wamp.register(u"com.calculator.square") + @wamp.register("com.oldapp.oldproc") + @wamp.register("com.calculator.square") def square(x): pass @@ -450,23 +450,23 @@ self.assertFalse(square._wampuris[i].is_exception()) self.assertEqual(square._wampuris[i]._type, Pattern.URI_TYPE_EXACT) - self.assertEqual(square._wampuris[0].uri(), u"com.calculator.square") - self.assertEqual(square._wampuris[1].uri(), u"com.oldapp.oldproc") + self.assertEqual(square._wampuris[0].uri(), "com.calculator.square") + self.assertEqual(square._wampuris[1].uri(), "com.oldapp.oldproc") def test_marshal_decorated_exception(self): - @wamp.error(u"com.myapp.error") + @wamp.error("com.myapp.error") class AppError(Exception): pass try: raise AppError("fuck") except Exception as e: - self.assertEqual(e._wampuris[0].uri(), u"com.myapp.error") - - - @wamp.error(u"com.myapp.product..product_inactive") + self.assertEqual(e._wampuris[0].uri(), "com.myapp.error") + + + @wamp.error("com.myapp.product..product_inactive") class ProductInactiveError(Exception): def __init__(self, msg, product = None): @@ -476,7 +476,7 @@ try: raise ProductInactiveError("fuck", 123456) except Exception as e: - self.assertEqual(e._wampuris[0].uri(), u"com.myapp.product..product_inactive") + self.assertEqual(e._wampuris[0].uri(), "com.myapp.product..product_inactive") session = MockSession() session.define(AppError) @@ -493,9 +493,9 @@ ## an URI to be provided self.assertRaises(Exception, session.define, AppError) - session.define(AppError, u"com.myapp.error") - - exc = session.map_error(u"com.myapp.error") + session.define(AppError, "com.myapp.error") + + exc = session.map_error("com.myapp.error") self.assertIsInstance(eRefactoringTool: Refactored ./autobahn/wamp/test/test_serializer.py xc, AppError) @@ -503,17 +503,17 @@ session = MockSession() - @wamp.error(u"com.myapp.error") + @wamp.error("com.myapp.error") class AppError(Exception): pass ## when defining a decorated exception ## an URI must not be provided - self.assertRaises(Exception, session.define, AppError, u"com.myapp.error") + self.assertRaises(Exception, session.define, AppError, "com.myapp.error") session.define(AppError) - exc = session.map_error(u"com.myapp.error") + exc = session.map_error("com.myapp.error") self.assertIsInstance(exc, AppError) @@ -521,7 +521,7 @@ session = MockSession() - exc = session.map_error(u"com.myapp.error") + exc = session.map_error("com.myapp.error") self.assertIsInstance(exc, Exception) @@ -529,11 +529,11 @@ session = MockSession() - @wamp.error(u"com.myapp.error") + @wamp.error("com.myapp.error") class AppError(Exception): pass - @wamp.error(u"com.myapp.error.product_inactive") + @wamp.error("com.myapp.error.product_inactive") class ProductInactiveError(Exception): def __init__(self, product = None): self.product = product @@ -544,12 +544,12 @@ for test in [ #(u"com.myapp.foo.error", [], {}, KwException), - (u"com.myapp.error", [], {}, AppError), - (u"com.myapp.error", ["you are doing it wrong"], {}, AppError), - (u"com.myapp.error", ["you are doing it wrong", 1, 2, 3], {}, AppError), - - (u"com.myapp.error.product_inactive", [], {}, ProductInactiveError), - (u"com.myapp.error.product_inactive", [], {"product": 123456}, ProductInactiveError), + ("com.myapp.error", [], {}, AppError), + ("com.myapp.error", ["you are doing it wrong"], {}, AppError), + ("com.myapp.error", ["you are doing it wrong", 1, 2, 3], {}, AppError), + + ("com.myapp.error.product_inactive", [], {}, ProductInactiveError), + ("com.myapp.error.product_inactive", [], {"product": 123456}, ProductInactiveError), ]: error, args, kwargs, ecls = test exc = session.map_error(error, args, kwargs) --- ./autobahn/wamp/test/test_serializer.py (original) +++ ./autobahn/wamp/test/test_serializer.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + #from twisted.trial import unittest import unittest @@ -28,46 +28,46 @@ def generate_test_messages(): return [ - message.Hello(u"realm1", [role.RoleBrokerFeatures()]), + message.Hello("realm1", [role.RoleBrokerFeatures()]), message.Goodbye(), message.Heartbeat(123, 456), message.Yield(123456), - message.Yield(123456, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}), + message.Yield(123456, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}), message.Yield(123456, progress = True), message.Interrupt(123456), message.Interrupt(123456, mode = message.Interrupt.KILL), message.Invocation(123456, 789123), - message.Invocation(123456, 789123, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}), + message.Invocation(123456, 789123, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}), message.Invocation(123456, 789123, timeout = 10000), message.Result(123456), - message.Result(123456, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}), + message.Result(123456, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}), message.Result(123456, progress = True), message.Cancel(123456), message.Cancel(123456, mode = message.Cancel.KILL), - message.Call(123456, u'com.myapp.procedure1'), - message.Call(123456, u'com.myapp.procedure1', args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}), - message.Call(123456, u'com.myapp.procedure1', timeout = 10000), + message.Call(123456, 'com.myapp.procedure1'RefactoringTool: Refactored ./autobahn/wamp/test/test_protocol_peer.py ), + message.Call(123456, 'com.myapp.procedure1', args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}), + message.Call(123456, 'com.myapp.procedure1', timeout = 10000), message.Unregistered(123456), message.Unregister(123456, 789123), message.Registered(123456, 789123), - message.Register(123456, u'com.myapp.procedure1'), - message.Register(123456, u'com.myapp.procedure1', pkeys = [10, 11, 12]), + message.Register(123456, 'com.myapp.procedure1'), + message.Register(123456, 'com.myapp.procedure1', pkeys = [10, 11, 12]), message.Event(123456, 789123), - message.Event(123456, 789123, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}), + message.Event(123456, 789123, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}), message.Event(123456, 789123, publisher = 300), message.Published(123456, 789123), - message.Publish(123456, u'com.myapp.topic1'), - message.Publish(123456, u'com.myapp.topic1', args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}), - message.Publish(123456, u'com.myapp.topic1', excludeMe = False, exclude = [300], eligible = [100, 200, 300], discloseMe = True), + message.Publish(123456, 'com.myapp.topic1'), + message.Publish(123456, 'com.myapp.topic1', args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}), + message.Publish(123456, 'com.myapp.topic1', excludeMe = False, exclude = [300], eligible = [100, 200, 300], discloseMe = True), message.Unsubscribed(123456), message.Unsubscribe(123456, 789123), message.Subscribed(123456, 789123), - message.Subscribe(123456, u'com.myapp.topic1'), - message.Subscribe(123456, u'com.myapp.topic1', match = message.Subscribe.MATCH_PREFIX), - message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error1'), - message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error1', args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}), - message.Call(123456, u'com.myapp.\u4f60\u597d\u4e16\u754c', args=[1, 2, 3]), - message.Result(123456, args=[1, 2, 3], kwargs={u'en': u'Hello World', u'jp': u'\u3053\u3093\u306b\u3061\u306f\u4e16\u754c'}) + message.Subscribe(123456, 'com.myapp.topic1'), + message.Subscribe(123456, 'com.myapp.topic1', match = message.Subscribe.MATCH_PREFIX), + message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error1'), + message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error1', args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}), + message.Call(123456, 'com.myapp.\u4f60\u597d\u4e16\u754c', args=[1, 2, 3]), + message.Result(123456, args=[1, 2, 3], kwargs={'en': 'Hello World', 'jp': '\u3053\u3093\u306b\u3061\u306f\u4e16\u754c'}) ] --- ./autobahn/wamp/test/test_protocol_peer.py (original) +++ ./autobahn/wamp/test/test_protocol_peer.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + import sys @@ -39,11 +39,11 @@ def test_exception_from_message(self): session = protocol.BaseSession() - @wamp.error(u"com.myapp.error1") + @wamp.error("com.myapp.error1") class AppError1(Exception): pass - @wamp.error(u"com.myapp.error2") + @wamp.error("com.myapp.error2") class AppError2(Exception): pass @@ -52,48 +52,48 @@ ## map defined errors to user exceptions ## - emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error1') + emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error1') exc = session._exception_from_message(emsg) self.assertIsInstance(exc, AppError1) self.assertEqual(exc.args, ()) - emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error2') + emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error2') exc = session._exception_from_message(emsg) self.assertIsInstance(exc, AppError2) self.asserRefactoringTool: Refactored ./autobahn/wamp/test/test_protocol.py tEqual(exc.args, ()) ## map undefined error to (generic) exception ## - emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error3') + emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error3') exc = session._exception_from_message(emsg) self.assertIsInstance(exc, exception.ApplicationError) - self.assertEqual(exc.error, u'com.myapp.error3') + self.assertEqual(exc.error, 'com.myapp.error3') self.assertEqual(exc.args, ()) self.assertEqual(exc.kwargs, {}) - emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error3', args = [1, 2, u'hello']) + emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error3', args = [1, 2, 'hello']) exc = session._exception_from_message(emsg) self.assertIsInstance(exc, exception.ApplicationError) - self.assertEqual(exc.error, u'com.myapp.error3') - self.assertEqual(exc.args, (1, 2, u'hello')) + self.assertEqual(exc.error, 'com.myapp.error3') + self.assertEqual(exc.args, (1, 2, 'hello')) self.assertEqual(exc.kwargs, {}) - emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error3', args = [1, 2, u'hello'], kwargs = {u'foo': 23, u'bar': u'baz'}) + emsg = message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error3', args = [1, 2, 'hello'], kwargs = {'foo': 23, 'bar': 'baz'}) exc = session._exception_from_message(emsg) self.assertIsInstance(exc, exception.ApplicationError) - self.assertEqual(exc.error, u'com.myapp.error3') - self.assertEqual(exc.args, (1, 2, u'hello')) - self.assertEqual(exc.kwargs, {u'foo': 23, u'bar': u'baz'}) + self.assertEqual(exc.error, 'com.myapp.error3') + self.assertEqual(exc.args, (1, 2, 'hello')) + self.assertEqual(exc.kwargs, {'foo': 23, 'bar': 'baz'}) def test_message_from_exception(self): session = protocol.BaseSession() - @wamp.error(u"com.myapp.error1") + @wamp.error("com.myapp.error1") class AppError1(Exception): pass - @wamp.error(u"com.myapp.error2") + @wamp.error("com.myapp.error2") class AppError2(Exception): pass --- ./autobahn/wamp/test/test_protocol.py (original) +++ ./autobahn/wamp/test/test_protocol.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + import os @@ -61,37 +61,37 @@ def send(self, msg): if self._log: payload, isbinary = self._serializer.serialize(msg) - print("Send: {0}".format(payload)) + print(("Send: {0}".format(payload))) reply = None if isinstance(msg, message.Publish): - if msg.topic.startswith(u'com.myapp'): + if msg.topic.startswith('com.myapp'): if msg.acknowledge: reply = message.Published(msg.request, util.id()) elif len(msg.topic) == 0: - reply = message.Error(message.Publish.MESSAGE_TYPE, msg.request, u'wamp.error.invalid_uri') + reply = message.Error(message.Publish.MESSAGE_TYPE, msg.request, 'wamp.error.invalid_uri') else: - reply = message.Error(message.Publish.MESSAGE_TYPE, msg.request, u'wamp.error.not_authorized') + reply = message.Error(message.Publish.MESSAGE_TYPE, msg.request, 'wamp.error.not_authorized') elif isinstance(msg, message.Call): - if msg.procedure == u'com.myapp.procedure1': + if msg.procedure == 'com.myapp.procedure1': reply = message.Result(msg.request, args = [100]) - elif msg.procedure == u'com.myapp.procedure2': + elif msg.procedure == 'com.myapp.procedure2': reply = message.Result(msg.request, args = [1, 2, 3]) - elif msg.procedure == u'com.myapp.procedure3': - reply = message.Result(msg.request, args = [1, 2, 3], kwargs = {u'foo': u'bar', u'baz': 23}) - - elif msg.procedure.startswith(u'com.myapp.myproc'): + elif msg.procedure == 'com.myapp.procedure3': + reply = message.Result(msg.request, args = [1, 2, 3], kwargs = {'foo': 'bar', 'baz': 23}) + + elif msg.procedure.startswith('com.myapp.myproc'): registration = self._registrations[msg.procedure] request = util.id() self._invocations[request] = msg.request reply = message.Invocation(request, registration, args = msg.args, kwargs = msg.kwargs) else: - reply = message.Error(message.Call.MESSAGE_TYPE, msg.request, u'wamp.error.no_such_procedure') + reply = message.Error(message.Call.MESSAGE_TYPE, msg.request, 'wamp.error.no_such_procedure') elif isinstance(msg, message.Yield): - if self._invocations.has_key(msg.request): + if msg.request in self._invocations: request = self._invocations[msg.request] reply = message.Result(request, args = msg.args, kwargs = msg.kwargs) @@ -112,7 +112,7 @@ if reply: if self._log: payload, isbinary = self._serializer.serialize(reply) - print("Receive: {0}".format(payload)) + print(("Receive: {0}".format(payload))) self._handler.onMessage(reply) def isOpen(self): @@ -133,19 +133,19 @@ handler = ApplicationSession() MockTransport(handler) - publication = yield handler.publish(u'com.myapp.topic1') - self.assertEqual(publication, None) - - publication = yield handler.publish(u'com.myapp.topic1', 1, 2, 3) - self.assertEqual(publication, None) - - publication = yield handler.publish(u'com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello') - self.assertEqual(publication, None) - - publication = yield handler.publish(u'com.myapp.topic1', options = types.PublishOptions(excludeMe = False)) - self.assertEqual(publication, None) - - publication = yield handler.publish(u'com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello', options = types.PublishOptions(excludeMe = False, exclude = [100, 200, 300])) + publication = yield handler.publish('com.myapp.topic1') + self.assertEqual(publication, None) + + publication = yield handler.publish('com.myapp.topic1', 1, 2, 3) + self.assertEqual(publication, None) + + publication = yield handler.publish('com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello') + self.assertEqual(publication, None) + + publication = yield handler.publish('com.myapp.topic1', options = types.PublishOptions(excludeMe = False)) + self.assertEqual(publication, None) + + publication = yield handler.publish('com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello', options = types.PublishOptions(excludeMe = False, exclude = [100, 200, 300])) self.assertEqual(publication, None) @@ -154,20 +154,20 @@ handler = ApplicationSession() MockTransport(handler) - publication = yield handler.publish(u'com.myapp.topic1', options = types.PublishOptions(acknowledge = True)) - self.assertTrue(type(publication.id) in (int, long)) - - publication = yield handler.publish(u'com.myapp.topic1', 1, 2, 3, options = types.PublishOptions(acknowledge = True)) - self.assertTrue(type(publication.id) in (int, long)) - - publication = yield handler.publish(u'com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello', options = types.PublishOptions(acknowledge = True)) - self.assertTrue(type(publication.id) in (int, long)) - - publication = yield handler.publish(u'com.myapp.topic1', options = types.PublishOptions(excludeMe = False, acknowledge = True)) - self.assertTrue(type(publication.id) in (int, long)) - - publication = yield handler.publish(u'com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello', options = types.PublishOptions(excludeMe = False, exclude = [100, 200, 300], acknowledge = True)) - self.assertTrue(type(publication.id) in (int, long)) + publication = yield handler.publish('com.myapp.topic1', options = types.PublishOptions(acknowledge = True)) + self.assertTrue(type(publication.id) in (int, int)) + + publication = yield handler.publish('com.myapp.topic1', 1, 2, 3, options = types.PublishOptions(acknowledge = True)) + self.assertTrue(type(publication.id) in (int, int)) + + publication = yield handler.publish('com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello', options = types.PublishOptions(acknowledge = True)) + self.assertTrue(type(publication.id) in (int, int)) + + publication = yield handler.publish('com.myapp.topic1', options = types.PublishOptions(excludeMe = False, acknowledge = True)) + self.assertTrue(type(publication.id) in (int, int)) + + publication = yield handler.publish('com.myapp.topic1', 1, 2, 3, foo = 23, bar = 'hello', options = types.PublishOptions(excludeMe = False, exclude = [100, 200, 300], acknowledge = True)) + self.assertTrue(type(publication.id) in (int, int)) @inlineCallbacks @@ -177,8 +177,8 @@ options = types.PublishOptions(acknowledge = True) - yield self.assertFailure(handler.publish(u'de.myapp.topic1', options = options), ApplicationError) - yield self.assertFailure(handler.publish(u'', options = options), ApplicationError) + yield self.assertFailure(handler.publish('de.myapp.topic1', options = options), ApplicationError) + yield self.assertFailure(handler.publish('', options = options), ApplicationError) @inlineCallbacks @@ -189,10 +189,10 @@ options = types.PublishOptions(acknowledge = True) handler.define(NotAuthorized) - yield self.assertFailure(handler.publish(u'de.myapp.topic1', options = options), NotAuthorized) + yield self.assertFailure(handler.publish('de.myapp.topic1', options = options), NotAuthorized) handler.define(InvalidUri) - yield self.assertFailure(handler.publish(u'', options = options), InvalidUri) + yield self.assertFailure(handler.publish('', options = options), InvalidUri) @inlineCallbacks @@ -200,19 +200,19 @@ handler = ApplicationSession() MockTransport(handler) - res = yield handler.call(u'com.myapp.procedure1') - self.assertEqual(res, 100) - - res = yield handler.call(u'com.myapp.procedure1', 1, 2, 3) - self.assertEqual(res, 100) - - res = yield handler.call(u'com.myapp.procedure1', 1, 2, 3, foo = 23, bar = 'hello') - self.assertEqual(res, 100) - - res = yield handler.call(u'com.myapp.procedure1', options = types.CallOptions(timeout = 10000)) - self.assertEqual(res, 100) - - res = yield handler.call(u'com.myapp.procedure1', 1, 2, 3, foo = 23, bar = 'hello', options = types.CallOptions(timeout = 10000)) + res = yield handler.call('com.myapp.procedure1') + self.assertEqual(res, 100) + + res = yield handler.call('com.myapp.procedure1', 1, 2, 3) + self.assertEqual(res, 100) + + res = yield handler.call('com.myapp.procedure1', 1, 2, 3, foo = 23, bar = 'hello') + self.assertEqual(res, 100) + + res = yield handler.call('com.myapp.procedure1', options = types.CallOptions(timeout = 10000)) + self.assertEqual(res, 100) + + res = yield handler.call('com.myapp.procedure1', 1, 2, 3, foo = 23, bar = 'hello', options = types.CallOptions(timeout = 10000)) self.assertEqual(res, 100) @@ -221,12 +221,12 @@ handler = ApplicationSession() MockTransport(handler) - res = yield handler.call(u'com.myapp.procedure2') + res = yield handler.call('com.myapp.procedure2') self.assertIsInstance(res, types.CallResult) self.assertEqual(res.results, (1, 2, 3)) self.assertEqual(res.kwresults, {}) - res = yield handler.call(u'com.myapp.procedure3') + RefactoringTool: Refactored ./autobahn/wamp/test/test_message.py res = yield handler.call('com.myapp.procedure3') self.assertIsInstance(res, types.CallResult) self.assertEqual(res.results, (1, 2, 3)) self.assertEqual(res.kwresults, {'foo':'bar', 'baz': 23}) @@ -238,13 +238,13 @@ MockTransport(handler) def on_event(*args, **kwargs): - print("got event", args, kwargs) - - subscription = yield handler.subscribe(on_event, u'com.myapp.topic1') - self.assertTrue(type(subscription.id) in (int, long)) - - subscription = yield handler.subscribe(on_event, u'com.myapp.topic1', options = types.SubscribeOptions(match = u'wildcard')) - self.assertTrue(type(subscription.id) in (int, long)) + print(("got event", args, kwargs)) + + subscription = yield handler.subscribe(on_event, 'com.myapp.topic1') + self.assertTrue(type(subscription.id) in (int, int)) + + subscription = yield handler.subscribe(on_event, 'com.myapp.topic1', options = types.SubscribeOptions(match = 'wildcard')) + self.assertTrue(type(subscription.id) in (int, int)) @inlineCallbacks @@ -253,9 +253,9 @@ MockTransport(handler) def on_event(*args, **kwargs): - print("got event", args, kwargs) - - subscription = yield handler.subscribe(on_event, u'com.myapp.topic1') + print(("got event", args, kwargs)) + + subscription = yield handler.subscribe(on_event, 'com.myapp.topic1') yield subscription.unsubscribe() @@ -265,13 +265,13 @@ MockTransport(handler) def on_call(*args, **kwargs): - print("got call", args, kwargs) - - registration = yield handler.register(on_call, u'com.myapp.procedure1') - self.assertTrue(type(registration.id) in (int, long)) - - registration = yield handler.register(on_call, u'com.myapp.procedure1', options = types.RegisterOptions(pkeys = [0, 1, 2])) - self.assertTrue(type(registration.id) in (int, long)) + print(("got call", args, kwargs)) + + registration = yield handler.register(on_call, 'com.myapp.procedure1') + self.assertTrue(type(registration.id) in (int, int)) + + registration = yield handler.register(on_call, 'com.myapp.procedure1', options = types.RegisterOptions(pkeys = [0, 1, 2])) + self.assertTrue(type(registration.id) in (int, int)) @inlineCallbacks @@ -280,9 +280,9 @@ MockTransport(handler) def on_call(*args, **kwargs): - print("got call", args, kwargs) - - registration = yield handler.register(on_call, u'com.myapp.procedure1') + print(("got call", args, kwargs)) + + registration = yield handler.register(on_call, 'com.myapp.procedure1') yield registration.unregister() @@ -294,9 +294,9 @@ def myproc1(): return 23 - yield handler.register(myproc1, u'com.myapp.myproc1') - - res = yield handler.call(u'com.myapp.myproc1') + yield handler.register(myproc1, 'com.myapp.myproc1') + + res = yield handler.call('com.myapp.myproc1') self.assertEqual(res, 23) --- ./autobahn/wamp/test/test_message.py (original) +++ ./autobahn/wamp/test/test_message.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + import sys @@ -44,7 +44,7 @@ self.assertEqual(val, message.check_or_raise_id(val)) def test_invalid_ids(self): - for val in [-1, -9007199254740992, None, b"", b"abc", u"", u"abc", 0.9, Foo(), False, True, [], {}]: + for val in [-1, -9007199254740992, None, b"", b"abc", "", "abc", 0.9, Foo(), False, True, [], {}]: self.assertRaises(ProtocolError, message.check_or_raise_id, val) @@ -53,15 +53,15 @@ class TestUris(unittest.TestCase): def test_valid_uris_loose_nonempty(self): - for u in [u"com.myapp.topic1", - u"com.myapp.product.123", - u"com.myapp.product.1.delete", - u"Com-star.MyApp.**+$for", - u"\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5", - u"hello\x24world", - u"hello\xC2\xA2world", - u"hello\xE2\x82\xACworld", - u"hello\xF0\xA4\xAD\xA2world", + for u in ["com.myapp.topic1", + "com.myapp.product.123", + "com.myapp.product.1.delete", + "Com-star.MyApp.**+$for", + "\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5", + "hello\x24world", + "hello\xC2\xA2world", + "hello\xE2\x82\xACworld", + "hello\xF0\xA4\xAD\xA2world", ]: self.assertEqual(u, message.check_or_raise_uri(u)) @@ -73,31 +73,31 @@ 0.8, b"abc", Foo(), - u"", - u".", - u"com.", - u"com..product", - u"com.my app.product", - u"com.my\tapp.product", - u"com.my\napp.product", - u"com.myapp.product#", - u"com.#.product", + "", + ".", + "com.", + "com..product", + "com.my app.product", + "com.my\tapp.product", + "com.my\napp.product", + "com.myapp.product#", + "com.#.product", ]: self.assertRaises(ProtocolError, message.check_or_raise_uri, u) def test_valid_uris_loose_empty(self): - for u in [u"com.myapp.topic1", - u"com.myapp..123", - u"com.myapp.product.1.", - u"com.", - u".", - u"", - u"Com-star.MyApp.**+$for..foo", - u"\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5..foo", - u"hello\x24world..foo", - u"hello\xC2\xA2world..foo", - u"hello\xE2\x82\xACworld..foo", - u"hello\xF0\xA4\xAD\xA2world..foo", + for u in ["com.myapp.topic1", + "com.myapp..123", + "com.myapp.product.1.", + "com.", + ".", + "", + "Com-star.MyApp.**+$for..foo", + "\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5..foo", + "hello\x24world..foo", + "hello\xC2\xA2world..foo", + "hello\xE2\x82\xACworld..foo", + "hello\xF0\xA4\xAD\xA2world..foo", ]: self.assertEqual(u, message.check_or_raise_uri(u, allowEmptyComponents = True)) @@ -109,19 +109,19 @@ 0.8, b"abc", Foo(), - u"com.my app.product", - u"com.my\tapp.product", - u"com.my\napp.product", - u"com.myapp.product#", - u"com.#.product", + "com.my app.product", + "com.my\tapp.product", + "com.my\napp.product", + "com.myapp.product#", + "com.#.product", ]: self.assertRaises(ProtocolError, message.check_or_raise_uri, u, allowEmptyComponents = True) def test_valid_uris_strict_nonempty(self): - for u in [u"com.myapp.topic1", - u"com.myapp.product.123", - u"com.myapp.product.1.delete", + for u in ["com.myapp.topic1", + "com.myapp.product.123", + "com.myapp.product.1.delete", ]: self.assertEqual(u, message.check_or_raise_uri(u, strict = True)) @@ -133,31 +133,31 @@ 0.8, b"abc", Foo(), - u"", - u".", - u"com.", - u"com..product", - u"com.my app.product", - u"com.my\tapp.product", - u"com.my\napp.product", - u"com.myapp.product#", - u"com.#.product", - u"Com-star.MyApp.**+$for", - u"\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5", - u"hello\x24world", - u"hello\xC2\xA2world", - u"hello\xE2\x82\xACworld", - u"hello\xF0\xA4\xAD\xA2world", + "", + ".", + "com.", + "com..product", + "com.my app.product", + "com.my\tapp.product", + "com.my\napp.product", + "com.myapp.product#", + "com.#.product", + "Com-star.MyApp.**+$for", + "\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5", + "hello\x24world", + "hello\xC2\xA2world", + "hello\xE2\x82\xACworld", + "hello\xF0\xA4\xAD\xA2world", ]: self.assertRaises(ProtocolError, message.check_or_raise_uri, u, strict = True) def test_valid_uris_strict_empty(self): - for u in [u"com.myapp.topic1", - u"com.myapp..123", - u"com.myapp.product.1.", - u"com.", - u".", - u"", + for u in ["com.myapp.topic1", + "com.myapp..123", + "com.myapp.product.1.", + "com.", + ".", + "", ]: self.assertEqual(u, message.check_or_raise_uri(u, strict = True, allowEmptyComponents = True)) @@ -169,17 +169,17 @@ 0.8, b"abc", Foo(), - u"com.my app.product", - u"com.my\tapp.product", - u"com.my\napp.product", - u"com.myapp.product#", - u"com.#.product", - u"Com-star.MyApp.**+$for..foo", - u"\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5..foo", - u"hello\x24world..foo", - u"hello\xC2\xA2world..foo", - u"hello\xE2\x82\xACworld..foo", - u"hello\xF0\xA4\xAD\xA2world..foo", + "com.my app.product", + "com.my\tapp.product", + "com.my\napp.product", + "com.myapp.product#", + "com.#.product", + "Com-star.MyApp.**+$for..foo", + "\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5..foo", + "hello\x24world..foo", + "hello\xC2\xA2world..foo", + "hello\xE2\x82\xACworld..foo", + "hello\xF0\xA4\xAD\xA2world..foo", ]: self.assertRaises(ProtocolError, message.check_or_raise_uri, u, strict = True, allowEmptyComponents = True) @@ -188,46 +188,46 @@ class TestErrorMessage(unittest.TestCase): def test_ctor(self): - e = message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error1') + e = message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error1') msg = e.marshal() self.assertEqual(len(msg), 5) self.assertEqual(msg[0], message.Error.MESSAGE_TYPE) self.assertEqual(msg[1], message.Call.MESSAGE_TYPE) self.assertEqual(msg[2], 123456) self.assertEqual(msg[3], {}) - self.assertEqual(msg[4], u'com.myapp.error1') - - e = message.Error(message.Call.MESSAGE_TYPE, 123456, u'com.myapp.error1', args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg[4], 'com.myapp.error1') + + e = message.Error(message.Call.MESSAGE_TYPE, 123456, 'com.myapp.error1', args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}) msg = e.marshal() self.assertEqual(len(msg), 7) self.assertEqual(msg[0], message.Error.MESSAGE_TYPE) self.assertEqual(msg[1], message.Call.MESSAGE_TYPE) self.assertEqual(msg[2], 123456) self.assertEqual(msg[3], {}) - self.assertEqual(msg[4], u'com.myapp.error1') + self.assertEqual(msg[4], 'com.myapp.error1') self.assertEqual(msg[5], [1, 2, 3]) - self.assertEqual(msg[6], {u'foo': 23, u'bar': u'hello'}) - - - def test_parse_and_marshal(self): - wmsg = [message.Error.MESSAGE_TYPE, message.Call.MESSAGE_TYPE, 123456, {}, u'com.myapp.error1'] + self.assertEqual(msg[6], {'foo': 23, 'bar': 'hello'}) + + + def test_parse_and_marshal(self): + wmsg = [message.Error.MESSAGE_TYPE, message.Call.MESSAGE_TYPE, 123456, {}, 'com.myapp.error1'] msg = message.Error.parse(wmsg) self.assertIsInstance(msg, message.Error) self.assertEqual(msg.request_type, message.Call.MESSAGE_TYPE) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.error, u'com.myapp.error1') - self.assertEqual(msg.args, None) - self.assertEqual(msg.kwargs, None) - self.assertEqual(msg.marshal(), wmsg) - - wmsg = [message.Error.MESSAGE_TYPE, message.Call.MESSAGE_TYPE, 123456, {}, u'com.myapp.error1', [1, 2, 3], {u'foo': 23, u'bar': u'hello'}] + self.assertEqual(msg.error, 'com.myapp.error1') + self.assertEqual(msg.args, None) + self.assertEqual(msg.kwargs, None) + self.assertEqual(msg.marshal(), wmsg) + + wmsg = [message.Error.MESSAGE_TYPE, message.Call.MESSAGE_TYPE, 123456, {}, 'com.myapp.error1', [1, 2, 3], {'foo': 23, 'bar': 'hello'}] msg = message.Error.parse(wmsg) self.assertIsInstance(msg, message.Error) self.assertEqual(msg.request_type, message.Call.MESSAGE_TYPE) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.error, u'com.myapp.error1') + self.assertEqual(msg.error, 'com.myapp.error1') self.assertEqual(msg.args, [1, 2, 3]) - self.assertEqual(msg.kwargs, {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg.kwargs, {'foo': 23, 'bar': 'hello'}) self.assertEqual(msg.marshal(), wmsg) @@ -235,37 +235,37 @@ class TestSubscribeMessage(unittest.TestCase): def test_ctor(self): - e = message.Subscribe(123456, u'com.myapp.topic1') + e = message.Subscribe(123456, 'com.myapp.topic1') msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Subscribe.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - self.assertEqual(msg[3], u'com.myapp.topic1') - - e = message.Subscribe(123456, u'com.myapp.topic1', match = message.Subscribe.MATCH_PREFIX) + self.assertEqual(msg[3], 'com.myapp.topic1') + + e = message.Subscribe(123456, 'com.myapp.topic1', match = message.Subscribe.MATCH_PREFIX) msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Subscribe.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'match': u'prefix'}) - self.assertEqual(msg[3], u'com.myapp.topic1') - - - def test_parse_and_marshal(self): - wmsg = [message.Subscribe.MESSAGE_TYPE, 123456, {}, u'com.myapp.topic1'] + self.assertEqual(msg[2], {'match': 'prefix'}) + self.assertEqual(msg[3], 'com.myapp.topic1') + + + def test_parse_and_marshal(self): + wmsg = [message.Subscribe.MESSAGE_TYPE, 123456, {}, 'com.myapp.topic1'] msg = message.Subscribe.parse(wmsg) self.assertIsInstance(msg, message.Subscribe) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.topic, u'com.myapp.topic1') + self.assertEqual(msg.topic, 'com.myapp.topic1') self.assertEqual(msg.match, message.Subscribe.MATCH_EXACT) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Subscribe.MESSAGE_TYPE, 123456, {u'match': u'prefix'}, u'com.myapp.topic1'] + wmsg = [message.Subscribe.MESSAGE_TYPE, 123456, {'match': 'prefix'}, 'com.myapp.topic1'] msg = message.Subscribe.parse(wmsg) self.assertIsInstance(msg, message.Subscribe) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.topic, u'com.myapp.topic1') + self.assertEqual(msg.topic, 'com.myapp.topic1') self.assertEqual(msg.match, message.Subscribe.MATCH_PREFIX) self.assertEqual(msg.marshal(), wmsg) @@ -335,39 +335,39 @@ class TestPublishMessage(unittest.TestCase): def test_ctor(self): - e = message.Publish(123456, u'com.myapp.topic1') + e = message.Publish(123456, 'com.myapp.topic1') msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Publish.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - self.assertEqual(msg[3], u'com.myapp.topic1') - - e = message.Publish(123456, u'com.myapp.topic1', args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg[3], 'com.myapp.topic1') + + e = message.Publish(123456, 'com.myapp.topic1', args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}) msg = e.marshal() self.assertEqual(len(msg), 6) self.assertEqual(msg[0], message.Publish.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - self.assertEqual(msg[3], u'com.myapp.topic1') + self.assertEqual(msg[3], 'com.myapp.topic1') self.assertEqual(msg[4], [1, 2, 3]) - self.assertEqual(msg[5], {u'foo': 23, u'bar': u'hello'}) - - e = message.Publish(123456, u'com.myapp.topic1', excludeMe = False, exclude = [300], eligible = [100, 200, 300], discloseMe = True) + self.assertEqual(msg[5], {'foo': 23, 'bar': 'hello'}) + + e = message.Publish(123456, 'com.myapp.topic1', excludeMe = False, exclude = [300], eligible = [100, 200, 300], discloseMe = True) msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Publish.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'exclude_me': False, u'disclose_me': True, u'exclude': [300], u'eligible': [100, 200, 300]}) - self.assertEqual(msg[3], u'com.myapp.topic1') - - - def test_parse_and_marshal(self): - wmsg = [message.Publish.MESSAGE_TYPE, 123456, {}, u'com.myapp.topic1'] + self.assertEqual(msg[2], {'exclude_me': False, 'disclose_me': True, 'exclude': [300], 'eligible': [100, 200, 300]}) + self.assertEqual(msg[3], 'com.myapp.topic1') + + + def test_parse_and_marshal(self): + wmsg = [message.Publish.MESSAGE_TYPE, 123456, {}, 'com.myapp.topic1'] msg = message.Publish.parse(wmsg) self.assertIsInstance(msg, message.Publish) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.topic, u'com.myapp.topic1') + self.assertEqual(msg.topic, 'com.myapp.topic1') self.assertEqual(msg.args, None) self.assertEqual(msg.kwargs, None) self.assertEqual(msg.excludeMe, None) @@ -376,24 +376,24 @@ self.assertEqual(msg.discloseMe, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Publish.MESSAGE_TYPE, 123456, {}, u'com.myapp.topic1', [1, 2, 3], {u'foo': 23, u'bar': u'hello'}] + wmsg = [message.Publish.MESSAGE_TYPE, 123456, {}, 'com.myapp.topic1', [1, 2, 3], {'foo': 23, 'bar': 'hello'}] msg = message.Publish.parse(wmsg) self.assertIsInstance(msg, message.Publish) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.topic, u'com.myapp.topic1') + self.assertEqual(msg.topic, 'com.myapp.topic1') self.assertEqual(msg.args, [1, 2, 3]) - self.assertEqual(msg.kwargs, {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg.kwargs, {'foo': 23, 'bar': 'hello'}) self.assertEqual(msg.excludeMe, None) self.assertEqual(msg.exclude, None) self.assertEqual(msg.eligible, None) self.assertEqual(msg.discloseMe, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Publish.MESSAGE_TYPE, 123456, {u'exclude_me': False, u'disclose_me': True, u'exclude': [300], u'eligible': [100, 200, 300]}, u'com.myapp.topic1'] + wmsg = [message.Publish.MESSAGE_TYPE, 123456, {'exclude_me': False, 'disclose_me': True, 'exclude': [300], 'eligible': [100, 200, 300]}, 'com.myapp.topic1'] msg = message.Publish.parse(wmsg) self.assertIsInstance(msg, message.Publish) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.topic, u'com.myapp.topic1') + self.assertEqual(msg.topic, 'com.myapp.topic1') self.assertEqual(msg.args, None) self.assertEqual(msg.kwargs, None) self.assertEqual(msg.excludeMe, False) @@ -436,7 +436,7 @@ self.assertEqual(msg[2], 789123) self.assertEqual(msg[3], {}) - e = message.Event(123456, 789123, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}) + e = message.Event(123456, 789123, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}) msg = e.marshal() self.assertEqual(len(msg), 6) self.assertEqual(msg[0], message.Event.MESSAGE_TYPE) @@ -444,7 +444,7 @@ self.assertEqual(msg[2], 789123) self.assertEqual(msg[3], {}) self.assertEqual(msg[4], [1, 2, 3]) - self.assertEqual(msg[5], {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg[5], {'foo': 23, 'bar': 'hello'}) e = message.Event(123456, 789123, publisher = 300) msg = e.marshal() @@ -452,7 +452,7 @@ self.assertEqual(msg[0], message.Event.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], 789123) - self.assertEqual(msg[3], {u'publisher': 300}) + self.assertEqual(msg[3], {'publisher': 300}) def test_parse_and_marshal(self): @@ -466,17 +466,17 @@ self.assertEqual(msg.publisher, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Event.MESSAGE_TYPE, 123456, 789123, {}, [1, 2, 3], {u'foo': 23, u'bar': u'hello'}] + wmsg = [message.Event.MESSAGE_TYPE, 123456, 789123, {}, [1, 2, 3], {'foo': 23, 'bar': 'hello'}] msg = message.Event.parse(wmsg) self.assertIsInstance(msg, message.Event) self.assertEqual(msg.subscription, 123456) self.assertEqual(msg.publication, 789123) self.assertEqual(msg.args, [1, 2, 3]) - self.assertEqual(msg.kwargs, {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg.kwargs, {'foo': 23, 'bar': 'hello'}) self.assertEqual(msg.publisher, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Event.MESSAGE_TYPE, 123456, 789123, {u'publisher': 300}] + wmsg = [message.Event.MESSAGE_TYPE, 123456, 789123, {'publisher': 300}] msg = message.Event.parse(wmsg) self.assertIsInstance(msg, message.Event) self.assertEqual(msg.subscription, 123456) @@ -491,37 +491,37 @@ class TestRegisterMessage(unittest.TestCase): def test_ctor(self): - e = message.Register(123456, u'com.myapp.procedure1') + e = message.Register(123456, 'com.myapp.procedure1') msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Register.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - self.assertEqual(msg[3], u'com.myapp.procedure1') - - e = message.Register(123456, u'com.myapp.procedure1', pkeys = [10, 11, 12]) + self.assertEqual(msg[3], 'com.myapp.procedure1') + + e = message.Register(123456, 'com.myapp.procedure1', pkeys = [10, 11, 12]) msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Register.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'pkeys': [10, 11, 12]}) - self.assertEqual(msg[3], u'com.myapp.procedure1') - - - def test_parse_and_marshal(self): - wmsg = [message.Register.MESSAGE_TYPE, 123456, {}, u'com.myapp.procedure1'] + self.assertEqual(msg[2], {'pkeys': [10, 11, 12]}) + self.assertEqual(msg[3], 'com.myapp.procedure1') + + + def test_parse_and_marshal(self): + wmsg = [message.Register.MESSAGE_TYPE, 123456, {}, 'com.myapp.procedure1'] msg = message.Register.parse(wmsg) self.assertIsInstance(msg, message.Register) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.procedure, u'com.myapp.procedure1') + self.assertEqual(msg.procedure, 'com.myapp.procedure1') self.assertEqual(msg.pkeys, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Register.MESSAGE_TYPE, 123456, {u'pkeys': [10, 11, 12]}, u'com.myapp.procedure1'] + wmsg = [message.Register.MESSAGE_TYPE, 123456, {'pkeys': [10, 11, 12]}, 'com.myapp.procedure1'] msg = message.Register.parse(wmsg) self.assertIsInstance(msg, message.Register) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.procedure, u'com.myapp.procedure1') + self.assertEqual(msg.procedure, 'com.myapp.procedure1') self.assertEqual(msg.pkeys, [10, 11, 12]) self.assertEqual(msg.marshal(), wmsg) @@ -591,59 +591,59 @@ class TestCallMessage(unittest.TestCase): def test_ctor(self): - e = message.Call(123456, u'com.myapp.procedure1') + e = message.Call(123456, 'com.myapp.procedure1') msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Call.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - self.assertEqual(msg[3], u'com.myapp.procedure1') - - e = message.Call(123456, u'com.myapp.procedure1', args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg[3], 'com.myapp.procedure1') + + e = message.Call(123456, 'com.myapp.procedure1', args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}) msg = e.marshal() self.assertEqual(len(msg), 6) self.assertEqual(msg[0], message.Call.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - self.assertEqual(msg[3], u'com.myapp.procedure1') + self.assertEqual(msg[3], 'com.myapp.procedure1') self.assertEqual(msg[4], [1, 2, 3]) - self.assertEqual(msg[5], {u'foo': 23, u'bar': u'hello'}) - - e = message.Call(123456, u'com.myapp.procedure1', timeout = 10000) + self.assertEqual(msg[5], {'foo': 23, 'bar': 'hello'}) + + e = message.Call(123456, 'com.myapp.procedure1', timeout = 10000) msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Call.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'timeout': 10000}) - self.assertEqual(msg[3], u'com.myapp.procedure1') - - - def test_parse_and_marshal(self): - wmsg = [message.Call.MESSAGE_TYPE, 123456, {}, u'com.myapp.procedure1'] + self.assertEqual(msg[2], {'timeout': 10000}) + self.assertEqual(msg[3], 'com.myapp.procedure1') + + + def test_parse_and_marshal(self): + wmsg = [message.Call.MESSAGE_TYPE, 123456, {}, 'com.myapp.procedure1'] msg = message.Call.parse(wmsg) self.assertIsInstance(msg, message.Call) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.procedure, u'com.myapp.procedure1') + self.assertEqual(msg.procedure, 'com.myapp.procedure1') self.assertEqual(msg.args, None) self.assertEqual(msg.kwargs, None) self.assertEqual(msg.timeout, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Call.MESSAGE_TYPE, 123456, {}, u'com.myapp.procedure1', [1, 2, 3], {u'foo': 23, u'bar': u'hello'}] + wmsg = [message.Call.MESSAGE_TYPE, 123456, {}, 'com.myapp.procedure1', [1, 2, 3], {'foo': 23, 'bar': 'hello'}] msg = message.Call.parse(wmsg) self.assertIsInstance(msg, message.Call) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.procedure, u'com.myapp.procedure1') + self.assertEqual(msg.procedure, 'com.myapp.procedure1') self.assertEqual(msg.args, [1, 2, 3]) - self.assertEqual(msg.kwargs, {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg.kwargs, {'foo': 23, 'bar': 'hello'}) self.assertEqual(msg.timeout, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Call.MESSAGE_TYPE, 123456, {u'timeout': 10000}, u'com.myapp.procedure1'] + wmsg = [message.Call.MESSAGE_TYPE, 123456, {'timeout': 10000}, 'com.myapp.procedure1'] msg = message.Call.parse(wmsg) self.assertIsInstance(msg, message.Call) self.assertEqual(msg.request, 123456) - self.assertEqual(msg.procedure, u'com.myapp.procedure1') + self.assertEqual(msg.procedure, 'com.myapp.procedure1') self.assertEqual(msg.args, None) self.assertEqual(msg.kwargs, None) self.assertEqual(msg.timeout, 10000) @@ -666,7 +666,7 @@ self.assertEqual(len(msg), 3) self.assertEqual(msg[0], message.Cancel.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'mode': message.Cancel.KILL}) + self.assertEqual(msg[2], {'mode': message.Cancel.KILL}) def test_parse_and_marshal(self): @@ -677,7 +677,7 @@ self.assertEqual(msg.mode, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Cancel.MESSAGE_TYPE, 123456, {u'mode': message.Cancel.KILL}] + wmsg = [message.Cancel.MESSAGE_TYPE, 123456, {'mode': message.Cancel.KILL}] msg = message.Cancel.parse(wmsg) self.assertIsInstance(msg, message.Cancel) self.assertEqual(msg.request, 123456) @@ -696,21 +696,21 @@ self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - e = message.Result(123456, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}) + e = message.Result(123456, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}) msg = e.marshal() self.assertEqual(len(msg), 5) self.assertEqual(msg[0], message.Result.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) self.assertEqual(msg[3], [1, 2, 3]) - self.assertEqual(msg[4], {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg[4], {'foo': 23, 'bar': 'hello'}) e = message.Result(123456, progress = True) msg = e.marshal() self.assertEqual(len(msg), 3) self.assertEqual(msg[0], message.Result.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'progress': True}) + self.assertEqual(msg[2], {'progress': True}) def test_parse_and_marshal(self): @@ -723,16 +723,16 @@ self.assertEqual(msg.progress, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Result.MESSAGE_TYPE, 123456, {}, [1, 2, 3], {u'foo': 23, u'bar': u'hello'}] + wmsg = [message.Result.MESSAGE_TYPE, 123456, {}, [1, 2, 3], {'foo': 23, 'bar': 'hello'}] msg = message.Result.parse(wmsg) self.assertIsInstance(msg, message.Result) self.assertEqual(msg.request, 123456) self.assertEqual(msg.args, [1, 2, 3]) - self.assertEqual(msg.kwargs, {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg.kwargs, {'foo': 23, 'bar': 'hello'}) self.assertEqual(msg.progress, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Result.MESSAGE_TYPE, 123456, {u'progress': True}] + wmsg = [message.Result.MESSAGE_TYPE, 123456, {'progress': True}] msg = message.Result.parse(wmsg) self.assertIsInstance(msg, message.Result) self.assertEqual(msg.request, 123456) @@ -754,7 +754,7 @@ self.assertEqual(msg[2], 789123) self.assertEqual(msg[3], {}) - e = message.Invocation(123456, 789123, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}) + e = message.Invocation(123456, 789123, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}) msg = e.marshal() self.assertEqual(len(msg), 6) self.assertEqual(msg[0], message.Invocation.MESSAGE_TYPE) @@ -762,7 +762,7 @@ self.assertEqual(msg[2], 789123) self.assertEqual(msg[3], {}) self.assertEqual(msg[4], [1, 2, 3]) - self.assertEqual(msg[5], {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg[5], {'foo': 23, 'bar': 'hello'}) e = message.Invocation(123456, 789123, timeout = 10000) msg = e.marshal() @@ -770,7 +770,7 @@ self.assertEqual(msg[0], message.Invocation.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], 789123) - self.assertEqual(msg[3], {u'timeout': 10000}) + self.assertEqual(msg[3], {'timeout': 10000}) def test_parse_and_marshal(self): @@ -784,17 +784,17 @@ self.assertEqual(msg.timeout, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Invocation.MESSAGE_TYPE, 123456, 789123, {}, [1, 2, 3], {u'foo': 23, u'bar': u'hello'}] + wmsg = [message.Invocation.MESSAGE_TYPE, 123456, 789123, {}, [1, 2, 3], {'foo': 23, 'bar': 'hello'}] msg = message.Invocation.parse(wmsg) self.assertIsInstance(msg, message.Invocation) self.assertEqual(msg.request, 123456) self.assertEqual(msg.registration, 789123) self.assertEqual(msg.args, [1, 2, 3]) - self.assertEqual(msg.kwargs, {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg.kwargs, {'foo': 23, 'bar': 'hello'}) self.assertEqual(msg.timeout, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Invocation.MESSAGE_TYPE, 123456, 789123, {u'timeout': 10000}] + wmsg = [message.Invocation.MESSAGE_TYPE, 123456, 789123, {'timeout': 10000}] msg = message.Invocation.parse(wmsg) self.assertIsInstance(msg, message.Invocation) self.assertEqual(msg.request, 123456) @@ -821,7 +821,7 @@ self.assertEqual(len(msg), 3) self.assertEqual(msg[0], message.Interrupt.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'mode': message.Interrupt.KILL}) + self.assertEqual(msg[2], {'mode': message.Interrupt.KILL}) def test_parse_and_marshal(self): @@ -832,7 +832,7 @@ self.assertEqual(msg.mode, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Interrupt.MESSAGE_TYPE, 123456, {u'mode': message.Interrupt.KILL}] + wmsg = [message.Interrupt.MESSAGE_TYPE, 123456, {'mode': message.Interrupt.KILL}] msg = message.Interrupt.parse(wmsg) self.assertIsInstance(msg, message.Interrupt) self.assertEqual(msg.request, 123456) @@ -851,21 +851,21 @@ self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) - e = message.Yield(123456, args = [1, 2, 3], kwargs = {u'foo': 23, u'bar': u'hello'}) + e = message.Yield(123456, args = [1, 2, 3], kwargs = {'foo': 23, 'bar': 'hello'}) msg = e.marshal() self.assertEqual(len(msg), 5) self.assertEqual(msg[0], message.Yield.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) self.assertEqual(msg[2], {}) self.assertEqual(msg[3], [1, 2, 3]) - self.assertEqual(msg[4], {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg[4], {'foo': 23, 'bar': 'hello'}) e = message.Yield(123456, progress = True) msg = e.marshal() self.assertEqual(len(msg), 3) self.assertEqual(msg[0], message.Yield.MESSAGE_TYPE) self.assertEqual(msg[1], 123456) - self.assertEqual(msg[2], {u'progress': True}) + self.assertEqual(msg[2], {'progress': True}) def test_parse_and_marshal(self): @@ -878,16 +878,16 @@ self.assertEqual(msg.progress, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Yield.MESSAGE_TYPE, 123456, {}, [1, 2, 3], {u'foo': 23, u'bar': u'hello'}] + wmsg = [message.Yield.MESSAGE_TYPE, 123456, {}, [1, 2, 3], {'foo': 23, 'bar': 'hello'}] msg = message.Yield.parse(wmsg) self.assertIsInstance(msg, message.Yield) self.assertEqual(msg.request, 123456) self.assertEqual(msg.args, [1, 2, 3]) - self.assertEqual(msg.kwargs, {u'foo': 23, u'bar': u'hello'}) + self.assertEqual(msg.kwargs, {'foo': 23, 'bar': 'hello'}) self.assertEqual(msg.progress, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Yield.MESSAGE_TYPE, 123456, {u'progress': True}] + wmsg = [message.Yield.MESSAGE_TYPE, 123456, {'progress': True}] msg = message.Yield.parse(wmsg) self.assertIsInstance(msg, message.Yield) self.assertEqual(msg.request, 123456) @@ -901,38 +901,38 @@ class TestHelloMessage(unittest.TestCase): def test_ctor(self): - e = message.Hello(u"realm1", [role.RoleBrokerFeatures()]) + e = message.Hello("realm1", [role.RoleBrokerFeatures()]) msg = e.marshal() self.assertEqual(len(msg), 3) self.assertEqual(msg[0], message.Hello.MESSAGE_TYPE) - self.assertEqual(msg[1], u"realm1") - self.assertEqual(msg[2], {u'roles': {u'broker': {}}}) - - e = message.Hello(u"realm1", [role.RoleBrokerFeatures(subscriber_blackwhite_listing = True)]) + self.assertEqual(msg[1], "realm1") + self.assertEqual(msg[2], {'roles': {'broker': {}}}) + + e = message.Hello("realm1", [role.RoleBrokerFeatures(subscriber_blackwhite_listing = True)]) msg = e.marshal() self.assertEqual(len(msg), 3) self.assertEqual(msg[0], message.Hello.MESSAGE_TYPE) - self.assertEqual(msg[1], u"realm1") - self.assertEqual(msg[2], {u'roles': {u'broker': {u'features': {u'subscriber_blackwhite_listing': True}}}}) - - - def test_parse_and_marshal(self): - wmsg = [message.Hello.MESSAGE_TYPE, u"realm1", {u'roles': {u'broker': {}}}] + self.assertEqual(msg[1], "realm1") + self.assertEqual(msg[2], {'roles': {'broker': {'features': {'subscriber_blackwhite_listing': True}}}}) + + + def test_parse_and_marshal(self): + wmsg = [message.Hello.MESSAGE_TYPE, "realm1", {'roles': {'broker': {}}}] msg = message.Hello.parse(wmsg) self.assertIsInstance(msg, message.Hello) - self.assertEqual(msg.realm, u"realm1") + self.assertEqual(msg.realm, "realm1") self.assertEqual(msg.roles, [role.RoleBrokerFeatures()]) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Hello.MESSAGE_TYPE, u"realm1", {u'roles': {u'broker': {u'features': {u'subscriber_blackwhite_listing': True}}}}] + wmsg = [message.Hello.MESSAGE_TYPE, "realm1", {'roles': {'broker': {'features': {'subscriber_blackwhite_listing': True}}}}] msg = message.Hello.parse(wmsg) self.assertIsInstance(msg, message.Hello) - self.assertEqual(msg.realm, u"realm1") + self.assertEqual(msg.realm, "realm1") self.assertEqual(msg.roles, [role.RoleBrokerFeatures(subscriber_blackwhite_listing = True)]) self.assertEqual(msg.marshal(), wmsg) def test_str(self): - e = message.Hello(u"realm1", [role.RoleBrokerFeatures()]) + e = message.Hello("realm1", [role.RoleBrokerFeatures()]) self.assertIsInstance(str(e), str) @@ -940,8 +940,8 @@ class TestGoodbyeMessage(unittest.TestCase): def test_ctor(self): - reason = u'wamp.error.system_shutdown' - reason_msg = u'The host is shutting down now.' + reason = 'wamp.error.system_shutdown' + reason_msg = 'The host is shutting down now.' e = message.Goodbye() msg = e.marshal() @@ -961,13 +961,13 @@ msg = e.marshal() self.assertEqual(len(msg), 3) self.assertEqual(msg[0], message.Goodbye.MESSAGE_TYPE) - self.assertEqual(msg[1], {u'message': reason_msg}) + self.assertEqual(msg[1], {'message': reason_msg}) self.assertEqual(msg[2], reason) def test_parse_and_marshal(self): - reason = u'wamp.error.system_shutdown' - reason_msg = u'The host is shutting down now.' + reason = 'wamp.error.system_shutdown' + reason_msg = 'The host is shutting down now.' wmsg = [message.Goodbye.MESSAGE_TYPE] self.assertRaises(ProtocolError, message.Goodbye.parse, wmsg) @@ -975,7 +975,7 @@ wmsg = [message.Goodbye.MESSAGE_TYPE, reason] self.assertRaises(ProtocolError, message.Goodbye.parse, wmsg) - wmsg = [message.Goodbye.MESSAGE_TYPE, {u'message': 100}, reason] + wmsg = [message.Goodbye.MESSAGE_TYPE, {'message': 100}, reason] self.assertRaises(ProtocolError, message.Goodbye.parse, wmsg) wmsg = [message.Goodbye.MESSAGE_TYPE, {}, reason] @@ -985,7 +985,7 @@ self.assertEqual(msg.message, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Goodbye.MESSAGE_TYPE, {u'message': reason_msg}, reason] + wmsg = [message.Goodbye.MESSAGE_TYPE, {'message': reason_msg}, reason] msg = message.Goodbye.parse(wmsg) self.assertIsInstance(msg, message.Goodbye) self.assertEqual(msg.reason, reason) @@ -99RefactoringTool: Refactored ./autobahn/wamp/test/test_auth.py 3,7 +993,7 @@ self.assertEqual(msg.marshal(), wmsg) def test_str(self): - e = message.Goodbye(reason = u'wamp.error.system_shutdown', message = u'The host is shutting down now.') + e = message.Goodbye(reason = 'wamp.error.system_shutdown', message = 'The host is shutting down now.') self.assertIsInstance(str(e), str) @@ -1008,13 +1008,13 @@ self.assertEqual(msg[1], 123) self.assertEqual(msg[2], 456) - e = message.Heartbeat(123, 456, u"discard me") + e = message.Heartbeat(123, 456, "discard me") msg = e.marshal() self.assertEqual(len(msg), 4) self.assertEqual(msg[0], message.Heartbeat.MESSAGE_TYPE) self.assertEqual(msg[1], 123) self.assertEqual(msg[2], 456) - self.assertEqual(msg[3], u"discard me") + self.assertEqual(msg[3], "discard me") def test_parse_and_marshal(self): @@ -1024,7 +1024,7 @@ wmsg = [message.Heartbeat.MESSAGE_TYPE, 100] self.assertRaises(ProtocolError, message.Heartbeat.parse, wmsg) - wmsg = [message.Heartbeat.MESSAGE_TYPE, 100, u"foo"] + wmsg = [message.Heartbeat.MESSAGE_TYPE, 100, "foo"] self.assertRaises(ProtocolError, message.Heartbeat.parse, wmsg) wmsg = [message.Heartbeat.MESSAGE_TYPE, 100, 0] @@ -1041,16 +1041,16 @@ self.assertEqual(msg.discard, None) self.assertEqual(msg.marshal(), wmsg) - wmsg = [message.Heartbeat.MESSAGE_TYPE, 123, 456, u"discard me"] + wmsg = [message.Heartbeat.MESSAGE_TYPE, 123, 456, "discard me"] msg = message.Heartbeat.parse(wmsg) self.assertIsInstance(msg, message.Heartbeat) self.assertEqual(msg.incoming, 123) self.assertEqual(msg.outgoing, 456) - self.assertEqual(msg.discard, u"discard me") + self.assertEqual(msg.discard, "discard me") self.assertEqual(msg.marshal(), wmsg) def test_str(self): - e = message.Heartbeat(123, 456, u"discard me") + e = message.Heartbeat(123, 456, "discard me") self.assertIsInstance(str(e), str) --- ./autobahn/wamp/test/test_auth.py (original) +++ ./autobahn/wamp/test/test_auth.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + #from twisted.trial import unittest import unittest @@ -33,17 +33,17 @@ ## PBKDF2_TEST_VECTORS = [ # From RFC 6070 - (b'password', b'salt', 1, 20, u'0c60c80f961f0e71f3a9b524af6012062fe037a6'), - (b'password', b'salt', 2, 20, u'ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957'), + (b'password', b'salt', 1, 20, '0c60c80f961f0e71f3a9b524af6012062fe037a6'), + (b'password', b'salt', 2, 20, 'ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957'), # From Crypt-PBKDF2 - (b'password', b'ATHENA.MIT.EDUraeburn', 1, 16, u'cdedb5281bb2f801565a1122b2563515'), - (b'password', b'ATHENA.MIT.EDUraeburn', 1, 32, u'cdedb5281bb2f801565a1122b25635150ad1f7a04bb9f3a333ecc0e2e1f70837'), - (b'password', b'ATHENA.MIT.EDUraeburn', 2, 16, u'01dbee7f4a9e243e988b62c73cda935d'), - (b'password', b'ATHENA.MIT.EDUraeburn', 2, 32, u'01dbee7f4a9e243e988b62c73cda935da05378b93244ec8f48a99e61ad799d86'), - (b'password', b'ATHENA.MIT.EDUraeburn', 1200, 32, u'5c08eb61fdf71e4e4ec3cf6ba1f5512ba7e52ddbc5e5142f708a31e2e62b1e13'), - (b'X' * 64, b'pass phrase equals block size', 1200, 32, u'139c30c0966bc32ba55fdbf212530ac9c5ec59f1a452f5cc9ad940fea0598ed1'), - (b'X' * 65, b'pass phrase exceeds block size', 1200, 32, u'9ccad6d468770cd51b10e6a68721be611a8b4d282601db3b36be9246915ec82a'), + (b'password', b'ATHENA.MIT.EDUraeburn', 1, 16, 'cdedb5281bb2f801565a1122b2563515'), + (b'password', b'ATHENA.MIT.EDUraeburn', 1, 32, 'cdedb5281bb2f801565a1122b25635150ad1f7a04bb9f3a333ecc0e2e1f70837'), + (b'password', b'ATHENA.MIT.EDUraeburn', 2, 16, '01dbee7f4a9e243e988b62c73cda935d'), + (b'password', b'ATHENA.MIT.EDUraeburn', 2, 32, '01dbee7f4a9e243e988b62c73cda935da05378b93244ec8f48a99e61ad799d86'), + (b'password', b'ATHENA.MIT.EDUraeburn', 1200, 32, '5c08eb61fdf71e4e4ec3cf6ba1f5512ba7e52ddbc5e5142f7RefactoringTool: Refactored ./autobahn/wamp/test/_test_component.py 08a31e2e62b1e13'), + (b'X' * 64, b'pass phrase equals block size', 1200, 32, '139c30c0966bc32ba55fdbf212530ac9c5ec59f1a452f5cc9ad940fea0598ed1'), + (b'X' * 65, b'pass phrase exceeds block size', 1200, 32, '9ccad6d468770cd51b10e6a68721be611a8b4d282601db3b36be9246915ec82a'), ] if platform.python_implementation() != 'PyPy': @@ -53,9 +53,9 @@ PBKDF2_TEST_VECTORS.extend( [ # From RFC 6070 - (b'password', b'salt', 4096, 20, u'4b007901b765489abead49d926f721d065a429c1'), - (b'passwordPASSWORDpassword', b'saltSALTsaltSALTsaltSALTsaltSALTsalt', 4096, 25, u'3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038'), - (b'pass\x00word', b'sa\x00lt', 4096, 16, u'56fa6aa75548099dcc37d7f03425e0c3'), + (b'password', b'salt', 4096, 20, '4b007901b765489abead49d926f721d065a429c1'), + (b'passwordPASSWORDpassword', b'saltSALTsaltSALTsaltSALTsaltSALTsalt', 4096, 25, '3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038'), + (b'pass\x00word', b'sa\x00lt', 4096, 16, '56fa6aa75548099dcc37d7f03425e0c3'), # This one is from the RFC but it just takes for ages #(b'password', b'salt', 16777216, 20, u'eefe3d61cd4da4e4e9945b3d6ba2158c2634e984'), @@ -103,8 +103,8 @@ def test_derive_key(self): - secret = u'L3L1YUE8Txlw' - salt = u'salt123' + secret = 'L3L1YUE8Txlw' + salt = 'salt123' key = auth.derive_key(secret.encode('utf8'), salt.encode('utf8')) self.assertEqual(type(key), bytes) self.assertEqual(key, b"qzcdsr9uu/L5hnss3kjNTRe490ETgA70ZBaB5rvnJ5Y=") @@ -124,7 +124,7 @@ def test_compute_wcs(self): - secret = u'L3L1YUE8Txlw' + secret = 'L3L1YUE8Txlw' challenge = json.dumps([1,2,3], ensure_ascii = False).encode('utf8') signature = auth.compute_wcs(secret.encode('utf8'), challenge) self.assertEqual(type(signature), bytes) --- ./autobahn/wamp/test/_test_component.py (original) +++ ./autobahn/wamp/test/_test_component.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + from twisted.trial import unittest #import unittest @@ -72,7 +72,7 @@ else: sargs = "-" - msg = u'= : {0:>3} : {1:<20} : {2}'.format(self._logline, self.__class__.__name__, sargs) + msg = '= : {0:>3} : {1:<20} : {2}'.format(self._logline, self.__class__.__name__, sargs) self._logline += 1 print(msg) self.config.dlog.append(msg) @@ -145,21 +145,21 @@ def stars(nick = "somebody", stars = 0): self.log("stars() is invoked", nick, stars) - return u"{0} starred {1}x".format(nick, stars) + return "{0} starred {1}x".format(nick, stars) def orders(product, limit = 5): self.log("orders() is invoked", product, limit) - return [u"Product {0}".format(i) for i in range(50)][:limit] + return ["Product {0}".format(i) for i in range(50)][:limit] def arglen(*args, **kwargs): self.log("arglen() is invoked", args, kwargs) return [len(args), len(kwargs)] - yield self.register(ping, u'com.arguments.ping') - yield self.register(add2, u'com.arguments.add2') - yield self.register(stars, u'com.arguments.stars') - yield self.register(orders, u'com.arguments.orders') - yield self.register(arglen, u'com.arguments.arglen') + yield self.register(ping, 'com.arguments.ping') + yield self.register(add2, 'com.arguments.add2') + yield self.register(stars, 'com.arguments.stars') + yield self.register(orders, 'com.arguments.orders') + yield self.register(arglen, 'com.arguments.arglen') self.log("procedures registered") @@ -179,40 +179,40 @@ yield sleep(1) - yield self.call(u'com.arguments.ping') + yield self.call('com.arguments.ping') self.log("Pinged!") - res = yield self.call(u'com.arguments.add2', 2, 3) + res = yield self.call('com.arguments.add2', 2, 3) self.log("Add2: {0}".format(reRefactoringTool: Refactored ./autobahn/wamp/serializer.py s)) - starred = yield self.call(u'com.arguments.stars') + starred = yield self.call('com.arguments.stars') self.log("Starred 1: {0}".format(starred)) - starred = yield self.call(u'com.arguments.stars', nick = u'Homer') + starred = yield self.call('com.arguments.stars', nick = 'Homer') self.log("Starred 2: {0}".format(starred)) - starred = yield self.call(u'com.arguments.stars', stars = 5) + starred = yield self.call('com.arguments.stars', stars = 5) self.log("Starred 3: {0}".format(starred)) - starred = yield self.call(u'com.arguments.stars', nick = u'Homer', stars = 5) + starred = yield self.call('com.arguments.stars', nick = 'Homer', stars = 5) self.log("Starred 4: {0}".format(starred)) - orders = yield self.call(u'com.arguments.orders', u'coffee') + orders = yield self.call('com.arguments.orders', 'coffee') self.log("Orders 1: {0}".format(orders)) - orders = yield self.call(u'com.arguments.orders', u'coffee', limit = 10) + orders = yield self.call('com.arguments.orders', 'coffee', limit = 10) self.log("Orders 2: {0}".format(orders)) - arglengths = yield self.call(u'com.arguments.arglen') + arglengths = yield self.call('com.arguments.arglen') self.log("Arglen 1: {0}".format(arglengths)) - arglengths = yield self.call(u'com.arguments.arglen', 1, 2, 3) + arglengths = yield self.call('com.arguments.arglen', 1, 2, 3) self.log("Arglen 1: {0}".format(arglengths)) - arglengths = yield self.call(u'com.arguments.arglen', a = 1, b = 2, c = 3) + arglengths = yield self.call('com.arguments.arglen', a = 1, b = 2, c = 3) self.log("Arglen 2: {0}".format(arglengths)) - arglengths = yield self.call(u'com.arguments.arglen', 1, 2, 3, a = 1, b = 2, c = 3) + arglengths = yield self.call('com.arguments.arglen', 1, 2, 3, a = 1, b = 2, c = 3) self.log("Arglen 3: {0}".format(arglengths)) self.log("finishing") @@ -225,7 +225,7 @@ def setUp(self): self.debug = False - self.realm = u"realm1" + self.realm = "realm1" self.transport = "websocket" self.url = "ws://127.0.0.1:8080" self.client = "tcp:127.0.0.1:8080" @@ -348,12 +348,12 @@ def sendMessage(self, payload, isBinary): self.txcnt += 1 - print("> : {0:>3} : {1:<20} : {3}".format(self.txcnt, Klass.__name__, payload)) + print(("> : {0:>3} : {1:<20} : {3}".format(self.txcnt, Klass.__name__, payload))) WampWebSocketClientProtocol.sendMessage(self, payload, isBinary) def onMessage(self, payload, isBinary): self.rxcnt += 1 - print("< : {0:>3} : {1:<20} : {2}".format(self.rxcnt, Klass.__name__, payload)) + print(("< : {0:>3} : {1:<20} : {2}".format(self.rxcnt, Klass.__name__, payload))) WampWebSocketClientProtocol.onMessage(self, payload, isBinary) return TestClientProtocol @@ -403,8 +403,8 @@ if config.connected_clients: for proto in config.connected_clients: proto.transport.abortConnection() - print("Log length: {0}".format(len(config.dlog))) - print(config.dlog) + print(("Log length: {0}".format(len(config.dlog)))) + print((config.dlog)) #from twisted.internet import reactor #reactor.callLater(1, reactor.stop) --- ./autobahn/wamp/serializer.py (original) +++ ./autobahn/wamp/serializer.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + ## note: __all__ must be a list here, since we dynamically ## extend it depending on availability of more serializers @@ -113,7 +113,7 @@ raise ProtocolError("invalid type {0RefactoringTool: Refactored ./autobahn/wamp/role.py RefactoringTool: Refactored ./autobahn/wamp/protocol.py } for WAMP message".format(type(raw_msg))) if len(raw_msg) == 0: - raise ProtocolError(u"missing message type in WAMP message") + raise ProtocolError("missing message type in WAMP message") message_type = raw_msg[0] --- ./autobahn/wamp/role.py (original) +++ ./autobahn/wamp/role.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ['RoleFeatures', 'RoleBrokerFeatures', @@ -62,7 +62,7 @@ class RoleBrokerFeatures(RoleCommonPubSubFeatures): - ROLE = u'broker' + ROLE = 'broker' def __init__(self, subscriber_blackwhite_listing = None, @@ -87,7 +87,7 @@ class RoleSubscriberFeatures(RoleCommonPubSubFeatures): - ROLE = u'subscriber' + ROLE = 'subscriber' def __init__(self, publication_trustlevels = None, @@ -108,7 +108,7 @@ class RolePublisherFeatures(RoleCommonPubSubFeatures): - ROLE = u'publisher' + ROLE = 'publisher' def __init__(self, subscriber_blackwhite_listing = None, @@ -139,7 +139,7 @@ class RoleDealerFeatures(RoleCommonRpcFeatures): - ROLE = u'dealer' + ROLE = 'dealer' def __init__(self, callee_blackwhite_listing = None, @@ -158,7 +158,7 @@ class RoleCallerFeatures(RoleCommonRpcFeatures): - ROLE = u'caller' + ROLE = 'caller' def __init__(self, callee_blackwhite_listing = None, @@ -173,7 +173,7 @@ class RoleCalleeFeatures(RoleCommonRpcFeatures): - ROLE = u'callee' + ROLE = 'callee' def __init__(self, call_trustlevels = None, @@ -187,10 +187,10 @@ ROLE_NAME_TO_CLASS = { - u'broker': RoleBrokerFeatures, - u'subscriber': RoleSubscriberFeatures, - u'publisher': RolePublisherFeatures, - u'dealer': RoleDealerFeatures, - u'caller': RoleCallerFeatures, - u'callee': RoleCalleeFeatures, + 'broker': RoleBrokerFeatures, + 'subscriber': RoleSubscriberFeatures, + 'publisher': RolePublisherFeatures, + 'dealer': RoleDealerFeatures, + 'caller': RoleCallerFeatures, + 'callee': RoleCalleeFeatures, } --- ./autobahn/wamp/protocol.py (original) +++ ./autobahn/wamp/protocol.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + import inspect import six @@ -40,6 +40,7 @@ from autobahn.wamp import exception from autobahn.wamp.exception import ProtocolError, SessionNotReady from autobahn.wamp.types import SessionDetails +import collections @@ -234,7 +235,7 @@ if exc.__class__ in self._ecls_to_uri_pat: error = self._ecls_to_uri_pat[exc.__class__][0]._uri else: - error = u"wamp.error.runtime_error" + error = "wamp.error.runtime_error" msg = message.Error(request_type, request, error, args, kwargs) @@ -312,7 +313,7 @@ Constructor. """ BaseSession.__init__(self) - self.config = config or types.ComponentConfig(realm = u"default") + self.config = config or types.ComponentConfig(realm = "default") self._transport = None self._session_id = None @@ -418,7 +419,7 @@ self._transport.send(reply) def error(err): - reply = message.Abort(u"wamp.error.cannot_authenticate", u"{0}".format(err.value)) + reply = message.Abort("wamp.error.cannot_authenticate", "{0}".format(err.value)) self._transport.send(reply) ## fire callback and close the transport self.onLeave(types.CloseDetails(reply.reason, reply.message)) @@ -480,7 +481,7 @@ except Exception as e: if self.debug_app: - print("Failure while firing event handler {0} subscribed under '{1}' ({2}): {3}".format(handler.fn, handler.topic, msg.subscription, e)) + print(("Failure while firing event handler {0} subscribed under '{1}' ({2}): {3}".format(handler.fn, handler.topic, msg.subscription, e))) else: raise ProtocolError("EVENT received for non-subscribed subscription ID {0}".format(msg.subscription)) @@ -542,7 +543,7 @@ except Exception as e: ## silently drop exceptions raised in progressive results handlers if self.debug: - print("Exception raised in progressive results handler: {0}".format(e)) + print(("Exception raised in progressive results handler: {0}".format(e))) else: ## silently ignore progressive results pass @@ -643,7 +644,7 @@ tb = None if self.debug_app: - print("Failure while invoking procedure {0} registered under '{1}' ({2}):".format(endpoint.fn, endpoint.procedure, msg.registration)) + print(("Failure while invoking procedure {0} registered under '{1}' ({2}):".format(endpoint.fn, endpoint.procedure, msg.registration))) print(err) del self._invocations[msg.request] @@ -669,7 +670,7 @@ self._invocations[msg.request].cancel() except Exception: if self.debug: - print("could not cancel call {0}".format(msg.request)) + print(("could not cancel call {0}".format(msg.request))) finally: del self._invocations[msg.request] @@ -756,7 +757,7 @@ self.onLeave(types.CloseDetails()) except Exception as e: if self.debug: - print("exception raised in onLeave callback: {0}".format(e)) + print(("exception raised in onLeave callback: {0}".format(e))) self._session_id = None @@ -792,12 +793,12 @@ if not self._goodbye_sent: if not reason: - reason = u"wamp.close.normal" + reason = "wamp.close.normal" msg = wamp.message.Goodbye(reason = reason, message = log_message) self._transport.send(msg) self._goodbye_sent = True else: - raise SessionNotReady(u"Already requested to close the session") + raise SessionNotReady("Already requested to close the session") def publish(self, topic, *args, **kwargs): @@ -834,7 +835,7 @@ """ Implements :func:`autobahn.wamp.interfaces.ISubscriber.subscribe` """ - assert((callable(handler) and topic is not None) or hasattr(handler, '__class__')) + assert((isinstance(handler, collections.Callable) and topic is not None) or hasattr(handler, '__class__')) if topic and six.PY2 and type(topic) == str: topic = six.u(topic) assert(topic is None or type(topic) == six.text_type) @@ -857,7 +858,7 @@ self._transport.send(msg) return d - if callable(handler): + if isinstance(handler, collections.Callable): ## subscribe a single handler return _subscribe(None, handler, topic, options) @@ -935,7 +936,7 @@ """ Implements :func:`autobahn.wamp.interfaces.ICallee.register` """ - assert((callable(endpoint) and procedure is not None) or hasattr(endpoint, '__class__')) + assert((isinstance(endpoint, collections.Callable) and procedure is not None) or hasattr(endpoint, '__class__')) if procedure and six.PY2 and type(procedure) == str: procedure = six.u(procedure) assert(procedure is None or type(procedure) == six.text_type) @@ -958,7 +959,7 @@ self._transport.send(msg) return d - if callable(endpoint): + if isinstance(endpoint, collections.Callable): ## register a single callable ## return _register(None, endpoint, procedure, options) @@ -1027,7 +1028,7 @@ :param config: The default component configuration. :type confRefactoringTool: Refactored ./autobahn/wamp/message.py ig: instance of :class:`autobahn.wamp.types.ComponentConfig` """ - self.config = config or types.ComponentConfig(realm = u"default") + self.config = config or types.ComponentConfig(realm = "default") def __call__(self): --- ./autobahn/wamp/message.py (original) +++ ./autobahn/wamp/message.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ('Message', 'Hello', @@ -73,7 +73,7 @@ -def check_or_raise_uri(value, message = u"WAMP message invalid", strict = False, allowEmptyComponents = False): +def check_or_raise_uri(value, message = "WAMP message invalid", strict = False, allowEmptyComponents = False): """ Check a value for being a valid WAMP URI. @@ -95,7 +95,7 @@ :raises: instance of :class:`autobahn.wamp.exception.ProtocolError` """ if type(value) != six.text_type: - raise ProtocolError(u"{0}: invalid type {1} for URI".format(message, type(value))) + raise ProtocolError("{0}: invalid type {1} for URI".format(message, type(value))) if strict: if allowEmptyComponents: @@ -109,13 +109,13 @@ pat = _URI_PAT_LOOSE_NON_EMPTY if not pat.match(value): - raise ProtocolError(u"{0}: invalid value '{1}' for URI".format(message, value)) + raise ProtocolError("{0}: invalid value '{1}' for URI".format(message, value)) else: return value -def check_or_raise_id(value, message = u"WAMP message invalid"): +def check_or_raise_id(value, message = "WAMP message invalid"): """ Check a value for being a valid WAMP ID. @@ -132,14 +132,14 @@ :raises: instance of :class:`autobahn.wamp.exception.ProtocolError` """ if type(value) not in six.integer_types: - raise ProtocolError(u"{0}: invalid type {1} for ID".format(message, type(value))) + raise ProtocolError("{0}: invalid type {1} for ID".format(message, type(value))) if value < 0 or value > 9007199254740992: # 2**53 - raise ProtocolError(u"{0}: invalid value {1} for ID".format(message, value)) + raise ProtocolError("{0}: invalid value {1} for ID".format(message, value)) return value -def check_or_raise_extra(value, message = u"WAMP message invalid"): +def check_or_raise_extra(value, message = "WAMP message invalid"): """ Check a value for being a valid WAMP extra dictionary. @@ -156,10 +156,10 @@ :raises: instance of :class:`autobahn.wamp.exception.ProtocolError` """ if type(value) != dict: - raise ProtocolError(u"{0}: invalid type {1}".format(message, type(value))) - for k in value.keys(): + raise ProtocolError("{0}: invalid type {1}".format(message, type(value))) + for k in list(value.keys()): if type(k) != six.text_type: - raise ProtocolError(u"{0}: invalid type {1} for key '{2}'".format(message, type(k), k)) + raise ProtocolError("{0}: invalid type {1} for key '{2}'".format(message, type(k), k)) return value @@ -257,18 +257,18 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for HELLO".format(len(wmsg))) - realm = check_or_raise_uri(wmsg[1], u"'realm' in HELLO") - details = check_or_raise_extra(wmsg[2], u"'details' in HELLO") + realm = check_or_raise_uri(wmsg[1], "'realm' in HELLO") + details = check_or_raise_extra(wmsg[2], "'details' in HELLO") roles = [] - if not u'roles' in details: - raise ProtocolError(u"missing mandatory roles attribute in options in HELLO") - - details_roles = check_or_raise_extra(details[u'roles'], u"'roles' in 'details' in HELLO") + if not 'roles' in details: + raise ProtocolError("missing mandatory roles attribute in options in HELLO") + + details_roles = check_or_raise_extra(details['roles'], "'roles' in 'details' in HELLO") if len(details_roles) == 0: - raise ProtocolError(u"empty 'roles' in 'details' in HELLO") + raise ProtocolError("empty 'roles' in 'details' in HELLO") for role in details_roles: if role not in ROLE_NAME_TO_CLASS: @@ -278,11 +278,11 @@ details_role = check_or_raise_extra(details_roles[role], "role '{0}' in 'roles' in 'details' in HELLO".format(role)) - if u'features' in details_role: - check_or_raise_extra(details_role[u'features'], "'features' in role '{0}' in 'roles' in 'details' in HELLO".format(role)) + if 'features' in details_role: + check_or_raise_extra(details_role['features'], "'features' in role '{0}' in 'roles' in 'details' in HELLO".format(role)) ## FIXME: skip unknown attributes - role_features = role_cls(**details_role[u'features']) + role_features = role_cls(**details_role['features']) else: role_features = role_cls() @@ -290,8 +290,8 @@ roles.append(role_features) authmethods = None - if u'authmethods' in details: - details_authmethods = details[u'authmethods'] + if 'authmethods' in details: + details_authmethods = details['authmethods'] if type(details_authmethods) != list: raise ProtocolError("invalid type {0} for 'authmethods' detail in HELLO".format(type(details_authmethods))) @@ -302,8 +302,8 @@ authmethods = details_authmethods authid = None - if u'authid' in details: - details_authid = details[u'authid'] + if 'authid' in details: + details_authid = details['authid'] if type(details_authid) != six.text_type: raise ProtocolError("invalid type {0} for 'authid' detail in HELLO".format(type(details_authid))) @@ -318,20 +318,20 @@ """ Implements :func:`autobahn.wamp.interfaces.IMessage.marshal` """ - details = {u'roles': {}} + details = {'roles': {}} for role in self.roles: - details[u'roles'][role.ROLE] = {} + details['roles'][role.ROLE] = {} for feature in role.__dict__: if not feature.startswith('_') and feature != 'ROLE' and getattr(role, feature) is not None: - if not u'features' in details[u'roles'][role.ROLE]: - details[u'roles'][role.ROLE] = {u'features': {}} - details[u'roles'][role.ROLE][u'features'][six.u(feature)] = getattr(role, feature) + if not 'features' in details['roles'][role.ROLE]: + details['roles'][role.ROLE] = {'features': {}} + details['roles'][role.ROLE]['features'][six.u(feature)] = getattr(role, feature) if self.authmethods: - details[u'authmethods'] = self.authmethods + details['authmethods'] = self.authmethods if self.authid: - details[u'authid'] = self.authid + details['authid'] = self.authid return [Hello.MESSAGE_TYPE, self.realm, details] @@ -408,23 +408,23 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for WELCOME".format(len(wmsg))) - session = check_or_raise_id(wmsg[1], u"'session' in WELCOME") - details = check_or_raise_extra(wmsg[2], u"'details' in WELCOME") - - authid = details.get(u'authid', None) - authrole = details.get(u'authrole', None) - authmethod = details.get(u'authmethod', None) - authprovider = details.get(u'authprovider', None) + session = check_or_raise_id(wmsg[1], "'session' in WELCOME") + details = check_or_raise_extra(wmsg[2], "'details' in WELCOME") + + authid = details.get('authid', None) + authrole = details.get('authrole', None) + authmethod = details.get('authmethod', None) + authprovider = details.get('authprovider', None) roles = [] - if not u'roles' in details: - raise ProtocolError(u"missing mandatory roles attribute in options in WELCOME") - - details_roles = check_or_raise_extra(details['roles'], u"'roles' in 'details' in WELCOME") + if not 'roles' in details: + raise ProtocolError("missing mandatory roles attribute in options in WELCOME") + + details_roles = check_or_raise_extra(details['roles'], "'roles' in 'details' in WELCOME") if len(details_roles) == 0: - raise ProtocolError(u"empty 'roles' in 'details' in WELCOME") + raise ProtocolError("empty 'roles' in 'details' in WELCOME") for role in details_roles: if role not in ROLE_NAME_TO_CLASS: @@ -432,11 +432,11 @@ role_cls = ROLE_NAME_TO_CLASS[role] - if u'features' in details_roles[role]: - check_or_raise_extra(details_roles[role][u'features'], "'features' in role '{0}' in 'roles' in 'details' in WELCOME".format(role)) + if 'features' in details_roles[role]: + check_or_raise_extra(details_roles[role]['features'], "'features' in role '{0}' in 'roles' in 'details' in WELCOME".format(role)) ## FIXME: skip unknown attributes - role_features = role_cls(**details_roles[role][u'features']) + role_features = role_cls(**details_roles[role]['features']) else: role_features = role_cls() @@ -453,28 +453,28 @@ Implements :func:`autobahn.wamp.interfaces.IMessage.marshal` """ details = { - u'roles': {} + 'roles': {} } if self.authid: - details[u'authid'] = self.authid + details['authid'] = self.authid if self.authrole: - details[u'authrole'] = self.authrole + details['authrole'] = self.authrole if self.authrole: - details[u'authmethod'] = self.authmethod + details['authmethod'] = self.authmethod if self.authprovider: - details[u'authprovider'] = self.authprovider + details['authprovider'] = self.authprovider for role in self.roles: - details[u'roles'][role.ROLE] = {} + details['roles'][role.ROLE] = {} for feature in role.__dict__: if not feature.startswith('_') and feature != 'ROLE' and getattr(role, feature) is not None: - if not u'features' in details[u'roles'][role.ROLE]: - details[u'roles'][role.ROLE] = {u'features': {}} - details[u'roles'][role.ROLE][u'features'][six.u(feature)] = getattr(role, feature) + if not 'features' in details['roles'][role.ROLE]: + details['roles'][role.ROLE] = {'features': {}} + details['roles'][role.ROLE]['features'][six.u(feature)] = getattr(role, feature) return [Welcome.MESSAGE_TYPE, self.session, details] @@ -532,14 +532,14 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for ABORT".format(len(wmsg))) - details = check_or_raise_extra(wmsg[1], u"'details' in ABORT") - reason = check_or_raise_uri(wmsg[2], u"'reason' in ABORT") + details = check_or_raise_extra(wmsg[1], "'details' in ABORT") + reason = check_or_raise_uri(wmsg[2], "'reason' in ABORT") message = None - if u'message' in details: - - details_message = details[u'message'] + if 'message' in details: + + details_message = details['message'] if type(details_message) != six.text_type: raise ProtocolError("invalid type {0} for 'message' detail in ABORT".format(type(details_message))) @@ -556,7 +556,7 @@ """ details = {} if self.message: - details[u'message'] = self.message + details['message'] = self.message return [Abort.MESSAGE_TYPE, details, self.reason] @@ -619,7 +619,7 @@ if type(method) != six.text_type: raise ProtocolError("invalid type {0} for 'method' in CHALLENGE".format(type(method))) - extra = check_or_raise_extra(wmsg[2], u"'extra' in CHALLENGE") + extra = check_or_raise_extra(wmsg[2], "'extra' in CHALLENGE") obj = Challenge(method, extra) @@ -691,7 +691,7 @@ if type(signature) != six.text_type: raise ProtocolError("invalid type {0} for 'signature' in AUTHENTICATE".format(type(signature))) - extra = check_or_raise_extra(wmsg[2], u"'extra' in AUTHENTICATE") + extra = check_or_raise_extra(wmsg[2], "'extra' in AUTHENTICATE") obj = Authenticate(signature, extra) @@ -725,7 +725,7 @@ The WAMP message code for this type of message. """ - DEFAULT_REASON = u"wamp.goodbye.normal" + DEFAULT_REASON = "wamp.goodbye.normal" """ Default WAMP closing reason. """ @@ -764,14 +764,14 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for GOODBYE".format(len(wmsg))) - details = check_or_raise_extra(wmsg[1], u"'details' in GOODBYE") - reason = check_or_raise_uri(wmsg[2], u"'reason' in GOODBYE") + details = check_or_raise_extra(wmsg[1], "'details' in GOODBYE") + reason = check_or_raise_uri(wmsg[2], "'reason' in GOODBYE") message = None - if u'message' in details: - - details_message = details[u'message'] + if 'message' in details: + + details_message = details['message'] if type(details_message) != six.text_type: raise ProtocolError("invalid type {0} for 'message' detail in GOODBYE".format(type(details_message))) @@ -788,7 +788,7 @@ """ details = {} if self.message: - details[u'message'] = self.message + details['message'] = self.message return [Goodbye.MESSAGE_TYPE, details, self.reason] @@ -976,9 +976,9 @@ Invocation.MESSAGE_TYPE]: raise ProtocolError("invalid value {0} for 'request_type' in ERROR".format(request_type)) - request = check_or_raise_id(wmsg[2], u"'request' in ERROR") - _ = check_or_raise_extra(wmsg[3], u"'details' in ERROR") - error = check_or_raise_uri(wmsg[4], u"'error' in ERROR") + request = check_or_raise_id(wmsg[2], "'request' in ERROR") + _ = check_or_raise_extra(wmsg[3], "'details' in ERROR") + error = check_or_raise_uri(wmsg[4], "'error' in ERROR") args = None if len(wmsg) > 5: @@ -1111,9 +1111,9 @@ if len(wmsg) not in (4, 5, 6): raise ProtocolError("invalid message length {0} for PUBLISH".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in PUBLISH") - options = check_or_raise_extra(wmsg[2], u"'options' in PUBLISH") - topic = check_or_raise_uri(wmsg[3], u"'topic' in PUBLISH") + request = check_or_raise_id(wmsg[1], "'request' in PUBLISH") + options = check_or_raise_extra(wmsg[2], "'options' in PUBLISH") + topic = check_or_raise_uri(wmsg[3], "'topic' in PUBLISH") args = None if len(wmsg) > 4: @@ -1133,25 +1133,25 @@ eligible = None discloseMe = None - if u'acknowledge' in options: - - option_acknowledge = options[u'acknowledge'] + if 'acknowledge' in options: + + option_acknowledge = options['acknowledge'] if type(option_acknowledge) != bool: raise ProtocolError("invalid type {0} for 'acknowledge' option in PUBLISH".format(type(option_acknowledge))) acknowledge = option_acknowledge - if u'exclude_me' in options: - - option_excludeMe = options[u'exclude_me'] + if 'exclude_me' in options: + + option_excludeMe = options['exclude_me'] if type(option_excludeMe) != bool: raise ProtocolError("invalid type {0} for 'exclude_me' option in PUBLISH".format(type(option_excludeMe))) excludeMe = option_excludeMe - if u'exclude' in options: - - option_exclude = options[u'exclude'] + if 'exclude' in options: + + option_exclude = options['exclude'] if type(option_exclude) != list: raise ProtocolError("invalid type {0} for 'exclude' option in PUBLISH".format(type(option_exclude))) @@ -1161,9 +1161,9 @@ exclude = option_exclude - if u'eligible' in options: - - option_eligible = options[u'eligible'] + if 'eligible' in options: + + option_eligible = options['eligible'] if type(option_eligible) != list: raise ProtocolError("invalid type {0} for 'eligible' option in PUBLISH".format(type(option_eligible))) @@ -1173,9 +1173,9 @@ eligible = option_eligible - if u'disclose_me' in options: - - option_discloseMe = options[u'disclose_me'] + if 'disclose_me' in options: + + option_discloseMe = options['disclose_me'] if type(option_discloseMe) != bool: raise ProtocolError("invalid type {0} for 'disclose_me' option in PUBLISH".format(type(option_discloseMe))) @@ -1201,15 +1201,15 @@ options = {} if self.acknowledge is not None: - options[u'acknowledge'] = self.acknowledge + options['acknowledge'] = self.acknowledge if self.excludeMe is not None: - options[u'exclude_me'] = self.excludeMe + options['exclude_me'] = self.excludeMe if self.exclude is not None: - options[u'exclude'] = self.exclude + options['exclude'] = self.exclude if self.eligible is not None: - options[u'eligible'] = self.eligible + options['eligible'] = self.eligible if self.discloseMe is not None: - options[u'disclose_me'] = self.discloseMe + options['disclose_me'] = self.discloseMe if self.kwargs: return [Publish.MESSAGE_TYPE, self.request, options, self.topic, self.args, self.kwargs] @@ -1272,8 +1272,8 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for PUBLISHED".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in PUBLISHED") - publication = check_or_raise_id(wmsg[2], u"'publication' in PUBLISHED") + request = check_or_raise_id(wmsg[1], "'request' in PUBLISHED") + publication = check_or_raise_id(wmsg[2], "'publication' in PUBLISHED") obj = Published(request, publication) @@ -1307,9 +1307,9 @@ The WAMP message code for this type of message. """ - MATCH_EXACT = u'exact' - MATCH_PREFIX = u'prefix' - MATCH_WILDCARD = u'wildcard' + MATCH_EXACT = 'exact' + MATCH_PREFIX = 'prefix' + MATCH_WILDCARD = 'wildcard' def __init__(self, request, topic, match = MATCH_EXACT): """ @@ -1349,15 +1349,15 @@ if len(wmsg) != 4: raise ProtocolError("invalid message length {0} for SUBSCRIBE".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in SUBSCRIBE") - options = check_or_raise_extra(wmsg[2], u"'options' in SUBSCRIBE") - topic = check_or_raise_uri(wmsg[3], u"'topic' in SUBSCRIBE", allowEmptyComponents = True) + request = check_or_raise_id(wmsg[1], "'request' in SUBSCRIBE") + options = check_or_raise_extra(wmsg[2], "'options' in SUBSCRIBE") + topic = check_or_raise_uri(wmsg[3], "'topic' in SUBSCRIBE", allowEmptyComponents = True) match = Subscribe.MATCH_EXACT - if u'match' in options: - - option_match = options[u'match'] + if 'match' in options: + + option_match = options['match'] if type(option_match) != six.text_type: raise ProtocolError("invalid type {0} for 'match' option in SUBSCRIBE".format(type(option_match))) @@ -1378,7 +1378,7 @@ options = {} if self.match and self.match != Subscribe.MATCH_EXACT: - options[u'match'] = self.match + options['match'] = self.match return [Subscribe.MESSAGE_TYPE, self.request, options, self.topic] @@ -1436,8 +1436,8 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for SUBSCRIBED".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in SUBSCRIBED") - subscription = check_or_raise_id(wmsg[2], u"'subscription' in SUBSCRIBED") + request = check_or_raise_id(wmsg[1], "'request' in SUBSCRIBED") + subscription = check_or_raise_id(wmsg[2], "'subscription' in SUBSCRIBED") obj = Subscribed(request, subscription) @@ -1505,8 +1505,8 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for WAMP UNSUBSCRIBE".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in UNSUBSCRIBE") - subscription = check_or_raise_id(wmsg[2], u"'subscription' in UNSUBSCRIBE") + request = check_or_raise_id(wmsg[1], "'request' in UNSUBSCRIBE") + subscription = check_or_raise_id(wmsg[2], "'subscription' in UNSUBSCRIBE") obj = Unsubscribe(request, subscription) @@ -1569,7 +1569,7 @@ if len(wmsg) != 2: raise ProtocolError("invalid message length {0} for UNSUBSCRIBED".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in UNSUBSCRIBED") + request = check_or_raise_id(wmsg[1], "'request' in UNSUBSCRIBED") obj = Unsubscribed(request) @@ -1655,9 +1655,9 @@ if len(wmsg) not in (4, 5, 6): raise ProtocolError("invalid message length {0} for EVENT".format(len(wmsg))) - subscription = check_or_raise_id(wmsg[1], u"'subscription' in EVENT") - publication = check_or_raise_id(wmsg[2], u"'publication' in EVENT") - details = check_or_raise_extra(wmsg[3], u"'details' in EVENT") + subscription = check_or_raise_id(wmsg[1], "'subscription' in EVENT") + publication = check_or_raise_id(wmsg[2], "'publication' in EVENT") + details = check_or_raise_extra(wmsg[3], "'details' in EVENT") args = None if len(wmsg) > 4: @@ -1672,9 +1672,9 @@ raise ProtocolError("invalid type {0} for 'kwargs' in EVENT".format(type(kwargs))) publisher = None - if u'publisher' in details: - - detail_publisher = details[u'publisher'] + if 'publisher' in details: + + detail_publisher = details['publisher'] if type(detail_publisher) not in six.integer_types: raise ProtocolError("invalid type {0} for 'publisher' detail in EVENT".format(type(detail_publisher))) @@ -1696,7 +1696,7 @@ details = {} if self.publisher is not None: - details[u'publisher'] = self.publisher + details['publisher'] = self.publisher if self.kwargs: return [Event.MESSAGE_TYPE, self.subscription, self.publication, details, self.args, self.kwargs] @@ -1794,9 +1794,9 @@ if len(wmsg) not in (4, 5, 6): raise ProtocolError("invalid message length {0} for CALL".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in CALL") - options = check_or_raise_extra(wmsg[2], u"'options' in CALL") - procedure = check_or_raise_uri(wmsg[3], u"'procedure' in CALL") + request = check_or_raise_id(wmsg[1], "'request' in CALL") + options = check_or_raise_extra(wmsg[2], "'options' in CALL") + procedure = check_or_raise_uri(wmsg[3], "'procedure' in CALL") args = None if len(wmsg) > 4: @@ -1811,9 +1811,9 @@ raise ProtocolError("invalid type {0} for 'kwargs' in CALL".format(type(kwargs))) timeout = None - if u'timeout' in options: - - option_timeout = options[u'timeout'] + if 'timeout' in options: + + option_timeout = options['timeout'] if type(option_timeout) not in six.integer_types: raise ProtocolError("invalid type {0} for 'timeout' option in CALL".format(type(option_timeout))) @@ -1823,18 +1823,18 @@ timeout = option_timeout receive_progress = None - if u'receive_progress' in options: - - option_receive_progress = options[u'receive_progress'] + if 'receive_progress' in options: + + option_receive_progress = options['receive_progress'] if type(option_receive_progress) != bool: raise ProtocolError("invalid type {0} for 'receive_progress' option in CALL".format(type(option_receive_progress))) receive_progress = option_receive_progress discloseMe = None - if u'disclose_me' in options: - - option_discloseMe = options[u'disclose_me'] + if 'disclose_me' in options: + + option_discloseMe = options['disclose_me'] if type(option_discloseMe) != bool: raise ProtocolError("invalid type {0} for 'disclose_me' option in CALL".format(type(option_discloseMe))) @@ -1858,13 +1858,13 @@ options = {} if self.timeout is not None: - options[u'timeout'] = self.timeout + options['timeout'] = self.timeout if self.receive_progress is not None: - options[u'receive_progress'] = self.receive_progress + options['receive_progress'] = self.receive_progress if self.discloseMe is not None: - options[u'disclose_me'] = self.discloseMe + options['disclose_me'] = self.discloseMe if self.kwargs: return [Call.MESSAGE_TYPE, self.request, options, self.procedure, self.args, self.kwargs] @@ -1894,9 +1894,9 @@ The WAMP message code for this type of message. """ - SKIP = u'skip' - ABORT = u'abort' - KILL = u'kill' + SKIP = 'skip' + ABORT = 'abort' + KILL = 'kill' def __init__(self, request, mode = None): @@ -1933,16 +1933,16 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for CANCEL".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in CANCEL") - options = check_or_raise_extra(wmsg[2], u"'options' in CANCEL") + request = check_or_raise_id(wmsg[1], "'request' in CANCEL") + options = check_or_raise_extra(wmsg[2], "'options' in CANCEL") ## options ## mode = None - if u'mode' in options: - - option_mode = options[u'mode'] + if 'mode' in options: + + option_mode = options['mode'] if type(option_mode) != six.text_type: raise ProtocolError("invalid type {0} for 'mode' option in CANCEL".format(type(option_mode))) @@ -1963,7 +1963,7 @@ options = {} if self.mode is not None: - options[u'mode'] = self.mode + options['mode'] = self.mode return [Cancel.MESSAGE_TYPE, self.request, options] @@ -2036,8 +2036,8 @@ if len(wmsg) not in (3, 4, 5): raise ProtocolError("invalid message length {0} for RESULT".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in RESULT") - details = check_or_raise_extra(wmsg[2], u"'details' in RESULT") + request = check_or_raise_id(wmsg[1], "'request' in RESULT") + details = check_or_raise_extra(wmsg[2], "'details' in RESULT") args = None if len(wmsg) > 3: @@ -2053,9 +2053,9 @@ progress = None - if u'progress' in details: - - detail_progress = details[u'progress'] + if 'progress' in details: + + detail_progress = details['progress'] if type(detail_progress) != bool: raise ProtocolError("invalid type {0} for 'progress' option in RESULT".format(type(detail_progress))) @@ -2073,7 +2073,7 @@ details = {} if self.progress is not None: - details[u'progress'] = self.progress + details['progress'] = self.progress if self.kwargs: return [Result.MESSAGE_TYPE, self.request, details, self.args, self.kwargs] @@ -2153,17 +2153,17 @@ if len(wmsg) != 4: raise ProtocolError("invalid message length {0} for REGISTER".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in REGISTER") - options = check_or_raise_extra(wmsg[2], u"'options' in REGISTER") - procedure = check_or_raise_uri(wmsg[3], u"'procedure' in REGISTER", allowEmptyComponents = True) + request = check_or_raise_id(wmsg[1], "'request' in REGISTER") + options = check_or_raise_extra(wmsg[2], "'options' in REGISTER") + procedure = check_or_raise_uri(wmsg[3], "'procedure' in REGISTER", allowEmptyComponents = True) pkeys = None discloseCaller = None discloseCallerTransport = None - if u'pkeys' in options: - - option_pkeys = options[u'pkeys'] + if 'pkeys' in options: + + option_pkeys = options['pkeys'] if type(option_pkeys) != list: raise ProtocolError("invalid type {0} for 'pkeys' option in REGISTER".format(type(option_pkeys))) @@ -2174,18 +2174,18 @@ pkeys = option_pkeys - if u'disclose_caller' in options: - - option_discloseCaller = options[u'disclose_caller'] + if 'disclose_caller' in options: + + option_discloseCaller = options['disclose_caller'] if type(option_discloseCaller) != bool: raise ProtocolError("invalid type {0} for 'disclose_caller' option in REGISTER".format(type(option_discloseCaller))) discloseCaller = option_discloseCaller - if u'disclose_caller_transport' in options: - - option_discloseCallerTransport = options[u'disclose_caller_transport'] + if 'disclose_caller_transport' in options: + + option_discloseCallerTransport = options['disclose_caller_transport'] if type(option_discloseCallerTransport) != bool: raise ProtocolError("invalid type {0} for 'disclose_caller_transport' option in REGISTER".format(type(option_discloseCallerTransport))) @@ -2204,13 +2204,13 @@ options = {} if self.pkeys is not None: - options[u'pkeys'] = self.pkeys + options['pkeys'] = self.pkeys if self.discloseCaller is not None: - options[u'disclose_caller'] = self.discloseCaller + options['disclose_caller'] = self.discloseCaller if self.discloseCallerTransport is not None: - options[u'disclose_caller_transport'] = self.discloseCallerTransport + options['disclose_caller_transport'] = self.discloseCallerTransport return [Register.MESSAGE_TYPE, self.request, options, self.procedure] @@ -2268,8 +2268,8 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for REGISTERED".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in REGISTERED") - registration = check_or_raise_id(wmsg[2], u"'registration' in REGISTERED") + request = check_or_raise_id(wmsg[1], "'request' in REGISTERED") + registration = check_or_raise_id(wmsg[2], "'registration' in REGISTERED") obj = Registered(request, registration) @@ -2337,8 +2337,8 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for WAMP UNREGISTER".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in UNREGISTER") - registration = check_or_raise_id(wmsg[2], u"'registration' in UNREGISTER") + request = check_or_raise_id(wmsg[1], "'request' in UNREGISTER") + registration = check_or_raise_id(wmsg[2], "'registration' in UNREGISTER") obj = Unregister(request, registration) @@ -2401,7 +2401,7 @@ if len(wmsg) != 2: raise ProtocolError("invalid message length {0} for UNREGISTERED".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in UNREGISTERED") + request = check_or_raise_id(wmsg[1], "'request' in UNREGISTERED") obj = Unregistered(request) @@ -2523,9 +2523,9 @@ if len(wmsg) not in (4, 5, 6): raise ProtocolError("invalid message length {0} for INVOCATION".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in INVOCATION") - registration = check_or_raise_id(wmsg[2], u"'registration' in INVOCATION") - details = check_or_raise_extra(wmsg[3], u"'details' in INVOCATION") + request = check_or_raise_id(wmsg[1], "'request' in INVOCATION") + registration = check_or_raise_id(wmsg[2], "'registration' in INVOCATION") + details = check_or_raise_extra(wmsg[3], "'details' in INVOCATION") args = None if len(wmsg) > 4: @@ -2540,9 +2540,9 @@ raise ProtocolError("invalid type {0} for 'kwargs' in INVOCATION".format(type(kwargs))) timeout = None - if u'timeout' in details: - - detail_timeout = details[u'timeout'] + if 'timeout' in details: + + detail_timeout = details['timeout'] if type(detail_timeout) not in six.integer_types: raise ProtocolError("invalid type {0} for 'timeout' detail in INVOCATION".format(type(detail_timeout))) @@ -2552,54 +2552,54 @@ timeout = detail_timeout receive_progress = None - if u'receive_progress' in details: - - detail_receive_progress = details[u'receive_progress'] + if 'receive_progress' in details: + + detail_receive_progress = details['receive_progress'] if type(detail_receive_progress) != bool: raise ProtocolError("invalid type {0} for 'receive_progress' detail in INVOCATION".format(type(detail_receive_progress))) receive_progress = detail_receive_progress caller = None - if u'caller' in details: - - detail_caller = details[u'caller'] + if 'caller' in details: + + detail_caller = details['caller'] if type(detail_caller) not in six.integer_types: raise ProtocolError("invalid type {0} for 'caller' detail in INVOCATION".format(type(detail_caller))) caller = detail_caller caller_transport = None - if u'caller_transport' in details: - - detail_caller_transport = details[u'caller_transport'] + if 'caller_transport' in details: + + detail_caller_transport = details['caller_transport'] if type(detail_caller_transport) != dict: raise ProtocolError("invalid type {0} for 'caller_transport' detail in INVOCATION".format(type(caller_transport))) caller_transport = detail_caller_transport authid = None - if u'authid' in details: - - detail_authid = details[u'authid'] + if 'authid' in details: + + detail_authid = details['authid'] if type(detail_authid) != six.text_type: raise ProtocolError("invalid type {0} for 'authid' detail in INVOCATION".format(type(detail_authid))) authid = detail_authid authrole = None - if u'authrole' in details: - - detail_authrole = details[u'authrole'] + if 'authrole' in details: + + detail_authrole = details['authrole'] if type(detail_authrole) != six.text_type: raise ProtocolError("invalid type {0} for 'authrole' detail in INVOCATION".format(type(detail_authrole))) authrole = detail_authrole authmethod = None - if u'authmethod' in details: - - detail_authmethod = details[u'authmethod'] + if 'authmethod' in details: + + detail_authmethod = details['authmethod'] if type(detail_authmethod) != six.text_type: raise ProtocolError("invalid type {0} for 'authmethod' detail in INVOCATION".format(type(detail_authmethod))) @@ -2627,25 +2627,25 @@ options = {} if self.timeout is not None: - options[u'timeout'] = self.timeout + options['timeout'] = self.timeout if self.receive_progress is not None: - options[u'receive_progress'] = self.receive_progress + options['receive_progress'] = self.receive_progress if self.caller is not None: - options[u'caller'] = self.caller + options['caller'] = self.caller if self.caller_transport is not None: - options[u'caller_transport'] = self.caller_transport + options['caller_transport'] = self.caller_transport if self.authid is not None: - options[u'authid'] = self.authid + options['authid'] = self.authid if self.authrole is not None: - options[u'authrole'] = self.authrole + options['authrole'] = self.authrole if self.authmethod is not None: - options[u'authmethod'] = self.authmethod + options['authmethod'] = self.authmethod if self.kwargs: return [Invocation.MESSAGE_TYPE, self.request, self.registration, options, self.args, self.kwargs] @@ -2675,8 +2675,8 @@ The WAMP message code for this type of message. """ - ABORT = u'abort' - KILL = u'kill' + ABORT = 'abort' + KILL = 'kill' def __init__(self, request, mode = None): @@ -2713,16 +2713,16 @@ if len(wmsg) != 3: raise ProtocolError("invalid message length {0} for INTERRUPT".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in INTERRUPT") - options = check_or_raise_extrRefactoringTool: No changes to ./autobahn/wamp/interfaces.py RefactoringTool: Refactored ./autobahn/wamp/exception.py a(wmsg[2], u"'options' in INTERRUPT") + request = check_or_raise_id(wmsg[1], "'request' in INTERRUPT") + options = check_or_raise_extra(wmsg[2], "'options' in INTERRUPT") ## options ## mode = None - if u'mode' in options: - - option_mode = options[u'mode'] + if 'mode' in options: + + option_mode = options['mode'] if type(option_mode) != six.text_type: raise ProtocolError("invalid type {0} for 'mode' option in INTERRUPT".format(type(option_mode))) @@ -2743,7 +2743,7 @@ options = {} if self.mode is not None: - options[u'mode'] = self.mode + options['mode'] = self.mode return [Interrupt.MESSAGE_TYPE, self.request, options] @@ -2817,8 +2817,8 @@ if len(wmsg) not in (3, 4, 5): raise ProtocolError("invalid message length {0} for YIELD".format(len(wmsg))) - request = check_or_raise_id(wmsg[1], u"'request' in YIELD") - options = check_or_raise_extra(wmsg[2], u"'options' in YIELD") + request = check_or_raise_id(wmsg[1], "'request' in YIELD") + options = check_or_raise_extra(wmsg[2], "'options' in YIELD") args = None if len(wmsg) > 3: @@ -2834,9 +2834,9 @@ progress = None - if u'progress' in options: - - option_progress = options[u'progress'] + if 'progress' in options: + + option_progress = options['progress'] if type(option_progress) != bool: raise ProtocolError("invalid type {0} for 'progress' option in YIELD".format(type(option_progress))) @@ -2854,7 +2854,7 @@ options = {} if self.progress is not None: - options[u'progress'] = self.progress + options['progress'] = self.progress if self.kwargs: return [Yield.MESSAGE_TYPE, self.request, options, self.args, self.kwargs] --- ./autobahn/wamp/exception.py (original) +++ ./autobahn/wamp/exception.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( 'Error', @@ -78,7 +78,7 @@ was lost or is not connected. """ def __init__(self): - Error.__init__(self, u"WAMP transport lost") + Error.__init__(self, "WAMP transport lost") @@ -88,35 +88,35 @@ at the application level. """ - INVALID_URI = u"wamp.error.invalid_uri" + INVALID_URI = "wamp.error.invalid_uri" """ Peer provided an incorrect URI for a URI-based attribute of a WAMP message such as a realm, topic or procedure. """ - NO_SUCH_PROCEDURE = u"wamp.error.no_such_procedure" + NO_SUCH_PROCEDURE = "wamp.error.no_such_procedure" """ A Dealer could not perform a call, since not procedure is currently registered under the given URI. """ - PROCEDURE_ALREADY_EXISTS = u"wamp.error.procedure_already_exists" + PROCEDURE_ALREADY_EXISTS = "wamp.error.procedure_already_exists" """ A procedure could not be registered, since a procedure with the given URI is already registered. """ - NO_SUCH_REGISTRATION = u"wamp.error.no_such_registration" + NO_SUCH_REGISTRATION = "wamp.error.no_such_registration" """ A Dealer could not perform a unregister, since the given registration is not active. """ - NO_SUCH_SUBSCRIPTION = u"wamp.error.no_such_subscription" + NO_SUCH_SUBSCRIPTION = "wamp.error.no_such_subscription" """ A Broker could not perform a unsubscribe, since the given subscription is not active. """ - INVALID_ARGUMENT = u"wamp.error.invalid_argument" + INVALID_ARGUMENT = "wamp.error.invalid_argument" """ A call failed, since the given argument types or values are not acceptable to the called procedure - in which case the *Callee* may throw this error. Or a Router @@ -125,43 +125,43 @@ """ ## FIXME: this currently isn't used neither in Autobahn nor Crossbar. Check! - SYSTEM_SHUTDOWN = u"wamp.error.system_shutdown" + SYSTEM_SHUTDOWN = "wamp.error.system_shutdown" ""RefactoringTool: Refactored ./autobahn/wamp/auth.py " The *Peer* is shutting down completely - used as a ``GOODBYE`` (or ``ABORT``) reason. """ ## FIXME: this currently isn't used neither in Autobahn nor Crossbar. Check! - CLOSE_REALM = u"wamp.error.close_realm" + CLOSE_REALM = "wamp.error.close_realm" """ The *Peer* want to leave the realm - used as a ``GOODBYE`` reason. """ ## FIXME: this currently isn't used neither in Autobahn nor Crossbar. Check! - GOODBYE_AND_OUT = u"wamp.error.goodbye_and_out" + GOODBYE_AND_OUT = "wamp.error.goodbye_and_out" """ A *Peer* acknowledges ending of a session - used as a ``GOOBYE`` reply reason. """ - NOT_AUTHORIZED = u"wamp.error.not_authorized" + NOT_AUTHORIZED = "wamp.error.not_authorized" """ A call, register, publish or subscribe failed, since the session is not authorized to perform the operation. """ - AUTHORIZATION_FAILED = u"wamp.error.authorization_failed" + AUTHORIZATION_FAILED = "wamp.error.authorization_failed" """ A Dealer or Broker could not determine if the *Peer* is authorized to perform a join, call, register, publish or subscribe, since the authorization operation *itself* failed. E.g. a custom authorizer did run into an error. """ - NO_SUCH_REALM = u"wamp.error.no_such_realm" + NO_SUCH_REALM = "wamp.error.no_such_realm" """ Peer wanted to join a non-existing realm (and the *Router* did not allow to auto-create the realm). """ - NO_SUCH_ROLE = u"wamp.error.no_such_role" + NO_SUCH_ROLE = "wamp.error.no_such_role" """ A *Peer* was to be authenticated under a Role that does not (or no longer) exists on the Router. For example, the *Peer* was successfully authenticated, but the Role configured does not @@ -169,19 +169,19 @@ """ ## FIXME: this currently isn't used neither in Autobahn nor Crossbar. Check! - CANCELED = u"wamp.error.canceled" + CANCELED = "wamp.error.canceled" """ A Dealer or Callee canceled a call previously issued (WAMP AP). """ ## FIXME: this currently isn't used neither in Autobahn nor Crossbar. Check! - OPTION_DISALLOWED_DISCLOSE_ME = u"wamp.error.option_disallowed.disclose_me" + OPTION_DISALLOWED_DISCLOSE_ME = "wamp.error.option_disallowed.disclose_me" """ A Router rejected client request to disclose its identity (WAMP AP). """ ## FIXME: this currently isn't used neither in Autobahn nor Crossbar. Check! - NO_ELIGIBLE_CALLEE = u"wamp.error.no_eligible_callee" + NO_ELIGIBLE_CALLEE = "wamp.error.no_eligible_callee" """ A *Dealer* could not perform a call, since a procedure with the given URI is registered, but *Callee Black- and Whitelisting* and/or *Caller Exclusion* lead to the --- ./autobahn/wamp/auth.py (original) +++ ./autobahn/wamp/auth.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( 'pbkdf2', @@ -109,26 +109,26 @@ rv = u = _pseudorandom(salt + _pack_int(block), mac) for i in range(iterations - 1): u = _pseudorandom(u, mac) - rv = starmap(xor, zip(rv, u)) + rv = starmap(xor, list(zip(rv, u))) buf.extend(rv) return bytes(buf)[:keylen] else: - from itertools import izip + def _pseudorandom(x, mac): h = mac.copy() h.update(x) - return map(ord, h.digest()) + return list(map(ord, h.digest())) def _pbkdf2(data, salt, iterations, keylen, hashfunc): mac = hmac.new(data, None, hashfunc) buf = [] - for block in xrange(1, -(-keylen // mac.digest_size) + 1): + for block in range(1, -(-keylen // mac.digest_size) + 1): rv = u = _pseudorandom(salt + _pack_int(block), mac) - for i in xrange(iterations - 1): + for i in range(iterations - 1): u = _pseudorandom(''.join(map(chr, u)), mac) - rv = starmap(xor, izip(rv, u)) + rv = starmap(xor, zip(rv, u)) buf.extend(rv) RefactoringTool: Refactored ./autobahn/wamp/__init__.py RefactoringTool: Refactored ./autobahn/util.py RefactoringTool: Refactored ./autobahn/twisted/websocket.py RefactoringTool: Refactored ./autobahn/twisted/wamp.py RefactoringTool: Refactored ./autobahn/twisted/util.py RefactoringTool: No changes to ./autobahn/twisted/resource.py RefactoringTool: Refactored ./autobahn/twisted/rawsocket.py RefactoringTool: Refactored ./autobahn/twisted/longpoll.py return ''.join(map(chr, buf))[:keylen] @@ -190,7 +190,7 @@ -WCS_SECRET_CHARSET = u"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" +WCS_SECRET_CHARSET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" """ The characters from which :func:`autobahn.wamp.auth.generate_wcs` generates secrets. """ @@ -212,7 +212,7 @@ :rtype: bytes """ assert(type(length) in six.integer_types) - return u"".join([random.choice(WCS_SECRET_CHARSET) for _ in range(length)]).encode('ascii') + return "".join([random.choice(WCS_SECRET_CHARSET) for _ in range(length)]).encode('ascii') --- ./autobahn/wamp/__init__.py (original) +++ ./autobahn/wamp/__init__.py (refactored) @@ -16,9 +16,10 @@ ## ############################################################################### -from __future__ import absolute_import + from autobahn.wamp.uri import Pattern +import collections def register(uri): @@ -26,7 +27,7 @@ Decorator for WAMP procedure endpoints. """ def decorate(f): - assert(callable(f)) + assert(isinstance(f, collections.Callable)) if not hasattr(f, '_wampuris'): f._wampuris = [] f._wampuris.append(Pattern(uri, Pattern.URI_TARGET_ENDPOINT)) @@ -39,7 +40,7 @@ Decorator for WAMP event handlers. """ def decorate(f): - assert(callable(f)) + assert(isinstance(f, collections.Callable)) if not hasattr(f, '_wampuris'): f._wampuris = [] f._wampuris.append(Pattern(uri, Pattern.URI_TARGET_HANDLER)) --- ./autobahn/util.py (original) +++ ./autobahn/util.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ("utcnow", "parseutc", @@ -116,7 +116,7 @@ :returns: A random object ID. :rtype: str """ - return ''.join([random.choice("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_") for _ in xrange(length)]) + return ''.join([random.choice("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_") for _ in range(length)]) --- ./autobahn/twisted/websocket.py (original) +++ ./autobahn/twisted/websocket.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( 'WebSocketAdapterProtocol', --- ./autobahn/twisted/wamp.py (original) +++ ./autobahn/twisted/wamp.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( 'FutureMixin', @@ -278,7 +278,7 @@ return self.session - def run(self, url = u"ws://localhost:8080/ws", realm = u"realm1", + def run(self, url = "ws://localhost:8080/ws", realm = "realm1", debug = False, debug_wamp = False, debug_app = False, start_reactor = True): """ --- ./autobahn/twisted/util.py (original) +++ ./autobahn/twisted/util.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all = ( 'sleep', --- ./autobahn/twisted/rawsocket.py (original) +++ ./autobahn/twisted/rawsocket.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__= ( @@ -35,6 +35,7 @@ from autobahn.wamp.exception import ProtocolError, SerializationError, TransportLost import binascii +import collections @@ -181,7 +182,7 @@ :class:`autobahn.wamp.interfaces.ISerializer`. :type serializer: obj """ - assert(callable(factory)) + assert(isinstance(factory, collections.Callable)) self._factory = factory self._serializer = serializer self.debug = debug --- ./autobahn/twisted/longpoll.py (original) +++ ./autobahn/twisted/longpoll.py (refactored) @@ -16,7 +16,7 @@ ## #######RefactoringTool: Refactored ./autobahn/twisted/forwarder.py RefactoringTool: No changes to ./autobahn/twisted/flashpolicy.py RefactoringTool: Refactored ./autobahn/twisted/choosereactor.py ######################################################################## -from __future__ import absolute_import + __all__ = ( 'WampLongPollResource', @@ -298,7 +298,7 @@ Implements :func:`autobahn.wamp.interfaces.ITransport.close` """ if self.isOpen(): - self.onClose(True, 1000, u"session closed") + self.onClose(True, 1000, "session closed") self._receive._kill() del self._parent._transports[self._transportid] else: @@ -310,7 +310,7 @@ Implements :func:`autobahn.wamp.interfaces.ITransport.abort` """ if self.isOpen(): - self.onClose(True, 1000, u"session aborted") + self.onClose(True, 1000, "session aborted") self._receive._kill() del self._parent._transports[self._transportid] else: @@ -351,7 +351,7 @@ """ for msg in self._serializer.unserialize(payload, isBinary): if self._debug: - print("WampLongPoll: RX {0}".format(msg)) + print(("WampLongPoll: RX {0}".format(msg))) self._session.onMessage(msg) @@ -362,7 +362,7 @@ if self.isOpen(): try: if self._debug: - print("WampLongPoll: TX {0}".format(msg)) + print(("WampLongPoll: TX {0}".format(msg))) payload, isBinary = self._serializer.serialize(msg) except Exception as e: ## all exceptions raised from above should be serialization errors .. @@ -422,13 +422,13 @@ serializer = None for p in options['protocols']: version, serializerId = parseSubprotocolIdentifier(p) - if version == 2 and serializerId in self._parent._serializers.keys(): + if version == 2 and serializerId in list(self._parent._serializers.keys()): serializer = self._parent._serializers[serializerId] protocol = p break if protocol is None: - return self.__failRequest(request, "no common protocol to speak (I speak: {0})".format(["wamp.2.{0}".format(s) for s in self._parent._serializers.keys()])) + return self.__failRequest(request, "no common protocol to speak (I speak: {0})".format(["wamp.2.{0}".format(s) for s in list(self._parent._serializers.keys())])) ## make up new transport ID ## --- ./autobahn/twisted/forwarder.py (original) +++ ./autobahn/twisted/forwarder.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + from twisted.python import usage from twisted.internet.defer import inlineCallbacks --- ./autobahn/twisted/choosereactor.py (original) +++ ./autobahn/twisted/choosereactor.py (refactored) @@ -53,7 +53,7 @@ from twisted.internet import kqreactor kqreactor.install() except Exception as e: - print("WARNING: Running on *BSD or MacOSX, but cannot install kqueue Twisted reactor ({0}).".format(e)) + print(("WARNING: Running on *BSD or MacOSX, but cannot install kqueue Twisted reactor ({0}).".format(e))) else: if verbose: print("Running on *BSD or MacOSX and optimal reactor (kqueue) was installed.") @@ -70,7 +70,7 @@ from twisted.internet.iocpreactor import reactor as iocpreactor iocpreactor.install() except Exception as e: - print("WARNING: Running on Windows, but cannot install IOCP Twisted reactor ({0}).".format(e)) + print(("WARNING: Running on Windows, but cannot install IOCP Twisted reactor ({0}).".format(e))) else: if verbose: print("Running on Windows and optimal reactor (ICOP) was installed.") @@ -87,7 +87,7 @@ from twisted.internet import epollreactor epollreactor.install() except Exception as e: - print("WARNING: Running on Linux, but cannot install Epoll Twisted reactor ({0}).".format(e)) + print(("WARNING: RunnRefactoringTool: No changes to ./autobahn/asyncio/websocket.py RefactoringTool: Refactored ./autobahn/asyncio/wamp.py RefactoringTool: No changes to ./autobahn/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./twisted/plugins/autobahn_twistd.py RefactoringTool: ./twisted/plugins/autobahn_endpoints.py RefactoringTool: ./setup.py RefactoringTool: ./autobahn/websocket/xormasker.py RefactoringTool: ./autobahn/websocket/utf8validator.py RefactoringTool: ./autobahn/websocket/useragent.py RefactoringTool: ./autobahn/websocket/test/test_websocket_url.py RefactoringTool: ./autobahn/websocket/protocol.py RefactoringTool: ./autobahn/websocket/interfaces.py RefactoringTool: ./autobahn/websocket/http.py RefactoringTool: ./autobahn/websocket/compress_snappy.py RefactoringTool: ./autobahn/websocket/compress_deflate.py RefactoringTool: ./autobahn/websocket/compress_bzip2.py RefactoringTool: ./autobahn/websocket/compress_base.py RefactoringTool: ./autobahn/websocket/compress.py RefactoringTool: ./autobahn/wamp/websocket.py RefactoringTool: ./autobahn/wamp/uri.py RefactoringTool: ./autobahn/wamp/types.py RefactoringTool: ./autobahn/wamp/test/test_uri_pattern.py RefactoringTool: ./autobahn/wamp/test/test_serializer.py RefactoringTool: ./autobahn/wamp/test/test_protocol_peer.py RefactoringTool: ./autobahn/wamp/test/test_protocol.py RefactoringTool: ./autobahn/wamp/test/test_message.py RefactoringTool: ./autobahn/wamp/test/test_auth.py RefactoringTool: ./autobahn/wamp/test/_test_component.py RefactoringTool: ./autobahn/wamp/serializer.py RefactoringTool: ./autobahn/wamp/role.py RefactoringTool: ./autobahn/wamp/protocol.py RefactoringTool: ./autobahn/wamp/message.py RefactoringTool: ./autobahn/wamp/interfaces.py RefactoringTool: ./autobahn/wamp/exception.py RefactoringTool: ./autobahn/wamp/auth.py RefactoringTool: ./autobahn/wamp/__init__.py RefactoringTool: ./autobahn/util.py RefactoringTool: ./autobahn/twisted/websocket.py RefactoringTool: ./autobahn/twisted/wamp.py RefactoringTool: ./autobahn/twisted/util.py RefactoringTool: ./autobahn/twisted/resource.py RefactoringTool: ./autobahn/twisted/rawsocket.py RefactoringTool: ./autobahn/twisted/longpoll.py RefactoringTool: ./autobahn/twisted/forwarder.py RefactoringTool: ./autobahn/twisted/flashpolicy.py RefactoringTool: ./autobahn/twisted/choosereactor.py RefactoringTool: ./autobahn/asyncio/websocket.py RefactoringTool: ./autobahn/asyncio/wamp.py RefactoringTool: ./autobahn/__init__.py ing on Linux, but cannot install Epoll Twisted reactor ({0}).".format(e))) else: if verbose: print("Running on Linux and optimal reactor (epoll) was installed.") @@ -100,7 +100,7 @@ from twisted.internet import default as defaultreactor defaultreactor.install() except Exception as e: - print("WARNING: Could not install default Twisted reactor for this platform ({0}).".format(e)) + print(("WARNING: Could not install default Twisted reactor for this platform ({0}).".format(e))) @@ -119,11 +119,11 @@ ## install explicitly given reactor ## from twisted.application.reactors import installReactor - print("Trying to install explicitly specified Twisted reactor '%s'" % explicitReactor) + print(("Trying to install explicitly specified Twisted reactor '%s'" % explicitReactor)) try: installReactor(explicitReactor) except Exception as e: - print("Could not install Twisted reactor %s%s" % (explicitReactor, ' ["%s"]' % e if verbose else '')) + print(("Could not install Twisted reactor %s%s" % (explicitReactor, ' ["%s"]' % e if verbose else ''))) sys.exit(1) else: ## automatically choose optimal reactor @@ -137,6 +137,6 @@ if verbose: from twisted.python.reflect import qual - print("Running Twisted reactor %s" % qual(reactor.__class__)) + print(("Running Twisted reactor %s" % qual(reactor.__class__))) return reactor --- ./autobahn/asyncio/wamp.py (original) +++ ./autobahn/asyncio/wamp.py (refactored) @@ -16,7 +16,7 @@ ## ############################################################################### -from __future__ import absolute_import + __all__ = ( 'FutureMixin', + 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/autobahn copying autobahn/util.py -> build/lib/autobahn copying autobahn/__init__.py -> build/lib/autobahn creating build/lib/autobahn/wamp copying autobahn/wamp/__init__.py -> build/lib/autobahn/wamp copying autobahn/wamp/auth.py -> build/lib/autobahn/wamp copying autobahn/wamp/exception.py -> build/lib/autobahn/wamp copying autobahn/wamp/message.py -> build/lib/autobahn/wamp copying autobahn/wamp/protocol.py -> build/lib/autobahn/wamp copying autobahn/wamp/role.py -> build/lib/autobahn/wamp copying autobahn/wamp/serializer.py -> build/lib/autobahn/wamp copying autobahn/wamp/types.py -> build/lib/autobahn/wamp copying autobahn/wamp/websocket.py -> build/lib/autobahn/wamp copying autobahn/wamp/uri.py -> build/lib/autobahn/wamp copying autobahn/wamp/interfaces.py -> build/lib/autobahn/wamp creating build/lib/autobahn/wamp/test copying autobahn/wamp/test/_test_component.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_auth.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_message.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_protocol.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_protocol_peer.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_serializer.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/test_uri_pattern.py -> build/lib/autobahn/wamp/test copying autobahn/wamp/test/__init__.py -> build/lib/autobahn/wamp/test creating build/lib/autobahn/websocket copying autobahn/websocket/compress.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_bzip2.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_deflate.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_snappy.py -> build/lib/autobahn/websocket copying autobahn/websocket/protocol.py -> build/lib/autobahn/websocket copying autobahn/websocket/useragent.py -> build/lib/autobahn/websocket copying autobahn/websocket/xormasker.py -> build/lib/autobahn/websocket copying autobahn/websocket/utf8validator.py -> build/lib/autobahn/websocket copying autobahn/websocket/interfaces.py -> build/lib/autobahn/websocket copying autobahn/websocket/http.py -> build/lib/autobahn/websocket copying autobahn/websocket/compress_base.py -> build/lib/autobahn/websocket copying autobahn/websocket/__init__.py -> build/lib/autobahn/websocket creating build/lib/autobahn/websocket/test copying autobahn/websocket/test/test_websocket_url.py -> build/lib/autobahn/websocket/test copying autobahn/websocket/test/__init__.py -> build/lib/autobahn/websocket/test creating build/lib/autobahn/asyncio copying autobahn/asyncio/wamp.py -> build/lib/autobahn/asyncio copying autobahn/asyncio/websocket.py -> build/lib/autobahn/asyncio copying autobahn/asyncio/__init__.py -> build/lib/autobahn/asyncio creating build/lib/autobahn/twisted copying autobahn/twisted/choosereactor.py -> build/lib/autobahn/twisted copying autobahn/twisted/forwarder.py -> build/lib/autobahn/twisted copying autobahn/twisted/longpoll.py -> build/lib/autobahn/twisted copying autobahn/twisted/rawsocket.py -> build/lib/autobahn/twisted copying autobahn/twisted/util.py -> build/lib/autobahn/twisted copying autobahn/twisted/wamp.py -> build/lib/autobahn/twisted copying autobahn/twisted/websocket.py -> build/lib/autobahn/twisted copying autobahn/twisted/resource.py -> build/lib/autobahn/twisted copying autobahn/twisted/flashpolicy.py -> build/lib/autobahn/twisted copying autobahn/twisted/__init__.py -> build/lib/autobahn/twisted package init file 'twisted/plugins/__init__.py' not found (or not a regular file) creating build/lib/twisted creating build/lib/twisted/plugins copying twisted/plugins/autobahn_endpoints.py -> build/lib/twisted/plugins copying twisted/plugins/autobahn_twistd.py -> build/lib/twisted/plugins + popd ~/RPM/BUILD/python-module-autobahn-0.9.5 + export PYTHONPATH=/usr/src/RPM/BUILD/python-module-autobahn-0.9.5 + PYTHONPATH=/usr/src/RPM/BUILD/python-module-autobahn-0.9.5 + pushd doc ~/RPM/BUILD/python-module-autobahn-0.9.5/doc ~/RPM/BUILD/python-module-autobahn-0.9.5 + sphinx-build -b pickle -d build/doctrees . build/pickle Running Sphinx v1.4a0+ making output directory... Initializing Spelling Checker WARNING: the config value 'copyright' has type `NoneType', defaults to `str.' loading pickled environment... not yet created loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 15 source files that are out of date updating environment: 15 added, 0 changed, 0 removed reading sources... [ 6%] asynchronous-programming reading sources... [ 13%] changelog reading sources... [ 20%] contents reading sources... [ 26%] contribute reading sources... [ 33%] index reading sources... [ 40%] installation reading sources... [ 46%] reference/autobahn reading sources... [ 53%] reference/autobahn.asyncio reading sources... [ 60%] reference/autobahn.twisted reading sources... [ 66%] reference/autobahn.wamp reading sources... [ 73%] reference/autobahn.websocket reading sources... [ 80%] wamp/examples reading sources... [ 86%] wamp/programming reading sources... [ 93%] websocket/examples reading sources... [100%] websocket/programming looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 6%] asynchronous-programming writing output... [ 13%] changelog writing output... [ 20%] contents writing output... [ 26%] contribute writing output... [ 33%] index writing output... [ 40%] installation writing output... [ 46%] reference/autobahn writing output... [ 53%] reference/autobahn.asyncio writing output... [ 60%] reference/autobahn.twisted writing output... [ 66%] reference/autobahn.wamp writing output... [ 73%] reference/autobahn.websocket writing output... [ 80%] wamp/examples writing output... [ 86%] wamp/programming writing output... [ 93%] websocket/examples writing output... [100%] websocket/programming generating indices... genindex py-modindex highlighting module code... [ 2%] autobahn.websocket.compress_bzip2 highlighting module code... [ 5%] autobahn.twisted.flashpolicy highlighting module code... [ 8%] autobahn.twisted.websocket highlighting module code... [ 11%] autobahn.wamp.types highlighting module code... [ 14%] autobahn.websocket.compress_base highlighting module code... [ 17%] autobahn.wamp highlighting module code... [ 20%] autobahn.util highlighting module code... [ 23%] autobahn.wamp.websocket highlighting module code... [ 26%] autobahn.twisted.choosereactor highlighting module code... [ 29%] autobahn.websocket.http highlighting module code... [ 32%] autobahn.asyncio.websocket highlighting module code... [ 35%] abc highlighting module code... [ 38%] autobahn.twisted.wamp highlighting module code... [ 41%] autobahn.wamp.exception highlighting module code... [ 44%] autobahn.wamp.interfaces highlighting module code... [ 47%] autobahn.websocket.protocol highlighting module code... [ 50%] autobahn.asyncio.wamp highlighting module code... [ 52%] autobahn.twisted.util highlighting module code... [ 55%] autobahn.wamp.auth highlighting module code... [ 58%] autobahn.wamp.role highlighting module code... [ 61%] autobahn.websocket.useragent highlighting module code... [ 64%] autobahn.wamp.uri highlighting module code... [ 67%] autobahn.wamp.protocol highlighting module code... [ 70%] autobahn.websocket.compress_snappy highlighting module code... [ 73%] autobahn.twisted.forwarder highlighting module code... [ 76%] autobahn.wamp.serializer highlighting module code... [ 79%] autobahn.twisted.longpoll highlighting module code... [ 82%] autobahn.twisted.rawsocket highlighting module code... [ 85%] autobahn.websocket.interfaces highlighting module code... [ 88%] autobahn.websocket.compress_deflate highlighting module code... [ 91%] autobahn.twisted.resource highlighting module code... [ 94%] time highlighting module code... [ 97%] autobahn.wamp.message highlighting module code... [100%] wsaccel.utf8validator writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-autobahn-0.9.5/doc/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 2 warnings. + scons scons: Reading SConscript files ... Need to have a Java Run-time - please set JAVA_HOME ennvironment variable. scons: done reading SConscript files. scons: Building targets ... sphinx-build -A cstatic="//tavendo-common-static.s3-eu-west-1.amazonaws.com" -b html . _build Running Sphinx v1.4a0+ making output directory... Initializing Spelling Checker WARNING: the config value 'copyright' has type `NoneType', defaults to `str.' loading pickled environment... not yet created loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... loading intersphinx inventory from objects.inv... building [mo]: targets for 0 po files that are out of date building [html]: targets for 15 source files that are out of date updating environment: 15 added, 0 changed, 0 removed reading sources... [ 6%] asynchronous-programming reading sources... [ 13%] changelog reading sources... [ 20%] contents reading sources... [ 26%] contribute reading sources... [ 33%] index reading sources... [ 40%] installation reading sources... [ 46%] reference/autobahn reading sources... [ 53%] reference/autobahn.asyncio reading sources... [ 60%] reference/autobahn.twisted reading sources... [ 66%] reference/autobahn.wamp reading sources... [ 73%] reference/autobahn.websocket reading sources... [ 80%] wamp/examples reading sources... [ 86%] wamp/programming reading sources... [ 93%] websocket/examples reading sources... [100%] websocket/programming looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 6%] asynchronous-programming writing output... [ 13%] changelog writing output... [ 20%] contents writing output... [ 26%] contribute writing output... [ 33%] index writing output... [ 40%] installation writing output... [ 46%] reference/autobahn writing output... [ 53%] reference/autobahn.asyncio writing output... [ 60%] reference/autobahn.twisted writing output... [ 66%] reference/autobahn.wamp writing output... [ 73%] reference/autobahn.websocket writing output... [ 80%] wamp/examples writing output... [ 86%] wamp/programming writing output... [ 93%] websocket/examples writing output... [100%] websocket/programming generating indices... genindex py-modindex highlighting module code... [ 2%] autobahn.websocket.compress_bzip2 highlighting module code... [ 5%] autobahn.twisted.flashpolicy highlighting module code... [ 8%] autobahn.twisted.websocket highlighting module code... [ 11%] autobahn.wamp.types highlighting module code... [ 14%] autobahn.websocket.compress_base highlighting module code... [ 17%] autobahn.wamp highlighting module code... [ 20%] autobahn.util highlighting module code... [ 23%] autobahn.wamp.websocket highlighting module code... [ 26%] autobahn.twisted.choosereactor highlighting module code... [ 29%] autobahn.websocket.http highlighting module code... [ 32%] autobahn.asyncio.websocket highlighting module code... [ 35%] abc highlighting module code... [ 38%] autobahn.twisted.wamp highlighting module code... [ 41%] autobahn.wamp.exception highlighting module code... [ 44%] autobahn.wamp.interfaces highlighting module code... [ 47%] autobahn.websocket.protocol highlighting module code... [ 50%] autobahn.asyncio.wamp highlighting module code... [ 52%] autobahn.twisted.util highlighting module code... [ 55%] autobahn.wamp.auth highlighting module code... [ 58%] autobahn.wamp.role highlighting module code... [ 61%] autobahn.websocket.useragent highlighting module code... [ 64%] autobahn.wamp.uri highlighting module code... [ 67%] autobahn.wamp.protocol highlighting module code... [ 70%] autobahn.websocket.compress_snappy highlighting module code... [ 73%] autobahn.twisted.forwarder highlighting module code... [ 76%] autobahn.wamp.serializer highlighting module code... [ 79%] autobahn.twisted.longpoll highlighting module code... [ 82%] autobahn.twisted.rawsocket highlighting module code... [ 85%] autobahn.websocket.interfaces highlighting module code... [ 88%] autobahn.websocket.compress_deflate highlighting module code... [ 91%] autobahn.twisted.resource highlighting module code... [ 94%] time highlighting module code... [ 97%] autobahn.wamp.message highlighting module code... [100%] wsaccel.utf8validator writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-autobahn-0.9.5/doc/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 2 warnings. scons: done building targets. + popd ~/RPM/BUILD/python-module-autobahn-0.9.5 + mv doc/_build html + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.2563 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-autobahn-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-autobahn-buildroot + cd python-module-autobahn-0.9.5 + pushd autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5/autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-autobahn-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-autobahn-buildroot creating /usr/src/tmp/python-module-autobahn-buildroot/usr creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/twisted creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/twisted/plugins copying build/lib/twisted/plugins/autobahn_endpoints.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/twisted/plugins copying build/lib/twisted/plugins/autobahn_twistd.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/twisted/plugins creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/choosereactor.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/flashpolicy.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/forwarder.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/longpoll.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/rawsocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/resource.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/util.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/wamp.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/websocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/asyncio copying build/lib/autobahn/asyncio/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/asyncio copying build/lib/autobahn/asyncio/wamp.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/asyncio copying build/lib/autobahn/asyncio/websocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/asyncio creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/test copying build/lib/autobahn/websocket/test/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/test copying build/lib/autobahn/websocket/test/test_websocket_url.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/test copying build/lib/autobahn/websocket/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_base.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_bzip2.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_deflate.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_snappy.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/http.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/interfaces.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/protocol.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/useragent.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/utf8validator.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/xormasker.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/_test_component.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_auth.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_message.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_protocol.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_protocol_peer.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_serializer.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_uri_pattern.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/auth.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/exception.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/interfaces.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/message.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/protocol.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/role.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/serializer.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/types.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/uri.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/websocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp copying build/lib/autobahn/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn copying build/lib/autobahn/util.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/twisted/plugins/autobahn_endpoints.py to autobahn_endpoints.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/twisted/plugins/autobahn_twistd.py to autobahn_twistd.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/choosereactor.py to choosereactor.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/flashpolicy.py to flashpolicy.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/forwarder.py to forwarder.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/longpoll.py to longpoll.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/rawsocket.py to rawsocket.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/resource.py to resource.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/util.py to util.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/wamp.py to wamp.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/twisted/websocket.py to websocket.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/asyncio/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/asyncio/wamp.py to wamp.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/asyncio/websocket.py to websocket.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/test/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/test/test_websocket_url.py to test_websocket_url.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/compress.py to compress.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/compress_base.py to compress_base.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/compress_bzip2.py to compress_bzip2.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/compress_deflate.py to compress_deflate.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/compress_snappy.py to compress_snappy.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/http.py to http.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/interfaces.py to interfaces.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/protocol.py to protocol.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/useragent.py to useragent.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/utf8validator.py to utf8validator.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/websocket/xormasker.py to xormasker.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/_test_component.py to _test_component.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/test_auth.py to test_auth.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/test_message.py to test_message.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/test_protocol.py to test_protocol.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/test_protocol_peer.py to test_protocol_peer.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/test_serializer.py to test_serializer.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/test/test_uri_pattern.py to test_uri_pattern.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/auth.py to auth.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/exception.py to exception.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/interfaces.py to interfaces.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/message.py to message.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/protocol.py to protocol.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/role.py to role.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/serializer.py to serializer.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/types.py to types.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/uri.py to uri.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/wamp/websocket.py to websocket.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn/util.py to util.pyc running install_egg_info running egg_info creating autobahn.egg-info writing requirements to autobahn.egg-info/requires.txt writing autobahn.egg-info/PKG-INFO writing top-level names to autobahn.egg-info/top_level.txt writing dependency_links to autobahn.egg-info/dependency_links.txt writing manifest file 'autobahn.egg-info/SOURCES.txt' package init file 'twisted/plugins/__init__.py' not found (or not a regular file) reading manifest file 'autobahn.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'autobahn.egg-info/SOURCES.txt' Copying autobahn.egg-info to /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python2.7/site-packages/autobahn-0.9.5-py2.7.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-autobahn-0.9.5 + pushd ../python3/autobahn ~/RPM/BUILD/python3/autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-autobahn-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/twisted creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/twisted/plugins copying build/lib/twisted/plugins/autobahn_twistd.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/twisted/plugins copying build/lib/twisted/plugins/autobahn_endpoints.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/twisted/plugins creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/flashpolicy.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/resource.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/websocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/wamp.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/util.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/rawsocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/longpoll.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/forwarder.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted copying build/lib/autobahn/twisted/choosereactor.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/asyncio copying build/lib/autobahn/asyncio/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/asyncio copying build/lib/autobahn/asyncio/websocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/asyncio copying build/lib/autobahn/asyncio/wamp.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/asyncio creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/test copying build/lib/autobahn/websocket/test/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/test copying build/lib/autobahn/websocket/test/test_websocket_url.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/test copying build/lib/autobahn/websocket/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_base.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/http.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/interfaces.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/utf8validator.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/xormasker.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/useragent.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/protocol.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_snappy.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_deflate.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress_bzip2.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket copying build/lib/autobahn/websocket/compress.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp creating /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_uri_pattern.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_serializer.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_protocol_peer.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_protocol.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_message.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/test_auth.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/test/_test_component.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test copying build/lib/autobahn/wamp/interfaces.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/uri.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/websocket.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/types.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/serializer.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/role.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/protocol.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/message.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/exception.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/auth.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/wamp/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp copying build/lib/autobahn/__init__.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn copying build/lib/autobahn/util.py -> /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/twisted/plugins/autobahn_twistd.py to autobahn_twistd.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/twisted/plugins/autobahn_endpoints.py to autobahn_endpoints.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/flashpolicy.py to flashpolicy.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/resource.py to resource.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/websocket.py to websocket.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/wamp.py to wamp.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/util.py to util.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/rawsocket.py to rawsocket.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/longpoll.py to longpoll.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/forwarder.py to forwarder.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/twisted/choosereactor.py to choosereactor.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/asyncio/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/asyncio/websocket.py to websocket.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/asyncio/wamp.py to wamp.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/test/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/test/test_websocket_url.py to test_websocket_url.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/compress_base.py to compress_base.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/http.py to http.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/interfaces.py to interfaces.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/utf8validator.py to utf8validator.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/xormasker.py to xormasker.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/useragent.py to useragent.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/protocol.py to protocol.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/compress_snappy.py to compress_snappy.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/compress_deflate.py to compress_deflate.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/compress_bzip2.py to compress_bzip2.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/websocket/compress.py to compress.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/test_uri_pattern.py to test_uri_pattern.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/test_serializer.py to test_serializer.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/test_protocol_peer.py to test_protocol_peer.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/test_protocol.py to test_protocol.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/test_message.py to test_message.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/test_auth.py to test_auth.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/test/_test_component.py to _test_component.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/interfaces.py to interfaces.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/uri.py to uri.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/websocket.py to websocket.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/types.py to types.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/serializer.py to serializer.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/role.py to role.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/protocol.py to protocol.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/message.py to message.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/exception.py to exception.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/auth.py to auth.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/wamp/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn/util.py to util.cpython-35.pyc running install_egg_info running egg_info creating autobahn.egg-info writing requirements to autobahn.egg-info/requires.txt writing top-level names to autobahn.egg-info/top_level.txt writing autobahn.egg-info/PKG-INFO writing dependency_links to autobahn.egg-info/dependency_links.txt writing manifest file 'autobahn.egg-info/SOURCES.txt' package init file 'twisted/plugins/__init__.py' not found (or not a regular file) reading manifest file 'autobahn.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'autobahn.egg-info/SOURCES.txt' Copying autobahn.egg-info to /usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages/autobahn-0.9.5-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-autobahn-0.9.5 + mv /usr/src/tmp/python-module-autobahn-buildroot/usr/lib /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64 + cp -fR doc/build/pickle /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-autobahn-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-autobahn-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-autobahn-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-autobahn-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/python-module-autobahn-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-autobahn-buildroot using /usr/bin/python Can't list '/usr/src/tmp/python-module-autobahn-buildroot/usr/lib' unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/__init__.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/wamp.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/websocket.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/websocket.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/__init__.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/choosereactor.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/flashpolicy.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/forwarder.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/longpoll.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/rawsocket.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/resource.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/util.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/wamp.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/websocket.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/choosereactor.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/flashpolicy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/forwarder.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/longpoll.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/rawsocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/resource.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/websocket.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/__init__.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/_test_component.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_auth.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_message.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol_peer.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_serializer.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_uri_pattern.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/_test_component.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol_peer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_uri_pattern.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/__init__.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/auth.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/exception.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/interfaces.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/message.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/protocol.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/role.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/serializer.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/types.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/uri.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/websocket.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/exception.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/role.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/types.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/uri.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/websocket.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/test/__init__.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/test/test_websocket_url.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/test/test_websocket_url.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/__init__.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_base.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_bzip2.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_deflate.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_snappy.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/http.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/interfaces.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/protocol.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/useragent.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/utf8validator.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/xormasker.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_base.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_bzip2.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_deflate.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_snappy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/http.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/useragent.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/utf8validator.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/xormasker.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/__init__.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/util.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/util.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_endpoints.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_twistd.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_endpoints.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_twistd.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-autobahn-buildroot using /usr/bin/python -O Can't list '/usr/src/tmp/python-module-autobahn-buildroot/usr/lib' compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/asyncio/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/choosereactor.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/flashpolicy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/forwarder.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/longpoll.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/rawsocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/resource.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/twisted/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/_test_component.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol_peer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_uri_pattern.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/exception.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/role.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/types.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/uri.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/wamp/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/test/test_websocket_url.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_base.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_bzip2.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_deflate.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/compress_snappy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/http.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/useragent.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/utf8validator.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/websocket/xormasker.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/autobahn/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_endpoints.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_twistd.py Bytecompiling python3 modules in /usr/src/tmp/python-module-autobahn-buildroot using python3 unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/__pycache__/util.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/wamp.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/websocket.cpython-35.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/websocket.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/choosereactor.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/flashpolicy.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/forwarder.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/longpoll.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/rawsocket.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/resource.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/util.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/wamp.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/websocket.cpython-35.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/choosereactor.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/flashpolicy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/forwarder.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/longpoll.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/rawsocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/resource.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/websocket.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/auth.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/exception.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/interfaces.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/message.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/protocol.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/role.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/serializer.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/types.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/uri.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/websocket.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/_test_component.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_auth.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_message.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol_peer.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_serializer.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_uri_pattern.cpython-35.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/_test_component.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_protocol_peer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_uri_pattern.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/exception.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/role.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/types.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/uri.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/websocket.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_base.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_bzip2.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_deflate.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_snappy.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/http.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/interfaces.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/protocol.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/useragent.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/utf8validator.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/xormasker.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/test_websocket_url.cpython-35.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/test_websocket_url.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_base.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_bzip2.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_deflate.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_snappy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/http.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/useragent.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/utf8validator.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/xormasker.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/util.py unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-35.pyc unlink /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_twistd.cpython-35.pyc compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/autobahn_endpoints.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/autobahn_twistd.py Can't list '/usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-autobahn-buildroot using python3 -O compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/choosereactor.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/flashpolicy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/forwarder.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/longpoll.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/rawsocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/resource.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/_test_component.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_protocol_peer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_uri_pattern.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/exception.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/role.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/types.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/uri.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/test_websocket_url.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_base.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_bzip2.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_deflate.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_snappy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/http.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/useragent.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/utf8validator.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/xormasker.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/autobahn_endpoints.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/autobahn_twistd.py Can't list '/usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-autobahn-buildroot using python3 -OO Can't list '/usr/src/tmp/python-module-autobahn-buildroot/usr/lib/python3/site-packages' compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/asyncio/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/choosereactor.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/flashpolicy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/forwarder.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/longpoll.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/rawsocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/resource.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/wamp.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/twisted/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/_test_component.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_protocol_peer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/test/test_uri_pattern.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/auth.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/exception.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/message.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/role.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/serializer.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/types.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/uri.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/wamp/websocket.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/test/test_websocket_url.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_base.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_bzip2.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_deflate.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/compress_snappy.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/http.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/interfaces.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/protocol.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/useragent.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/utf8validator.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/websocket/xormasker.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/__init__.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/autobahn/util.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/autobahn_endpoints.py compile /usr/src/tmp/python-module-autobahn-buildroot/usr/lib64/python3/site-packages/twisted/plugins/autobahn_twistd.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/autobahn/__pycache__/util.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/__pycache__/util.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/serializer.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/serializer.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/role.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/role.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/role.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/role.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/interfaces.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/interfaces.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/exception.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/__pycache__/exception.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_uri_pattern.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_uri_pattern.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_serializer.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_serializer.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_serializer.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_serializer.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol_peer.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol_peer.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol_peer.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol_peer.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_protocol.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_message.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_message.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_message.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_message.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_auth.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_auth.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_auth.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/test_auth.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/_test_component.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/_test_component.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/wamp/test/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/xormasker.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/xormasker.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/utf8validator.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/utf8validator.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/useragent.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/useragent.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/interfaces.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/interfaces.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/http.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/http.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_snappy.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_snappy.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_deflate.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_deflate.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_bzip2.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_bzip2.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_base.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress_base.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/compress.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/test_websocket_url.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/test_websocket_url.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/test_websocket_url.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/test_websocket_url.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/websocket/test/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/websocket.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/websocket.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/wamp.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/wamp.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/asyncio/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/util.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/util.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/resource.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/resource.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/longpoll.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/longpoll.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/forwarder.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/forwarder.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/forwarder.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/forwarder.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/flashpolicy.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/flashpolicy.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/choosereactor.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/choosereactor.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/__init__.cpython-35.pyc' './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/autobahn/twisted/__pycache__/__init__.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_twistd.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_twistd.cpython-35.pyc' './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_twistd.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_twistd.cpython-35.opt-1.pyc' './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-35.opt-1.pyc' => './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-35.pyc' './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-35.opt-2.pyc' => './usr/lib64/python3/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/autobahn/util.pyo' => './usr/lib64/python2.7/site-packages/autobahn/util.pyc' './usr/lib64/python2.7/site-packages/autobahn/__init__.pyo' => './usr/lib64/python2.7/site-packages/autobahn/__init__.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/serializer.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/serializer.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/role.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/role.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/interfaces.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/interfaces.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/exception.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/exception.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_serializer.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_serializer.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol_peer.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol_peer.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_protocol.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_message.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_message.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_auth.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/test/test_auth.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/test/_test_component.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/test/_test_component.pyc' './usr/lib64/python2.7/site-packages/autobahn/wamp/test/__init__.pyo' => './usr/lib64/python2.7/site-packages/autobahn/wamp/test/__init__.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/utf8validator.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/utf8validator.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/useragent.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/useragent.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/interfaces.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/interfaces.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/http.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/http.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_snappy.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_snappy.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_deflate.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_deflate.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_bzip2.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_bzip2.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_base.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/compress_base.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/compress.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/compress.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/__init__.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/__init__.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/test/test_websocket_url.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/test/test_websocket_url.pyc' './usr/lib64/python2.7/site-packages/autobahn/websocket/test/__init__.pyo' => './usr/lib64/python2.7/site-packages/autobahn/websocket/test/__init__.pyc' './usr/lib64/python2.7/site-packages/autobahn/asyncio/websocket.pyo' => './usr/lib64/python2.7/site-packages/autobahn/asyncio/websocket.pyc' './usr/lib64/python2.7/site-packages/autobahn/asyncio/wamp.pyo' => './usr/lib64/python2.7/site-packages/autobahn/asyncio/wamp.pyc' './usr/lib64/python2.7/site-packages/autobahn/asyncio/__init__.pyo' => './usr/lib64/python2.7/site-packages/autobahn/asyncio/__init__.pyc' './usr/lib64/python2.7/site-packages/autobahn/twisted/util.pyo' => './usr/lib64/python2.7/site-packages/autobahn/twisted/util.pyc' './usr/lib64/python2.7/site-packages/autobahn/twisted/resource.pyo' => './usr/lib64/python2.7/site-packages/autobahn/twisted/resource.pyc' './usr/lib64/python2.7/site-packages/autobahn/twisted/longpoll.pyo' => './usr/lib64/python2.7/site-packages/autobahn/twisted/longpoll.pyc' './usr/lib64/python2.7/site-packages/autobahn/twisted/forwarder.pyo' => './usr/lib64/python2.7/site-packages/autobahn/twisted/forwarder.pyc' './usr/lib64/python2.7/site-packages/autobahn/twisted/flashpolicy.pyo' => './usr/lib64/python2.7/site-packages/autobahn/twisted/flashpolicy.pyc' './usr/lib64/python2.7/site-packages/autobahn/twisted/choosereactor.pyo' => './usr/lib64/python2.7/site-packages/autobahn/twisted/choosereactor.pyc' './usr/lib64/python2.7/site-packages/autobahn/twisted/__init__.pyo' => './usr/lib64/python2.7/site-packages/autobahn/twisted/__init__.pyc' './usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_twistd.pyo' => './usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_twistd.pyc' './usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_endpoints.pyo' => './usr/lib64/python2.7/site-packages/twisted/plugins/autobahn_endpoints.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.6027 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-autobahn-0.9.5 + pushd autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5/autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5 + python setup.py test running test running egg_info writing requirements to autobahn.egg-info/requires.txt writing autobahn.egg-info/PKG-INFO writing top-level names to autobahn.egg-info/top_level.txt writing dependency_links to autobahn.egg-info/dependency_links.txt package init file 'twisted/plugins/__init__.py' not found (or not a regular file) reading manifest file 'autobahn.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'autobahn.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + popd ~/RPM/BUILD/python-module-autobahn-0.9.5 + pushd ../python3/autobahn ~/RPM/BUILD/python3/autobahn ~/RPM/BUILD/python-module-autobahn-0.9.5 + python3 setup.py test running test running egg_info writing dependency_links to autobahn.egg-info/dependency_links.txt writing autobahn.egg-info/PKG-INFO writing top-level names to autobahn.egg-info/top_level.txt writing requirements to autobahn.egg-info/requires.txt package init file 'twisted/plugins/__init__.py' not found (or not a regular file) reading manifest file 'autobahn.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'autobahn.egg-info/SOURCES.txt' running build_ext test_create_url01 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url02 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url03 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url04 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url05 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url06 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url07 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url08 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url09 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url10 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url11 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url12 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url13 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url14 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url15 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_parse_url01 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url02 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url03 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url04 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url05 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url06 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url07 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url08 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url09 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url10 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url11 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url12 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url13 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url14 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok _test_component (unittest.loader._FailedTest) ... ERROR test_compute_totp (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_totp_offset (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_wcs (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_derive_key (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_pbkdf2 (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_ctor (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_str (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_invalid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_valid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_ctor (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_invalid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_ctor (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_exception_from_message (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_message_from_exception (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_decorate_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_endpoint_multiple (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_decorate_exception_non_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_decorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_undecorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_args (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_undefined (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_marshal_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_invalid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_parse_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_valid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok forwarder (unittest.loader._FailedTest) ... ERROR longpoll (unittest.loader._FailedTest) ... ERROR rawsocket (unittest.loader._FailedTest) ... ERROR util (unittest.loader._FailedTest) ... ERROR wamp (unittest.loader._FailedTest) ... ERROR websocket (unittest.loader._FailedTest) ... ERROR resource (unittest.loader._FailedTest) ... ERROR flashpolicy (unittest.loader._FailedTest) ... ERROR forwarder (unittest.loader._FailedTest) ... ERROR longpoll (unittest.loader._FailedTest) ... ERROR rawsocket (unittest.loader._FailedTest) ... ERROR util (unittest.loader._FailedTest) ... ERROR wamp (unittest.loader._FailedTest) ... ERROR websocket (unittest.loader._FailedTest) ... ERROR resource (unittest.loader._FailedTest) ... ERROR flashpolicy (unittest.loader._FailedTest) ... ERROR _test_component (unittest.loader._FailedTest) ... ERROR test_compute_totp (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_totp_offset (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_wcs (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_derive_key (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_pbkdf2 (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_ctor (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_str (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_invalid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_valid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_ctor (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_invalid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_ctor (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_exception_from_message (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_message_from_exception (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_decorate_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_endpoint_multiple (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_decorate_exception_non_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_decorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_undecorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_args (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_undefined (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_marshal_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_invalid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_parse_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_valid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok _test_component (unittest.loader._FailedTest) ... ERROR test_compute_totp (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_totp_offset (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_wcs (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_derive_key (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_pbkdf2 (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_ctor (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_str (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_invalid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_valid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_ctor (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_invalid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_ctor (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_exception_from_message (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_message_from_exception (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_decorate_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_endpoint_multiple (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_decorate_exception_non_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_decorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_undecorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_args (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_undefined (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_marshal_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_invalid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_parse_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_valid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_compute_totp (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_totp_offset (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_compute_wcs (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_derive_key (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_totp_secret_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_default (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_generate_wcs_length (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_pbkdf2 (autobahn.wamp.test.test_auth.TestWampAuthHelpers) ... ok test_ctor (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCallMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestCancelMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestErrorMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestEventMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_str (autobahn.wamp.test.test_message.TestGoodbyeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHeartbeatMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_str (autobahn.wamp.test.test_message.TestHelloMessage) ... ok test_invalid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_valid_ids (autobahn.wamp.test.test_message.TestIds) ... ok test_ctor (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInterruptMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestInvocationMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestPublishedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestRegisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestResultMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestSubscribedMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisterMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnregisteredMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribeMessage) ... ok test_ctor (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestUnsubscribedMessage) ... ok test_invalid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_invalid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_loose_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_empty (autobahn.wamp.test.test_message.TestUris) ... ok test_valid_uris_strict_nonempty (autobahn.wamp.test.test_message.TestUris) ... ok test_ctor (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_parse_and_marshal (autobahn.wamp.test.test_message.TestYieldMessage) ... ok test_exception_from_message (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_message_from_exception (autobahn.wamp.test.test_protocol_peer.TestPeerExceptions) ... ok test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ... ERROR test_decorate_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_endpoint (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_match_decorated_handler (autobahn.wamp.test.test_uri_pattern.TestDecorators) ... ok test_decorate_endpoint_multiple (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_decorate_exception_non_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_decorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_define_exception_undecorated (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_args (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_map_exception_undefined (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_marshal_decorated_exception (autobahn.wamp.test.test_uri_pattern.TestDecoratorsAdvanced) ... ok test_invalid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_parse_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_valid_uris (autobahn.wamp.test.test_uri_pattern.TestUris) ... ok test_create_url01 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url02 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url03 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url04 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url05 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url06 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url07 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url08 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url09 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url10 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url11 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url12 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url13 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url14 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url15 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_parse_url01 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url02 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url03 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url04 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url05 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url06 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url07 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url08 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url09 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url10 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url11 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url12 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url13 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url14 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_create_url01 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url02 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url03 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url04 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url05 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url06 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url07 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url08 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url09 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url10 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url11 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url12 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url13 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url14 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url15 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_parse_url01 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url02 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url03 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url04 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url05 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url06 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url07 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url08 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url09 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url10 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url11 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url12 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url13 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url14 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_create_url01 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url02 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url03 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url04 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url05 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url06 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url07 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url08 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url09 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url10 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url11 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url12 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url13 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url14 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_create_url15 (autobahn.websocket.test.test_websocket_url.TestCreateWsUrl) ... ok test_parse_url01 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url02 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url03 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url04 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url05 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url06 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url07 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url08 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url09 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url10 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url11 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url12 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url13 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok test_parse_url14 (autobahn.websocket.test.test_websocket_url.TestParseWsUrl) ... ok ====================================================================== ERROR: _test_component (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: _test_component Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/_test_component.py", line 21, in from twisted.trial import unittest ImportError: No module named 'twisted.trial' ====================================================================== ERROR: test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ====================================================================== ERROR: test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ====================================================================== ERROR: forwarder (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: forwarder Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/forwarder.py", line 21, in from twisted.python import usage ImportError: No module named 'twisted.python' ====================================================================== ERROR: longpoll (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: longpoll Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/longpoll.py", line 32, in from twisted.python import log ImportError: No module named 'twisted.python' ====================================================================== ERROR: rawsocket (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: rawsocket Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/rawsocket.py", line 29, in from twisted.python import log ImportError: No module named 'twisted.python' ====================================================================== ERROR: util (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: util Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/util.py", line 25, in from twisted.internet.defer import Deferred ImportError: No module named 'twisted.internet' ====================================================================== ERROR: wamp (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: wamp Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/wamp.py", line 32, in from twisted.python import log ImportError: No module named 'twisted.python' ====================================================================== ERROR: websocket (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: websocket Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/websocket.py", line 49, in import twisted.internet.protocol ImportError: No module named 'twisted.internet' ====================================================================== ERROR: resource (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: resource Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/resource.py", line 27, in from twisted.protocols.policies import ProtocolWrapper ImportError: No module named 'twisted.protocols' ====================================================================== ERROR: flashpolicy (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: flashpolicy Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/flashpolicy.py", line 27, in from twisted.internet.protocol import Protocol, Factory ImportError: No module named 'twisted.internet' ====================================================================== ERROR: forwarder (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: forwarder Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/forwarder.py", line 21, in from twisted.python import usage ImportError: No module named 'twisted.python' ====================================================================== ERROR: longpoll (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: longpoll Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/longpoll.py", line 32, in from twisted.python import log ImportError: No module named 'twisted.python' ====================================================================== ERROR: rawsocket (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: rawsocket Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/rawsocket.py", line 29, in from twisted.python import log ImportError: No module named 'twisted.python' ====================================================================== ERROR: util (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: util Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/util.py", line 25, in from twisted.internet.defer import Deferred ImportError: No module named 'twisted.internet' ====================================================================== ERROR: wamp (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: wamp Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/wamp.py", line 32, in from twisted.python import log ImportError: No module named 'twisted.python' ====================================================================== ERROR: websocket (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: websocket Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/websocket.py", line 49, in import twisted.internet.protocol ImportError: No module named 'twisted.internet' ====================================================================== ERROR: resource (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: resource Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/resource.py", line 27, in from twisted.protocols.policies import ProtocolWrapper ImportError: No module named 'twisted.protocols' ====================================================================== ERROR: flashpolicy (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: flashpolicy Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/twisted/flashpolicy.py", line 27, in from twisted.internet.protocol import Protocol, Factory ImportError: No module named 'twisted.internet' ====================================================================== ERROR: _test_component (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: _test_component Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/_test_component.py", line 21, in from twisted.trial import unittest ImportError: No module named 'twisted.trial' ====================================================================== ERROR: test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ====================================================================== ERROR: test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ====================================================================== ERROR: _test_component (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: _test_component Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 153, in loadTestsFromName module = __import__(module_name) File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/_test_component.py", line 21, in from twisted.trial import unittest ImportError: No module named 'twisted.trial' ====================================================================== ERROR: test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ====================================================================== ERROR: test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ====================================================================== ERROR: test_caching (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ====================================================================== ERROR: test_roundtrip (autobahn.wamp.test.test_serializer.TestSerializer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3/autobahn/autobahn/wamp/test/test_serializer.py", line 82, in setUp self.serializers.append(serializer.MsgPackSerializer()) AttributeError: module 'autobahn.wamp.serializer' has no attribute 'MsgPackSerializer' ---------------------------------------------------------------------- Ran 471 tests in 0.827s FAILED (errors=27) error: Bad exit status from /usr/src/tmp/rpm-tmp.6027 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.6027 (%check) Command exited with non-zero status 1 41.92user 1.01system 0:49.65elapsed 86%CPU (0avgtext+0avgdata 177020maxresident)k 0inputs+0outputs (0major+368888minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-autobahn-0.9.5-alt1.git20150111.1.1.src.rpm' failed. Command exited with non-zero status 1 59.10user 4.59system 1:19.32elapsed 80%CPU (0avgtext+0avgdata 177020maxresident)k 42496inputs+0outputs (0major+752205minor)pagefaults 0swaps