[GeoNetwork-devel] Protactor tests for UI

Hi

I’m trying to run the protactor tests in e2eTests module as want to add additional tests for a custom project, but getting some errors.

I have tested in MacOS and Windows with similar results, so not really sure if this stuff works or is something related to my configuration?

If someone can provide some additional information would be great, the module lacks of any documentation unfortunately.

I put here the steps done and exception returned, hopefully can be useful. Thanks in advance for any feedback:

  1. (For MacOs) Install the WebDriver extension in Safari.

  2. Run the tests in e2eTests module

$ mvn clean install -Pe2eTests

GeoNetwork is started and and tests start. Safari (Chrome in Windows) is open and the login page is displayed, but after a while the following error occurs:

Starting selenium standalone server…

Selenium standalone server started at http://192.168.1.5:53692/wd/hub

2016-04-26 14:58:03,590 WARN [geonetwork.thesaurus] - No thesaurus found for concept scheme http://geonetwork-opensource.org/inspire-theme (lang=eng)
Error on line 53 of opensearch.xsl:
XPTY0004: A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,721 ERROR [jeeves.service] - → exception during transformation for : portal.opensearch
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) stylesheet : /PATH/core-geonetwork/e2e-tests/target/geonetworkWar/xsl/…/xslt/services/rss/opensearch.xsl
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) message : A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,723 ERROR [jeeves.service] - → (C) exception : XPathException

/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
ScriptTimeoutError: Timed out waiting for an asynchronous script result after 11001 ms (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11.22 seconds
Build info: version: ‘2.48.0’, revision: ‘b7b081a’, time: ‘2015-10-07 15:48:56’
System info: host: ‘Joses-MacBook-Air.local’, ip: ‘192.168.1.5’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.7.0_79’
Session ID: null
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{platform=MAC, cssSelectorsEnabled=true, javascriptEnabled=true, secureSsl=true, browserName=safari, takesScreenshot=true, version=9.1}]
at new bot.Error (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:109:18)
at Object.bot.response.checkResponse (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:275:20
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.775s
[INFO] Finished at: Tue Apr 26 14:58:15 CEST 2016
[INFO] Final Memory: 165M/990M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) on project e2e-tests: Command execution failed. Process exited with an error: 8 (Exit value: 8) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

2016-04-26 14:58:16.940:INFO:/geonetwork:Destroying Spring FrameworkServlet ‘spring’
2016-04-26 14:58:16.949:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)
at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:355)

Regards,
Jose García

···

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

On Linux I get ¿another? error:

]
2016-04-27 11:38:21.590:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com.1034…:8843
[INFO] Started Jetty Server
[INFO]
[INFO] — exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) @ e2e-tests —
Starting selenium standalone server…
Selenium standalone server started at http://192.168.0.16:51739/wd/hub

/var/git/geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
{972ce4c6-7e08-4474-a285-3208198ce6fd}
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-AR@anonymised.com
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-ES@anonymised.com
1461749916428 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-MX@anonymised.com

And after that the Jasper error:

2016-04-27 11:39:24.076:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)

Which I think is related to the jetty failure: http://stackoverflow.com/questions/22633645/java-lang-classnotfoundexception-org-apache-jasper-runtime-jspapplicationcontex

···

On Wed, Apr 27, 2016 at 10:55 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

I’m trying to run the protactor tests in e2eTests module as want to add additional tests for a custom project, but getting some errors.

I have tested in MacOS and Windows with similar results, so not really sure if this stuff works or is something related to my configuration?

If someone can provide some additional information would be great, the module lacks of any documentation unfortunately.

I put here the steps done and exception returned, hopefully can be useful. Thanks in advance for any feedback:

  1. (For MacOs) Install the WebDriver extension in Safari.

  2. Run the tests in e2eTests module

$ mvn clean install -Pe2eTests

GeoNetwork is started and and tests start. Safari (Chrome in Windows) is open and the login page is displayed, but after a while the following error occurs:

Starting selenium standalone server…

Selenium standalone server started at http://192.168.1.5:53692/wd/hub

