SW Test #17831

SW Test #17342: gCube Release 4.15.0 - FT Testing

SW Test #17343: portlets-user.4-15-0

gcube-geoexplorer.2-11-2-1

Added by Luca Frosini 3 months ago. Updated 2 months ago.

Status:Tested on PreprodStart date:Oct 22, 2019
Priority:NormalDue date:
Assignee:Chiara Magliozzi% Done:

90%

Category:portlets-user
Sprint:gCube Release 4.15.0 - FT Testing
Milestones:
Duration:

Related issues

Related to gCube - Release #17732: org.gcube.portlets-user.gcube-geoexplorer.2-11-2-1 Released Oct 14, 2019
Related to gCube - Release #17867: org.gcube.spatial-data.geo-utility.1-1-2 Released Oct 24, 2019
Related to gCube - Task #17926: GeoExplorer enhancement: export to GN3 template Paused Nov 05, 2019

History

#1 Updated by Luca Frosini 3 months ago

  • Related to Release #17732: org.gcube.portlets-user.gcube-geoexplorer.2-11-2-1 added

#2 Updated by Luca Frosini 3 months ago

  • Assignee changed from Luca Frosini to Chiara Magliozzi

#3 Updated by Luca Frosini 3 months ago

@francesco.mangiacrapa@isti.cnr.it can you please create/copy/update the testing plan in the dedicated release folder?
The 4.15.0 release folder for testing-plan is available at:
https://services.d4science.org/group/d4science-services-gateway/workspace?itemid=4f4a5958-3925-4a43-a1ef-3d4468035fb7&operation=gotofolder

#5 Updated by Massimiliano Assante 3 months ago

  • Status changed from New to Test Issue

before we begin the test I found out that the following exception is always thrown when a layer is loaded, can you check @francesco.mangiacrapa@isti.cnr.it ?

