RestComm / sip-servlets

Leading SIP - IMS - WebRTC Application Server
http://www.restcomm.com/
GNU Affero General Public License v3.0
240 stars 181 forks source link

Troubleshoot Wildfly10 TCK/TestSuite issues #212

Closed jaimecasero closed 7 years ago

jaimecasero commented 7 years ago

Log Time

jaimecasero commented 7 years ago

encodeUrl002:the servlet is returning thsi encodedURL: 13:34:44,833 INFO ConvergedHttpSessionServlet:99 - === testEncodeURL002() === 13:34:44,835 DEBUG ConvergedHttpSessionServlet:63 - the baseURL=http://127.0.0.1:8180/apitestapp/ConvergedHttpSession 13:34:44,835 DEBUG ConvergedHttpSessionServlet:64 - the encodedURL=http://localhost:8080/apitestapp/foo.jsp;jsessionid=bqEBj-OwZmSqCVzLXAmdexFXv9J37_BT0_ZmYvYk 13:34:47,862 INFO ConvergedHttpSessionServlet:99 - === testGetApplicationSession001() ===

but the server is listening on 8180, not 8080, so subsequent request form test fails with connection failure

jaimecasero commented 7 years ago

the server output is full of 15:04:58,987 ERROR [org.mobicents.servlet.sip.core.dispatchers.DispatchTask] (Restcomm-SIP-Servlets-UDPMessageChannelThread-15) Unexpected exception while processing message MESSAGE sip:JSR289_TCK@127.0.0.1:5180 SIP/2.0 Call-ID: 86c16e6dd714a0f4f2991fd8d099cc7b@10.237.47.204 CSeq: 1 MESSAGE From: "Alice" sip:alice@10.237.47.204:5071;tag=928919459 To: "JSR289_TCK" sip:JSR289_TCK@127.0.0.1:5180 Via: SIP/2.0/UDP 10.237.47.204:5071;branch=z9hG4bK595ad39b2acad66ccafc1caba9b9f999 Max-Forwards: 5 Route: <sip:127.0.0.1:5180;lr;transport=udp> Method-Name: testSessionDestroyed001 Servlet-Name: SipApplicationSessionListener Content-Length: 0

: java.lang.NoClassDefFoundError: com/bea/sipservlet/tck/utils/TestUtil at com.bea.sipservlet.tck.apps.BaseServlet.doRequest(BaseServlet.java:50) at javax.servlet.sip.SipServlet.service(SipServlet.java:328) [sip-servlets-spec-8.0.0.13.jar:8.0.0.13] at org.mobicents.servlet.sip.core.session.SipRequestDispatcher.forward(SipRequestDispatcher.java:60) [sip-servlets-impl-8.0.0.13.jar:8.0.0.13] at com.bea.sipservlet.tck.apps.api.ApiTestMainServlet.doRequest(ApiTestMainServlet.java:57) at javax.servlet.sip.SipServlet.service(SipServlet.java:328) [sip-servlets-spec-8.0.0.13.jar:8.0.0.13] at org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:386) [sip-servlets-impl-8.0.0.13.jar:8.0.0.13] at org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher$InitialDispatchTask.dispatch(InitialRequestDispatcher.java:839) [sip-servlets-impl-8.0.0.13.jar:8.0.0.13] at org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:61) [sip-servlets-impl-8.0.0.13.jar:8.0.0.13] at org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchInsideContainer(InitialRequestDispatcher.java:509) [sip-servlets-impl-8.0.0.13.jar:8.0.0.13] at org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchMessage(InitialRequestDispatcher.java:333) [sip-servlets-impl-8.0.0.13.jar:8.0.0.13] at org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processRequest(SipApplicationDispatcherImpl.java:955) [sip-servlets-impl-8.0.0.13.jar:8.0.0.13] at gov.nist.javax.sip.EventScanner.deliverRequestEvent(EventScanner.java:250) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:146) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:185) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at gov.nist.javax.sip.DialogFilter.processRequest(DialogFilter.java:1328) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at gov.nist.javax.sip.stack.SIPServerTransactionImpl.processRequest(SIPServerTransactionImpl.java:851) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at gov.nist.javax.sip.stack.UDPMessageChannel.processMessage(UDPMessageChannel.java:581) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:527) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:325) [jain-sip-ri-7.0.5.287.jar:7.0.5.287] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]

apparently the class is compiled and foudn in proper directory...

jaimecasero commented 7 years ago

testSessionDestroyed001 use to be a false positive

jaimecasero commented 7 years ago

http://ci.telestax.com/view/SS8/job/TelScale-SIP-Servlets-8-TestSuite/lastCompletedBuild/testReport/ these are failing testsuite not present in SS7 branch org.mobicents.servlet.sip.testsuite.b2bua.B2BUASipUnitTest.testB2BUASipUnit org.mobicents.servlet.sip.testsuite.b2bua.B2BUASipUnitTest.testB2BUASipUnitCancelNoResponse -> Address already in use org.mobicents.servlet.sip.testsuite.b2bua.forking.B2BUASipServletForkingTest.testB2BUAForkingWithCANCEL -> works locally org.mobicents.servlet.sip.testsuite.callcontroller.CallBlockingTest.testCallBlockingInvite 1.1 sec 1 org.mobicents.servlet.sip.testsuite.callcontroller.CallControllerSipUnitTest.testCallBlockingBothDeployed 38 ms 1 org.mobicents.servlet.sip.testsuite.callcontroller.CallControllerSipUnitTest.testCallBlockingInvite 2.2 sec 1 org.mobicents.servlet.sip.testsuite.concurrency.CongestionControlTest.testMemoryCongestedErrorResponseReInvite -> ok locally org.mobicents.servlet.sip.testsuite.deployment.GracefulStopTest.testServiceGracefulShutdownNegativeValue -> Address already in use org.mobicents.servlet.sip.testsuite.deployment.GracefulStopTest.testServiceGracefulShutdownNegativeValueJMX -> Address already in use org.mobicents.servlet.sip.testsuite.routing.ExternalRoutingServletTest.testExternalRouting -> Address already in use

jaimecasero commented 7 years ago

latest run didnt bring any failure on wildfly10 http://ci.telestax.com/view/SS8/job/TelScale-SIP-Servlets-8-Wildfly-10-TCK/lastCompletedBuild/testReport/

jaimecasero commented 7 years ago

image testMemoryCongestedErrorResponseR works locally

jaimecasero commented 7 years ago

image testB2BUAForkingWithCANCEL works locally