2016-04-26 14:58:03,590 WARN [geonetwork.thesaurus] - No thesaurus found for concept scheme http://geonetwork-opensource.org/inspire-theme (lang=eng)
Error on line 53 of opensearch.xsl:
XPTY0004: A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,721 ERROR [jeeves.service] - → exception during transformation for : portal.opensearch
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) stylesheet : /PATH/core-geonetwork/e2e-tests/target/geonetworkWar/xsl/…/xslt/services/rss/opensearch.xsl
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) message : A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,723 ERROR [jeeves.service] - → (C) exception : XPathException

/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
ScriptTimeoutError: Timed out waiting for an asynchronous script result after 11001 ms (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11.22 seconds
Build info: version: ‘2.48.0’, revision: ‘b7b081a’, time: ‘2015-10-07 15:48:56’
System info: host: ‘Joses-MacBook-Air.local’, ip: ‘192.168.1.5’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.7.0_79’
Session ID: null
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{platform=MAC, cssSelectorsEnabled=true, javascriptEnabled=true, secureSsl=true, browserName=safari, takesScreenshot=true, version=9.1}]
at new bot.Error (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:109:18)
at Object.bot.response.checkResponse (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:275:20
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.775s
[INFO] Finished at: Tue Apr 26 14:58:15 CEST 2016
[INFO] Final Memory: 165M/990M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) on project e2e-tests: Command execution failed. Process exited with an error: 8 (Exit value: 8) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

2016-04-26 14:58:16.940:INFO:/geonetwork:Destroying Spring FrameworkServlet ‘spring’
2016-04-26 14:58:16.949:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)
at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:355)

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

To me it looks like a problem with GeoNetwork being too slow answering the tests. Could it be it?

···

On Wed, Apr 27, 2016 at 11:48 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Linux I get ¿another? error:

]
2016-04-27 11:38:21.590:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com:8843
[INFO] Started Jetty Server
[INFO]
[INFO] — exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) @ e2e-tests —
Starting selenium standalone server…
Selenium standalone server started at http://192.168.0.16:51739/wd/hub

/var/git/geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
{972ce4c6-7e08-4474-a285-3208198ce6fd}
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-AR@anonymised.com
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-ES@anonymised.com…
1461749916428 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-MX@anonymised.com

And after that the Jasper error:

2016-04-27 11:39:24.076:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl

java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)

Which I think is related to the jetty failure: http://stackoverflow.com/questions/22633645/java-lang-classnotfoundexception-org-apache-jasper-runtime-jspapplicationcontex

On Wed, Apr 27, 2016 at 10:55 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

I’m trying to run the protactor tests in e2eTests module as want to add additional tests for a custom project, but getting some errors.

I have tested in MacOS and Windows with similar results, so not really sure if this stuff works or is something related to my configuration?

If someone can provide some additional information would be great, the module lacks of any documentation unfortunately.

I put here the steps done and exception returned, hopefully can be useful. Thanks in advance for any feedback:

  1. (For MacOs) Install the WebDriver extension in Safari.

  2. Run the tests in e2eTests module

$ mvn clean install -Pe2eTests

GeoNetwork is started and and tests start. Safari (Chrome in Windows) is open and the login page is displayed, but after a while the following error occurs:

Starting selenium standalone server…

Selenium standalone server started at http://192.168.1.5:53692/wd/hub

2016-04-26 14:58:03,590 WARN [geonetwork.thesaurus] - No thesaurus found for concept scheme http://geonetwork-opensource.org/inspire-theme (lang=eng)
Error on line 53 of opensearch.xsl:
XPTY0004: A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,721 ERROR [jeeves.service] - → exception during transformation for : portal.opensearch
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) stylesheet : /PATH/core-geonetwork/e2e-tests/target/geonetworkWar/xsl/…/xslt/services/rss/opensearch.xsl
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) message : A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,723 ERROR [jeeves.service] - → (C) exception : XPathException

/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
ScriptTimeoutError: Timed out waiting for an asynchronous script result after 11001 ms (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11.22 seconds
Build info: version: ‘2.48.0’, revision: ‘b7b081a’, time: ‘2015-10-07 15:48:56’
System info: host: ‘Joses-MacBook-Air.local’, ip: ‘192.168.1.5’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.7.0_79’
Session ID: null
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{platform=MAC, cssSelectorsEnabled=true, javascriptEnabled=true, secureSsl=true, browserName=safari, takesScreenshot=true, version=9.1}]
at new bot.Error (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:109:18)
at Object.bot.response.checkResponse (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:275:20
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.775s
[INFO] Finished at: Tue Apr 26 14:58:15 CEST 2016
[INFO] Final Memory: 165M/990M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) on project e2e-tests: Command execution failed. Process exited with an error: 8 (Exit value: 8) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

