Page MenuHomekolab.org

(An Untitled Masterwork)
ActivePublic

Authored by vanmeeuwen on Jun 25 2015, 9:08 AM.
+ pushd /srv/stick.git/integration/
/srv/stick.git/integration /srv/roundcubemail.git
++ _shell env NOSE_VERBOSE=2 nosetests -s R/all.py
+++ git rev-parse HEAD
++ revision=3af8927709861f674fc1395a5cc500d1916a0263
++ '[' -z 3af8927709861f674fc1395a5cc500d1916a0263 ']'
++ '[' -z 3af8927709861f674fc1395a5cc500d1916a0263 ']'
++ echo 'Running env' NOSE_VERBOSE=2 nosetests -s 'R/all.py ...'
Running env NOSE_VERBOSE=2 nosetests -s R/all.py ...
++ env NOSE_VERBOSE=2 nosetests -s R/all.py
test_framework (all.TestFramework) ... 2015-06-24 11:56:12.729 Executing ['/usr/bin/phpunit', '--configuration', 'tests/phpunit.xml', '--verbose', '--testsuite', 'All Tests', '--exclude-group', 'mbstring', '--disallow-todo-tests'] with {}
2015-06-24 11:56:12.900 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:12.900
2015-06-24 11:56:12.900 Configuration read from /usr/share/roundcubemail/tests/phpunit.xml
2015-06-24 11:56:12.900
2015-06-24 11:56:12.935 ............................................................... 63 / 317 ( 19%)
2015-06-24 11:56:12.963 ............................................................... 126 / 317 ( 39%)
2015-06-24 11:56:13.035 ............................................................... 189 / 317 ( 59%)
2015-06-24 11:56:13.045 ............................................................... 252 / 317 ( 79%)
2015-06-24 11:56:13.089 ............................................................... 315 / 317 ( 99%)
2015-06-24 11:56:13.090 ..
2015-06-24 11:56:13.090
2015-06-24 11:56:13.090 Time: 333 ms, Memory: 24.00Mb
2015-06-24 11:56:13.090
2015-06-24 11:56:13.090 OK (317 tests, 709 assertions)
ok
test_plugin_acl (all.TestFramework) ... 2015-06-24 11:56:13.105 Executing ['/usr/bin/phpunit', '--configuration', 'tests/phpunit.xml', '--verbose', 'plugins/acl/tests/Acl.php', '--disallow-todo-tests'] with {}
2015-06-24 11:56:13.229 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:13.230
2015-06-24 11:56:13.230 Configuration read from /usr/share/roundcubemail/tests/phpunit.xml
2015-06-24 11:56:13.230
2015-06-24 11:56:13.231 .
2015-06-24 11:56:13.231
2015-06-24 11:56:13.231 Time: 98 ms, Memory: 13.00Mb
2015-06-24 11:56:13.231
2015-06-24 11:56:13.231 OK (1 test, 2 assertions)
ok
test_plugin_managesieve (all.TestFramework) ... 2015-06-24 11:56:13.241 Executing ['/usr/bin/phpunit', '--configuration', 'tests/phpunit.xml', '--verbose', 'plugins/managesieve/tests/Managesieve.php', '--disallow-todo-tests'] with {}
2015-06-24 11:56:13.365 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:13.365
2015-06-24 11:56:13.365 Configuration read from /usr/share/roundcubemail/tests/phpunit.xml
2015-06-24 11:56:13.365
2015-06-24 11:56:13.366 .
2015-06-24 11:56:13.367
2015-06-24 11:56:13.367 Time: 98 ms, Memory: 13.00Mb
2015-06-24 11:56:13.367
2015-06-24 11:56:13.367 OK (1 test, 2 assertions)
2015-06-24 11:56:13.376 Executing ['/usr/bin/phpunit', '--configuration', 'tests/phpunit.xml', '--verbose', 'plugins/managesieve/tests/Parser.php', '--disallow-todo-tests'] with {}
2015-06-24 11:56:13.503 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:13.503
2015-06-24 11:56:13.503 Configuration read from /usr/share/roundcubemail/tests/phpunit.xml
2015-06-24 11:56:13.503
2015-06-24 11:56:13.518 .................
2015-06-24 11:56:13.518
2015-06-24 11:56:13.518 Time: 115 ms, Memory: 13.25Mb
2015-06-24 11:56:13.518
2015-06-24 11:56:13.518 OK (17 tests, 17 assertions)
2015-06-24 11:56:13.528 Executing ['/usr/bin/phpunit', '--configuration', 'tests/phpunit.xml', '--verbose', 'plugins/managesieve/tests/Tokenizer.php', '--disallow-todo-tests'] with {}
2015-06-24 11:56:13.657 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:13.657
2015-06-24 11:56:13.657 Configuration read from /usr/share/roundcubemail/tests/phpunit.xml
2015-06-24 11:56:13.657
2015-06-24 11:56:13.661 .......
2015-06-24 11:56:13.661
2015-06-24 11:56:13.661 Time: 105 ms, Memory: 13.25Mb
2015-06-24 11:56:13.661
2015-06-24 11:56:13.661 OK (7 tests, 7 assertions)
2015-06-24 11:56:13.670 Executing ['/usr/bin/phpunit', '--configuration', 'tests/phpunit.xml', '--verbose', 'plugins/managesieve/tests/Vacation.php', '--disallow-todo-tests'] with {}
2015-06-24 11:56:13.803 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:13.803
2015-06-24 11:56:13.804 Configuration read from /usr/share/roundcubemail/tests/phpunit.xml
2015-06-24 11:56:13.804
2015-06-24 11:56:13.810 ...
2015-06-24 11:56:13.810
2015-06-24 11:56:13.810 Time: 107 ms, Memory: 14.00Mb
2015-06-24 11:56:13.810
2015-06-24 11:56:13.810 OK (3 tests, 15 assertions)
ok
2015-06-24 11:56:13.820 Wipe data first
2015-06-24 11:56:13,821 stick INFO Wiping all data, yeah!
2015-06-24 11:56:18,087 stick INFO Done
2015-06-24 11:56:18.127 Added user: u'john.doe@example.org'
2015-06-24 11:56:18.127 Synchronize...
test_addressbook (all.TestSelenium) ... 2015-06-24 11:56:19.288 Starting Selenium server '/usr/local/lib/selenium-standalone-server.jar'
2015-06-24 11:56:19.456 * 11:56:19.456 INFO - Launching a standalone server
2015-06-24 11:56:19.484 * 11:56:19.484 INFO - Java: Oracle Corporation 24.79-b02
2015-06-24 11:56:19.484 * 11:56:19.484 INFO - OS: Linux 4.0.5-200.fc21.x86_64 amd64
2015-06-24 11:56:19.494 * 11:56:19.494 INFO - v2.45.0, with Core v2.45.0. Built from revision 5017cb8
2015-06-24 11:56:19.560 * 11:56:19.560 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: LINUX
2015-06-24 11:56:19.585 * 11:56:19.585 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
2015-06-24 11:56:19.586 * 11:56:19.586 INFO - Version Jetty/5.1.x
2015-06-24 11:56:19.587 * 11:56:19.587 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
2015-06-24 11:56:19.587 * 11:56:19.587 INFO - Started HttpContext[/selenium-server,/selenium-server]
2015-06-24 11:56:19.587 * 11:56:19.587 INFO - Started HttpContext[/,/]
2015-06-24 11:56:19.601 * 11:56:19.601 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@48ef85f3
2015-06-24 11:56:19.601 * 11:56:19.601 INFO - Started HttpContext[/wd,/wd]
2015-06-24 11:56:19.603 * 11:56:19.603 INFO - Started SocketListener on 0.0.0.0:4444
2015-06-24 11:56:19.603 Selenium server started.
2015-06-24 11:56:19.603 Executing ['/usr/bin/phpunit', '--configuration', 'tests/Selenium/phpunit.xml', '--verbose', '--testsuite', 'Addressbook', '--disallow-todo-tests'] with {'ROUNDCUBE_TESTS_USERNAME': u'john.doe@example.org', 'ROUNDCUBE_TESTS_PASSWORD': u'Welcome2KolabSystems', 'ROUNDCUBE_TESTS_BROWSER': 'phantomjs'}
2015-06-24 11:56:19.730 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:19.730
2015-06-24 11:56:19.730 Configuration read from /usr/share/roundcubemail/tests/Selenium/phpunit.xml
2015-06-24 11:56:19.730
2015-06-24 11:56:49.709 FFEEE
2015-06-24 11:56:49.709
2015-06-24 11:56:49.709 Time: 30.07 seconds, Memory: 14.25Mb
2015-06-24 11:56:49.709
2015-06-24 11:56:49.709 There were 3 errors:
2015-06-24 11:56:49.709
2015-06-24 11:56:49.709 1) Selenium_Addressbook_Import::testImport
2015-06-24 11:56:49.710 PHPUnit_Extensions_Selenium2TestCase_WebDriverException: {"errorMessage":"Can't find variable: rcmail","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"65","Content-Type":"application/json; charset=utf-8","Host":"localhost:3249","User-Agent":"Apache-HttpClient/4.3.6 (java 1.5)"},"httpVersion":"1.1","method":"POST","post":"{\"script\":\"return rcmail.buttons[\\u0027import\\u0027];\",\"args\":[]}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/0cccaf90-1a68-11e5-96c2-4366567d435d/execute"}}
2015-06-24 11:56:49.710 Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
2015-06-24 11:56:49.710 System info: host: 'kolab.example.org', ip: '172.17.0.90', os.name: 'Linux', os.arch: 'amd64', os.version: '4.0.5-200.fc21.x86_64', java.version: '1.7.0_79'
2015-06-24 11:56:49.710 Driver info: driver.version: unknown
2015-06-24 11:56:49.710 org.openqa.selenium.WebDriverException
2015-06-24 11:56:49.710
2015-06-24 11:56:49.711 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:56:49.711 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:56:49.711 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:290
2015-06-24 11:56:49.711 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:251
2015-06-24 11:56:49.711 /usr/share/roundcubemail/tests/Selenium/Addressbook/Import.php:7
2015-06-24 11:56:49.711
2015-06-24 11:56:49.711 2) Selenium_Addressbook_Import::testImport2
2015-06-24 11:56:49.712 PHPUnit_Extensions_Selenium2TestCase_WebDriverException: {"errorMessage":"Can't find variable: rcmail","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"65","Content-Type":"application/json; charset=utf-8","Host":"localhost:7004","User-Agent":"Apache-HttpClient/4.3.6 (java 1.5)"},"httpVersion":"1.1","method":"POST","post":"{\"script\":\"return rcmail.buttons[\\u0027import\\u0027];\",\"args\":[]}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/11050210-1a68-11e5-b030-adf8648e29c0/execute"}}
2015-06-24 11:56:49.712 Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
2015-06-24 11:56:49.712 System info: host: 'kolab.example.org', ip: '172.17.0.90', os.name: 'Linux', os.arch: 'amd64', os.version: '4.0.5-200.fc21.x86_64', java.version: '1.7.0_79'
2015-06-24 11:56:49.712 Driver info: driver.version: unknown
2015-06-24 11:56:49.712 org.openqa.selenium.WebDriverException
2015-06-24 11:56:49.712
2015-06-24 11:56:49.712 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:56:49.712 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:56:49.712 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:290
2015-06-24 11:56:49.712 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:251
2015-06-24 11:56:49.712 /usr/share/roundcubemail/tests/Selenium/Addressbook/Import.php:22
2015-06-24 11:56:49.712
2015-06-24 11:56:49.712 3) Selenium_Logout::testLogout
2015-06-24 11:56:49.712 PHPUnit_Extensions_Selenium2TestCase_WebDriverException: {"errorMessage":"Can't find variable: rcmail","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"65","Content-Type":"application/json; charset=utf-8","Host":"localhost:29520","User-Agent":"Apache-HttpClient/4.3.6 (java 1.5)"},"httpVersion":"1.1","method":"POST","post":"{\"script\":\"return rcmail.buttons[\\u0027logout\\u0027];\",\"args\":[]}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/153abc80-1a68-11e5-bfbf-3b44fad5c719/execute"}}
2015-06-24 11:56:49.712 Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
2015-06-24 11:56:49.713 System info: host: 'kolab.example.org', ip: '172.17.0.90', os.name: 'Linux', os.arch: 'amd64', os.version: '4.0.5-200.fc21.x86_64', java.version: '1.7.0_79'
2015-06-24 11:56:49.713 Driver info: driver.version: unknown
2015-06-24 11:56:49.713 org.openqa.selenium.WebDriverException
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:56:49.713 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:56:49.713 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:290
2015-06-24 11:56:49.713 /usr/share/roundcubemail/tests/Selenium/Logout.php:9
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 --
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 There were 2 failures:
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 1) Selenium_Login::testLogin
2015-06-24 11:56:49.713 Failed asserting that null matches expected 'login'.
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 /usr/share/roundcubemail/tests/Selenium/Login.php:19
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 2) Selenium_Addressbook_Addressbook::testAddressbook
2015-06-24 11:56:49.713 Failed asserting that null matches expected 'addressbook'.
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 /usr/share/roundcubemail/tests/Selenium/Addressbook/Addressbook.php:11
2015-06-24 11:56:49.713
2015-06-24 11:56:49.713 FAILURES!
2015-06-24 11:56:49.713 Tests: 5, Assertions: 2, Errors: 3, Failures: 2.
FAIL
2015-06-24 11:56:50.437 Selenium server stopped
test_mail (all.TestSelenium) ... 2015-06-24 11:56:50.438 Starting Selenium server '/usr/local/lib/selenium-standalone-server.jar'
2015-06-24 11:56:50.529 * 11:56:50.528 INFO - Launching a standalone server
2015-06-24 11:56:50.555 * 11:56:50.555 INFO - Java: Oracle Corporation 24.79-b02
2015-06-24 11:56:50.555 * 11:56:50.555 INFO - OS: Linux 4.0.5-200.fc21.x86_64 amd64
2015-06-24 11:56:50.565 * 11:56:50.565 INFO - v2.45.0, with Core v2.45.0. Built from revision 5017cb8
2015-06-24 11:56:50.621 * 11:56:50.620 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: LINUX
2015-06-24 11:56:50.663 * 11:56:50.663 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
2015-06-24 11:56:50.664 * 11:56:50.664 INFO - Version Jetty/5.1.x
2015-06-24 11:56:50.665 * 11:56:50.665 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
2015-06-24 11:56:50.665 * 11:56:50.665 INFO - Started HttpContext[/selenium-server,/selenium-server]
2015-06-24 11:56:50.665 * 11:56:50.665 INFO - Started HttpContext[/,/]
2015-06-24 11:56:50.682 * 11:56:50.682 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@17f99aa6
2015-06-24 11:56:50.682 * 11:56:50.682 INFO - Started HttpContext[/wd,/wd]
2015-06-24 11:56:50.684 * 11:56:50.684 INFO - Started SocketListener on 0.0.0.0:4444
2015-06-24 11:56:50.684 Selenium server started.
2015-06-24 11:56:50.684 Executing ['/usr/bin/phpunit', '--configuration', 'tests/Selenium/phpunit.xml', '--verbose', '--testsuite', 'Mail', '--disallow-todo-tests'] with {'ROUNDCUBE_TESTS_USERNAME': u'john.doe@example.org', 'ROUNDCUBE_TESTS_PASSWORD': u'Welcome2KolabSystems', 'ROUNDCUBE_TESTS_BROWSER': 'phantomjs'}
2015-06-24 11:56:50.814 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:56:50.814
2015-06-24 11:56:50.814 Configuration read from /usr/share/roundcubemail/tests/Selenium/phpunit.xml
2015-06-24 11:56:50.814
2015-06-24 11:57:14.333 FFEEbootstrap::purge_mailbox: IMAP connection unavailable
2015-06-24 11:57:14.338 Selenium server stopped
ok
test_settings (all.TestSelenium) ... 2015-06-24 11:57:14.338 Starting Selenium server '/usr/local/lib/selenium-standalone-server.jar'
2015-06-24 11:57:14.430 * 11:57:14.429 INFO - Launching a standalone server
2015-06-24 11:57:14.455 * 11:57:14.455 INFO - Java: Oracle Corporation 24.79-b02
2015-06-24 11:57:14.455 * 11:57:14.455 INFO - OS: Linux 4.0.5-200.fc21.x86_64 amd64
2015-06-24 11:57:14.465 * 11:57:14.465 INFO - v2.45.0, with Core v2.45.0. Built from revision 5017cb8
2015-06-24 11:57:14.522 * 11:57:14.522 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: LINUX
2015-06-24 11:57:14.566 * 11:57:14.566 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
2015-06-24 11:57:14.567 * 11:57:14.566 INFO - Version Jetty/5.1.x
2015-06-24 11:57:14.567 * 11:57:14.567 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
2015-06-24 11:57:14.568 * 11:57:14.568 INFO - Started HttpContext[/selenium-server,/selenium-server]
2015-06-24 11:57:14.568 * 11:57:14.568 INFO - Started HttpContext[/,/]
2015-06-24 11:57:14.584 * 11:57:14.584 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@17f99aa6
2015-06-24 11:57:14.585 * 11:57:14.584 INFO - Started HttpContext[/wd,/wd]
2015-06-24 11:57:14.593 * 11:57:14.593 INFO - Started SocketListener on 0.0.0.0:4444
2015-06-24 11:57:14.593 Selenium server started.
2015-06-24 11:57:14.593 Executing ['/usr/bin/phpunit', '--configuration', 'tests/Selenium/phpunit.xml', '--verbose', '--testsuite', 'Settings', '--disallow-todo-tests'] with {'ROUNDCUBE_TESTS_USERNAME': u'john.doe@example.org', 'ROUNDCUBE_TESTS_PASSWORD': u'Welcome2KolabSystems', 'ROUNDCUBE_TESTS_BROWSER': 'phantomjs'}
2015-06-24 11:57:14.731 PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
2015-06-24 11:57:14.731
2015-06-24 11:57:14.731 Configuration read from /usr/share/roundcubemail/tests/Selenium/phpunit.xml
2015-06-24 11:57:14.731
2015-06-24 11:57:51.496 FFEEFE
2015-06-24 11:57:51.496
2015-06-24 11:57:51.496 Time: 36.86 seconds, Memory: 14.75Mb
2015-06-24 11:57:51.496
2015-06-24 11:57:51.496 There were 3 errors:
2015-06-24 11:57:51.496
2015-06-24 11:57:51.496 1) Selenium_Settings_Folders::testFolders
2015-06-24 11:57:51.497 PHPUnit_Extensions_Selenium2TestCase_WebDriverException: {"errorMessage":"Can't find variable: rcmail","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"66","Content-Type":"application/json; charset=utf-8","Host":"localhost:25073","User-Agent":"Apache-HttpClient/4.3.6 (java 1.5)"},"httpVersion":"1.1","method":"POST","post":"{\"script\":\"return rcmail.buttons[\\u0027folders\\u0027];\",\"args\":[]}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/2d6a4b90-1a68-11e5-b05c-f95953e0b5e4/execute"}}
2015-06-24 11:57:51.497 Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
2015-06-24 11:57:51.497 System info: host: 'kolab.example.org', ip: '172.17.0.90', os.name: 'Linux', os.arch: 'amd64', os.version: '4.0.5-200.fc21.x86_64', java.version: '1.7.0_79'
2015-06-24 11:57:51.497 Driver info: driver.version: unknown
2015-06-24 11:57:51.497 org.openqa.selenium.WebDriverException
2015-06-24 11:57:51.497
2015-06-24 11:57:51.497 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:57:51.497 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:57:51.497 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:290
2015-06-24 11:57:51.497 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:251
2015-06-24 11:57:51.497 /usr/share/roundcubemail/tests/Selenium/Settings/Folders.php:7
2015-06-24 11:57:51.497
2015-06-24 11:57:51.497 2) Selenium_Settings_Identities::testIdentities
2015-06-24 11:57:51.498 PHPUnit_Extensions_Selenium2TestCase_WebDriverException: {"errorMessage":"Can't find variable: rcmail","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"69","Content-Type":"application/json; charset=utf-8","Host":"localhost:8926","User-Agent":"Apache-HttpClient/4.3.6 (java 1.5)"},"httpVersion":"1.1","method":"POST","post":"{\"script\":\"return rcmail.buttons[\\u0027identities\\u0027];\",\"args\":[]}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/31a2ec30-1a68-11e5-b7cb-a3c135fb594c/execute"}}
2015-06-24 11:57:51.498 Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
2015-06-24 11:57:51.498 System info: host: 'kolab.example.org', ip: '172.17.0.90', os.name: 'Linux', os.arch: 'amd64', os.version: '4.0.5-200.fc21.x86_64', java.version: '1.7.0_79'
2015-06-24 11:57:51.498 Driver info: driver.version: unknown
2015-06-24 11:57:51.498 org.openqa.selenium.WebDriverException
2015-06-24 11:57:51.498
2015-06-24 11:57:51.498 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:57:51.498 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:57:51.498 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:290
2015-06-24 11:57:51.498 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:251
2015-06-24 11:57:51.498 /usr/share/roundcubemail/tests/Selenium/Settings/Identities.php:7
2015-06-24 11:57:51.498
2015-06-24 11:57:51.498 3) Selenium_Logout::testLogout
2015-06-24 11:57:51.498 PHPUnit_Extensions_Selenium2TestCase_WebDriverException: {"errorMessage":"Can't find variable: rcmail","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"65","Content-Type":"application/json; charset=utf-8","Host":"localhost:24917","User-Agent":"Apache-HttpClient/4.3.6 (java 1.5)"},"httpVersion":"1.1","method":"POST","post":"{\"script\":\"return rcmail.buttons[\\u0027logout\\u0027];\",\"args\":[]}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/3a131c00-1a68-11e5-b069-6fd7d59fe835/execute"}}
2015-06-24 11:57:51.498 Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
2015-06-24 11:57:51.499 System info: host: 'kolab.example.org', ip: '172.17.0.90', os.name: 'Linux', os.arch: 'amd64', os.version: '4.0.5-200.fc21.x86_64', java.version: '1.7.0_79'
2015-06-24 11:57:51.499 Driver info: driver.version: unknown
2015-06-24 11:57:51.499 org.openqa.selenium.WebDriverException
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:57:51.499 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:269
2015-06-24 11:57:51.499 /usr/share/roundcubemail/tests/Selenium/bootstrap.php:290
2015-06-24 11:57:51.499 /usr/share/roundcubemail/tests/Selenium/Logout.php:9
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 --
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 There were 3 failures:
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 1) Selenium_Login::testLogin
2015-06-24 11:57:51.499 Failed asserting that null matches expected 'login'.
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 /usr/share/roundcubemail/tests/Selenium/Login.php:19
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 2) Selenium_Settings_About::testAbout
2015-06-24 11:57:51.499 Failed asserting that null matches expected 'settings'.
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 /usr/share/roundcubemail/tests/Selenium/Settings/About.php:12
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 3) Selenium_Settings_Settings::testSettings
2015-06-24 11:57:51.499 Failed asserting that null matches expected 'settings'.
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 /usr/share/roundcubemail/tests/Selenium/Settings/Settings.php:11
2015-06-24 11:57:51.499
2015-06-24 11:57:51.499 FAILURES!
2015-06-24 11:57:51.499 Tests: 6, Assertions: 3, Errors: 3, Failures: 3.
FAIL
2015-06-24 11:57:52.222 Selenium server stopped
======================================================================
FAIL: test_addressbook (all.TestSelenium)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/stick.git/integration/R/test_selenium.py", line 22, in test_addressbook
self.execute(testsuite='Addressbook', selenium=True, message="Roundcube Addressbook Testsuite")
File "/srv/stick.git/integration/stick/phpunittest.py", line 125, in execute
self.assertEqual(retval, 0, message)
AssertionError: Roundcube Addressbook Testsuite
-------------------- >> begin captured logging << --------------------
stick: INFO: Wiping all data, yeah!
stick: INFO: Done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_settings (all.TestSelenium)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/stick.git/integration/R/test_selenium.py", line 30, in test_settings
self.execute(testsuite='Settings', selenium=True, message="Roundcube Settings Testsuite")
File "/srv/stick.git/integration/stick/phpunittest.py", line 125, in execute
self.assertEqual(retval, 0, message)
AssertionError: Roundcube Settings Testsuite
----------------------------------------------------------------------
Ran 6 tests in 99.493s
FAILED (failures=2)
++ retval=1
++ '[' 1 -eq 0 ']'
++ _report_msg 'Running '\''env' NOSE_VERBOSE=2 nosetests -s 'R/all.py'\'' FAILED (at 3af8927709861f674fc1395a5cc500d1916a0263)'
++ printf '%*s' 0 ' '
++ echo 'Running '\''env' NOSE_VERBOSE=2 nosetests -s 'R/all.py'\'' FAILED (at 3af8927709861f674fc1395a5cc500d1916a0263)'
++ echo 'Running env' NOSE_VERBOSE=2 nosetests -s 'R/all.py FAILED (at 3af8927709861f674fc1395a5cc500d1916a0263)'
Running env NOSE_VERBOSE=2 nosetests -s R/all.py FAILED (at 3af8927709861f674fc1395a5cc500d1916a0263)
++ echo 1
+ retval=1
+ '[' 1 -ne 0 ']'
+ exit 1
Running ../stick.git/drydocker/roundcubemail/test_integration.sh FAILED (at e8e103202363790da8dd45c6076eb5561d64592a)

Event Timeline

vanmeeuwen edited the content of this paste. (Show Details)Jun 25 2015, 9:08 AM
vanmeeuwen updated the paste's language from autodetect to autodetect.

The way to run Selenium tests without docker

  1. download selenium and phantomjs binaries and put the in one folder
  2. execute: PATH=/folder/path:$PATH" java -jar selenium-standalone....
  3. go to another console and goto tests/Selenium directory
  4. download phpunit.phar, make it executable and execute it

Note: in the first console you can see more debug info.

There's gotta be some more you need to do, for this simply doesn't seem to execute any tests.

Hmm... that should work. phpunit.phar should execute all tests defined in phpunit.xml. Is there any output?

$ ./phpunit.phar ; echo $?
PHPUnit 4.7.5 by Sebastian Bergmann and contributors.

255

Are you in Roundcube's tests/Selenium directory? What if you run ./phpunit.phar Login.php?