See 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/changes>

Changes:

[Julien Carsique <[email protected]>] exit before upload if webdriver test 
failed; always run webdriver tests on Tomcat

[Julien Carsique <[email protected]>] NXBT-285 - currently available only for 
Tomcat

[Julien Carsique <[email protected]>] NXBT-285 - Allow use of local 
distribution instead of downloading

------------------------------------------
[...truncated 447 lines...]
16:37:28.657 INFO - Checking Resource aliases
16:37:28.658 INFO - Received posted results
16:37:30.133 INFO - Killing Firefox...
16:37:30.591 INFO - Shutting down...
16:37:30.592 INFO - Stopping Acceptor 
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=14440]
+ [ 0 != 0 ]
+ echo ### [INFO] suite2 TEST SUCCESSFUL
### [INFO] suite2 TEST SUCCESSFUL
+ sleep 5
+ echo ### [INFO] Running test suite suite-dm ...
### [INFO] Running test suite suite-dm ...
+ java -jar selenium-server.jar -port 14440 -timeout 7200 -browserSideLog 
-htmlSuite *chrome http://localhost:8080/nuxeo/ 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/tests/suite-dm.html>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/result-suite-dm.html>
 -firefoxProfileTemplate ffprofile -userExtensions user-extensions.js
16:37:37.130 INFO - Java: Sun Microsystems Inc. 19.1-b02
16:37:37.150 INFO - OS: Linux 2.6.32-28-server amd64
16:37:37.158 INFO - v2.0 [b1], with Core v2.0 [b1]
16:37:37.454 INFO - RemoteWebDriver instances should connect to: 
http://127.0.0.1:14440/wd/hub
16:37:37.456 INFO - Version Jetty/5.1.x
16:37:37.457 INFO - Started 
HttpContext[/selenium-server/driver,/selenium-server/driver]
16:37:37.458 INFO - Started HttpContext[/selenium-server,/selenium-server]
16:37:37.458 INFO - Started HttpContext[/,/]
16:37:37.685 INFO - Started 
org.openqa.jetty.jetty.servlet.ServletHandler@7825d2b2
16:37:37.685 INFO - Started HttpContext[/wd,/wd]
16:37:37.699 INFO - Started SocketListener on 0.0.0.0:14440
16:37:37.699 INFO - Started org.openqa.jetty.jetty.Server@3716ab4e
16:37:37.899 INFO - Preparing Firefox profile...
16:37:42.091 INFO - Launching Firefox...
16:37:43.599 INFO - Checking Resource aliases
16:37:57.151 INFO - Checking Resource aliases
16:37:57.157 INFO - Received posted results
16:37:57.596 INFO - Killing Firefox...
16:37:57.719 INFO - Shutting down...
16:37:57.720 INFO - Stopping Acceptor 
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=14440]
+ [ 0 != 0 ]
+ echo ### [INFO] suite-dm TEST SUCCESSFUL
### [INFO] suite-dm TEST SUCCESSFUL
+ sleep 5
+ echo ### [INFO] Running test suite suite-webengine ...
### [INFO] Running test suite suite-webengine ...
+ java -jar selenium-server.jar -port 14440 -timeout 7200 -browserSideLog 
-htmlSuite *chrome http://localhost:8080/nuxeo/ 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/tests/suite-webengine.html>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/result-suite-webengine.html>
 -firefoxProfileTemplate ffprofile -userExtensions user-extensions.js