2016-04-26 14:58:16.940:INFO:/geonetwork:Destroying Spring FrameworkServlet ‘spring’
2016-04-26 14:58:16.949:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)
at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:355)

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi

According to this document I increased the timeout: https://github.com/angular/protractor/blob/master/docs/timeouts.md to 40 secs, but same issue:

allScriptsTimeout: 40000

In the document points to this:

Waiting for Page Synchronization

Before performing any action, Protractor asks Angular to wait until the page is synchronized. This means that all timeouts and http requests are finished. If your application continuously polls $timeout or $http, it will never be registered as completely loaded. You should use the $interval service (interval.js) for anything that polls continuously (introduced in Angular 1.2rc3).

But not very clear how to use the $interval service to avoid this in GeoNetwork code, if this is really the cause.

Regards,
Jose García

···

On Wed, Apr 27, 2016 at 11:49 AM, María Arias de Reyna <delawen@anonymised.com…> wrote:

To me it looks like a problem with GeoNetwork being too slow answering the tests. Could it be it?

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

On Wed, Apr 27, 2016 at 11:48 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Linux I get ¿another? error:

]
2016-04-27 11:38:21.590:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com:8843
[INFO] Started Jetty Server
[INFO]
[INFO] — exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) @ e2e-tests —
Starting selenium standalone server…
Selenium standalone server started at http://192.168.0.16:51739/wd/hub

/var/git/geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
{972ce4c6-7e08-4474-a285-3208198ce6fd}
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-AR@anonymised.com
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-ES@anonymised.com
1461749916428 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-MX@anonymised.com

And after that the Jasper error:

2016-04-27 11:39:24.076:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl

java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)

Which I think is related to the jetty failure: http://stackoverflow.com/questions/22633645/java-lang-classnotfoundexception-org-apache-jasper-runtime-jspapplicationcontex

On Wed, Apr 27, 2016 at 10:55 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

I’m trying to run the protactor tests in e2eTests module as want to add additional tests for a custom project, but getting some errors.

I have tested in MacOS and Windows with similar results, so not really sure if this stuff works or is something related to my configuration?

If someone can provide some additional information would be great, the module lacks of any documentation unfortunately.

I put here the steps done and exception returned, hopefully can be useful. Thanks in advance for any feedback:

  1. (For MacOs) Install the WebDriver extension in Safari.

  2. Run the tests in e2eTests module

$ mvn clean install -Pe2eTests

GeoNetwork is started and and tests start. Safari (Chrome in Windows) is open and the login page is displayed, but after a while the following error occurs:

Starting selenium standalone server…

Selenium standalone server started at http://192.168.1.5:53692/wd/hub

2016-04-26 14:58:03,590 WARN [geonetwork.thesaurus] - No thesaurus found for concept scheme http://geonetwork-opensource.org/inspire-theme (lang=eng)
Error on line 53 of opensearch.xsl:
XPTY0004: A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,721 ERROR [jeeves.service] - → exception during transformation for : portal.opensearch
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) stylesheet : /PATH/core-geonetwork/e2e-tests/target/geonetworkWar/xsl/…/xslt/services/rss/opensearch.xsl
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) message : A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,723 ERROR [jeeves.service] - → (C) exception : XPathException

/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
ScriptTimeoutError: Timed out waiting for an asynchronous script result after 11001 ms (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11.22 seconds
Build info: version: ‘2.48.0’, revision: ‘b7b081a’, time: ‘2015-10-07 15:48:56’
System info: host: ‘Joses-MacBook-Air.local’, ip: ‘192.168.1.5’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.7.0_79’
Session ID: null
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{platform=MAC, cssSelectorsEnabled=true, javascriptEnabled=true, secureSsl=true, browserName=safari, takesScreenshot=true, version=9.1}]
at new bot.Error (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:109:18)
at Object.bot.response.checkResponse (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:275:20
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.775s
[INFO] Finished at: Tue Apr 26 14:58:15 CEST 2016
[INFO] Final Memory: 165M/990M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) on project e2e-tests: Command execution failed. Process exited with an error: 8 (Exit value: 8) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

