SW Test #16572

SW Test #16559: gCube Release 4.14.0 - FT Testing

SW Test #16561: org.gcube.portlets-user.4-14-0

org.gcube.portlets.user.statistical-algorithms-importer.1-13-2

Added by Luca Frosini 9 months ago. Updated 9 months ago.

Status:Tested on PreprodStart date:Apr 17, 2019
Priority:HighDue date:
Assignee:Massimiliano Assante% Done:

100%

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

Description

@g.panichi@isti.cnr.it it seems that the testing plan has been already updated. In such a case, you don't have to do anything else.

Screenshot 2019-04-29 at 14.53.56.png (255 KB) Massimiliano Assante, Apr 29, 2019 02:54 PM

3715

History

#1 Updated by Luca Frosini 9 months ago

  • Assignee changed from Luca Frosini to Massimiliano Assante

#2 Updated by Massimiliano Assante 9 months ago

  • Status changed from New to Available

#3 Updated by Massimiliano Assante 9 months ago

  • Status changed from Available to Under Testing

#4 Updated by Massimiliano Assante 9 months ago

  • Assignee changed from Massimiliano Assante to Giancarlo Panichi
  • Status changed from Under Testing to Test Issue

Step #2 - Create Software is unclear and the help does not take you anywhere: https://wiki.gcube-system.org/gcube/Statistical_Algorithms_Importer:_Create_Software

Step #3 Publish Software: the software was published but I didn't get any email notification about it.

is the test plan updated?

#5 Updated by Massimiliano Assante 9 months ago

And the computation fails in DataMiner

#6 Updated by Giancarlo Panichi 9 months ago

  • Assignee changed from Giancarlo Panichi to Massimiliano Assante

#7 Updated by Giancarlo Panichi 9 months ago

I updated the test plan, please try again.

#8 Updated by Massimiliano Assante 9 months ago

  • Status changed from Test Issue to Under Testing

#9 Updated by Massimiliano Assante 9 months ago

  • Priority changed from Normal to High
  • Assignee changed from Massimiliano Assante to Roberto Cirillo
  • Status changed from Under Testing to Test Issue

The Publishing works but no notification email is sent. By looking at the catalina.out log in socialnetworking-t.pre.d4science.org it seems that the service is not able / or failed at startup to discover the cassandra cluster endpoint.

WARNING: A servlet request to the URI http://socialnetworking-t.pre.d4science.org/social-networking-library-ws/rest/messages/writeMessageToUsers?gcube-token=91ffcab3-b435-404d-b6b8-0b0489feffee-980114272 contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
java.lang.RuntimeException: java.lang.Throwable: remote cause: (; nested exception is:   java.lang.RuntimeException: Authorization Endpoint not found for the required infrastructure)
    at org.gcube.resources.discovery.icclient.ICClient.submit(ICClient.java:47)
    at org.gcube.resources.discovery.client.impl.DelegateClient.submit(DelegateClient.java:50)
    at org.gcube.portal.databook.server.RunningCluster.getConfigurationFromIS(RunningCluster.java:122)
    at org.gcube.portal.databook.server.RunningCluster.<init>(RunningCluster.java:80)
    at org.gcube.portal.databook.server.RunningCluster.getInstance(RunningCluster.java:71)
    at org.gcube.portal.databook.server.CassandraClusterConnection.<init>(CassandraClusterConnection.java:54)
    at org.gcube.portal.databook.server.DBCassandraAstyanaxImpl.<init>(DBCassandraAstyanaxImpl.java:199)
    at org.gcube.applicationsupportlayer.social.SocialPortalBridge.getStoreInstance(SocialPortalBridge.java:72)
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.saveNotification(ApplicationNotificationsManager.java:146)
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.notifyMessageReceived(ApplicationNotificationsManager.java:839)
    at org.gcube.portal.notifications.thread.MessageNotificationsThread.run(MessageNotificationsThread.java:45)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Throwable: remote cause: (; nested exception is:   java.lang.RuntimeException: Authorization Endpoint not found for the required infrastructure)
    at org.gcube.common.handlers.GCUBEHandler.invoke(GCUBEHandler.java:188)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:248)
    at org.globus.wsrf.container.ServiceThread.doPost(ServiceThread.java:664)
    at org.globus.wsrf.container.ServiceThread.process(ServiceThread.java:382)
    at org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:291)
Caused by: java.lang.Throwable: remote cause: (Authorization Endpoint not found for the required infrastructure)
    at org.gcube.common.authorization.client.proxy.DefaultAuthorizationProxy.getEndpoint(DefaultAuthorizationProxy.java:392)
    at org.gcube.common.authorization.client.proxy.DefaultAuthorizationProxy.get(DefaultAuthorizationProxy.java:263)
    at org.gcube.common.handlers.GCUBEHandler.retrieveTokenInfo(GCUBEHandler.java:221)
    at org.gcube.common.handlers.GCUBEHandler.invoke(GCUBEHandler.java:165)
    ... 7 more
