Generated by TestNG with ReportNG at 22:20 PDT on Tuesday 22 March 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

Upload: Test support for XEP-0363: HTTP File Upload

Suites · Log Output

Test duration : -11536092490.893s

Failed Configuration
tigase.tests.http.TestHTTPFileUpload
setupSuite 110.067s Method arguments: org.testng.TestRunner@410ae9a3
2022-03-22 22:25:18 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream]

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=false

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=1] Connector  state changed: null->connecting

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=1] DNS entry stored in session object: localhost:5222

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=1] Preparing connection to [localhost:5222]

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=1] Connector  state changed: connecting->connected

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=1] Whitespace ping period is setted to nullms

2022-03-22 22:25:18 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=55] Start TLS

2022-03-22 22:25:18 |  >> <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><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-03-22 22:25:18 | admin :: admin@test-domain.com << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><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-03-22 22:25:18 |  << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2022-03-22 22:25:18 | admin :: admin@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=57] Proceeding TLS

2022-03-22 22:25:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=57] Start handshake

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=57] Can't establish encrypted connection

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=57] Connector  state changed: connected->disconnected

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.Jaxmpp.onException: Catching exception

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=7 thread=55] Ignoring stop connector.

2022-03-22 22:25:38 | Could not connect with admin account credentials (tigase.jaxmpp.core.client.exceptions.JaxmppException: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message), trying to register account...

2022-03-22 22:25:38 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream]

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=false

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=1] Using XEP-0077 mode!!!!

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=1] Connector  state changed: null->connecting

2022-03-22 22:25:38 | tigase.jaxmpp.core.client.SessionObject$ClearedHandler$ClearedEvent@26fd5efe

2022-03-22 22:25:38 | StateChangedEvent{oldState=null, newState=connecting}

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=1] DNS entry stored in session object: localhost:5222

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=1] Preparing connection to [localhost:5222]

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=1] Connector  state changed: connecting->connected

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=1] Whitespace ping period is setted to nullms

2022-03-22 22:25:38 | [Mutex] waiting for: [registration]

2022-03-22 22:25:38 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2022-03-22 22:25:38 | tigase.jaxmpp.core.client.Connector$StreamRestartedHandler$StreamRestaredEvent@283aa451

2022-03-22 22:25:38 | StateChangedEvent{oldState=connecting, newState=connected}

2022-03-22 22:25:38 | tigase.jaxmpp.core.client.Connector$ConnectedHandler$ConnectedEvent@2c05358e

2022-03-22 22:25:38 | admin :: null << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><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-03-22 22:25:38 | StanzaReceivedEvent{stanza=<features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><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-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=60] Start TLS

2022-03-22 22:25:38 | StreamFeaturesReceivedEvent[<features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><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-03-22 22:25:38 | admin :: null >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2022-03-22 22:25:38 | StanzaSendingEvent{stanza=<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>}

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=62] Proceeding TLS

2022-03-22 22:25:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=62] Start handshake

2022-03-22 22:25:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=62] Can't establish encrypted connection

2022-03-22 22:25:58 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2022-03-22 22:25:58 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2022-03-22 22:25:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=8 thread=62] Connector  state changed: connected->disconnected