16:38:03.222 INFO - Java: Sun Microsystems Inc. 19.1-b02
16:38:03.223 INFO - OS: Linux 2.6.32-28-server amd64
16:38:03.228 INFO - v2.0 [b1], with Core v2.0 [b1]
16:38:03.322 INFO - RemoteWebDriver instances should connect to: 
http://127.0.0.1:14440/wd/hub
16:38:03.323 INFO - Version Jetty/5.1.x
16:38:03.324 INFO - Started 
HttpContext[/selenium-server/driver,/selenium-server/driver]
16:38:03.325 INFO - Started HttpContext[/selenium-server,/selenium-server]
16:38:03.325 INFO - Started HttpContext[/,/]
16:38:03.342 INFO - Started 
org.openqa.jetty.jetty.servlet.ServletHandler@6910fe28
16:38:03.342 INFO - Started HttpContext[/wd,/wd]
16:38:03.346 INFO - Started SocketListener on 0.0.0.0:14440
16:38:03.346 INFO - Started org.openqa.jetty.jetty.Server@3716ab4e
16:38:03.430 INFO - Preparing Firefox profile...
16:38:05.801 INFO - Launching Firefox...
16:38:06.348 INFO - Checking Resource aliases
16:38:11.760 INFO - Checking Resource aliases
16:38:11.762 INFO - Received posted results
16:38:12.305 INFO - Killing Firefox...
16:38:12.435 INFO - Shutting down...
16:38:12.436 INFO - Stopping Acceptor 
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=14440]
+ [ 0 != 0 ]
+ echo ### [INFO] suite-webengine TEST SUCCESSFUL
### [INFO] suite-webengine TEST SUCCESSFUL
+ sleep 5
+ echo ### [INFO] Running test suite suite-webengine-website ...
### [INFO] Running test suite suite-webengine-website ...
+ java -jar selenium-server.jar -port 14440 -timeout 7200 -browserSideLog 
-htmlSuite *chrome http://localhost:8080/nuxeo/ 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/tests/suite-webengine-website.html>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/result-suite-webengine-website.html>
 -firefoxProfileTemplate ffprofile -userExtensions user-extensions.js
16:38:17.916 INFO - Java: Sun Microsystems Inc. 19.1-b02
16:38:17.917 INFO - OS: Linux 2.6.32-28-server amd64
16:38:17.922 INFO - v2.0 [b1], with Core v2.0 [b1]
16:38:18.022 INFO - RemoteWebDriver instances should connect to: 
http://127.0.0.1:14440/wd/hub
16:38:18.023 INFO - Version Jetty/5.1.x
16:38:18.023 INFO - Started 
HttpContext[/selenium-server/driver,/selenium-server/driver]
16:38:18.024 INFO - Started HttpContext[/selenium-server,/selenium-server]
16:38:18.024 INFO - Started HttpContext[/,/]
16:38:43.101 INFO - Started 
org.openqa.jetty.jetty.servlet.ServletHandler@7825d2b2
16:38:43.101 INFO - Started HttpContext[/wd,/wd]
16:38:43.111 INFO - Started SocketListener on 0.0.0.0:14440
16:38:43.111 INFO - Started org.openqa.jetty.jetty.Server@3716ab4e
16:38:43.194 INFO - Preparing Firefox profile...
16:38:45.352 INFO - Launching Firefox...
16:38:45.916 INFO - Checking Resource aliases
16:39:15.159 INFO - Checking Resource aliases
16:39:15.160 INFO - Received posted results
16:39:15.360 INFO - Killing Firefox...
+ [ 0 != 0 ]
+ echo ### [INFO] suite-webengine-website TEST SUCCESSFUL
### [INFO] suite-webengine-website TEST SUCCESSFUL
+ sleep 5
+ echo ### [INFO] Running test suite suite-webengine-tags ...
### [INFO] Running test suite suite-webengine-tags ...
+ java -jar selenium-server.jar -port 14440 -timeout 7200 -browserSideLog 
-htmlSuite *chrome http://localhost:8080/nuxeo/ 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/tests/suite-webengine-tags.html>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/selenium/result-suite-webengine-tags.html>
 -firefoxProfileTemplate ffprofile -userExtensions user-extensions.js