2016-04-26 14:58:16.940:INFO:/geonetwork:Destroying Spring FrameworkServlet ‘spring’
2016-04-26 14:58:16.949:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)
at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:355)

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi

I have done an interesting finding I hope.

I created an external project with a protactor test just to check the title of the home page:

// spec.js

describe(‘Protractor Demo App’, function() {

it(‘should have a title’, function() {

//browser.get('http://juliemr.github.io/protractor-demo/');

browser.get('http://localhost:8080/geonetwork/srv/eng/catalog.search?debug=true#/home’);

expect(browser.getTitle()).toEqual(‘My GeoNetwork catalogue - My organization’);

});

});

When I run it I got the following error with a timeout as indicated in previous mails, but also the code that is causing the timeout:

Failures:

  1. Protractor Demo App should have a title

Message:

Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md. The following tasks were pending:

  • $timeout: function () {

check(user);

scheduleCheck(user, interval);

}

Stacktrace:

undefined

Finished in 23.047 seconds

1 test, 1 assertion, 1 failure

The code is in the session service and seem kind of schedule to check if session is expired: https://github.com/geonetwork/core-geonetwork/blob/develop/web-ui/src/main/resources/catalog/components/utility/SessionService.js#L104-L107

Commenting that the code, the test works fine.

Unfortunately in the e2e-tests module the tests still doesn’t work, but the error returned now at least is not the timeout.

Would be good to check if possible to manage the code SessionService.js nicely with protactor tests.

Regards,
Jose García

···

On Wed, Apr 27, 2016 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com7…> wrote:

Hi

According to this document I increased the timeout: https://github.com/angular/protractor/blob/master/docs/timeouts.md to 40 secs, but same issue:

allScriptsTimeout: 40000

In the document points to this:

Waiting for Page Synchronization

Before performing any action, Protractor asks Angular to wait until the page is synchronized. This means that all timeouts and http requests are finished. If your application continuously polls $timeout or $http, it will never be registered as completely loaded. You should use the $interval service (interval.js) for anything that polls continuously (introduced in Angular 1.2rc3).

But not very clear how to use the $interval service to avoid this in GeoNetwork code, if this is really the cause.

Regards,
Jose García

On Wed, Apr 27, 2016 at 11:49 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

To me it looks like a problem with GeoNetwork being too slow answering the tests. Could it be it?

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

On Wed, Apr 27, 2016 at 11:48 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Linux I get ¿another? error:

]
2016-04-27 11:38:21.590:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com:8843
[INFO] Started Jetty Server
[INFO]
[INFO] — exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) @ e2e-tests —
Starting selenium standalone server…
Selenium standalone server started at http://192.168.0.16:51739/wd/hub

/var/git/geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
{972ce4c6-7e08-4474-a285-3208198ce6fd}
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-AR@anonymised.com
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-ES@anonymised.com…
1461749916428 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-MX@anonymised.com

And after that the Jasper error:

2016-04-27 11:39:24.076:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl

java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)

Which I think is related to the jetty failure: http://stackoverflow.com/questions/22633645/java-lang-classnotfoundexception-org-apache-jasper-runtime-jspapplicationcontex

On Wed, Apr 27, 2016 at 10:55 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

I’m trying to run the protactor tests in e2eTests module as want to add additional tests for a custom project, but getting some errors.

I have tested in MacOS and Windows with similar results, so not really sure if this stuff works or is something related to my configuration?

If someone can provide some additional information would be great, the module lacks of any documentation unfortunately.

I put here the steps done and exception returned, hopefully can be useful. Thanks in advance for any feedback:

  1. (For MacOs) Install the WebDriver extension in Safari.

  2. Run the tests in e2eTests module

$ mvn clean install -Pe2eTests

GeoNetwork is started and and tests start. Safari (Chrome in Windows) is open and the login page is displayed, but after a while the following error occurs:

Starting selenium standalone server…

Selenium standalone server started at http://192.168.1.5:53692/wd/hub

