=== Test case: push_SUITE:pm_msg_notify_stops_after_removal/1 (click for source code)
=== Config value:
[{push_opts,[{virtual_pubsub_hosts,[{fqdn,<<"virtual.domain">>}]},
{backend,mnesia}]},
{watchdog,<0.8695.1>},
{pubsub_host,real},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.push_SUITE.logs/run.2022-01-27_15.32.59/push_suite.pm_msg_notify_stops_after_removal.9733.html"},
{tc_group_properties,[{name,pm_msg_notifications},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[[{name,pubsub_ful},{repeat_until_all_ok,3}]]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/push_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.push_SUITE.logs/run.2022-01-27_15.32.59/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27"
=== Started at 2022-01-27 15:32:59
*** User 2022-01-27 15:32:59.535 ***
bOb_unnamed_1013@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:59.536 ***
bOb_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='99b72d45878b2812' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:59.536 ***
bOb_unnamed_1013@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:32:59.536 ***
bOb_unnamed_1013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzEwMTMAbWFrcm9saWth</auth>
*** User 2022-01-27 15:32:59.537 ***
bOb_unnamed_1013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:59.537 ***
bOb_unnamed_1013@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:59.538 ***
bOb_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a055c94d7dd373e2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:59.538 ***
bOb_unnamed_1013@localhost/res1 in
<stream:features>
<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'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:32:59.538 ***
bOb_unnamed_1013@localhost/res1 out
<iq type='set' id='2bc9e7035c7b66e563eb5e5fe239aa6b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:32:59.538 ***
bOb_unnamed_1013@localhost/res1 in
<iq id='2bc9e7035c7b66e563eb5e5fe239aa6b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unnamed_1013@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:32:59.538 ***
bOb_unnamed_1013@localhost/res1 out
<iq type='set' id='a5339871f6609e05f140a4829857b7ff'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:59.539 ***
bOb_unnamed_1013@localhost/res1 in
<iq type='result' id='a5339871f6609e05f140a4829857b7ff'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:59.539 ***
bOb_unnamed_1013@localhost/res1 out
<presence/>
*** User 2022-01-27 15:32:59.539 ***
bOb_unnamed_1013@localhost/res1 in
<presence from='bOb_unnamed_1013@localhost/res1' to='bob_unnamed_1013@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:59.539 ***
bOb_unnamed_1013@localhost/res1 out
<iq type='set' id='b2c9ba7fc0916f72d91edddcd1551a9a'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@pm_msg_notify_stops_after_removal_79.533471' node='NodeId'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>http://jabber.org/protocol/pubsub#publish-options</value>
</field>
</x>
</enable>
</iq>
*** User 2022-01-27 15:32:59.540 ***
bOb_unnamed_1013@localhost/res1 in
<iq from='bOb_unnamed_1013@localhost' to='bOb_unnamed_1013@localhost/res1' id='b2c9ba7fc0916f72d91edddcd1551a9a' type='result'/>
*** User 2022-01-27 15:32:59.541 ***
bOb_unnamed_1013@localhost/res1 out
<iq type='set' id='9bed7ef3064bd65142959464b482e254'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
*** User 2022-01-27 15:32:59.541 ***
bOb_unnamed_1013@localhost/res1 in
<iq from='' to='bOb_unnamed_1013@localhost/res1' id='9bed7ef3064bd65142959464b482e254' type='result'/>
*** User 2022-01-27 15:32:59.543 ***
bOb_unnamed_1013@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:59.544 ***
bOb_unnamed_1013@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dde1a6b50b394b8a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:59.544 ***
bOb_unnamed_1013@localhost in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:32:59.544 ***
bOb_unnamed_1013@localhost out
<iq type='get' id='d254bfc16fb3a2ec9a650974729ab628'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-01-27 15:32:59.544 ***
bOb_unnamed_1013@localhost in
<iq from='localhost' id='d254bfc16fb3a2ec9a650974729ab628' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2022-01-27 15:32:59.544 ***
bOb_unnamed_1013@localhost out
<iq type='set' id='64f9d0477615681ec7dc4ca3bff9154c'>
<query xmlns='jabber:iq:register'>
<username>bOb_unnamed_1013</username>
<password>makrolika</password>
</query>
</iq>
*** User 2022-01-27 15:32:59.545 ***
bOb_unnamed_1013@localhost in
<iq from='localhost' id='64f9d0477615681ec7dc4ca3bff9154c' type='result'>
<query xmlns='jabber:iq:register'>
<username>bOb_unnamed_1013</username>
<password>makrolika</password>
</query>
</iq>
*** User 2022-01-27 15:32:59.546 ***
bOb_unnamed_1013@localhost out
</stream:stream>
*** User 2022-01-27 15:32:59.546 ***
bOb_unnamed_1013@localhost in
</stream:stream>
*** User 2022-01-27 15:32:59.546 ***
bOb_unnamed_1013@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:59.546 ***
bOb_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc9b01ac0d1d45d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:59.547 ***
bOb_unnamed_1013@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:32:59.547 ***
bOb_unnamed_1013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzEwMTMAbWFrcm9saWth</auth>
*** User 2022-01-27 15:32:59.548 ***
bOb_unnamed_1013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:59.548 ***
bOb_unnamed_1013@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:59.548 ***
bOb_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f03c4c99205f0df' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:59.548 ***
bOb_unnamed_1013@localhost/res1 in
<stream:features>
<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'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:32:59.548 ***
bOb_unnamed_1013@localhost/res1 out
<iq type='set' id='d7244d474314097f0ebb328fc9c81f3b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:32:59.548 ***
bOb_unnamed_1013@localhost/res1 in
<iq id='d7244d474314097f0ebb328fc9c81f3b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unnamed_1013@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:32:59.548 ***
bOb_unnamed_1013@localhost/res1 out
<iq type='set' id='dc91640bf3280b9fe7412d4fe2e6b200'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:59.549 ***
bOb_unnamed_1013@localhost/res1 in
<iq type='result' id='dc91640bf3280b9fe7412d4fe2e6b200'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:59.549 ***
bOb_unnamed_1013@localhost/res1 out
<presence/>
*** User 2022-01-27 15:32:59.549 ***
bOb_unnamed_1013@localhost/res1 in
<presence from='bOb_unnamed_1013@localhost/res1' to='bob_unnamed_1013@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:59.550 ***
alicE_unnamed_1013@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:59.550 ***
alicE_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f56085639b748438' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:59.550 ***
alicE_unnamed_1013@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:32:59.550 ***
alicE_unnamed_1013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTAxMwBtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:32:59.551 ***
alicE_unnamed_1013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:32:59.551 ***
alicE_unnamed_1013@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:32:59.551 ***
alicE_unnamed_1013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='308abcdbae290341' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:32:59.552 ***
alicE_unnamed_1013@localhost/res1 in
<stream:features>
<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'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:32:59.552 ***
alicE_unnamed_1013@localhost/res1 out
<iq type='set' id='7a06f17271241d4aacfd927ab92cb221'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:32:59.552 ***
alicE_unnamed_1013@localhost/res1 in
<iq id='7a06f17271241d4aacfd927ab92cb221' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1013@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:32:59.552 ***
alicE_unnamed_1013@localhost/res1 out
<iq type='set' id='4a28dd2ea793273db1e3c5becf387ec3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:59.552 ***
alicE_unnamed_1013@localhost/res1 in
<iq type='result' id='4a28dd2ea793273db1e3c5becf387ec3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:32:59.552 ***
alicE_unnamed_1013@localhost/res1 out
<presence/>
*** User 2022-01-27 15:32:59.553 ***
alicE_unnamed_1013@localhost/res1 in
<presence from='alicE_unnamed_1013@localhost/res1' to='alice_unnamed_1013@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:32:59.553 ***
bOb_unnamed_1013@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-27 15:32:59.553 ***
alicE_unnamed_1013@localhost/res1 out
<message to='bOb_unnamed_1013@localhost/res1' type='chat'>
<body>OH, HAI!</body>
</message>
*** User 2022-01-27 15:33:04.554 ***
#{msg_inbox =>
{messages,
[{stanza,<0.8774.1>,
{xmlel,<<"stream:error">>,[],
[{xmlel,<<"conflict">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-streams">>}],
[]},
{xmlel,<<"text">>,
[{<<"xml:lang">>,<<"en">>},
{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-streams">>}],
[{xmlcdata,<<"User removed">>}]}]},
#{recv_timestamp => 1643297579542997}},
{stanza,<0.8774.1>,
{xmlstreamend,<<"stream:stream">>},
#{recv_timestamp => 1643297579542997}},
{stanza,<0.8784.1>,
{xmlel,<<"message">>,
[{<<"from">>,<<"alicE_unnamed_1013@localhost/res1">>},
{<<"to">>,<<"bOb_unnamed_1013@localhost/res1">>},
{<<"xml:lang">>,<<"en">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
#{recv_timestamp => 1643297579554368}}]},
result => nomatch}
*** User 2022-01-27 15:33:04.555 ***
alicE_unnamed_1013@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:04.555 ***
alicE_unnamed_1013@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:33:04.555 ***
bOb_unnamed_1013@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:04.555 ***
bOb_unnamed_1013@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:33:04
=== successfully completed test case
=== === Returned value: ok