<86>Apr 14 01:00:02 userdel[85960]: delete user 'rooter' <86>Apr 14 01:00:02 userdel[85960]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:00:02 groupadd[85968]: group added to /etc/group: name=rooter, GID=591 <86>Apr 14 01:00:02 groupadd[85968]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:00:02 groupadd[85968]: new group: name=rooter, GID=591 <86>Apr 14 01:00:02 useradd[85974]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Apr 14 01:00:02 userdel[85982]: delete user 'builder' <86>Apr 14 01:00:02 userdel[85982]: removed group 'builder' owned by 'builder' <86>Apr 14 01:00:02 userdel[85982]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:00:02 groupadd[85987]: group added to /etc/group: name=builder, GID=592 <86>Apr 14 01:00:02 groupadd[85987]: group added to /etc/gshadow: name=builder <86>Apr 14 01:00:02 groupadd[85987]: new group: name=builder, GID=592 <86>Apr 14 01:00:02 useradd[85994]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash <13>Apr 14 01:00:09 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:00:09 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:00:09 rpmi: libtcl-8.5.9-alt2 1351878901 installed <13>Apr 14 01:00:09 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:00:09 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:00:09 rpmi: tcl-8.5.9-alt2 1351878901 installed <13>Apr 14 01:00:09 rpmi: python-sphinx-objects.inv-2.3.6.20160413-alt1 1460595508 installed <13>Apr 14 01:00:09 rpmi: python-module-ndg-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:00:09 rpmi: python-module-enum34-1.0.4-alt1.1.1 1457942288 installed <13>Apr 14 01:00:09 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 14 01:00:09 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 01:00:09 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 01:00:09 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Apr 14 01:00:09 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 14 01:00:09 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Apr 14 01:00:09 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 01:00:09 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 01:00:09 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 01:00:10 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 01:00:10 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 01:00:10 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 01:00:10 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:00:10 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:00:10 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:10 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:00:10 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:00:10 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:00:10 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:00:10 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Apr 14 01:00:10 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Apr 14 01:00:10 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Apr 14 01:00:11 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 14 01:00:11 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Apr 14 01:00:11 rpmi: libtk-8.5.9-alt3 1308047279 installed <13>Apr 14 01:00:11 rpmi: tk-8.5.9-alt3 1308047279 installed <86>Apr 14 01:00:11 groupadd[100557]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:00:11 groupadd[100557]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:00:11 groupadd[100557]: new group: name=_keytab, GID=499 <13>Apr 14 01:00:12 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:00:13 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:00:13 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:13 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:00:13 rpmi: python3-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Apr 14 01:00:13 rpmi: python3-module-pycparser-2.14-alt1.1 1458071180 installed <13>Apr 14 01:00:13 rpmi: python3-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Apr 14 01:00:13 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 01:00:13 rpmi: python3-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 01:00:13 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:00:14 rpmi: python3-module-pytz-1:2015.4-alt1.1.1 1460413776 installed <13>Apr 14 01:00:14 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 14 01:00:14 rpmi: python3-module-sphinx_rtd_theme-0.1.8-alt1.git20150730.1 1457859644 installed <13>Apr 14 01:00:14 rpmi: python3-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Apr 14 01:00:14 rpmi: python3-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:00:14 rpmi: python3-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed <13>Apr 14 01:00:14 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Apr 14 01:00:14 rpmi: python3-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Apr 14 01:00:14 rpmi: python3-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Apr 14 01:00:14 rpmi: python3-module-ndg-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:00:14 rpmi: python3-module-selenium-2.47.0-alt2.M80P.1 1497917561 installed <13>Apr 14 01:00:14 rpmi: python3-module-uritemplate-0.6-alt3.1.1 1458167407 installed <13>Apr 14 01:00:15 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:00:15 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:15 rpmi: python3-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Apr 14 01:00:15 rpmi: python3-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Apr 14 01:00:15 rpmi: python3-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Apr 14 01:00:15 rpmi: python3-module-markupsafe-0.23-alt1.2.1 1459593526 installed <13>Apr 14 01:00:15 rpmi: python3-modules-sqlite3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:00:15 rpmi: python3-module-SQLAlchemy-1.2.15-alt1 p8+223214.600.2.1 1551354313 installed <13>Apr 14 01:00:16 rpmi: python3-modules-tkinter-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:00:16 rpmi: python3-module-robotframework-2.9-alt1.dev20150202.1.1 1458122544 installed <13>Apr 14 01:00:16 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:00:16 rpmi: python3-module-robotframework-selenium2library-1.7-alt1.dev.git20150217.1.1 1458102880 installed <13>Apr 14 01:00:16 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:00:16 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:16 rpmi: python3-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 01:00:16 rpmi: python3-module-docutils-0.13-alt4.git20150716.1.1 1460400317 installed <13>Apr 14 01:00:16 rpmi: python3-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Apr 14 01:00:16 rpmi: python3-module-jinja2-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 14 01:00:17 rpmi: python3-module-pip-10.0.1-alt1.M80P.1 1528316057 installed <13>Apr 14 01:00:17 rpmi: python3-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed <13>Apr 14 01:00:18 rpmi: python3-module-babel-1:2.3.4-alt0.M80P.1 1480881327 installed <13>Apr 14 01:00:18 rpmi: python3-module-ndg-httpsclient-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:00:18 rpmi: python3-module-urllib3-2:1.21.1-alt1 1506613994 installed <13>Apr 14 01:00:18 rpmi: python3-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1 1460400640 installed <13>Apr 14 01:00:18 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:00:18 rpmi: python3-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 01:00:18 rpmi: python3-module-requests-2.18.4-alt1 1506613877 installed <13>Apr 14 01:00:18 rpmi: python3-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 installed <13>Apr 14 01:00:18 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:18 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:00:18 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:18 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:18 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:18 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:18 rpmi: python3-module-Pygments-2.2.0-alt1.M80P.2 p8.214223.100 1538848792 installed <13>Apr 14 01:00:19 rpmi: python3-module-sphinx-1:1.4-alt8.a0.git20150813 1460726255 installed <13>Apr 14 01:00:19 rpmi: python-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 01:00:19 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:00:19 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-module-selenium-2.47.0-alt2.M80P.1 1497917561 installed <13>Apr 14 01:00:19 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:00:19 rpmi: python-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Apr 14 01:00:19 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-module-pycparser-2.14-alt1.1 1458071180 installed <13>Apr 14 01:00:19 rpmi: python-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Apr 14 01:00:19 rpmi: python-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Apr 14 01:00:19 rpmi: python-modules-tkinter-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:00:19 rpmi: python-module-robotframework-2.9-alt1.dev20150202.1.1 1458122544 installed <13>Apr 14 01:00:19 rpmi: python-module-ipaddress-1.0.18-alt0.M80P.1 1525452992 installed <13>Apr 14 01:00:19 rpmi: python-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Apr 14 01:00:19 rpmi: python-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Apr 14 01:00:19 rpmi: python-module-backports-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:00:19 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:00:19 rpmi: python-module-funcsigs-0.4-alt1.git20131220.1 1457958730 installed <13>Apr 14 01:00:19 rpmi: python-module-linecache2-1.0.0-alt1.git20150306.1.1 1457981765 installed <13>Apr 14 01:00:19 rpmi: python-module-traceback2-1.4.0-alt1.git20150309.1.1 1458137072 installed <13>Apr 14 01:00:19 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:00:19 rpmi: python3-module-alabaster-0.7.6-alt1.git20150703.1 1457857919 installed <13>Apr 14 01:00:19 rpmi: python-module-robotframework-selenium2library-1.7-alt1.dev.git20150217.1.1 1458102880 installed <13>Apr 14 01:00:19 rpmi: python-module-uritemplate-0.6-alt3.1.1 1458167407 installed <13>Apr 14 01:00:20 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:00:20 rpmi: python-module-pbr-2.0.0-alt0.M80P.1 1496089331 installed <13>Apr 14 01:00:20 rpmi: python-module-unittest2-1.1.0-alt2.hg20150630.1 1458023441 installed <13>Apr 14 01:00:20 rpmi: python-module-ndg-httpsclient-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:00:20 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Apr 14 01:00:20 rpmi: python-module-urllib3-2:1.21.1-alt1 1506613994 installed <13>Apr 14 01:00:20 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:00:20 rpmi: python-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 01:00:20 rpmi: python-module-requests-2.18.4-alt1 1506613877 installed <13>Apr 14 01:00:20 rpmi: python-module-mock-1.3.0-alt1.git20150731.1.1 1457990410 installed <13>Apr 14 01:00:20 rpmi: python-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 01:00:20 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 01:00:20 rpmi: python-module-docutils-0.13-alt4.git20150716.1.1 1460400317 installed Installing python-module-robotframework-pageobjects-1.1.9-alt1.git20150226.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.39390 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-robotframework-pageobjects-1.1.9 + echo 'Source #0 (python-module-robotframework-pageobjects-1.1.9.tar):' Source #0 (python-module-robotframework-pageobjects-1.1.9.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-robotframework-pageobjects-1.1.9.tar + cd python-module-robotframework-pageobjects-1.1.9 + /bin/chmod -c -Rf u+rwX,go-w . + echo 1.1.9 + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/version.py RefactoringTool: No changes to ../python3/tests/vars.py RefactoringTool: Refactored ../python3/tests/test_unit.py --- ../python3/version.py (original) +++ ../python3/version.py (refactored) @@ -101,4 +101,4 @@ if __name__ == "__main__": - print get_git_version() + print(get_git_version()) --- ../python3/tests/test_unit.py (original) +++ ../python3/tests/test_unit.py (refactored) @@ -51,7 +51,7 @@ def test_no_robot_get_env_var(self): os.environ["PO_FOO"] = "bar" handler = OptionHandler() - self.assertEquals(handler.get("foo"), "bar") + self.assertEqual(handler.get("foo"), "bar") def test_no_robot_env_not_set_is_none(self): handler = OptionHandler() @@ -72,22 +72,22 @@ def test_no_robot_var_file(self): os.environ["PO_VAR_FILE"] = self.path_to_var_file handler = OptionHandler() - self.assertEquals(handler.get("author"), "Dickens") - self.assertEquals(handler.get("dynamic"), "Python") + self.assertEqual(handler.get("author"), "Dickens") + self.assertEqual(handler.get("dynamic"), "Python") @patch.object(BuiltIn, "get_variables") def test_robot(self, mock_get_variables): mock_get_variables.return_value = {"${browser}": "foobar"} handler = OptionHandler() - self.assertEquals(handler.get("browser"), "foobar") + self.assertEqual(handler.get("browser"), "foobar") @patch.object(BuiltIn, "get_variables") def test_robot_can_get_vars_from_env(self, mock_get_variables): os.environ["PO_BROWSER"] = "opera" try: handler = OptionHandler() - self.assertEquals(handler.get("browser"), "opera") - except Exception, e: + self.assertEqual(handler.get("browser"), "opera") + except Exception as e: raise e finally: del os.environ["PO_BROWSER"] @@ -98,8 +98,8 @@ os.environ["PO_VAR_FILE"] = self.path_to_var_file try: handler = OptionHandler() - self.assertEquals(handler.get("author"), "Twain") - except Exception, e: + self.assertEqual(handler.get("author"), "Twain") + except Exception as e: raise e finally: del os.environ["PO_AUTHOR"] @@ -111,8 +111,8 @@ mock_get_variables.return_value = {"${browser}": "chrome"} try: handler = OptionHandler() - self.assertEquals(handler.get("browser"), "chrome") - except Exception, e: + self.assertEqual(handler.get("browser"), "chrome") + except Exception as e: raise e finally: del os.environ["PO_BROWSER"] @@ -123,8 +123,8 @@ os.environ["PO_VAR_FILE"] = self.path_to_var_file try: handler = OptionHandler() - self.assertEquals(handler.get("author"), "Twain") - except Exception, e: + self.assertEqual(handler.get("author"), "Twain") + except Exception as e: raise e finally: del os.environ["PO_VAR_FILE"] @@ -290,7 +290,7 @@ po = self.PO() path = "/pmc/1234" url = po._resolve_url(path) - self.assertEquals(url, po.baseurl + path) + self.assertEqual(url, po.baseurl + path) def test_url_string_bypasses_uri(self): """A path was passed in as a string (inside or outside Robot). It should just be appended to @@ -300,7 +300,7 @@ po = self.PO() path = "/pmc/1234" url = po._resolve_url(path) - self.assertEquals(url, po.baseurl + path) + self.assertEqual(url, po.baseurl + path) def test_absolute_url_bypasses_uri_template(self): """An absolute url was passed in as a string (inside or outside Robot). It should just be used instead of @@ -310,7 +310,7 @@ po = self.PO() abs_url = "http://www.google.com" resolved_url = po._resolve_url(abs_url) - self.assertEquals(resolved_url, abs_url) + self.assertEqual(resolved_url, abs_url) def test_absolute_url_bypasses_uri(self): """An absolute url was passed in as a string (inside or outside Robot). It should just be used instead of @@ -320,15 +320,15 @@ po = self.PO() abs_url = "http://www.google.com" resolved_url = po._resolve_url(abs_url) - self.assertEquals(resolved_url, abs_url) + self.assertEqual(resolved_url, abs_url) def test_rel_uri_is_resolved(self): self.set_baseurl_env() self.PO.uri = "/foo" po_inst = self.PO() url = po_inst._resolve_url() - self.assertEquals(url, po_inst.baseurl + po_inst.uri) - self.assertRegexpMatches(url, "file:///.+/foo$") + self.assertEqual(url, po_inst.baseurl + po_inst.uri) + self.assertRegex(url, "file:///.+/foo$") def test_uri_template_is_resolved(self): self.set_baseurl_env(base_file=False, arbitrary_base="http://www.ncbi.nlm.nih.gov") @@ -336,8 +336,8 @@ p = self.PO() url = p._resolve_url({"pid": "123"}) pid = p.uri_vars["pid"] - self.assertEquals("123", pid) - self.assertEquals("http://www.ncbi.nlm.nih.gov/pubmed/123", url) + self.assertEqual("123", pid) + self.assertEqual("http://www.ncbi.nlm.nih.gov/pubmed/123", url) class SelectorsTestCase(BaseTestCase): @@ -413,7 +413,7 @@ m = getattr(self.p, "click_element") docstring = inspect.getdoc(m) first_line_of_docstring = docstring.split("\n")[0] - self.assertEquals(first_line_of_docstring, "click_element(self, selector_or_locator)") + self.assertEqual(first_line_of_docstring, "click_element(self, selector_or_locator)") self.assertTrue("Click element identified by `selector` or `locator`" in docstring) def test_is_obj_keyword(self): @@ -465,73 +465,73 @@ def test_log_CRITICAL_python(self): level_tup = self.normalize_fn("CRITICAL", False) - self.assertEquals(level_tup, ("CRITICAL", 50)) + self.assertEqual(level_tup, ("CRITICAL", 50)) def test_log_CRITICAL_robot(self): level_tup = self.normalize_fn("CRITICAL", True) - self.assertEquals(level_tup, ("WARN", 30)) + self.assertEqual(level_tup, ("WARN", 30)) def test_log_WARN_python(self): level_tup = self.normalize_fn("WARN", False) - self.assertEquals(level_tup, ("WARN", 30)) + self.assertEqual(level_tup, ("WARN", 30)) def test_log_WARNING_python(self): level_tup = self.normalize_fn("WARNING", False) - self.assertEquals(level_tup, ("WARNING", 30)) + self.assertEqual(level_tup, ("WARNING", 30)) def test_log_WARN_robot(self): level_tup = self.normalize_fn("WARN", True) - self.assertEquals(level_tup, ("WARN", 30)) + self.assertEqual(level_tup, ("WARN", 30)) def test_log_WARNING_robot(self): level_tup = self.normalize_fn("WARNING", True) - self.assertEquals(level_tup, ("WARN", 30)) + self.assertEqual(level_tup, ("WARN", 30)) def test_log_INFO_python(self): level_tup = self.normalize_fn("INFO", False) - self.assertEquals(level_tup, ("INFO", 20)) + self.assertEqual(level_tup, ("INFO", 20)) def test_log_INFO_robot(self): level_tup = self.normalize_fn("INFO", False) - self.assertEquals(level_tup, ("INFO", 20)) + self.assertEqual(level_tup, ("INFO", 20)) def test_log_DEBUG_python(self): level_tup = self.normalize_fn("DEBUG", False) - self.assertEquals(level_tup, ("DEBUG", 10)) + self.assertEqual(level_tup, ("DEBUG", 10)) def test_log_DEBUG_robot(self): level_tup = self.normalize_fn("DEBUG", True) - self.assertEquals(level_tup, ("DEBUG", 10)) + self.assertEqual(level_tup, ("DEBUG", 10)) def test_log_TRACE_python(self): level_tup = self.normalize_fn("TRACE", False) - self.assertEquals(level_tup, ("NOTSET", 0)) + self.assertEqual(level_tup, ("NOTSET", 0)) def test_log_TRACE_robot(self): level_tup = self.normalize_fn("TRACE", True) - self.assertEquals(level_tup, ("TRACE", 0)) + sRefactoringTool: Refactored ../python3/tests/test_functional.py elf.assertEqual(level_tup, ("TRACE", 0)) def test_log_NOTSET_python(self): level_tup = self.normalize_fn("NOTSET", False) - self.assertEquals(level_tup, ("NOTSET", 0)) + self.assertEqual(level_tup, ("NOTSET", 0)) def test_log_NOTSET_robot(self): level_tup = self.normalize_fn("NOTSET", True) - self.assertEquals(level_tup, ("TRACE", 0)) + self.assertEqual(level_tup, ("TRACE", 0)) @raises(ValueError) def test_log_invalid_log_level_should_raise_value_error_python(self): level_tup = self.normalize_fn("FOO", False) - self.assertEquals(level_tup, ("FOO", 0)) + self.assertEqual(level_tup, ("FOO", 0)) @raises(ValueError) def test_log_invalid_log_level_should_raise_value_error_robot(self): level_tup = self.normalize_fn("FOO", True) - self.assertEquals(level_tup, ("FOO", 0)) + self.assertEqual(level_tup, ("FOO", 0)) def test_log_valid_but_lowercase_level_python(self): level_tup = self.normalize_fn("inFo", False) - self.assertEquals(level_tup, ("INFO", 20)) + self.assertEqual(level_tup, ("INFO", 20)) class SelectorTemplateTestCase(BaseTestCase): @@ -541,10 +541,10 @@ self.p.selectors["foo"] = "xpath=//foo[{n}]/{el}" def test_basic(self): - self.assertEquals("xpath=//foo[3]/p", self.p.resolve_selector("foo", n=3, el="p")) + self.assertEqual("xpath=//foo[3]/p", self.p.resolve_selector("foo", n=3, el="p")) def test_too_many_args(self): - self.assertEquals("xpath=//foo[3]/p", self.p.resolve_selector("foo", n=3, el="p", boo="bat")) + self.assertEqual("xpath=//foo[3]/p", self.p.resolve_selector("foo", n=3, el="p", boo="bat")) @raises(exceptions.SelectorError) def test_not_enough_args(self): --- ../python3/tests/test_functional.py (original) +++ ../python3/tests/test_functional.py (refactored) @@ -126,7 +126,7 @@ job_data = self.get_job_data(self.get_sid_from_log()) # Just check an arbitrary entry in the job data returned from sauce. - self.assertEquals(job_data["browser"], "firefox", "The job ran in Sauce") + self.assertEqual(job_data["browser"], "firefox", "The job ran in Sauce") # We expect this to fail, because the test makes a purposely false assertion # to test that we can assert against things going on in Sauce. @@ -146,7 +146,7 @@ job_data = self.get_job_data(self.get_sid_from_log(is_robot=True)) # Just check an arbitrary entry in the job data returned from sauce. - self.assertEquals(job_data["browser"], "firefox", "The job ran in Sauce") + self.assertEqual(job_data["browser"], "firefox", "The job ran in Sauce") self.assert_run(run, expected_returncode=1, search_output="Title should have been 'foo' but was 'Home - " "PubMed - NCBI") @@ -271,12 +271,12 @@ def test_selenium_implicit_wait_not_reset_within_component(self): self.result_page_with_str_locator.open() - self.assertEquals( + self.assertEqual( self.result_page_with_str_locator.get_selenium_implicit_wait(), "10 seconds" ) - self.assertEquals( + self.assertEqual( self.result_page_with_str_locator.result.get_selenium_implicit_wait(), "10 seconds" ) @@ -292,14 +292,14 @@ # Normally, of course, in the admin class, you'd call only # one of these, not both. self.result_page_with_str_locator.open() - self.assertNotEquals(type(self.result_page_with_str_locator.result), list) + self.assertNotEqual(type(self.result_page_with_str_locator.result), list) # Should get the first result since we are accessing "result", not "results". - self.assertEquals(self.result_page_with_str_locator.result.price, "$14.00") + self.assertEqual(self.result_page_with_str_locator.result.price, "$14.00") # Now access "results" in the pRefactoringTool: Refactored ../python3/tests/scenarios/test_wait_until_not_visible.py RefactoringTool: Refactored ../python3/tests/scenarios/test_threshold_at_warning_log_warning_logs_warning_to_file_and_stdout_python.py RefactoringTool: Refactored ../python3/tests/scenarios/test_templated_selector_wrong_num.py RefactoringTool: Refactored ../python3/tests/scenarios/test_templated_selector.py lural. - self.assertEquals(len(self.result_page_with_str_locator.results), 3) - self.assertEquals(self.result_page_with_str_locator.results[0].price, "$14.00") + self.assertEqual(len(self.result_page_with_str_locator.results), 3) + self.assertEqual(self.result_page_with_str_locator.results[0].price, "$14.00") def test_locator_as_dom(self): self.result_page_with_dom_strategy_locator.open() @@ -308,9 +308,9 @@ # The locator uses DOM strategy to get the nodes via a call # to execute_javascript() and limits to 2 results, just # to make sure we are testing the right thing. - self.assertEquals(len(results), 2) + self.assertEqual(len(results), 2) # Check that the result object works. - self.assertEquals(results[0].price, "$14.00") + self.assertEqual(results[0].price, "$14.00") def test_component_inside_component(self): # A component should be able to contain other components. You'd access @@ -353,7 +353,7 @@ self.homepage.open() toggler = self.homepage.search.advancedoptiontoggler toggler.open() - self.assertEquals(toggler.advanced_text, "These are advanced options") + self.assertEqual(toggler.advanced_text, "These are advanced options") def test_page_inherits_from_multiple_components(self): paras = self.two_comp_page.open().paras @@ -575,10 +575,10 @@ log_content = f.read() try: # We expect to see two lines in the log, logged in order from Page to My Page. - self.assertRegexpMatches(log_content, r".+ - INFO - Page - hello\n.+ - INFO - My Page - world$") + self.assertRegex(log_content, r".+ - INFO - Page - hello\n.+ - INFO - My Page - world$") # 3 lines are really 2 lines because of final line break - self.assertEquals(len(log_content.split("\n")), 3) + self.assertEqual(len(log_content.split("\n")), 3) finally: f.close() --- ../python3/tests/scenarios/test_wait_until_not_visible.py (original) +++ ../python3/tests/scenarios/test_wait_until_not_visible.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import selectors_page +from .po import selectors_page from robotpageobjects import base import time @@ -19,7 +19,7 @@ self.p.open() self.p.click_element("delayed-content-button") self.p.wait_until_element_is_not_visible("para-to-be-removed",8) - except Exception, e: + except Exception as e: self.assertTrue(isinstance(e, AssertionError)) self.assertIn("still matched after", e.message) self.p.close() --- ../python3/tests/scenarios/test_threshold_at_warning_log_warning_logs_warning_to_file_and_stdout_python.py (original) +++ ../python3/tests/scenarios/test_threshold_at_warning_log_warning_logs_warning_to_file_and_stdout_python.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.loggingpage import LoggingPage +from .po.loggingpage import LoggingPage class LoggingTestCase(unittest.TestCase): --- ../python3/tests/scenarios/test_templated_selector_wrong_num.py (original) +++ ../python3/tests/scenarios/test_templated_selector_wrong_num.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.widget_rel_uri_attr import Page +from .po.widget_rel_uri_attr import Page from nose.tools import raises from robotpageobjects import exceptions @@ -11,7 +11,7 @@ @raises(exceptions.SelectorError) def test_templated_selector_test_case(self): - self.assertEquals(self.p.get_templated_selector_element_text_wrong_num_vars(), "I am another paragraph") + self.assertEqual(self.p.get_templated_selector_element_text_wrong_num_vars(), "I am another paragraph") def tearDown(self): self.p.close() --- ../python3/tests/scenarios/test_templated_selector.py (original) +++ ../python3/tests/scenarios/test_templated_selector.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.widget_rel_uri_attr import Page +from .po.widgRefactoringTool: Refactored ../python3/tests/scenarios/test_template_passed.py RefactoringTool: Refactored ../python3/tests/scenarios/test_service_args_cookie_file.py RefactoringTool: Refactored ../python3/tests/scenarios/test_selector_self_ref.py RefactoringTool: Refactored ../python3/tests/scenarios/test_sauce.py RefactoringTool: Refactored ../python3/tests/scenarios/test_rel_uri_attr.py RefactoringTool: Refactored ../python3/tests/scenarios/test_pass_explicit_wait_to_find_element.py RefactoringTool: No changes to ../python3/tests/scenarios/test_page_override_without_override_class.py RefactoringTool: Refactored ../python3/tests/scenarios/test_no_selector.py RefactoringTool: Refactored ../python3/tests/scenarios/test_manual_screen_shot.py RefactoringTool: Refactored ../python3/tests/scenarios/test_log_below_threshold_is_console_false.py RefactoringTool: Refactored ../python3/tests/scenarios/test_log_below_threshold.py RefactoringTool: Refactored ../python3/tests/scenarios/test_log_at_threshold_is_console_false.py et_rel_uri_attr import Page class TemplatedSelectorTestCase(unittest.TestCase): @@ -9,7 +9,7 @@ self.p.open() def test_templated_selector_test_case(self): - self.assertEquals(self.p.get_templated_selector_element_text(), "I am another paragraph") + self.assertEqual(self.p.get_templated_selector_element_text(), "I am another paragraph") def tearDown(self): self.p.close() --- ../python3/tests/scenarios/test_template_passed.py (original) +++ ../python3/tests/scenarios/test_template_passed.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import widget_template +from .po import widget_template class TestWidgetItem(unittest.TestCase): --- ../python3/tests/scenarios/test_service_args_cookie_file.py (original) +++ ../python3/tests/scenarios/test_service_args_cookie_file.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import selectors_page +from .po import selectors_page from robotpageobjects import base import time --- ../python3/tests/scenarios/test_selector_self_ref.py (original) +++ ../python3/tests/scenarios/test_selector_self_ref.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.widget_rel_uri_attr import Page +from .po.widget_rel_uri_attr import Page class SelectorSelfRefTestCase(unittest.TestCase): @@ -9,7 +9,7 @@ self.p.open() def test_selector_self_ref(self): - print self.p.selectors['form label'] + print(self.p.selectors['form label']) self.p.element_should_be_visible("form label") def tearDown(self): --- ../python3/tests/scenarios/test_sauce.py (original) +++ ../python3/tests/scenarios/test_sauce.py (refactored) @@ -1,4 +1,4 @@ -from po.ncbi import NCBIPage +from .po.ncbi import NCBIPage import unittest import os --- ../python3/tests/scenarios/test_rel_uri_attr.py (original) +++ ../python3/tests/scenarios/test_rel_uri_attr.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import widget_rel_uri_attr +from .po import widget_rel_uri_attr class TestWidgetSearch(unittest.TestCase): --- ../python3/tests/scenarios/test_pass_explicit_wait_to_find_element.py (original) +++ ../python3/tests/scenarios/test_pass_explicit_wait_to_find_element.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.widget_rel_uri_attr import Page +from .po.widget_rel_uri_attr import Page from nose.tools import raises --- ../python3/tests/scenarios/test_no_selector.py (original) +++ ../python3/tests/scenarios/test_no_selector.py (refactored) @@ -1,4 +1,4 @@ -from po import selectors_page +from .po import selectors_page import unittest class NoSelectorTestCase(unittest.TestCase): @@ -10,7 +10,7 @@ msg_found = False try: self.page.find_element("xpath=asdf") - except ValueError, e: + except ValueError as e: msg_found = e.message.find("did not match any elements") != -1 self.assertTrue(msg_found, "ValueError should detect that the locator looks like a locator.") --- ../python3/tests/scenarios/test_manual_screen_shot.py (original) +++ ../python3/tests/scenarios/test_manual_screen_shot.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import widget_rel_uri_attr +from .po import widget_rel_uri_attr class TestWidgetSearch(unittest.TestCase): --- ../python3/tests/scenarios/test_log_below_threshold_is_console_false.py (original) +++ ../python3/tests/scenarios/test_log_below_threshold_is_console_false.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.loggingpage import LoggingPage +from .po.loggingpage import LoggingPage class LoggingTestCase(unittest.TestCase): --- ../python3/tests/scenarios/test_log_below_threshold.py (original) +++ ../python3/tests/scenarios/test_log_below_threshold.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.loggingpage import LoggingPage +from .po.loggingpage import LoggingPage class LoggingTestCase(unittest.TestCase): --- ../python3/tests/scenarios/test_log_at_threshold_is_console_false.py (original) +++ ../python3/tests/scenarios/test_log_at_threshold_is_consoleRefactoringTool: Refactored ../python3/tests/scenarios/test_log_at_threshold.py RefactoringTool: Refactored ../python3/tests/scenarios/test_location_should_be_for_relative_path.py RefactoringTool: Refactored ../python3/tests/scenarios/test_location_should_be_for_absolute_path.py RefactoringTool: Refactored ../python3/tests/scenarios/test_is_visible.py RefactoringTool: Refactored ../python3/tests/scenarios/test_implicit_se_wait_0.py RefactoringTool: Refactored ../python3/tests/scenarios/test_implicit_se_wait.py RefactoringTool: Refactored ../python3/tests/scenarios/test_go_to.py RefactoringTool: Refactored ../python3/tests/scenarios/test_find_elements_with_selector.py RefactoringTool: Refactored ../python3/tests/scenarios/test_fail.py RefactoringTool: Refactored ../python3/tests/scenarios/test_enlarge_browser_on_open.py RefactoringTool: Refactored ../python3/tests/scenarios/test_bad_selector.py RefactoringTool: No changes to ../python3/tests/scenarios/po/widget_template.py RefactoringTool: No changes to ../python3/tests/scenarios/po/widget_rel_uri_no_name_attr.py RefactoringTool: No changes to ../python3/tests/scenarios/po/widget_rel_uri_attr.py RefactoringTool: No changes to ../python3/tests/scenarios/po/widget_no_uri_attr.py RefactoringTool: No changes to ../python3/tests/scenarios/po/stacktracepage.py RefactoringTool: No changes to ../python3/tests/scenarios/po/selectors_page.py RefactoringTool: No changes to ../python3/tests/scenarios/po/selectors_duplicate.py RefactoringTool: No changes to ../python3/tests/scenarios/po/result_component.py RefactoringTool: No changes to ../python3/tests/scenarios/po/ncbi.py RefactoringTool: No changes to ../python3/tests/scenarios/po/mydbpageobjects/resultspage.py RefactoringTool: Refactored ../python3/tests/scenarios/po/mydbpageobjects/__init__.py RefactoringTool: No changes to ../python3/tests/scenarios/po/loggingpage.py RefactoringTool: No changes to ../python3/tests/scenarios/po/keyword_naming.py RefactoringTool: No changes to ../python3/tests/scenarios/po/basepageobjects/resultspage.py RefactoringTool: No changes to ../python3/tests/scenarios/po/basepageobjects/homepage.py RefactoringTool: Refactored ../python3/tests/scenarios/po/basepageobjects/__init__.py _false.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.loggingpage import LoggingPage +from .po.loggingpage import LoggingPage class LoggingTestCase(unittest.TestCase): --- ../python3/tests/scenarios/test_log_at_threshold.py (original) +++ ../python3/tests/scenarios/test_log_at_threshold.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.loggingpage import LoggingPage +from .po.loggingpage import LoggingPage class LoggingTestCase(unittest.TestCase): --- ../python3/tests/scenarios/test_location_should_be_for_relative_path.py (original) +++ ../python3/tests/scenarios/test_location_should_be_for_relative_path.py (refactored) @@ -1,4 +1,4 @@ -from po.ncbi import NCBIPage +from .po.ncbi import NCBIPage import unittest import os --- ../python3/tests/scenarios/test_location_should_be_for_absolute_path.py (original) +++ ../python3/tests/scenarios/test_location_should_be_for_absolute_path.py (refactored) @@ -1,4 +1,4 @@ -from po.ncbi import NCBIPage +from .po.ncbi import NCBIPage import unittest import os --- ../python3/tests/scenarios/test_is_visible.py (original) +++ ../python3/tests/scenarios/test_is_visible.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import widget_template +from .po import widget_template class TestWidgetItem(unittest.TestCase): --- ../python3/tests/scenarios/test_implicit_se_wait_0.py (original) +++ ../python3/tests/scenarios/test_implicit_se_wait_0.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.widget_rel_uri_attr import Page +from .po.widget_rel_uri_attr import Page class ImplicitWaitSet0TestCase(unittest.TestCase): --- ../python3/tests/scenarios/test_implicit_se_wait.py (original) +++ ../python3/tests/scenarios/test_implicit_se_wait.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po.widget_rel_uri_attr import Page +from .po.widget_rel_uri_attr import Page class ImplicitWaitTestCase(unittest.TestCase): --- ../python3/tests/scenarios/test_go_to.py (original) +++ ../python3/tests/scenarios/test_go_to.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import widget_template +from .po import widget_template class TestWidgetItem(unittest.TestCase): --- ../python3/tests/scenarios/test_find_elements_with_selector.py (original) +++ ../python3/tests/scenarios/test_find_elements_with_selector.py (refactored) @@ -1,4 +1,4 @@ -from po import selectors_page +from .po import selectors_page import unittest from nose.tools import raises from robotpageobjects.exceptions import SelectorError --- ../python3/tests/scenarios/test_fail.py (original) +++ ../python3/tests/scenarios/test_fail.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import widget_rel_uri_attr +from .po import widget_rel_uri_attr class TestWidgetSearch(unittest.TestCase): --- ../python3/tests/scenarios/test_enlarge_browser_on_open.py (original) +++ ../python3/tests/scenarios/test_enlarge_browser_on_open.py (refactored) @@ -1,5 +1,5 @@ import unittest -from po import widget_template +from .po import widget_template class TestBrowserOpen(unittest.TestCase): --- ../python3/tests/scenarios/test_bad_selector.py (original) +++ ../python3/tests/scenarios/test_bad_selector.py (refactored) @@ -1,4 +1,4 @@ -from po import selectors_page +from .po import selectors_page from robotpageobjects import exceptions import unittest @@ -11,7 +11,7 @@ found = False try: self.page.find_element("foobar") - except exceptions.SelectorError, e: + except exceptions.SelectorError as e: msg_found = e.message.find("not a valid locator") != -1 self.assertTrue(msg_found, "ValueError should detect that the locator looks like a selector.") --- ../python3/tests/scenarios/po/mydbpageobjects/__init__.py (original) +++ ../python3/tests/scenarios/po/mydbpageobjects/__init__.py (refactored) @@ -1,2 +1,2 @@ -from homepage import MyDBHomePage -from resultspage import MyDBResultsPage +from .homepage import MyDBHomePage +from .resultspage import MyDBResultsPage --- ../python3/tests/scenariosRefactoringTool: No changes to ../python3/tests/sauce_vars.py RefactoringTool: Refactored ../python3/tests/basetestcase.py RefactoringTool: Refactored ../python3/setup.py RefactoringTool: No changes to ../python3/robotpageobjects/sig.py RefactoringTool: Refactored ../python3/robotpageobjects/page.py /po/basepageobjects/__init__.py (original) +++ ../python3/tests/scenarios/po/basepageobjects/__init__.py (refactored) @@ -1,2 +1,2 @@ -from homepage import BaseHomePage -from resultspage import BaseResultsPage +from .homepage import BaseHomePage +from .resultspage import BaseResultsPage --- ../python3/tests/basetestcase.py (original) +++ ../python3/tests/basetestcase.py (refactored) @@ -92,7 +92,7 @@ # we don't get interference from the user's environment. self.original_env_vars = {} - for key in os.environ.keys(): + for key in list(os.environ.keys()): self.original_env_vars[key] = os.environ[key] if key.lower().startswith("po_"): del os.environ[key] @@ -102,7 +102,7 @@ for key in self.original_env_vars: os.environ[key] = self.original_env_vars[key] - for key in os.environ.keys(): + for key in list(os.environ.keys()): if key not in self.original_env_vars: del os.environ[key] @@ -135,7 +135,7 @@ if "env" in kwargs: env_vars = kwargs["env"] del kwargs["env"] - for var, val in env_vars.iteritems(): + for var, val in env_vars.items(): self.set_env(var, val) if scenario.endswith(".py"): @@ -200,7 +200,7 @@ if expected_screen_shots > 0: self.assertTrue(len(screen_shots) > 0, "No screenshot was taken") - self.assertEquals(len(screen_shots), expected_screen_shots, "Exactly %s screen shots should have been taken, " + self.assertEqual(len(screen_shots), expected_screen_shots, "Exactly %s screen shots should have been taken, " "got %s instead" % (expected_screen_shots, screen_shots)) @@ -228,7 +228,7 @@ """ returncode = run.returncode is_robot = "pybot" in run.cmd - self.assertEquals(expected_returncode, returncode, + self.assertEqual(expected_returncode, returncode, "Return code was %s, expecting %s with the command: '%s'" % ( returncode, expected_returncode, run.cmd)) if expected_tests_ran: @@ -286,7 +286,7 @@ for i in kwargs: line = "%s = '%s'\n" % (i, kwargs[i]) f.write(line) - except Exception, e: + except Exception as e: raise Exception("Problem creating vars file: %s" % e) finally: if f: --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -8,7 +8,7 @@ reqs = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'requirements.txt') -REQUIRES = filter(None, open(reqs).read().splitlines()) +REQUIRES = [_f for _f in open(reqs).read().splitlines() if _f] ver = version.get_git_version() --- ../python3/robotpageobjects/page.py (original) +++ ../python3/robotpageobjects/page.py (refactored) @@ -18,13 +18,13 @@ .. moduleauthor:: Daniel Frishberg, Aaron Cohen , """ -from __future__ import print_function + import inspect import re import decorator from Selenium2Library import Selenium2Library -from sig import get_method_sig +from .sig import get_method_sig from .context import Context from . import exceptions from .base import _ComponentsManagerMeta, not_keyword, robot_alias, _BaseActions, _Keywords, Override, _SelectorsManager, _ComponentsManager @@ -106,7 +106,7 @@ # Don't do inspect.getmembers since it will try to evaluate functions # that are decorated as properties. - for member_name, obj in classdict.iteritems(): + for member_name, obj in classdict.items(): if _Keywords.is_obj_keyword(obj): classdict[member_name] = _PageMeta.must_return(classdict[member_name]) @@ -114,7 +114,7 @@ return _ComponentsManagerMeta.__new__(cls, name, bases, classRefactoringTool: Refactored ../python3/robotpageobjects/optionhandler.py dict) -class Page(_BaseActions, _SelectorsManager, _ComponentsManager): +class Page(_BaseActions, _SelectorsManager, _ComponentsManager, metaclass=_PageMeta): """ This is the base Page Object from which all other Page Objects should inherit. It contains all base Selenium2Library actions and browser-wrapping behavior @@ -122,7 +122,6 @@ It is a robotframework library which implements the dynamic API. """ - __metaclass__ = _PageMeta ROBOT_LIBRARY_SCOPE = 'TEST SUITE' def __init__(self): @@ -190,14 +189,14 @@ # ignore static methods included in libraries continue # Check if that function is defined in Selenium2Library - if func in Selenium2Library.__dict__.values(): + if func in list(Selenium2Library.__dict__.values()): in_s2l_base = True else: # Check if the function is defined in any of Selenium2Library's direct base classes. # Note that this will not check those classes' ancestors. # TODO: Check all S2L's ancestors. DCLT- for base in Selenium2Library.__bases__: - if func in base.__dict__.values(): + if func in list(base.__dict__.values()): in_s2l_base = True # Don't add methods belonging to S2L to the exposed keywords. if in_s2l_base: @@ -214,7 +213,7 @@ def _attempt_screenshot(self): try: self.capture_page_screenshot() - except Exception, e: + except Exception as e: if e.message.find("No browser is open") != -1: pass @@ -308,7 +307,7 @@ kw = getattr(self, kwname, None) if kw: args, varargs, keywords, defaults = inspect.getargspec(kw) - defaults = dict(zip(args[-len(defaults):], defaults)) if defaults else {} + defaults = dict(list(zip(args[-len(defaults):], defaults))) if defaults else {} arglist = [] for arg in args: if arg != 'self': --- ../python3/robotpageobjects/optionhandler.py (original) +++ ../python3/robotpageobjects/optionhandler.py (refactored) @@ -2,8 +2,8 @@ import os import imp -from context import Context -import exceptions +from .context import Context +from . import exceptions from robot.libraries.BuiltIn import BuiltIn @@ -52,7 +52,7 @@ try: vars_mod = imp.load_source("vars", abs_var_file_path) - except (ImportError, IOError), e: + except (ImportError, IOError) as e: raise exceptions.VarFileImportErrorError("Couldn't import variable file: %s. Ensure it exists and " "is " "importable." % var_file_path) @@ -72,7 +72,7 @@ try: vars_mod = imp.load_source("vars", abs_var_file_path) - except (ImportError, IOError), e: + except (ImportError, IOError) as e: raise exceptions.VarFileImportErrorError("Couldn't import variable file: %s. Ensure it exists and " "is " "importable." % var_file_path) @@ -97,12 +97,12 @@ Convert an option keyname to lower-cased robot format, or convert all the keys in a dictionary to robot format. """ - if isinstance(opts, basestring): + if isinstance(opts, str): name = opts.lower() return name if re.match("\$\{.+\}", name) else "${%s}" % name else: # We're dealing with a dict - return {self._normalize(key): val for (key, val) in opts.iteritems()} + return {self._normalize(key): val for (key, val) in opts.items()} def get(self, name, default=None)RefactoringTool: Refactored ../python3/robotpageobjects/monkeypatches.py RefactoringTool: No changes to ../python3/robotpageobjects/exceptions.py RefactoringTool: Refactored ../python3/robotpageobjects/context.py RefactoringTool: No changes to ../python3/robotpageobjects/component.py RefactoringTool: Refactored ../python3/robotpageobjects/base.py RefactoringTool: Refactored ../python3/robotpageobjects/abstractedlogger.py : """ --- ../python3/robotpageobjects/monkeypatches.py (original) +++ ../python3/robotpageobjects/monkeypatches.py (refactored) @@ -37,7 +37,7 @@ meth = getattr(self, re.sub(r"\s+", "_", alias)) try: return meth(*args) - except Exception, err: + except Exception as err: self.capture_page_screenshot() raise @@ -50,8 +50,8 @@ try: browser = self._generic_make_browser(webdriver.PhantomJS, webdriver.DesiredCapabilities.PHANTOMJS, remote, desired_capabilities) - except WebDriverException, e: - print "Couldn't connect to webdriver. WebDriverException was: " + str(e) + except WebDriverException as e: + print("Couldn't connect to webdriver. WebDriverException was: " + str(e)) browser = None tries += 1 if browser: --- ../python3/robotpageobjects/context.py (original) +++ ../python3/robotpageobjects/context.py (refactored) @@ -6,7 +6,7 @@ from robot.conf import RobotSettings from robot.variables import init_global_variables from robot.errors import DataError -from monkeypatches import do_monkeypatches +from .monkeypatches import do_monkeypatches do_monkeypatches() --- ../python3/robotpageobjects/base.py (original) +++ ../python3/robotpageobjects/base.py (refactored) @@ -3,7 +3,7 @@ import importlib import inspect import uritemplate -import urllib2 +import urllib.request, urllib.error, urllib.parse import warnings from robot.utils import asserts from selenium import webdriver @@ -106,7 +106,7 @@ """ # Look for a stub matching the alias in the aliases dict. # If we find one, return the original func name. - for fname, stub in cls._aliases.iteritems(): + for fname, stub in cls._aliases.items(): if alias == stub.replace(cls._alias_delimiter, "_" + pageobject_name + "_"): return fname # We didn't find a match, so take the class name off the end. @@ -222,7 +222,7 @@ :type other_dict: dict :returns: None """ - for key, value in other_dict.iteritems(): + for key, value in other_dict.items(): overridden = False if isinstance(key, Override): key = key.obj @@ -357,11 +357,10 @@ return KeywordGroupMetaClass.__new__(cls, name, bases, classdict) -class _ComponentsManager(object): - """ - - """ - __metaclass__ = _ComponentsManagerMeta +class _ComponentsManager(object, metaclass=_ComponentsManagerMeta): + """ + + """ @not_keyword def get_instance(self, component_class): @@ -631,7 +630,7 @@ first_arg = args[0] if not self._is_robot: - if isinstance(first_arg, basestring): + if isinstance(first_arg, str): # In Python, if the first argument is a string and not a dict, it's a url or path. arg_type = "url" else: @@ -823,7 +822,7 @@ try: self.open_browser(resolved_url, self.browser, remote_url=remote_url, desired_capabilities=caps) - except (urllib2.HTTPError, WebDriverException): + except (urllib.error.HTTPError, WebDriverException): raise exceptions.SauceConnectionError("Unable to connect to sauce labs. Check your username and " "apikey") @@ -1042,7 +1041,7 @@ :param vars: The variables to match against the template :type vars: tuple or list :returns: bool""" - keys = vars.keys() + keys = list(vars.keys()) keys.sort() template_vars = list(uritemplate.variables(template)) template_vars.sort() --- ../python3/robotpageobjects/abstractedlogger.py (original) +++ ../python3/robotpageobjects/abstractedlogger.py (refactored) @@ -3,8 +3,8 @@ import robot.api.logger import robot.output.pyloggingconf asRefactoringTool: Refactored ../python3/deploy-ghpages.py RefactoringTool: No changes to ../python3/demo/test_pubmed.py RefactoringTool: No changes to ../python3/demo/pubmed.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/version.py RefactoringTool: ../python3/tests/vars.py RefactoringTool: ../python3/tests/test_unit.py RefactoringTool: ../python3/tests/test_functional.py RefactoringTool: ../python3/tests/scenarios/test_wait_until_not_visible.py RefactoringTool: ../python3/tests/scenarios/test_threshold_at_warning_log_warning_logs_warning_to_file_and_stdout_python.py RefactoringTool: ../python3/tests/scenarios/test_templated_selector_wrong_num.py RefactoringTool: ../python3/tests/scenarios/test_templated_selector.py RefactoringTool: ../python3/tests/scenarios/test_template_passed.py RefactoringTool: ../python3/tests/scenarios/test_service_args_cookie_file.py RefactoringTool: ../python3/tests/scenarios/test_selector_self_ref.py RefactoringTool: ../python3/tests/scenarios/test_sauce.py RefactoringTool: ../python3/tests/scenarios/test_rel_uri_attr.py RefactoringTool: ../python3/tests/scenarios/test_pass_explicit_wait_to_find_element.py RefactoringTool: ../python3/tests/scenarios/test_page_override_without_override_class.py RefactoringTool: ../python3/tests/scenarios/test_no_selector.py RefactoringTool: ../python3/tests/scenarios/test_manual_screen_shot.py RefactoringTool: ../python3/tests/scenarios/test_log_below_threshold_is_console_false.py RefactoringTool: ../python3/tests/scenarios/test_log_below_threshold.py RefactoringTool: ../python3/tests/scenarios/test_log_at_threshold_is_console_false.py RefactoringTool: ../python3/tests/scenarios/test_log_at_threshold.py RefactoringTool: ../python3/tests/scenarios/test_location_should_be_for_relative_path.py RefactoringTool: ../python3/tests/scenarios/test_location_should_be_for_absolute_path.py RefactoringTool: ../python3/tests/scenarios/test_is_visible.py RefactoringTool: ../python3/tests/scenarios/test_implicit_se_wait_0.py RefactoringTool: ../python3/tests/scenarios/test_implicit_se_wait.py RefactoringTool: ../python3/tests/scenarios/test_go_to.py RefactoringTool: ../python3/tests/scenarios/test_find_elements_with_selector.py RefactoringTool: ../python3/tests/scenarios/test_fail.py RefactoringTool: ../python3/tests/scenarios/test_enlarge_browser_on_open.py RefactoringTool: ../python3/tests/scenarios/test_bad_selector.py RefactoringTool: ../python3/tests/scenarios/po/widget_template.py RefactoringTool: ../python3/tests/scenarios/po/widget_rel_uri_no_name_attr.py RefactoringTool: ../python3/tests/scenarios/po/widget_rel_uri_attr.py RefactoringTool: ../python3/tests/scenarios/po/widget_no_uri_attr.py RefactoringTool: ../python3/tests/scenarios/po/stacktracepage.py RefactoringTool: ../python3/tests/scenarios/po/selectors_page.py RefactoringTool: ../python3/tests/scenarios/po/selectors_duplicate.py RefactoringTool: ../python3/tests/scenarios/po/result_component.py RefactoringTool: ../python3/tests/scenarios/po/ncbi.py RefactoringTool: ../python3/tests/scenarios/po/mydbpageobjects/resultspage.py RefactoringTool: ../python3/tests/scenarios/po/mydbpageobjects/__init__.py RefactoringTool: ../python3/tests/scenarios/po/loggingpage.py RefactoringTool: ../python3/tests/scenarios/po/keyword_naming.py RefactoringTool: ../python3/tests/scenarios/po/basepageobjects/resultspage.py RefactoringTool: ../python3/tests/scenarios/po/basepageobjects/homepage.py RefactoringTool: ../python3/tests/scenarios/po/basepageobjects/__init__.py RefactoringTool: ../python3/tests/sauce_vars.py RefactoringTool: ../python3/tests/basetestcase.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/robotpageobjects/sig.py RefactoringTool: ../python3/robotpageobjects/page.py RefactoringTool: ../python3/robotpageobjects/optionhandler.py RefactoringTool: ../python3/robotpageobjects/monkeypatches.py RefactoringTool: ../python3/robotpageobjects/exceptions.py RefactoringTool: ../python3/robotpageobjects/context.py RefactoringTool: ../python3/robotpageobjects/component.py RefactoringTool: ../python3/robotpageobjects/base.py RefactoringTool: ../python3/robotpageobjects/abstractedlogger.py RefactoringTool: ../python3/deploy-ghpages.py RefactoringTool: ../python3/demo/test_pubmed.py RefactoringTool: ../python3/demo/pubmed.py robot_logging_conf -from optionhandler import OptionHandler -from context import Context +from .optionhandler import OptionHandler +from .context import Context class Logger(object): @@ -100,7 +100,7 @@ except AttributeError: # Could be user is passing in a Robot log string that # doesn't exist for Python. So look up the Python level given the robot level - inv_translation_map = {v: k for k, v in translation_map.items()} + inv_translation_map = {v: k for k, v in list(translation_map.items())} try: translated_level_str = inv_translation_map[level_as_str_upper] --- ../python3/deploy-ghpages.py (original) +++ ../python3/deploy-ghpages.py (refactored) @@ -9,15 +9,15 @@ from shutil import rmtree if getenv('TRAVIS_REPO_SLUG') != 'ncbi/robotframework-pageobjects': - print "Repo is a fork, not building docs" + print("Repo is a fork, not building docs") exit() if getenv('TRAVIS_BRANCH') != 'master': - print "Branch is not master, not building docs" + print("Branch is not master, not building docs") exit() if getenv('TRAVIS_PULL_REQUEST') != 'false': - print "Pull request detected, not building docs" + print("Pull request detected, not building docs") exit() repo = check_output("git config remote.origin.url", shell=True) @@ -30,11 +30,11 @@ check_call("git clone --branch %s %s %s" % (deploy_branch, repo, dir), shell=True) chdir(dir) check_call("python -m robot.libdoc robotpageobjects.Page index.html", shell=True) -print "Docs built successfully" +print("Docs built successfully") check_call("git config user.name '%s'" % getenv('GIT_NAME'), shell=True) check_call("git config user.email '%s'" % getenv('GIT_EMAIL'), shell=True) check_call("git commit -m 'Built from %s' index.html" % rev, shell=True) check_call("git push -q %s %s" % (deploy_url, deploy_branch), shell=True) chdir(getenv('TRAVIS_BUILD_DIR')) rmtree(dir) -print "Docs pushed successfully" +print("Docs pushed successfully") + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.46401 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-robotframework-pageobjects-1.1.9 + 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/robotpageobjects copying robotpageobjects/sig.py -> build/lib/robotpageobjects copying robotpageobjects/page.py -> build/lib/robotpageobjects copying robotpageobjects/optionhandler.py -> build/lib/robotpageobjects copying robotpageobjects/monkeypatches.py -> build/lib/robotpageobjects copying robotpageobjects/exceptions.py -> build/lib/robotpageobjects copying robotpageobjects/context.py -> build/lib/robotpageobjects copying robotpageobjects/component.py -> build/lib/robotpageobjects copying robotpageobjects/base.py -> build/lib/robotpageobjects copying robotpageobjects/abstractedlogger.py -> build/lib/robotpageobjects copying robotpageobjects/__init__.py -> build/lib/robotpageobjects + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-robotframework-pageobjects-1.1.9 + 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/robotpageobjects copying robotpageobjects/sig.py -> build/lib/robotpageobjects copying robotpageobjects/page.py -> build/lib/robotpageobjects copying robotpageobjects/optionhandler.py -> build/lib/robotpageobjects copying robotpageobjects/monkeypatches.py -> build/lib/robotpageobjects copying robotpageobjects/exceptions.py -> build/lib/robotpageobjects copying robotpageobjects/context.py -> build/lib/robotpageobjects copying robotpageobjects/component.py -> build/lib/robotpageobjects copying robotpageobjects/base.py -> build/lib/robotpageobjects copying robotpageobjects/abstractedlogger.py -> build/lib/robotpageobjects copying robotpageobjects/__init__.py -> build/lib/robotpageobjects + popd ~/RPM/BUILD/python-module-robotframework-pageobjects-1.1.9 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.59975 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-robotframework-pageobjects-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-robotframework-pageobjects-buildroot + cd python-module-robotframework-pageobjects-1.1.9 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-robotframework-pageobjects-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/__init__.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/abstractedlogger.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/base.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/component.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/context.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/exceptions.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/monkeypatches.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/optionhandler.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/page.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects copying build/lib/robotpageobjects/sig.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/abstractedlogger.py to abstractedlogger.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/base.py to base.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/component.py to component.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/context.py to context.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/monkeypatches.py to monkeypatches.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/optionhandler.py to optionhandler.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/page.py to page.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/sig.py to sig.pyc running install_egg_info running egg_info creating robotframework_pageobjects.egg-info writing requirements to robotframework_pageobjects.egg-info/requires.txt writing robotframework_pageobjects.egg-info/PKG-INFO writing top-level names to robotframework_pageobjects.egg-info/top_level.txt writing dependency_links to robotframework_pageobjects.egg-info/dependency_links.txt writing manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' reading manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' Copying robotframework_pageobjects.egg-info to /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotframework_pageobjects-1.1.9-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-robotframework-pageobjects-1.1.9 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-robotframework-pageobjects-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/__init__.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/abstractedlogger.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/base.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/component.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/context.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/exceptions.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/monkeypatches.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/optionhandler.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/page.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects copying build/lib/robotpageobjects/sig.py -> /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/abstractedlogger.py to abstractedlogger.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/base.py to base.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/component.py to component.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/context.py to context.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/exceptions.py to exceptions.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/monkeypatches.py to monkeypatches.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/optionhandler.py to optionhandler.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/page.py to page.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/sig.py to sig.cpython-35.pyc running install_egg_info running egg_info creating robotframework_pageobjects.egg-info writing robotframework_pageobjects.egg-info/PKG-INFO writing dependency_links to robotframework_pageobjects.egg-info/dependency_links.txt writing requirements to robotframework_pageobjects.egg-info/requires.txt writing top-level names to robotframework_pageobjects.egg-info/top_level.txt writing manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' reading manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' Copying robotframework_pageobjects.egg-info to /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotframework_pageobjects-1.1.9-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-robotframework-pageobjects-1.1.9 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-robotframework-pageobjects-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-robotframework-pageobjects-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/__init__.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/abstractedlogger.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/base.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/component.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/context.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/exceptions.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/monkeypatches.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/optionhandler.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/page.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/sig.pyc compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/__init__.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/abstractedlogger.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/base.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/component.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/context.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/exceptions.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/monkeypatches.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/optionhandler.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/page.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/sig.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/__init__.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/abstractedlogger.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/base.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/component.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/context.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/exceptions.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/monkeypatches.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/optionhandler.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/page.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python2.7/site-packages/robotpageobjects/sig.py Bytecompiling python3 modules in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot using python3 unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/abstractedlogger.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/base.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/component.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/context.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/exceptions.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/monkeypatches.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/optionhandler.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/page.cpython-35.pyc unlink /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__pycache__/sig.cpython-35.pyc compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__init__.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/abstractedlogger.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/base.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/component.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/context.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/exceptions.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/monkeypatches.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/optionhandler.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/page.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/sig.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot using python3 -O compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__init__.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/abstractedlogger.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/base.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/component.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/context.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/exceptions.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/monkeypatches.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/optionhandler.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/page.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/sig.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-robotframework-pageobjects-buildroot using python3 -OO compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/__init__.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/abstractedlogger.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/base.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/component.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/context.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/exceptions.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/monkeypatches.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/optionhandler.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/page.py compile /usr/src/tmp/python-module-robotframework-pageobjects-buildroot/usr/lib/python3/site-packages/robotpageobjects/sig.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/robotpageobjects/__pycache__/sig.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/sig.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/page.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/page.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/optionhandler.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/optionhandler.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/monkeypatches.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/monkeypatches.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/exceptions.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/exceptions.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/context.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/context.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/component.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/component.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/base.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/base.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/abstractedlogger.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/abstractedlogger.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/robotpageobjects/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/robotpageobjects/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/robotpageobjects/sig.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/sig.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/page.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/page.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/optionhandler.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/optionhandler.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/monkeypatches.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/monkeypatches.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/exceptions.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/exceptions.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/context.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/context.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/component.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/component.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/base.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/base.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/abstractedlogger.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/abstractedlogger.pyc' './usr/lib/python2.7/site-packages/robotpageobjects/__init__.pyo' => './usr/lib/python2.7/site-packages/robotpageobjects/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.77036 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-robotframework-pageobjects-1.1.9 + python setup.py test running test running egg_info deleting robotframework_pageobjects.egg-info/requires.txt writing robotframework_pageobjects.egg-info/PKG-INFO writing top-level names to robotframework_pageobjects.egg-info/top_level.txt writing dependency_links to robotframework_pageobjects.egg-info/dependency_links.txt reading manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-robotframework-pageobjects-1.1.9 + python3 setup.py test running test running egg_info deleting robotframework_pageobjects.egg-info/requires.txt writing dependency_links to robotframework_pageobjects.egg-info/dependency_links.txt writing top-level names to robotframework_pageobjects.egg-info/top_level.txt writing robotframework_pageobjects.egg-info/PKG-INFO reading manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'robotframework_pageobjects.egg-info/SOURCES.txt' running build_ext robotpageobjects (unittest.loader._FailedTest) ... ERROR ====================================================================== ERROR: robotpageobjects (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: robotpageobjects Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 462, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib64/python3.5/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/usr/src/RPM/BUILD/python3/robotpageobjects/__init__.py", line 1, in from .base import Override, robot_alias, not_keyword File "/usr/src/RPM/BUILD/python3/robotpageobjects/base.py", line 1, in from Selenium2Library.keywords import _browsermanagement File "/usr/lib/python3/site-packages/Selenium2Library/__init__.py", line 2, in from .keywords import * File "/usr/lib/python3/site-packages/Selenium2Library/keywords/__init__.py", line 1, in from ._logging import _LoggingKeywords File "/usr/lib/python3/site-packages/Selenium2Library/keywords/_logging.py", line 3, in from robot.variables import GLOBAL_VARIABLES File "/usr/lib/python3/site-packages/robot/__init__.py", line 45, in from robot.rebot import rebot, rebot_cli File "/usr/lib/python3/site-packages/robot/rebot.py", line 313, in from robot.conf import RebotSettings File "/usr/lib/python3/site-packages/robot/conf/__init__.py", line 26, in from .settings import RobotSettings, RebotSettings File "/usr/lib/python3/site-packages/robot/conf/settings.py", line 22, in from robot.output import LOGGER, loggerhelper File "/usr/lib/python3/site-packages/robot/output/__init__.py", line 21, in from .output import Output File "/usr/lib/python3/site-packages/robot/output/output.py", line 15, in from . import pyloggingconf File "/usr/lib/python3/site-packages/robot/output/pyloggingconf.py", line 20, in from . import librarylogger File "/usr/lib/python3/site-packages/robot/output/librarylogger.py", line 26, in from .logger import LOGGER File "/usr/lib/python3/site-packages/robot/output/logger.py", line 19, in from .filelogger import FileLogger File "/usr/lib/python3/site-packages/robot/output/filelogger.py", line 17, in from .loggerhelper import AbstractLogger File "/usr/lib/python3/site-packages/robot/output/loggerhelper.py", line 17, in from robot.model import Message as BaseMessage File "/usr/lib/python3/site-packages/robot/model/__init__.py", line 31, in from .testsuite import TestSuite File "/usr/lib/python3/site-packages/robot/model/testsuite.py", line 20, in from .keyword import Keyword, Keywords File "/usr/lib/python3/site-packages/robot/model/keyword.py", line 21, in from .message import Message, Messages File "/usr/lib/python3/site-packages/robot/model/message.py", line 21, in class Message(ModelObject): File "/usr/lib/python3/site-packages/robot/utils/setter.py", line 45, in __new__ return type.__new__(cls, name, bases, dct) ValueError: 'parent' in __slots__ conflicts with class variable ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) error: Bad exit status from /usr/src/tmp/rpm-tmp.77036 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.77036 (%check) Command exited with non-zero status 1 7.23user 0.74system 0:09.34elapsed 85%CPU (0avgtext+0avgdata 42092maxresident)k 0inputs+0outputs (0major+137552minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-robotframework-pageobjects-1.1.9-alt1.git20150226.1.1.src.rpm' failed. Command exited with non-zero status 1 23.63user 5.68system 0:31.99elapsed 91%CPU (0avgtext+0avgdata 122100maxresident)k 8104inputs+0outputs (0major+355811minor)pagefaults 0swaps