Get list of history entries for connections

Test duration: 2.696s

Failed Tests
tigase.tests.auditlog.TestGetConnectionsHistory
retrieveAfterFirstConnection 0.044s
2019-10-13 20:19:23 |

2019-10-13 20:19:23 | null / [TestClass name=class tigase.tests.auditlog.TestGetConnectionsHistory]

2019-10-13 20:19:23 | ------------------------------------

2019-10-13 20:19:23 | [Mutex] waiting for: [78eef9d5-f965-4157-a11a-5db6ee0d0874:connections-history]

2019-10-13 20:19:23 | [Mutex] received everything.

2019-10-13 20:19:23 | [Mutex] isItemNotified: 78eef9d5-f965-4157-a11a-5db6ee0d0874:connections-history:success :: true

java.lang.AssertionError: expected [true] but found [false]
org.testng.Assert.fail(Assert.java:96)
org.testng.Assert.failNotEquals(Assert.java:776)
org.testng.Assert.assertTrue(Assert.java:44)
org.testng.Assert.assertTrue(Assert.java:54)
tigase.tests.auditlog.TestGetConnectionsHistory.assertCurrentState(TestGetConnectionsHistory.java:184)
tigase.tests.auditlog.TestGetConnectionsHistory.retrieveAfterFirstConnection(TestGetConnectionsHistory.java:94)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:566)
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
tigase.tests.AbstractSkippableTest.run(AbstractSkippableTest.java:46)
org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
org.testng.TestRunner.privateRun(TestRunner.java:648)
org.testng.TestRunner.run(TestRunner.java:505)
org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
org.testng.SuiteRunner.run(SuiteRunner.java:364)
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
org.testng.TestNG.runSuites(TestNG.java:1049)
org.testng.TestNG.run(TestNG.java:1017)
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 Tests
tigase.tests.auditlog.TestGetConnectionsHistory
disconnectUser1 0.000s Depends on method(s): tigase.tests.auditlog.TestGetConnectionsHistory.retrieveAfterFirstConnection
loginUser2 0.000s Depends on method(s): tigase.tests.auditlog.TestGetConnectionsHistory.retrieveAfterFirstDisconnection
retrieveAfterFirstDisconnection 0.000s Depends on method(s): tigase.tests.auditlog.TestGetConnectionsHistory.disconnectUser1
retrieveAfterSecondConnection 0.000s Depends on method(s): tigase.tests.auditlog.TestGetConnectionsHistory.loginUser2
Passed Tests
tigase.tests.auditlog.TestGetConnectionsHistory
loginUser1 1.276s
2019-10-13 20:19:22 |

2019-10-13 20:19:22 | null / [TestClass name=class tigase.tests.auditlog.TestGetConnectionsHistory]

2019-10-13 20:19:22 | ------------------------------------

2019-10-13 20:19:22 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream]

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=false

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=1] Connector  state changed: null->connecting

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=1] DNS entry stored in session object: localhost:5222

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=1] Preparing connection to [localhost:5222]

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=1] Opening connection to localhost/127.0.0.1:5222

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=1] Connector  state changed: connecting->connected

2019-10-13 20:19:22 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=1] Whitespace ping period is setted to nullms

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost << <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>

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=3522] Start TLS

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=3524] Proceeding TLS

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=3524] Start handshake

2019-10-13 20:19:22 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>SCRAM-SHA-256</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features>

2019-10-13 20:19:22 | tigase.jaxmpp.core.client.xmpp.modules.auth.AuthModule.login: Authenticating with SASL Non-SASL

2019-10-13 20:19:22 | tigase.jaxmpp.core.client.xmpp.modules.auth.SaslModule.login: Try login with SASL

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj1hdWRpdGxvZy1fcWN5bTU2MDQxMSxyPVRmVktFemVJcmxOZnpNM2dhbzc2</auth>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1UZlZLRXplSXJsTmZ6TTNnYW83NkJBNGwwbVNhS3dQZUZsaUZFeHloLHM9NTI1WGQ5ZnptS0ZOUHc9PSxpPTQwOTY=</challenge>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9VGZWS0V6ZUlybE5mek0zZ2FvNzZCQTRsMG1TYUt3UGVGbGlGRXh5aCxwPW8xOUFXUTh3Y1NZSzNFY1dzRHFKcHJTS0o5bCsybWdWWmtid0FlczUyblU9</response>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1kazlvem1ya2N2L1l5NTJqaTN0S0hoallqaGlzTmx4VURWZzVvcTBZdytrPQ==</success>