2016-04-26 14:58:03,590 WARN [geonetwork.thesaurus] - No thesaurus found for concept scheme http://geonetwork-opensource.org/inspire-theme (lang=eng)
Error on line 53 of opensearch.xsl:
XPTY0004: A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,721 ERROR [jeeves.service] - → exception during transformation for : portal.opensearch
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) stylesheet : /PATH/core-geonetwork/e2e-tests/target/geonetworkWar/xsl/…/xslt/services/rss/opensearch.xsl
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) message : A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,723 ERROR [jeeves.service] - → (C) exception : XPathException

/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
ScriptTimeoutError: Timed out waiting for an asynchronous script result after 11001 ms (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11.22 seconds
Build info: version: ‘2.48.0’, revision: ‘b7b081a’, time: ‘2015-10-07 15:48:56’
System info: host: ‘Joses-MacBook-Air.local’, ip: ‘192.168.1.5’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.7.0_79’
Session ID: null
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{platform=MAC, cssSelectorsEnabled=true, javascriptEnabled=true, secureSsl=true, browserName=safari, takesScreenshot=true, version=9.1}]
at new bot.Error (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:109:18)
at Object.bot.response.checkResponse (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:275:20
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.775s
[INFO] Finished at: Tue Apr 26 14:58:15 CEST 2016
[INFO] Final Memory: 165M/990M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) on project e2e-tests: Command execution failed. Process exited with an error: 8 (Exit value: 8) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

2016-04-26 14:58:16.940:INFO:/geonetwork:Destroying Spring FrameworkServlet ‘spring’
2016-04-26 14:58:16.949:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)
at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:355)

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Hi

After some additional research, in the external protactor test, the issue with the session service described in the previous mail can be solved if adding browser.ignoreSynchronization = true, like this:

// spec.js
describe(‘Protractor Demo App’, function() {
it(‘should have a title’, function() {
browser.ignoreSynchronization = true;
browser.get('http://localhost:8080/geonetwork/srv/eng/catalog.search#/home’);

expect(browser.getTitle()).toEqual(‘My GeoNetwork catalogue - My organization’);
});
});

In the e2e-tests module even adding this, still some issues, but error report there is quite unclear, so not sure yet about the reason.

e2e-tests looks a good idea to run integration UI tests during the build, but unfortunately with bad results: no working well (quite issues with selenium driver depending on OS, that with external tests doesn’t happen), un-documented and un-maintained.

In any case, probably will move to develop tests in a external project that requires a running instance of GeoNetwork.

Regards,
Jose García

···

On Thu, May 5, 2016 at 11:28 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

I have done an interesting finding I hope.

I created an external project with a protactor test just to check the title of the home page:

// spec.js

describe(‘Protractor Demo App’, function() {

it(‘should have a title’, function() {

//browser.get('http://juliemr.github.io/protractor-demo/');

browser.get('http://localhost:8080/geonetwork/srv/eng/catalog.search?debug=true#/home’);

expect(browser.getTitle()).toEqual(‘My GeoNetwork catalogue - My organization’);

});

});

When I run it I got the following error with a timeout as indicated in previous mails, but also the code that is causing the timeout:

Failures:

  1. Protractor Demo App should have a title

Message:

Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md. The following tasks were pending:

  • $timeout: function () {

check(user);

scheduleCheck(user, interval);

}

Stacktrace:

undefined

Finished in 23.047 seconds

1 test, 1 assertion, 1 failure

The code is in the session service and seem kind of schedule to check if session is expired: https://github.com/geonetwork/core-geonetwork/blob/develop/web-ui/src/main/resources/catalog/components/utility/SessionService.js#L104-L107

Commenting that the code, the test works fine.

Unfortunately in the e2e-tests module the tests still doesn’t work, but the error returned now at least is not the timeout.

Would be good to check if possible to manage the code SessionService.js nicely with protactor tests.

Regards,
Jose García

On Wed, Apr 27, 2016 at 12:35 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

According to this document I increased the timeout: https://github.com/angular/protractor/blob/master/docs/timeouts.md to 40 secs, but same issue:

allScriptsTimeout: 40000

In the document points to this:

Waiting for Page Synchronization

Before performing any action, Protractor asks Angular to wait until the page is synchronized. This means that all timeouts and http requests are finished. If your application continuously polls $timeout or $http, it will never be registered as completely loaded. You should use the $interval service (interval.js) for anything that polls continuously (introduced in Angular 1.2rc3).

But not very clear how to use the $interval service to avoid this in GeoNetwork code, if this is really the cause.

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

On Wed, Apr 27, 2016 at 11:49 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

To me it looks like a problem with GeoNetwork being too slow answering the tests. Could it be it?

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

On Wed, Apr 27, 2016 at 11:48 AM, María Arias de Reyna <delawen@…31…> wrote:

On Linux I get ¿another? error:

]
2016-04-27 11:38:21.590:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com:8843
[INFO] Started Jetty Server
[INFO]
[INFO] — exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) @ e2e-tests —
Starting selenium standalone server…
Selenium standalone server started at http://192.168.0.16:51739/wd/hub

