=== Test case: pubsub_SUITE:retrieve_user_subscriptions_test/1 (click for source code)
=== Config value:
[{watchdog,<0.71594.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.pubsub_SUITE.logs/run.2024-03-11_09.18.37/pubsub_suite.retrieve_user_subscriptions_test.182530.html"},
{tc_group_properties,[{name,'dag+manage_subscriptions'},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/pubsub_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.pubsub_SUITE.logs/run.2024-03-11_09.18.37/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fe524ba9ae35.2024-03-11_09.05.30"
=== Started at 2024-03-11 09:18:43
*** User 2024-03-11 09:18:43.303 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 09:18:43.304 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5ebb407b18d7492' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:18:43.304 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 09:18:43.304 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHJpZXZlX3VzZXJfc3Vic2NyaXB0aW9uc190ZXN0XzI1OTgAbWF0eWdyeXNh</auth>
*** User 2024-03-11 09:18:43.305 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:18:43.305 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 09:18:43.305 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f4c641519e40d23' from='localhost' version='1.0' xml:lang='en' to='alice_retrieve_user_subscriptions_test_2598@localhost'>
*** User 2024-03-11 09:18:43.305 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 09:18:43.305 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq type='set' id='0a5a574537a33093627392455d3d7ea6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:18:43.306 ***🔗
alicE_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq id='0a5a574537a33093627392455d3d7ea6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_retrieve_user_subscriptions_test_2598@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:18:43.306 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq type='set' id='978cb44a0a8c6ce7730fd2f65e89659d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:43.307 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='localhost' to='alice_retrieve_user_subscriptions_test_2598@localhost/res1' id='978cb44a0a8c6ce7730fd2f65e89659d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:43.307 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
<presence/>
*** User 2024-03-11 09:18:43.308 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
<presence from='alice_retrieve_user_subscriptions_test_2598@localhost/res1' to='alice_retrieve_user_subscriptions_test_2598@localhost/res1'/>
*** User 2024-03-11 09:18:43.309 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 09:18:43.309 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ee86b72837c38d9' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:18:43.309 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 09:18:43.309 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXRyaWV2ZV91c2VyX3N1YnNjcmlwdGlvbnNfdGVzdF8yNTk4AG1ha3JvbGlrYQ==</auth>
*** User 2024-03-11 09:18:43.311 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:18:43.311 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 09:18:43.311 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='432cda34b069ecc3' from='localhost' version='1.0' xml:lang='en' to='bob_retrieve_user_subscriptions_test_2598@localhost'>
*** User 2024-03-11 09:18:43.311 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 09:18:43.311 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq type='set' id='9de6a68df1df98e213fe161efecd1714'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:18:43.311 ***🔗
bOb_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq id='9de6a68df1df98e213fe161efecd1714' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_retrieve_user_subscriptions_test_2598@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:18:43.312 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq type='set' id='33dc0962eb566e5d86a2263b8e982c8c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:43.312 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='localhost' to='bob_retrieve_user_subscriptions_test_2598@localhost/res1' id='33dc0962eb566e5d86a2263b8e982c8c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:18:43.312 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
<presence/>
*** User 2024-03-11 09:18:43.314 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
<presence from='bob_retrieve_user_subscriptions_test_2598@localhost/res1' to='bob_retrieve_user_subscriptions_test_2598@localhost/res1'/>
*** User 2024-03-11 09:18:43.314 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' from='bob_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.315 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='bob_retrieve_user_subscriptions_test_2598@localhost/res1' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.316 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_zTLS3ECuG70=-create_node' from='alice_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_zTLS3ECuG70='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.318 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='alice_retrieve_user_subscriptions_test_2598@localhost/res1' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_zTLS3ECuG70=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_zTLS3ECuG70='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.318 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_zTLS3ECuG70=-subscribe' from='bob_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_zTLS3ECuG70=' jid='bob_retrieve_user_subscriptions_test_2598@localhost/res1'/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.320 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='bob_retrieve_user_subscriptions_test_2598@localhost/res1' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_zTLS3ECuG70=-subscribe' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='bob_retrieve_user_subscriptions_test_2598@localhost/res1' subscription='subscribed' subid='1710-148723-319951' node='princely_musings_zTLS3ECuG70='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.320 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' from='bob_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.322 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='bob_retrieve_user_subscriptions_test_2598@localhost/res1' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions>
<subscription jid='bob_retrieve_user_subscriptions_test_2598@localhost/res1' subid='1710-148723-319951' subscription='subscribed' node='princely_musings_zTLS3ECuG70='/>
</subscriptions>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.322 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_TsXZJFt85mk=-create_node' from='alice_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_TsXZJFt85mk='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.325 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='alice_retrieve_user_subscriptions_test_2598@localhost/res1' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_TsXZJFt85mk=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_TsXZJFt85mk='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.325 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_TsXZJFt85mk=-subscribe' from='bob_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_TsXZJFt85mk=' jid='bob_retrieve_user_subscriptions_test_2598@localhost/res1'/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.327 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='bob_retrieve_user_subscriptions_test_2598@localhost/res1' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_TsXZJFt85mk=-subscribe' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='bob_retrieve_user_subscriptions_test_2598@localhost/res1' subscription='subscribed' subid='1710-148723-326889' node='princely_musings_TsXZJFt85mk='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.327 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' from='bob_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.368 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='bob_retrieve_user_subscriptions_test_2598@localhost/res1' id='bob_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions>
<subscription jid='bob_retrieve_user_subscriptions_test_2598@localhost/res1' subid='1710-148723-326889' subscription='subscribed' node='princely_musings_TsXZJFt85mk='/>
<subscription jid='bob_retrieve_user_subscriptions_test_2598@localhost/res1' subid='1710-148723-319951' subscription='subscribed' node='princely_musings_zTLS3ECuG70='/>
</subscriptions>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.368 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' from='alice_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.370 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='alice_retrieve_user_subscriptions_test_2598@localhost/res1' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost--user_subscriptions' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.370 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_zTLS3ECuG70=-delete_node' from='alice_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_zTLS3ECuG70='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.373 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='alice_retrieve_user_subscriptions_test_2598@localhost/res1' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_zTLS3ECuG70=-delete_node' type='result'/>
*** User 2024-03-11 09:18:43.373 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_TsXZJFt85mk=-delete_node' from='alice_retrieve_user_subscriptions_test_2598@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_TsXZJFt85mk='/>
</pubsub>
</iq>
*** User 2024-03-11 09:18:43.379 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
<iq from='pubsub.localhost' to='alice_retrieve_user_subscriptions_test_2598@localhost/res1' id='alice_retrieve_user_subscriptions_test_2598-pubsub.localhost-princely_musings_TsXZJFt85mk=-delete_node' type='result'/>
*** User 2024-03-11 09:18:43.379 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:18:43.379 ***🔗
bob_retrieve_user_subscriptions_test_2598@localhost/res1 in
</stream:stream>
*** User 2024-03-11 09:18:43.379 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:18:43.379 ***🔗
alice_retrieve_user_subscriptions_test_2598@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 09:18:43
=== successfully completed test case
=== === Returned value: ok