2022-03-22 22:25:58 | ErrorEvent{condition=null, caught=javax.net.ssl.SSLException: Unsupported or unrecognized SSL message, sessionObject=AbstractSessionObject{properties={TRUST_MANAGERS_KEY=Entry{scope=user, value=[Ljavax.net.ssl.X509TrustManager;@4f4de7bb}, CONNECTOR#DISABLEKEEPALIVE=Entry{scope=stream, value=false}, StreamFeaturesModule#STREAMS_FEATURES_LIST=Entry{scope=session, value=[<features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><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>]}, STREAMS_MANAGER_KEY=Entry{scope=user, value=tigase.jaxmpp.core.client.xmpp.stream.XmppStreamsManager@6907ae6a}, COMPRESSION_DISABLED=Entry{scope=user, value=true}, HOSTNAME_VERIFIER_KEY=Entry{scope=session, value=tigase.jaxmpp.j2se.connectors.socket.DefaultHostnameVerifier@7ec80a01}, BOSH#SEE_OTHER_HOST_KEY=Entry{scope=user, value=false}, CONNECTOR#STAGE_KEY=Entry{scope=stream, value=disconnected}, RosterModule#ROSTER_STORE=Entry{scope=user, value=tigase.jaxmpp.core.client.xmpp.modules.roster.DefaultRosterStore@25c1171a}, PresenceModule#PRESENCE_STORE=Entry{scope=user, value=tigase.jaxmpp.j2se.J2SEPresenceStore@58a427df}, ResponseManager#RESPONSE_MANAGER=Entry{scope=user, value=tigase.jaxmpp.j2se.ThreadSafeResponseManager@5d88c000}, StreamFeaturesModule#PIPELINING_ACTIVE=Entry{scope=session, value=false}, DEFAULT_XMPP_STREAM_KEY=Entry{scope=session, value=DefaultXMPPStream}, domainName=Entry{scope=user, value=test-domain.com}, StreamFeaturesModule#EMBEDDED_STREAMS_COUNTER=Entry{scope=session, value=1}, LOG_PREFIX=Entry{scope=user, value=admin}, socket#ServerHost=Entry{scope=user, value=localhost}, IN_BAND_REGISTRATION_MODE_KEY=Entry{scope=session, value=true}, CONNECTOR#CONNECTOR_STAGE_TIMESTAMP_KEY=Entry{scope=stream, value=Tue Mar 22 22:25:58 PDT 2022}}}}

2022-03-22 22:25:58 | StateChangedEvent{oldState=connected, newState=disconnected}

2022-03-22 22:25:58 | tigase.jaxmpp.core.client.Connector$StreamTerminatedHandler$StreamTerminatedEvent@9285125

2022-03-22 22:25:58 | tigase.jaxmpp.core.client.Connector$DisconnectedHandler$DisconnectedEvent@247ceedd

2022-03-22 22:25:58 | tigase.jaxmpp.core.client.JaxmppCore$LoggedOutHandler$LoggedOutEvent@5d9faf52

2022-03-22 22:27:08 | [Mutex] timeout. Not received [registration]

2022-03-22 22:27:08 | [Mutex] isItemNotified: registrationSuccess :: false

java.lang.AssertionError: Registration failed!
org.testng.AssertJUnit.fail(AssertJUnit.java:65)
org.testng.AssertJUnit.assertTrue(AssertJUnit.java:23)
tigase.tests.utils.AccountsManager.registerAccount(AccountsManager.java:195)
tigase.tests.utils.AccountBuilder.build(AccountBuilder.java:123)
tigase.tests.AbstractTest.ensureAdminAccountExists(AbstractTest.java:474)
tigase.tests.AbstractTest.setupSuite(AbstractTest.java:779)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:568)
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
org.testng.SuiteRunner.privateRun(SuiteRunner.java:327)
org.testng.SuiteRunner.run(SuiteRunner.java:286)
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
org.testng.TestNG.runSuites(TestNG.java:1069)
org.testng.TestNG.run(TestNG.java:1037)
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)
 
Skipped Configuration
tigase.tests.http.TestHTTPFileUpload
cleanUp -1648013228.709s
setUp -1648013228.707s
setupClass -1648013228.707s
setupMethod -1648013228.707s
tearDownClass -1648013228.709s
tearDownMethod -1648013228.708s
tearDownSuite -1648013228.713s
Skipped Tests
tigase.tests.http.TestHTTPFileUpload
testComponentDiscovery 0.000s
2022-03-22 22:27:08 |

2022-03-22 22:27:08 | null / [TestClass name=class tigase.tests.http.TestHTTPFileUpload]

2022-03-22 22:27:08 | ------------------------------------

testFileDownload 0.000s Depends on method(s) tigase.tests.http.TestHTTPFileUpload.testFileUpload
testFileUpload 0.000s Depends on method(s) tigase.tests.http.TestHTTPFileUpload.testSlotAllocation
2022-03-22 22:27:08 |

2022-03-22 22:27:08 | null / [TestClass name=class tigase.tests.http.TestHTTPFileUpload]

2022-03-22 22:27:08 | ------------------------------------

testSlotAllocation 0.000s Depends on method(s) tigase.tests.http.TestHTTPFileUpload.testComponentDiscovery
2022-03-22 22:27:08 |

2022-03-22 22:27:08 | null / [TestClass name=class tigase.tests.http.TestHTTPFileUpload]

2022-03-22 22:27:08 | ------------------------------------