Get list of history entries for connections

Test duration: 2.293s

Failed Tests
tigase.tests.auditlog.TestGetConnectionsHistory
retrieveAfterFirstConnection 0.021s
2020-06-16 23:29:06 |

2020-06-16 23:29:06 | null / [TestClass name=class tigase.tests.auditlog.TestGetConnectionsHistory]

2020-06-16 23:29:06 | ------------------------------------

2020-06-16 23:29:06 | [Mutex] waiting for: [a06dff6b-a9bc-4b36-856d-095a2cd9797e:connections-history]

2020-06-16 23:29:06 | [Mutex] received everything.

2020-06-16 23:29:06 | [Mutex] isItemNotified: a06dff6b-a9bc-4b36-856d-095a2cd9797e: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.244s
2020-06-16 23:29:05 |

2020-06-16 23:29:05 | null / [TestClass name=class tigase.tests.auditlog.TestGetConnectionsHistory]

2020-06-16 23:29:05 | ------------------------------------

2020-06-16 23:29:05 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream]

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=false

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=1] Connector  state changed: null->connecting

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=1] DNS entry stored in session object: localhost:5222

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=1] Preparing connection to [localhost:5222]

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=1] Opening connection to localhost/127.0.0.1:5222

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=1] Connector  state changed: connecting->connected

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=1] Whitespace ping period is setted to nullms

2020-06-16 23:29:05 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=4233] Start TLS

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@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>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=4235] Proceeding TLS

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=4235] Start handshake

2020-06-16 23:29:05 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@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-512</mechanism><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>

2020-06-16 23:29:05 | tigase.jaxmpp.core.client.xmpp.modules.auth.AuthModule.login: Authenticating with SASL Non-SASL

2020-06-16 23:29:05 | tigase.jaxmpp.core.client.xmpp.modules.auth.SaslModule.login: Try login with SASL

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj1hdWRpdGxvZy1fbjhvMWI4MDU2MSxyPU13SDIzMmpWZlMweU5MVXFCZ2h2</auth>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1Nd0gyMzJqVmZTMHlOTFVxQmdodlVZTkowdzUzSXhxbXp4NUtEQVA4LHM9TXRQd1d2WldkRm5PdVE9PSxpPTQwOTY=</challenge>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9TXdIMjMyalZmUzB5TkxVcUJnaHZVWU5KMHc1M0l4cW16eDVLREFQOCxwPURrUWVYR3Y5aUtQZndpZFIrQWZheWN5YzJVeWRVN3JlbHVNdW5Lc2RmWk09</response>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj0xQUFBcG9lWExvV1hkVVFocmVURWhWdUNIY0VCMTRXN3VvSzZQWS9CWVpzPQ==</success>

2020-06-16 23:29:05 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@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 hash="SHA-1" node="https://tigase.net/tigase-xmpp-server" ver="572FT49XnPLGPGR9qJkgn9Q8JSQ=" xmlns="http://jabber.org/protocol/caps"/></features>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost >> <iq xmlns="jabber:client" id="DMN6CnNKysUVTTarUj4fVSQ" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost << <iq to="auditlog-_n8o1b80561@localhost/2095755800-tigase-337" type="result" id="DMN6CnNKysUVTTarUj4fVSQ" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>auditlog-_n8o1b80561@localhost/2095755800-tigase-337</jid></bind></iq>

2020-06-16 23:29:05 | tigase.jaxmpp.j2se.Jaxmpp.onResourceBindSuccess: Connected. Resource binded.

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 >> <iq xmlns="jabber:client" id="xPUar7woV4yfxewoMFnR6jE" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 << <iq to="auditlog-_n8o1b80561@localhost/2095755800-tigase-337" type="result" id="xPUar7woV4yfxewoMFnR6jE" xmlns="jabber:client"/>

2020-06-16 23:29:05 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.enable: Enabling stream management

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 >> <iq to="localhost" id="kMJM3ydRKAFDlGwdu5p6yfI" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 << <enabled resume="true" max="60" location="9585556aacac" id="b3debeb2-e15d-4b2a-a8b2-84060400bc6d" xmlns="urn:xmpp:sm:3"/>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 >> <iq id="uLEAkPIxjUataKDjMCAarVX" type="get"><query xmlns="jabber:iq:roster"/></iq>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 << <iq to="auditlog-_n8o1b80561@localhost/2095755800-tigase-337" type="result" from="localhost" id="kMJM3ydRKAFDlGwdu5p6yfI" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10763/960d5e95" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10763/960d5e95" type="im" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/network/serverinfo</value></field><field type="text-multi" var="abuse-addresses"><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="jabber:iq:auth"/><feature var="vcard-temp"/><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 type="pep" category="pubsub"/><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="tigase:push:away:0"/><feature var="tigase:push:encrypt:0"/><feature var="tigase:push:encrypt:aes-128-gcm"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="tigase:push:filter:muted:0"/><feature var="tigase:push:priority: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>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 << <iq to="auditlog-_n8o1b80561@localhost/2095755800-tigase-337" type="result" id="uLEAkPIxjUataKDjMCAarVX" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2020-06-16 23:29:05 | auditlog- :: auditlog-_n8o1b80561@localhost/2095755800-tigase-337 << <presence to="auditlog-_n8o1b80561@localhost" from="auditlog-_n8o1b80561@localhost/2095755800-tigase-337" xmlns="jabber:client"><c hash="sha-1" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps"/></presence>

2020-06-16 23:29:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=4235] Connector  state changed: connected->disconnected

2020-06-16 23:29:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=648 thread=4235] Stream terminated

2020-06-16 23:29:06 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2020-06-16 23:29:06 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

retrieveBeforeFirstConnection 0.170s
2020-06-16 23:29:05 |

2020-06-16 23:29:05 | null / [TestClass name=class tigase.tests.auditlog.TestGetConnectionsHistory]

2020-06-16 23:29:05 | ------------------------------------

2020-06-16 23:29:05 | [Mutex] waiting for: [component:ping]

2020-06-16 23:29:05 | [Mutex] received everything.

2020-06-16 23:29:05 | [Mutex] waiting for: [3d38e452-b78f-448c-a61f-c0792cf974c5:connections-history]

2020-06-16 23:29:05 | [Mutex] received everything.

2020-06-16 23:29:05 | [Mutex] isItemNotified: 3d38e452-b78f-448c-a61f-c0792cf974c5:connections-history:success :: true