Test duration : 0.382s
Failed Configuration | ||
---|---|---|
tigase.tests.ExampleJaxmppTest | ||
setupClass | 0.183s |
Method arguments:
org.testng.TestRunner@b0d4873
2022-06-10 23:25:48 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream]
tigase.jaxmpp.core.client.exceptions.JaxmppException: tigase.jaxmpp.core.client.exceptions.JaxmppException: javax.crypto.AEADBadTagException: Tag mismatch!
2022-06-10 23:25:48 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=false 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=1] Connector state changed: null->connecting 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=1] DNS entry stored in session object: localhost:5222 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=1] Preparing connection to [localhost:5222] 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=1] Connector state changed: connecting->connected 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=1] Whitespace ping period is setted to nullms 2022-06-10 23:25:48 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled 2022-06-10 23:25:48 | >> <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2022-06-10 23:25:48 | admin :: admin@test-domain.com << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=3934] Start TLS 2022-06-10 23:25:48 | << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-06-10 23:25:48 | admin :: admin@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=3936] Proceeding TLS 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=3936] Start handshake 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=3936] Can't establish encrypted connection 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=3936] Connector state changed: connected->disconnected 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.Jaxmpp.onException: Catching exception 2022-06-10 23:25:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=619 thread=3934] Ignoring stop connector.
tigase.jaxmpp.j2se.Jaxmpp.waitForLoginFinish(Jaxmpp.java:154)
tigase.jaxmpp.j2se.Jaxmpp.login(Jaxmpp.java:249) tigase.tests.utils.JaxmppBuilder.build(JaxmppBuilder.java:101) tigase.tests.AbstractTest.setupClass(AbstractTest.java:797) jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:568) org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135) org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:65) org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:381) org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:319) org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:178) org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:122) java.base/java.util.ArrayList.forEach(ArrayList.java:1511) org.testng.TestRunner.privateRun(TestRunner.java:808) org.testng.TestRunner.run(TestRunner.java:603) org.testng.SuiteRunner.runTest(SuiteRunner.java:429) org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423) org.testng.SuiteRunner.privateRun(SuiteRunner.java:383) org.testng.SuiteRunner.run(SuiteRunner.java:326) org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) org.testng.TestNG.runSuitesSequentially(TestNG.java:1249) org.testng.TestNG.runSuitesLocally(TestNG.java:1169) org.testng.TestNG.runSuites(TestNG.java:1092) org.testng.TestNG.run(TestNG.java:1060) org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283) org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75) org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120) org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: tigase.jaxmpp.core.client.exceptions.JaxmppException: javax.crypto.AEADBadTagException: Tag mismatch!
tigase.jaxmpp.core.client.connector.AbstractSocketXmppSessionLogic.processConnectorErrors(AbstractSocketXmppSessionLogic.java:185)
Caused by:
javax.crypto.AEADBadTagException: Tag mismatch!
tigase.jaxmpp.core.client.connector.AbstractSocketXmppSessionLogic$1.onError(AbstractSocketXmppSessionLogic.java:89) tigase.jaxmpp.core.client.Connector$ErrorHandler$ErrorEvent.dispatch(Connector.java:314) tigase.jaxmpp.core.client.Connector$ErrorHandler$ErrorEvent.dispatch(Connector.java:299) tigase.jaxmpp.j2se.eventbus.ThreadSafeEventBus$2.run(ThreadSafeEventBus.java:81) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) java.base/java.lang.Thread.run(Thread.java:833)
java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1486)
java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:447) java.base/javax.crypto.Cipher.doFinal(Cipher.java:2500) java.base/sun.security.ssl.SSLCipher$T13GcmReadCipherGenerator$GcmReadCipher.decrypt(SSLCipher.java:1933) java.base/sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:260) java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:181) java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1500) java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415) java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450) java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421) tigase.jaxmpp.j2se.connectors.socket.SocketConnector.proceedJCETLS(SocketConnector.java:1126) tigase.jaxmpp.j2se.connectors.socket.SocketConnector.proceedTLS(SocketConnector.java:758) tigase.jaxmpp.j2se.connectors.socket.SocketConnector.onTLSStanza(SocketConnector.java:224) tigase.jaxmpp.j2se.connectors.socket.SocketConnector.processElement(SocketConnector.java:254) tigase.jaxmpp.j2se.connectors.socket.SocketConnector$1.processElement(SocketConnector.java:425) tigase.jaxmpp.j2se.connectors.socket.Worker$1.nextElement(Worker.java:52) tigase.jaxmpp.j2se.connectors.socket.XMPPDomBuilderHandler.endElement(XMPPDomBuilderHandler.java:149) tigase.xml.SimpleParser.parse(SimpleParser.java:302) tigase.jaxmpp.j2se.connectors.socket.Worker.run(Worker.java:115) |
Skipped Configuration | ||
tigase.tests.ExampleJaxmppTest | ||
setupMethod | 0.000s | |
tearDownClass | 0.000s | |
tearDownMethod | 0.000s |
Skipped Tests | ||
---|---|---|
tigase.tests.ExampleJaxmppTest | ||
SimpleLoginTest | 0.000s |