16:39:21.208 INFO - Java: Sun Microsystems Inc. 19.1-b02
16:39:21.209 INFO - OS: Linux 2.6.32-28-server amd64
16:39:21.213 INFO - v2.0 [b1], with Core v2.0 [b1]
16:39:21.308 INFO - RemoteWebDriver instances should connect to: 
http://127.0.0.1:14440/wd/hub
16:39:21.309 INFO - Version Jetty/5.1.x
16:39:21.309 INFO - Started 
HttpContext[/selenium-server/driver,/selenium-server/driver]
16:39:21.310 INFO - Started HttpContext[/selenium-server,/selenium-server]
16:39:21.310 INFO - Started HttpContext[/,/]
16:39:43.176 INFO - Started 
org.openqa.jetty.jetty.servlet.ServletHandler@45d64c37
16:39:43.176 INFO - Started HttpContext[/wd,/wd]
16:39:43.184 INFO - Started SocketListener on 0.0.0.0:14440
16:39:43.184 INFO - Started org.openqa.jetty.jetty.Server@3716ab4e
16:39:43.274 INFO - Preparing Firefox profile...
16:39:45.403 INFO - Launching Firefox...
16:39:45.965 INFO - Checking Resource aliases
16:39:56.399 INFO - Checking Resource aliases
16:39:56.401 INFO - Received posted results
16:39:56.909 INFO - Killing Firefox...
16:39:57.020 INFO - Shutting down...
16:39:57.021 INFO - Stopping Acceptor 
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=14440]
+ [ 0 != 0 ]
+ echo ### [INFO] suite-webengine-tags TEST SUCCESSFUL
### [INFO] suite-webengine-tags TEST SUCCESSFUL
+ sleep 5
+ [ 9 != 0 ]
+ echo ### [ERROR] TESTS FAILURE
### [ERROR] TESTS FAILURE
+ exit 9
+ ret1=9
+ '[' -z ']'
+ java -version
+ grep 1.6.0
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
+ '[' 0 == 0 ']'
+ cd 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload>
+ make EXT=--no-color
mkdir -p ../../target/ftest/funkload/report ../../target/ftest/funkload/log
fl-monitor-ctl monitor.conf restart
Starting monitor server at http://localhost:55502/ as daemon.
fl-credential-ctl credential.conf restart
Starting file_credential server at http://localhost:55501/ as daemon.
fl-run-test test_pages.py --simple-fetch -v -e testAvailable --no-color
testAvailable (test_pages.Pages) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.056s

OK
fl-run-test -v --simple-fetch test_rest.py -e testWriter --no-color
testWriter (test_rest.Rest) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.566s

OK
fl-run-test -v --simple-fetch test_rest.py -e testReader --no-color
testReader (test_rest.Rest) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.205s

OK
fl-run-test -v --simple-fetch test_pages.py --no-color
testAvailable (test_pages.Pages) ... ok
testBasePageViewDocumentPath (test_pages.Pages) ... ok
testFileTabs (test_pages.Pages) ... FAIL
testFolderPage (test_pages.Pages) ... ok
testLoginPage (test_pages.Pages) ... ok
testNavigation (test_pages.Pages) ... ok
testPublish (test_pages.Pages) ... ok
testSections (test_pages.Pages) ... ok
testUsersGroupsPage (test_pages.Pages) ... ok

======================================================================
FAIL: testFileTabs (test_pages.Pages)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/funkload/FunkLoadTestCase.py", line 923, in 
__call__
    testMethod()
  File 
"<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/test_pages.py";,>
 line 139, in testFileTabs
    .createFile(title, description))
  File 
"<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/nuxeo/pages.py";,>
 line 599, in createFile
    fl.assert_('File saved' in fl.getBody())
AssertionError

----------------------------------------------------------------------
Ran 9 tests in 9.434s

