=== Test case: push_SUITE:enable_should_accept_correct_from/1 (click for source code)
=== Config value:
[{push_opts,[{virtual_pubsub_hosts,[{fqdn,<<"virtual.domain">>}]},
{backend,rdbms}]},
{watchdog,<0.5592.2>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.push_SUITE.logs/run.2022-03-04_11.26.45/push_suite.enable_should_accept_correct_from.150658.html"},
{tc_group_properties,[{name,toggling},{repeat_until_all_ok,3},parallel]},
{tc_group_path,[]},
{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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.push_SUITE.logs/run.2022-03-04_11.26.45/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 => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18"
=== Started at 2022-03-04 11:26:45
Could not find element pubsub_host in Config.
Could not find element pubsub_host in Config.
*** User 2022-03-04 11:26:45.895 ***
bOb_unnamed_1863@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-03-04 11:26:45.896 ***
bOb_unnamed_1863@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7785199b868898c9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:26:45.896 ***
bOb_unnamed_1863@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>SCRAM-SHA-256</mechanism>
<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-03-04 11:26:45.896 ***
bOb_unnamed_1863@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzE4NjMAbWFrcm9saWth</auth>
*** User 2022-03-04 11:26:45.897 ***
bOb_unnamed_1863@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:26:45.897 ***
bOb_unnamed_1863@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-03-04 11:26:45.898 ***
bOb_unnamed_1863@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86884e40bc075d33' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:26:45.898 ***
bOb_unnamed_1863@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-03-04 11:26:45.898 ***
bOb_unnamed_1863@localhost/res1 out
<iq type='set' id='dd986c065021e089b4a9d8256ebb7f14'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:26:45.899 ***
bOb_unnamed_1863@localhost/res1 in
<iq id='dd986c065021e089b4a9d8256ebb7f14' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unnamed_1863@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:26:45.899 ***
bOb_unnamed_1863@localhost/res1 out
<iq type='set' id='217b8e1ec36b6a745bc0f293e1e3b909'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:26:45.900 ***
bOb_unnamed_1863@localhost/res1 in
<iq type='result' id='217b8e1ec36b6a745bc0f293e1e3b909'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:26:45.900 ***
bOb_unnamed_1863@localhost/res1 out
<presence/>
*** User 2022-03-04 11:26:45.902 ***
bOb_unnamed_1863@localhost/res1 in
<presence from='bOb_unnamed_1863@localhost/res1' to='bob_unnamed_1863@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:26:45.902 ***
bOb_unnamed_1863@localhost/res1 out
<iq type='set' id='67273b5b5042819aff3cae342dedaeb6'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@enable_should_accept_correct_from_5.872438' 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-03-04 11:26:45.908 ***
bOb_unnamed_1863@localhost/res1 in
<iq from='bOb_unnamed_1863@localhost' to='bOb_unnamed_1863@localhost/res1' id='67273b5b5042819aff3cae342dedaeb6' type='result'/>
*** User 2022-03-04 11:26:45.908 ***
bOb_unnamed_1863@localhost/res1 out
<iq type='set' id='a620a1f971ab1deadf41945feacdd5a4'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@enable_should_accept_correct_from_5.872438' node='NodeId'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>http://jabber.org/protocol/pubsub#publish-options</value>
</field>
<field var='secret1'>
<value>token1</value>
</field>
<field var='secret2'>
<value>token2</value>
</field>
</x>
</enable>
</iq>
Could not find element pubsub_host in Config.
*** User 2022-03-04 11:26:45.912 ***
bOb_unnamed_1863@localhost/res1 in
<iq from='bOb_unnamed_1863@localhost' to='bOb_unnamed_1863@localhost/res1' id='a620a1f971ab1deadf41945feacdd5a4' type='result'/>
*** User 2022-03-04 11:26:45.912 ***
bOb_unnamed_1863@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:26:45.913 ***
bOb_unnamed_1863@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:26:45
=== successfully completed test case
=== === Returned value: ok