/var/git/geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
UnknownError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
{972ce4c6-7e08-4474-a285-3208198ce6fd}
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-AR@…1119…
1461749916427 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-ES@anonymised.com
1461749916428 addons.xpi DEBUG getModTime: Recursive scan of langpack-es-MX@anonymised.com

And after that the Jasper error:

2016-04-27 11:39:24.076:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl

java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)

Which I think is related to the jetty failure: http://stackoverflow.com/questions/22633645/java-lang-classnotfoundexception-org-apache-jasper-runtime-jspapplicationcontex

On Wed, Apr 27, 2016 at 10:55 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

I’m trying to run the protactor tests in e2eTests module as want to add additional tests for a custom project, but getting some errors.

I have tested in MacOS and Windows with similar results, so not really sure if this stuff works or is something related to my configuration?

If someone can provide some additional information would be great, the module lacks of any documentation unfortunately.

I put here the steps done and exception returned, hopefully can be useful. Thanks in advance for any feedback:

  1. (For MacOs) Install the WebDriver extension in Safari.

  2. Run the tests in e2eTests module

$ mvn clean install -Pe2eTests

GeoNetwork is started and and tests start. Safari (Chrome in Windows) is open and the login page is displayed, but after a while the following error occurs:

Starting selenium standalone server…

Selenium standalone server started at http://192.168.1.5:53692/wd/hub

2016-04-26 14:58:03,590 WARN [geonetwork.thesaurus] - No thesaurus found for concept scheme http://geonetwork-opensource.org/inspire-theme (lang=eng)
Error on line 53 of opensearch.xsl:
XPTY0004: A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,721 ERROR [jeeves.service] - → exception during transformation for : portal.opensearch
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) stylesheet : /PATH/core-geonetwork/e2e-tests/target/geonetworkWar/xsl/…/xslt/services/rss/opensearch.xsl
2016-04-26 14:58:03,722 ERROR [jeeves.service] - → (C) message : A sequence of more than one item is not allowed as the second argument of concat()
2016-04-26 14:58:03,723 ERROR [jeeves.service] - → (C) exception : XPathException

/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1542
throw error;
^
ScriptTimeoutError: Timed out waiting for an asynchronous script result after 11001 ms (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11.22 seconds
Build info: version: ‘2.48.0’, revision: ‘b7b081a’, time: ‘2015-10-07 15:48:56’
System info: host: ‘Joses-MacBook-Air.local’, ip: ‘192.168.1.5’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.7.0_79’
Session ID: null
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{platform=MAC, cssSelectorsEnabled=true, javascriptEnabled=true, secureSsl=true, browserName=safari, takesScreenshot=true, version=9.1}]
at new bot.Error (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:109:18)
at Object.bot.response.checkResponse (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:275:20
at /PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/PATH/core-geonetwork/e2e-tests/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.775s
[INFO] Finished at: Tue Apr 26 14:58:15 CEST 2016
[INFO] Final Memory: 165M/990M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (run_protractor_admin_tests) on project e2e-tests: Command execution failed. Process exited with an error: 8 (Exit value: 8) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

2016-04-26 14:58:16.940:INFO:/geonetwork:Destroying Spring FrameworkServlet ‘spring’
2016-04-26 14:58:16.949:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:412)
at org.eclipse.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:381)
at org.eclipse.jetty.servlet.ServletHolder.doStop(ServletHolder.java:355)

Regards,
Jose García

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.