See <https://qa.nuxeo.org/jenkins/job/IT-nuxeo-drive-master-linux/32/changes>
Changes: [olivier.grisel] add nxdrive.tests to the list of packages [olivier.grisel] back to a simple nxdrive script [olivier.grisel] Bugfix: NuxeoClient.get_info should not use the OS dependent path separator for handling path refs ------------------------------------------ Started by remote host 10.213.0.1 Started by GitHub push by Building remotely on muradin in workspace <https://qa.nuxeo.org/jenkins/job/IT-nuxeo-drive-master-linux/ws/> Checkout:IT-nuxeo-drive-master-linux / <https://qa.nuxeo.org/jenkins/job/IT-nuxeo-drive-master-linux/ws/> - hudson.remoting.Channel@386ce1f3:muradin Using strategy: Default Last Built Revision: Revision e7741d886bdc43e9a6ff8a9b1a5b5ed0e3630355 (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from https://github.com/nuxeo/nuxeo-drive.git Commencing build of Revision 9f3d33a377fbce1e90c260ba17b5409099d54fbc (origin/master) Checking out Revision 9f3d33a377fbce1e90c260ba17b5409099d54fbc (origin/master) [nuxeo-integration-release] $ hg showconfig paths.default [nuxeo-integration-release] $ hg pull --rev default [nuxeo-integration-release] $ hg update --clean --rev default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved [nuxeo-integration-release] $ hg log --rev . --template {node} [nuxeo-integration-release] $ hg log --rev . --template {rev} [nuxeo-integration-release] $ hg log --rev 30ee4b6af4c957829afb63e791d9858a0f0ae94b [nuxeo-integration-release] $ hg log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default:0 --follow --prune 30ee4b6af4c957829afb63e791d9858a0f0ae94b [IT-nuxeo-drive-master-linux] $ /bin/sh -xe /tmp/hudson3462493486326873344.sh + cd nuxeo-integration-release/ + rm -rf tomcat + LASTBUILD_URL=http://qa.nuxeo.org/hudson/job/IT-nuxeo-master-build/lastSuccessfulBuild/artifact/archives ./download.sh 2012-06-29 15:24:36 URL:http://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-build/lastSuccessfulBuild/artifact/archives/nuxeo-cap-5.6-I20120629_0116-tomcat-online.zip [0/0] -> "nuxeo-cap-5.6-I20120629_0116-tomcat-online.zip" [1] 2012-06-29 15:25:06 URL:http://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-build/lastSuccessfulBuild/artifact/archives/nuxeo-cap-5.6-I20120629_0116-tomcat-sdk.zip [301449992/301449992] -> "nuxeo-cap-5.6-I20120629_0116-tomcat-sdk.zip" [1] 2012-06-29 15:25:22 URL:http://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-build/lastSuccessfulBuild/artifact/archives/nuxeo-cap-5.6-I20120629_0116-tomcat.zip [184505833/184505833] -> "nuxeo-cap-5.6-I20120629_0116-tomcat.zip" [1] FINISHED --2012-06-29 15:25:22-- Downloaded: 3 files, 463M in 0s (905163260 GB/s) 2012-06-29 15:25:30 URL:http://qa.nuxeo.org/jenkins/job/IT-nuxeo-master-build/lastSuccessfulBuild/artifact/archives/nuxeo-5.6-I20120629_0116-sources.zip [76739553/76739553] -> "nuxeo-5.6-I20120629_0116-sources.zip" [1] + echo \nnuxeo.wizard.done=true\n + ./tomcat/bin/nuxeoctl start Nuxeo home: /opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-integration-release/tomcat Nuxeo configuration: /opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-integration-release/tomcat/bin/nuxeo.conf Include template: /opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-integration-release/tomcat/templates/common-base Include template: /opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-integration-release/tomcat/templates/common Include template: /opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-integration-release/tomcat/templates/default Detected Tomcat server. No current configuration, generating files... Configuration files generated. Server started with process ID 16662. ................... ====================================================================== = Nuxeo EP Started ====================================================================== = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 341 ====================================================================== Started in 0min39s + cd ../nuxeo-drive/nuxeo-drive-client + pip install --user -r dev-requirements.txt Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy in /opt/hudson/.local/lib/python2.6/site-packages (from -r dev-requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): nose in /opt/hudson/.local/lib/python2.6/site-packages (from -r dev-requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): coverage in /opt/hudson/.local/lib/python2.6/site-packages (from -r dev-requirements.txt (line 3)) Cleaning up... + pip install --user . Unpacking /opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client Running setup.py egg_info for package from file:///opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client WARN: Install esky and cx_Freeze if you want to build the auto-updatable, standalone distribution of nxdrive. Cleaning up... + export PATH=/opt/hudson/.local/bin:/usr/lib/jvm/java-6-sun//bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games + . ./integration_env.sh + export NXDRIVE_TEST_NUXEO_URL=http://localhost:8080/nuxeo + export NXDRIVE_TEST_USER=Administrator + export NXDRIVE_TEST_PASSWORD=Administrator + nosetests --with-coverage ..........E..E. ====================================================================== ERROR: nxdrive.tests.test_integration_nuxeo_client.test_missing_document ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/hudson/.local/lib/python2.6/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/tests/test_integration_nuxeo_client.py", line 125, in test_missing_document assert_raises(NotFound, nxclient.get_info, '/Something Missing') File "/usr/lib/python2.6/unittest.py", line 336, in failUnlessRaises callableObj(*args, **kwargs) File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/client.py", line 392, in get_info if not self.exists(ref): File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/client.py", line 343, in exists "SELECT * FROM Document WHERE ecm:path = '%s' LIMIT 1" % ref) File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/client.py", line 521, in query return self._execute("Document.Query", query=query, language=language) File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/client.py", line 627, in _execute resp = self.opener.open(req) File "/usr/lib/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 435, in error return self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error -------------------- >> begin captured logging << -------------------- root: ERROR: HTTP Error 500: Internal Server Error root: ERROR: Failed to execute operation: Document.Query root: ERROR: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation Document.Query at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:140) at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.doInvoke(CompiledChainImpl.java:114) at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.invoke(CompiledChainImpl.java:96) at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:81) at org.nuxeo.ecm.automation.server.jaxrs.OperationResource.execute(OperationResource.java:42) at org.nuxeo.ecm.automation.server.jaxrs.ExecutableResource.doPost(ExecutableResource.java:56) at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ObjectOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:258) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.containerService(WebEngineServlet.java:60) at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.service(WebEngineServlet.java:44) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.webengine.jaxrs.session.SessionCleanupFilter.run(SessionCleanupFilter.java:45) at org.nuxeo.ecm.webengine.jaxrs.HttpFilter.doFilter(HttpFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.webengine.app.WebEngineFilter.doFilter(WebEngineFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.webengine.jaxrs.context.RequestContextFilter.run(RequestContextFilter.java:42) at org.nuxeo.ecm.webengine.jaxrs.HttpFilter.doFilter(HttpFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.wss.servlet.BaseWSSFilter.doFilter(BaseWSSFilter.java:135) at org.nuxeo.wss.servlet.FailSafeWSSFilter.doFilter(FailSafeWSSFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:131) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:145) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.wi.filter.WIRequestFilter.doFilter(WIRequestFilter.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:548) at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:345) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: org.nuxeo.ecm.core.api.ClientException: Failed to execute query: Illegal path with empty component: //Something Missing at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1545) at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1422) at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:133) at $Proxy42.query(Unknown Source) at org.nuxeo.ecm.automation.core.operations.document.Query.run(Query.java:44) at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:117) at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:132) ... 73 more Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.IllegalArgumentException. message: Illegal path with empty component: //Something Missing at org.nuxeo.ecm.core.storage.sql.SessionImpl.getNodeByPath(SessionImpl.java:767) at org.nuxeo.ecm.core.storage.sql.RepositoryImpl$SessionPathResolver.getIdForPath(RepositoryImpl.java:419) at org.nuxeo.ecm.core.storage.sql.jdbc.NXQLQueryMaker$WhereBuilder.visitExpressionEcmPath(NXQLQueryMaker.java:1551) at org.nuxeo.ecm.core.storage.sql.jdbc.NXQLQueryMaker$WhereBuilder.visitExpression(NXQLQueryMaker.java:1357) at org.nuxeo.ecm.core.query.sql.model.Expression.accept(Expression.java:42) at org.nuxeo.ecm.core.storage.sql.jdbc.NXQLQueryMaker$WhereBuilder.visitMultiExpression(NXQLQueryMaker.java:1334) at org.nuxeo.ecm.core.query.sql.model.MultiExpression.accept(MultiExpression.java:40) at org.nuxeo.ecm.core.storage.sql.jdbc.NXQLQueryMaker.buildQuery(NXQLQueryMaker.java:421) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.query(JDBCMapper.java:682) at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.query(SoftRefCachingMapper.java:98) at org.nuxeo.ecm.core.storage.sql.SessionImpl.query(SessionImpl.java:1091) at org.nuxeo.ecm.core.storage.sql.ra.ConnectionImpl.query(ConnectionImpl.java:348) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession$SQLSessionQuery.execute(SQLSession.java:581) at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1491) ... 85 more --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: nxdrive.tests.test_integration_synchronization.test_binding_synchronization_empty_start ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/hudson/.local/lib/python2.6/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/tests/test_integration_synchronization.py", line 299, in test_binding_synchronization_empty_start remote_client.update_content('/Folder 1/Folder 1.1/File 2.txt', 'bbbb') File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/client.py", line 437, in update_content name = self.get_info(ref).name File "/opt/hudson/tmp/workspace/IT-nuxeo-drive-master-linux/nuxeo-drive/nuxeo-drive-client/nxdrive/client.py", line 395, in get_info self._check_ref(ref), self.server_url)) NotFound: Could not find '/default-domain/workspaces/test-nxdrive/default-domain/workspaces/test-nxdrive/Folder 1/Folder 1.1/File 2.txt' on 'http://localhost:8080/nuxeo/' Name Stmts Miss Cover Missing -------------------------------------------------- nxdrive 0 0 100% nxdrive.client 380 40 89% 40, 78, 135, 140, 145, 157, 198-201, 234-235, 240, 269, 280, 285, 328-330, 366, 396, 406-408, 438, 478, 482, 490, 493, 496, 499, 502, 506, 514-518, 623, 642, 655, 659, 673-676 nxdrive.controller 403 78 81% 41, 90, 107, 126-129, 173, 213-214, 222, 286-287, 289, 295, 402, 408, 421-423, 461-464, 501-513, 519, 541, 588, 635, 669-679, 690-691, 702-710, 715, 730-739, 750-792, 819-827, 851, 872, 889 nxdrive.model 187 25 87% 100, 157, 176, 187, 204-209, 222, 246-249, 272-276, 285, 296-301, 317-319 -------------------------------------------------- TOTAL 970 143 85% ---------------------------------------------------------------------- Ran 15 tests in 18.438s FAILED (errors=2) Build step 'Execute shell' marked build as failure Archiving artifacts Checking ^\d{4}-\d{2}-\d{2}.*ERROR.* <https://qa.nuxeo.org/jenkins/job/IT-nuxeo-drive-master-linux/32/artifact/nuxeo-integration-release/tomcat/log/server.log>: 2012-06-29 15:26:27,973 ERROR [com.sun.jersey.spi.container.ContainerResponse] Mapped exception to response: 500 (Internal Server Error) _______________________________________________ ECM-QA mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm-qa
