=== Test case: amp_big_SUITE:last_rule_applies_test/1 (click for source code)
=== Config value:
[{offline_storage,none},
{watchdog,<0.2422.0>},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/amp_big_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@77edf90f0c88.2024-04-10_12.44.01/big_tests.tests.amp_big_SUITE.logs/run.2024-04-10_12.44.15/amp_big_suite.last_rule_applies_test.3458.html"},
{tc_group_properties,[{name,basic},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/amp_big_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@77edf90f0c88.2024-04-10_12.44.01/big_tests.tests.amp_big_SUITE.logs/run.2024-04-10_12.44.15/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => mnesia,buffer_max => 100,ack_freq => 1,
resume_timeout => 600},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@77edf90f0c88.2024-04-10_12.44.01"
=== Started at 2024-04-10 12:44:15
*** User 2024-04-10 12:44:16.021 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:44:16.022 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='123f414344861098' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:44:16.022 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/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-04-10 12:44:16.022 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2xhc3RfcnVsZV9hcHBsaWVzX3Rlc3RfNTkAbWF0eWdyeXNh</auth>
*** User 2024-04-10 12:44:16.023 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:44:16.023 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:44:16.024 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a874ddab3adba08' from='domain.example.com' version='1.0' xml:lang='en' to='alice_last_rule_applies_test_59@domain.example.com'>
*** User 2024-04-10 12:44:16.024 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/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-04-10 12:44:16.024 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 out
<iq type='set' id='43e9f3b5be983e08ac1d24a02e88aa60'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:44:16.024 ***🔗
alicE_last_rule_applies_test_59@domain.example.com/res1 in
<iq id='43e9f3b5be983e08ac1d24a02e88aa60' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_last_rule_applies_test_59@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:44:16.024 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 out
<iq type='set' id='aba7a0cf10df94c3fa6b7980db1bf600'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:16.026 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_last_rule_applies_test_59@domain.example.com/res1' id='aba7a0cf10df94c3fa6b7980db1bf600' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:16.026 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 out
<presence/>
*** User 2024-04-10 12:44:16.028 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 in
<presence from='alice_last_rule_applies_test_59@domain.example.com/res1' to='alice_last_rule_applies_test_59@domain.example.com/res1'/>
*** User 2024-04-10 12:44:16.028 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:44:16.029 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5463f640fbbc4f7' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:44:16.029 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/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-04-10 12:44:16.029 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9sYXN0X3J1bGVfYXBwbGllc190ZXN0XzU5AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-10 12:44:16.030 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:44:16.030 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 12:44:16.031 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a785f4b3e9490153' from='domain.example.com' version='1.0' xml:lang='en' to='bob_last_rule_applies_test_59@domain.example.com'>
*** User 2024-04-10 12:44:16.031 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/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-04-10 12:44:16.031 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 out
<iq type='set' id='f004c27d2a7f8fd9d25b9c10a39446a9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:44:16.031 ***🔗
bOb_last_rule_applies_test_59@domain.example.com/res1 in
<iq id='f004c27d2a7f8fd9d25b9c10a39446a9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_last_rule_applies_test_59@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:44:16.032 ***🔗
bob_last_rule_applies_test_59@domain.example.com/res1 out
<iq type='set' id='edb47fda4a9306508b57960a6a8ac706'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:16.033 ***🔗
bob_last_rule_applies_test_59@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_last_rule_applies_test_59@domain.example.com/res1' id='edb47fda4a9306508b57960a6a8ac706' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:16.034 ***🔗
bob_last_rule_applies_test_59@domain.example.com/res1 out
<presence/>
*** User 2024-04-10 12:44:16.035 ***🔗
bob_last_rule_applies_test_59@domain.example.com/res1 in
<presence from='bob_last_rule_applies_test_59@domain.example.com/res1' to='bob_last_rule_applies_test_59@domain.example.com/res1'/>
*** User 2024-04-10 12:44:16.035 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 out
<message type='chat' to='bob_last_rule_applies_test_59@domain.example.com' id='abd87f0a0913b43b961ded6459187ffc'>
<body>One of your resources needs to get this!</body>
<amp xmlns='http://jabber.org/protocol/amp'>
<rule condition='deliver' value='none' action='error'/>
<rule condition='deliver' value='stored' action='error'/>
<rule condition='deliver' value='direct' action='notify'/>
</amp>
</message>
*** User 2024-04-10 12:44:16.038 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 in
<message from='domain.example.com' to='alice_last_rule_applies_test_59@domain.example.com/res1' id='abd87f0a0913b43b961ded6459187ffc'>
<amp xmlns='http://jabber.org/protocol/amp' status='notify' to='bob_last_rule_applies_test_59@domain.example.com' from='alice_last_rule_applies_test_59@domain.example.com/res1'>
<rule condition='deliver' value='direct' action='notify'/>
</amp>
</message>
*** User 2024-04-10 12:44:16.038 ***🔗
bob_last_rule_applies_test_59@domain.example.com/res1 in
<message from='alice_last_rule_applies_test_59@domain.example.com/res1' to='bob_last_rule_applies_test_59@domain.example.com' type='chat' id='abd87f0a0913b43b961ded6459187ffc'>
<body>One of your resources needs to get this!</body>
</message>
*** User 2024-04-10 12:44:16.038 ***🔗
bob_last_rule_applies_test_59@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-10 12:44:16.038 ***🔗
bob_last_rule_applies_test_59@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-10 12:44:16.038 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-10 12:44:16.039 ***🔗
alice_last_rule_applies_test_59@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-10 12:44:16
=== successfully completed test case
=== === Returned value: ok