com.netflix.astyanax.connectionpool.exceptions.NoAvailableHostsException: NoAvailableHostsException: [host=None(0.0.0.0):0, latency=0(0), attempts=0]No hosts to borrow from
    at com.netflix.astyanax.connectionpool.impl.RoundRobinExecuteWithFailover.<init>(RoundRobinExecuteWithFailover.java:48)
    at com.netflix.astyanax.connectionpool.impl.RoundRobinConnectionPoolImpl.newExecuteWithFailover(RoundRobinConnectionPoolImpl.java:66)
    at com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:338)
    at com.netflix.astyanax.thrift.ThriftClusterImpl.describeKeyspaces(ThriftClusterImpl.java:165)
    at com.netflix.astyanax.thrift.ThriftClusterImpl.describeKeyspace(ThriftClusterImpl.java:184)
    at org.gcube.portal.databook.server.CassandraClusterConnection.SetUpKeySpaces(CassandraClusterConnection.java:183)
    at org.gcube.portal.databook.server.CassandraClusterConnection.<init>(CassandraClusterConnection.java:72)
    at org.gcube.portal.databook.server.DBCassandraAstyanaxImpl.<init>(DBCassandraAstyanaxImpl.java:199)
    at org.gcube.applicationsupportlayer.social.SocialPortalBridge.getStoreInstance(SocialPortalBridge.java:72)
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.saveNotification(ApplicationNotificationsManager.java:146)
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.notifyMessageReceived(ApplicationNotificationsManager.java:839)
    at org.gcube.portal.notifications.thread.MessageNotificationsThread.run(MessageNotificationsThread.java:45)
    at java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException: Missing host name supplier
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)
    at com.netflix.astyanax.AstyanaxContext$Builder.buildKeyspace(AstyanaxContext.java:152)
    at org.gcube.portal.databook.server.CassandraClusterConnection.getKeyspace(CassandraClusterConnection.java:157)
    at org.gcube.portal.databook.server.DBCassandraAstyanaxImpl.getUserNotificationPreferences(DBCassandraAstyanaxImpl.java:1286)
    at org.gcube.portal.databook.server.DBCassandraAstyanaxImpl.getUserNotificationChannels(DBCassandraAstyanaxImpl.java:1209)
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.saveNotification(ApplicationNotificationsManager.java:146)
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.notifyMessageReceived(ApplicationNotificationsManager.java:839)
    at org.gcube.portal.notifications.thread.MessageNotificationsThread.run(MessageNotificationsThread.java:45)
    at java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.saveNotification(ApplicationNotificationsManager.java:151)
    at org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager.notifyMessageReceived(ApplicationNotificationsManager.java:839)
    at org.gcube.portal.notifications.thread.MessageNotificationsThread.run(MessageNotificationsThread.java:45)
    at java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException: Missing host name supplier

#10 Updated by Massimiliano Assante 9 months ago

  • Assignee changed from Roberto Cirillo to Massimiliano Assante
  • Status changed from Test Issue to Available

the problem on the social service has been fixed by restarting it twice ... quite cryptic anyway ai'll proceed with the testing

#11 Updated by Massimiliano Assante 9 months ago

  • % Done changed from 0 to 100
  • Status changed from Available to Tested on Preprod

The test is successful, however there was a ticket opened ages ago (like December 2018) where it was requested to change the subject of the email removing the "fancy" "DataMinerGhostStagingInstallationRequestReport" from it, why wasn't this implemented?@g.panichi@isti.cnr.it

Subject; [DataMinerGhostStagingInstallationRequestReport] is SUCCESS for ANIMALSMATCHER algorithm

Body:

  • Write ABOVE THIS LINE to reply via email

DataMiner sent you a message:
The installation of the algorithm is completed successfully.

You can retrieve experiment results under the '/DataMiner' e-Infrastructure Workspace folder or from the DataMiner interface.

Algorithm details:

User: Mister Pink
Algorithm name: ANIMALSMATCHER
Staging DataMiner Host: dataminer-ghost-t.pre.d4science.org
Caller VRE: /pred4s/preprod/preVRE
Target VRE: /pred4s/preprod/preVRE

  • This message was also sent to:

    Roberto Cirillo
    Lucio Lelii
    Giancarlo Panichi
    Gianpaolo Coro
    Ciro Formisano

If you reply, your message will be also delivered to them.

Go to Message

Please note that email replies do not support attachments.

#12 Updated by Giancarlo Panichi 9 months ago

The content of the message is implemented by the DMPoolManager(currently it is not configurable), therefore it does not depend on the SAI. So, if the test was successful then the SAI works correctly.

Also available in: Atom PDF