FAILED (failures=1)
make: *** [page] Error 1
+ ret2=2
+ ret3=0
+ stop_server
+ 
SERVER_HOME=<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat>
+ 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/bin/monitorctl.sh>
 stop
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/bin/monitorctl.sh>:
 line 121: -server -Xms1g -Xmx1g -XX:MaxPermSize=512m 
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 
-Xloggc:${nuxeo.log.dir}/gc.log -verbose:gc -XX:+PrintGCDetails 
-XX:+PrintGCTimeStamps: bad substitution
Stopping monitoring 2011-05-16 16:40:17+02:00 ...
Monitoring stopped.
Archiving log ...
tar: log/*.html: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Done: 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/log-20110516-144023.tgz>
+ 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/bin/nuxeoctl>
 stop
Launcher command: java -Dlauncher.java.opts=-server -Xms1g -Xmx1g 
-XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:${nuxeo.log.dir}/gc.log 
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps 
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Dnuxeo.home=<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat>
 
-Dnuxeo.conf=<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/bin/nuxeo.conf>
 
-Dnuxeo.log.dir=<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/log>
 -jar 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/bin/nuxeo-launcher.jar>
 stop
Nuxeo home:          
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat>
Nuxeo configuration: 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/bin/nuxeo.conf>
Include template: 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/templates/common>
Include template: 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/templates/default>
Include template: 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/templates/mysql>
Template 'monitor' not found with relative or absolute path 
(<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/ws/trunk/tomcat/templates/monitor).>
 Check your nuxeo.templates parameter, and nuxeo.template.includes for included 
files.
Stopping server.........Server stopped.
+ '[' '!' -z ']'
+ echo '### 10 most frequent errors --------------'
### 10 most frequent errors --------------
+ sed 's/^.\{24\}//g'
+ sort
+ head
+ uniq -c
+ grep ' ERROR \[' 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/server.log>
+ sort -nr
      2 ERROR [nuxeo-error-log] 
      1 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.service.DefaultRequestDumper]
 ERROR TRYING TO GET THIS REQUEST ATTRIBUTE VALUE: lockActions
      1 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.servlet.ServletException: #{action.getLink()}: javax.el.ELException: 
java.lang.NullPointerException
      1 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.el.ELException: org.nuxeo.ecm.core.api.ClientException: Failed to get 
document /default-domain/workspaces/that/does/not/exists
      1 ERROR [org.jboss.seam.jsf.SeamPhaseListener] swallowing exception
      1 ERROR 
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] 
Session event listener threw exception
      1 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] Exception in the filter chain
      1 ERROR [nuxeo-error-log] javax.servlet.ServletException: 
#{action.getLink()}: javax.el.ELException: java.lang.NullPointerException
      1 ERROR [nuxeo-error-log] javax.el.ELException: 
org.nuxeo.ecm.core.api.ClientException: Failed to get document 
/default-domain/workspaces/that/does/not/exists
      1 ERROR [javax.enterprise.resource.webcontainer.jsf.lifecycle] 
jsf.lifecycle.phase.exception
+ echo '### 10 first errors ----------------------'
### 10 first errors ----------------------
+ grep -nTm 10 ' ERROR ' 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/server.log>
1479    :2011-05-16 16:40:07,871 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.el.ELException: org.nuxeo.ecm.core.api.ClientException: Failed to get 
document /default-domain/workspaces/that/does/not/exists
1624    :2011-05-16 16:40:07,872 ERROR [nuxeo-error-log] javax.el.ELException: 
org.nuxeo.ecm.core.api.ClientException: Failed to get document 
/default-domain/workspaces/that/does/not/exists
1769    :2011-05-16 16:40:07,898 ERROR [nuxeo-error-log] 
2038    :2011-05-16 16:40:08,270 ERROR [org.jboss.seam.jsf.SeamPhaseListener] 
swallowing exception
2131    :2011-05-16 16:40:08,275 ERROR 
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] 
Session event listener threw exception
2171    :2011-05-16 16:40:09,131 ERROR 
[javax.enterprise.resource.webcontainer.jsf.application] javax.el.ELException: 
java.lang.NullPointerException
2384    :2011-05-16 16:40:09,135 ERROR 
[javax.enterprise.resource.webcontainer.jsf.lifecycle] 
jsf.lifecycle.phase.exception
2605    :2011-05-16 16:40:09,186 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] 
Exception in the filter chain
2716    :2011-05-16 16:40:09,188 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.servlet.ServletException: #{action.getLink()}: javax.el.ELException: 
java.lang.NullPointerException
2827    :2011-05-16 16:40:09,189 ERROR [nuxeo-error-log] 
javax.servlet.ServletException: #{action.getLink()}: javax.el.ELException: 
java.lang.NullPointerException
+ echo '### --------------------------------------'
### --------------------------------------
+ gzip 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/console.log>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/gc.log>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/nuxeo-error.log>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/server.log>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/stderr.log>
 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/sysstat-sar.log>
+ gzip -cd 
<https://qa.nuxeo.org/jenkins/job/IT-nuxeo-5.4-tests-dm-tomcat-mysql/21/artifact/trunk/tomcat/log/server.log.gz>
+ '[' 9 -eq 0 -a 2 -eq 0 ']'
+ exit 9
Archiving artifacts
Publishing Selenium report...
  Test failures: 1
  Test totals  : 108
------------------------
  Command Passes   : 1572
  Command Failures : 1
  Command Errors   : 1

_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa

Reply via email to