2019-10-13 20:19:22 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><csi xmlns="urn:xmpp:csi:0"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"><optional/></session><c ver="fD1ATDhYhT37hyTvdBFDDag+4EU=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps"/></features>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost >> <iq xmlns="jabber:client" id="c3imYhOMGv2cyn7AcTQZs1x" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost << <iq id="c3imYhOMGv2cyn7AcTQZs1x" to="auditlog-_qcym560411@localhost/993927746-tigase-250" type="result" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>auditlog-_qcym560411@localhost/993927746-tigase-250</jid></bind></iq>

2019-10-13 20:19:22 | tigase.jaxmpp.j2se.Jaxmpp.onResourceBindSuccess: Connected. Resource binded.

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 >> <iq xmlns="jabber:client" id="0eNatmYWV2fRU9DAqbCoUXW" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 << <iq id="0eNatmYWV2fRU9DAqbCoUXW" to="auditlog-_qcym560411@localhost/993927746-tigase-250" type="result" xmlns="jabber:client"/>

2019-10-13 20:19:22 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.enable: Enabling stream management

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 >> <iq to="localhost" id="jTKY4iR5w4DkXoThGvq6cr4" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 << <enabled id="91a97c76-7742-48a3-a56f-ef7e866f7980" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 >> <iq id="8WRxgR3q6xkOKDiIArfQIVU" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 << <iq from="localhost" id="jTKY4iR5w4DkXoThGvq6cr4" to="auditlog-_qcym560411@localhost/993927746-tigase-250" type="result" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39" category="server" type="im"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/network/serverinfo</value></field><field var="abuse-addresses" type="text-multi"><value>mailto:abuse@localhost</value><value>xmpp:abuse@localhost</value></field></x><feature var="urn:xmpp:carbons:2"/><feature var="http://jabber.org/protocol/stats"/><feature var="vcard-temp"/><feature var="jabber:iq:auth"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="urn:xmpp:blocking"/><feature var="urn:xmpp:ping"/><feature var="urn:ietf:params:xml:ns:xmpp-sasl"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub#owner"/><feature var="http://jabber.org/protocol/pubsub#publish"/><identity category="pubsub" type="pep"/><feature var="urn:xmpp:pep-vcard-conversion:0"/><feature var="urn:xmpp:bookmarks-conversion:0"/><feature var="urn:xmpp:archive:auto"/><feature var="urn:xmpp:archive:manage"/><feature var="urn:xmpp:push:0"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="urn:xmpp:mam:1"/><feature var="jabber:iq:version"/><feature var="urn:xmpp:time"/><feature var="jabber:iq:privacy"/><feature var="urn:ietf:params:xml:ns:xmpp-bind"/><feature var="http://jabber.org/protocol/commands"/><feature var="urn:ietf:params:xml:ns:vcard-4.0"/><feature var="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 << <iq id="8WRxgR3q6xkOKDiIArfQIVU" to="auditlog-_qcym560411@localhost/993927746-tigase-250" type="result" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 << <presence from="auditlog-_qcym560411@localhost/993927746-tigase-250" to="auditlog-_qcym560411@localhost" xmlns="jabber:client"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-10-13 20:19:22 | auditlog- :: auditlog-_qcym560411@localhost/993927746-tigase-250 << <message from="localhost" to="auditlog-_qcym560411@localhost" xmlns="jabber:client"><body>Wecome to b7b8c55c-f7d5-4be8-b8cd-c3020f363d56
This message was set at: Sun Oct 13 20:04:55 PDT 2019</body><delay stamp="2019-10-14T03:19:21.795Z" from="localhost" xmlns="urn:xmpp:delay">Offline Storage - d4270859fb27</delay></message>

2019-10-13 20:19:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=3524] Connector  state changed: connected->disconnected

2019-10-13 20:19:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=541 thread=3524] Stream terminated

2019-10-13 20:19:23 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2019-10-13 20:19:23 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

retrieveBeforeFirstConnection 0.432s
2019-10-13 20:19:21 |

2019-10-13 20:19:21 | null / [TestClass name=class tigase.tests.auditlog.TestGetConnectionsHistory]

2019-10-13 20:19:21 | ------------------------------------

2019-10-13 20:19:21 | [Mutex] waiting for: [component:ping]

2019-10-13 20:19:21 | [Mutex] received everything.

2019-10-13 20:19:21 | [Mutex] waiting for: [195afa0f-91b8-4a45-88ac-4f94cd9f3730:connections-history]

2019-10-13 20:19:22 | [Mutex] received everything.

2019-10-13 20:19:22 | [Mutex] isItemNotified: 195afa0f-91b8-4a45-88ac-4f94cd9f3730:connections-history:success :: true