019-10-24 12:15:48,218 INFO  server.MapPreviewGenerator [ajp-bio-8009-exec-57,doPost:228] %[PORTAL] 100897 [ajp-bio-8009-exec-57] INFO  org.gcube.portlets.user.geoexplorer.server.MapPreviewGenerator  - IS BASE LAYER adding TRUE MARBLE
2019-10-24 12:15:48,219 DEBUG server.MapPreviewGenerator [ajp-bio-8009-exec-57,doPost:230] %[PORTAL] 100898 [ajp-bio-8009-exec-57] DEBUG org.gcube.portlets.user.geoexplorer.server.MapPreviewGenerator  - inputStremTrueMarble available > 48012
2019-10-24 12:15:48,368 INFO  server.MapPreviewGenerator [ajp-bio-8009-exec-10,doPost:226] %[PORTAL] 101047 [ajp-bio-8009-exec-10] INFO  org.gcube.portlets.user.geoexplorer.server.MapPreviewGenerator  - IS BASE LAYER: false
2019-10-24 12:15:48,369 ERROR server.MapPreviewGenerator [ajp-bio-8009-exec-10,doPost:272] %java.lang.IllegalArgumentException: image == null!
    at javax.imageio.ImageTypeSpecifier.createFromRenderedImage(ImageTypeSpecifier.java:925)
    at javax.imageio.ImageIO.getWriter(ImageIO.java:1592)
    at javax.imageio.ImageIO.write(ImageIO.java:1578)
    at org.gcube.portlets.user.geoexplorer.server.MapPreviewGenerator.doPost(MapPreviewGenerator.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
    at sun.reflect.GeneratedMethodAccessor1570.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
    at com.sun.proxy.$Proxy679.doFilter(Unknown Source)

https://pre.d4science.org/group/prevre/geoex

#6 Updated by Massimiliano Assante 3 months ago

  • Assignee changed from Chiara Magliozzi to Francesco Mangiacrapa

#7 Updated by Francesco Mangiacrapa 3 months ago

The issue is not imputable to GeoExplorer (and its components), because those layers (on preVRE) have very low-quality metadata.

e.g. See the following WMS URL (it contains a double '&'):

http://geo.vliz.be:80/geoserver/Emodnetbio/ows?SERVICE=WMS&&LAYERS=mediseh_zostera_n_pnt

and for this, the GeoExplorer fails.

However, the case could also be present on PROD, so I'm going to add some patches to manage the above BAD URL and splitting on '&' that produces an empty string.
I will release the Geo components needed.

#8 Updated by Francesco Mangiacrapa 3 months ago

@fabio.sinibaldi@isti.cnr.it and/or @roberto.cirillo@isti.cnr.it I'm not authorized to create a new configuration on ETICS for org.gcube.spatial-data.geo-utility

The new configuration must be org.gcube.spatial-data.geo-utility.1-1-2
to branches/spatial-data/geo-utility/1.1@182115
and attached to gCube 4.15

Could you kindly do this?

I've already created the release ticket #17867

#9 Updated by Francesco Mangiacrapa 3 months ago

  • Related to Release #17867: org.gcube.spatial-data.geo-utility.1-1-2 added

#10 Updated by Francesco Mangiacrapa 3 months ago

@roberto.cirillo@isti.cnr.it and @fabio.sinibaldi@isti.cnr.it never mind, I just created the right configuration org.gcube.spatial-data.geo-utility.1-1-2 on ETICS.
We need only to attach it to release gCube 4.15, thanks.

#11 Updated by Roberto Cirillo 3 months ago

I've added it to the subsystem configuration

#12 Updated by Francesco Mangiacrapa 3 months ago

please @massimiliano.assante@isti.cnr.it, kindly update the portlet on preprod after the ETICS night build.

#13 Updated by Luca Frosini 3 months ago

@massimiliano.assante@isti.cnr.it is the new version ready to be deployed?

#14 Updated by Massimiliano Assante 3 months ago

  • Status changed from Test Issue to Available

Thanks for reminding me, it is now updated to the last night build.

#15 Updated by Francesco Mangiacrapa 3 months ago

I just released another minor fix for GeoExplorer (the release ticket is #17886) in order to avoid null pointer exception during layer retrieving due to topic category unmarshalled to null from GN library. Again, the fix is just to improve the robustness of GeoExplorer (the layers working on PRE have very low-quality metadata)

#16 Updated by Massimiliano Assante 3 months ago

  • Status changed from Available to New

The portlet did not build last night

#17 Updated by Francesco Mangiacrapa 3 months ago

  • Status changed from New to Available

The GeoExplorer portlet has been deployed on PRE

#19 Updated by Francesco Mangiacrapa 3 months ago

  • Assignee changed from Francesco Mangiacrapa to Chiara Magliozzi

@chiara.magliozzi@isti.cnr.it, could you please start the tests?

#20 Updated by Chiara Magliozzi 3 months ago

  • Status changed from Available to Under Testing

#21 Updated by Chiara Magliozzi 3 months ago

  • % Done changed from 0 to 90

Just few points:
#5 -#6 where is it indicated "available"?when you can click on it? because if I click it opens but display nothing
#12.1 "An error occurred during wms request validation for layer: mediseh_zostera_n_pnt": so you can only see the background map but not the data
#17 -#17.1 cannot test for the avaialble layers
#21-#22 work as expected but there is no button called "Export a Map Snapshot"/Save a Map Snapshot into the Workspace"

#22 Updated by Francesco Mangiacrapa 2 months ago

  • Status changed from Under Testing to Test Issue

Thanks Chiara for your feedback.

Chiara Magliozzi wrote:

Just few points:
#5 -#6 where is it indicated "available"?when you can click on it? because if I click it opens but display nothing

I need to implement an enhancement in the GeoExplorer. At the moment, it is not able to work properly with the GN3 that should provide other export views options (the Geonetwork Simple, Inspire and IsoCore options are GN2 compliant).
I'm going to open a new task regarding this activity...

#12.1 "An error occurred during wms request validation for layer: mediseh_zostera_n_pnt": so you can only see the background map but not the data

We need to deploy and test on PRE the latest version of 'gis-viewer-app' (see at http://eticsbuild2.research-infrastructures.eu:8080/BuildReport/home/AllBuilds/org.gcube.4-15-0/BUILD_130/org.gcube.portlets-user.gis-viewer-app.1-5-1-1) that includes the geo-utility released in #17867

#17 -#17.1 cannot test for the available layers
#21-#22 work as expected but there is no button called "Export a Map Snapshot"/Save a Map Snapshot into the Workspace"

These above are OK.

#23 Updated by Francesco Mangiacrapa 2 months ago

  • Related to Task #17926: GeoExplorer enhancement: export to GN3 template added

#24 Updated by Massimiliano Assante 2 months ago

Since the tests failed the Geoexplorer portlet is not going in production today.

#25 Updated by Maria Di Girolamo 2 months ago

  • Status changed from Test Issue to Tested on Preprod

Also available in: Atom PDF