Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-96263

SimpleWebSocketEndpointTest fails due to "Could not resolve module: com.liferay.websocket.whiteboard.test"

    Details

      Description

      This issue happens on 70 Acceptance CI Tester and 7.0 Gauntlet CI tester.
      Steps to reproduce:

      1. Navigate to liferay-portal-ee/modules directory
      2. Execute the following command:
        blade gw :apps:foundation:websocket:websocket-whiteboard-test:testIntegration
        

      Actual Reslut:

      [exec] > Task :apps:foundation:websocket:websocket-whiteboard-test:testIntegration
           [exec] 
           [exec] com.liferay.websocket.whiteboard.test.SimpleWebSocketEndpointTest > classMethod STARTED
           [exec] 
           [exec] com.liferay.websocket.whiteboard.test.SimpleWebSocketEndpointTest > classMethod FAILED
           [exec]     java.io.IOException: Start of bundle with id 620 failed with message: Could not resolve module: com.liferay.websocket.whiteboard.test [620]
           [exec]       Unresolved requirement: Import-Package: com.liferay.websocket.whiteboard.test.activator
           [exec]         at org.apache.aries.jmx.framework.Framework.startBundle(Framework.java:461)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
           [exec]         at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
           [exec]         at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
           [exec]         at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
           [exec]         at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
           [exec]         at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
           [exec]         at javax.management.StandardMBean.invoke(StandardMBean.java:405)
           [exec]         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
           [exec]         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
           [exec]         at sun.rmi.transport.Transport$1.run(Transport.java:200)
           [exec]         at sun.rmi.transport.Transport$1.run(Transport.java:197)
           [exec]         at java.security.AccessController.doPrivileged(Native Method)
           [exec]         at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
           [exec]         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
           [exec]         at java.security.AccessController.doPrivileged(Native Method)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
           [exec]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec]         Caused by:
           [exec]         org.osgi.framework.BundleException: Could not resolve module: com.liferay.websocket.whiteboard.test [620]
           [exec]           Unresolved requirement: Import-Package: com.liferay.websocket.whiteboard.test.activator
           [exec]             at org.eclipse.osgi.container.Module.start(Module.java:444)
           [exec]             at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
           [exec]             at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:421)
           [exec]             at org.apache.aries.jmx.framework.Framework.startBundle(Framework.java:459)
           [exec]             ... 40 more
           [exec] 
           [exec] 02:52:34,830 INFO  [Framework Event Dispatcher: Equinox Container: b08a7a81-bb81-0019-1243-cc813bd66ac6][com_liferay_websocket_whiteboard_test:100] BundleEvent INSTALLED 
           [exec] 02:52:46,878 INFO  [Framework Event Dispatcher: Equinox Container: b08a7a81-bb81-0019-1243-cc813bd66ac6][com_liferay_websocket_whiteboard_test:100] BundleEvent UNINSTALLED 
           [exec] 
           [exec] > Task :apps:foundation:websocket:websocket-whiteboard-test:testIntegration
           [exec] 
           [exec] com.liferay.websocket.whiteboard.test.EncodeWebsocketEndpointTest > classMethod STARTED
           [exec] 
           [exec] com.liferay.websocket.whiteboard.test.EncodeWebsocketEndpointTest > classMethod FAILED
           [exec]     java.io.IOException: Start of bundle with id 621 failed with message: Could not resolve module: com.liferay.websocket.whiteboard.test [621]
           [exec]       Unresolved requirement: Import-Package: com.liferay.websocket.whiteboard.test.activator
           [exec]         at org.apache.aries.jmx.framework.Framework.startBundle(Framework.java:461)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
           [exec]         at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
           [exec]         at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
           [exec]         at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
           [exec]         at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
           [exec]         at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
           [exec]         at javax.management.StandardMBean.invoke(StandardMBean.java:405)
           [exec]         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
           [exec]         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
           [exec]         at sun.rmi.transport.Transport$1.run(Transport.java:200)
           [exec]         at sun.rmi.transport.Transport$1.run(Transport.java:197)
           [exec]         at java.security.AccessController.doPrivileged(Native Method)
           [exec]         at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
           [exec]         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
           [exec]         at java.security.AccessController.doPrivileged(Native Method)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
           [exec]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec]         Caused by:
           [exec]         org.osgi.framework.BundleException: Could not resolve module: com.liferay.websocket.whiteboard.test [621]
           [exec]           Unresolved requirement: Import-Package: com.liferay.websocket.whiteboard.test.activator
           [exec]             at org.eclipse.osgi.container.Module.start(Module.java:444)
           [exec]             at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
           [exec]             at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:421)
           [exec]             at org.apache.aries.jmx.framework.Framework.startBundle(Framework.java:459)
           [exec]             ... 40 more
           [exec] There were failing tests. See the report at: file:///opt/dev/projects/github/liferay-portal-7.0.x-private/modules/apps/foundation/websocket/websocket-whiteboard-test/build/reports/tests/testIntegration/index.html
           [exec] 
           [exec] 2 tests completed, 2 failed
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            felix.zhang Felix Zhang
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              2 years, 14 weeks, 4 days ago

                Packages

                Version Package