=== Test case: amp_big_SUITE:unacceptable_rules_test/1 (click for source code)
=== Config value:
[{offline_storage,none},
{watchdog,<0.2421.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.amp_big_SUITE.logs/run.2024-04-15_15.52.45/amp_big_suite.unacceptable_rules_test.1924.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.amp_big_SUITE.logs/run.2024-04-15_15.52.45/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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_sic => #{iqdisc => one_queue},
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_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32"
=== Started at 2024-04-15 15:52:45
*** User 2024-04-15 15:52:45.679 ***🔗
alicE_unacceptable_rules_test_57@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-15 15:52:45.680 ***🔗
alicE_unacceptable_rules_test_57@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2218d1ab0dd92f47' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 15:52:45.680 ***🔗
alicE_unacceptable_rules_test_57@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-15 15:52:45.680 ***🔗
alicE_unacceptable_rules_test_57@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VuYWNjZXB0YWJsZV9ydWxlc190ZXN0XzU3AG1hdHlncnlzYQ==</auth>
*** User 2024-04-15 15:52:45.681 ***🔗
alicE_unacceptable_rules_test_57@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 15:52:45.681 ***🔗
alicE_unacceptable_rules_test_57@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-15 15:52:45.681 ***🔗
alicE_unacceptable_rules_test_57@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06b234ce94087eaa' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unacceptable_rules_test_57@domain.example.com'>
*** User 2024-04-15 15:52:45.681 ***🔗
alicE_unacceptable_rules_test_57@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-15 15:52:45.681 ***🔗
alicE_unacceptable_rules_test_57@domain.example.com/res1 out
<iq type='set' id='f7f8abdac367af81a215ab1052efd7ab'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 15:52:45.681 ***🔗
alicE_unacceptable_rules_test_57@domain.example.com/res1 in
<iq id='f7f8abdac367af81a215ab1052efd7ab' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unacceptable_rules_test_57@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 15:52:45.682 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 out
<iq type='set' id='f7348724a5e68ffefcd02c6933d8ee53'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:45.683 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unacceptable_rules_test_57@domain.example.com/res1' id='f7348724a5e68ffefcd02c6933d8ee53' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:45.683 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 15:52:45.684 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 in
<presence from='alice_unacceptable_rules_test_57@domain.example.com/res1' to='alice_unacceptable_rules_test_57@domain.example.com/res1'/>
*** User 2024-04-15 15:52:45.685 ***🔗
bOb_unacceptable_rules_test_57@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-15 15:52:45.685 ***🔗
bOb_unacceptable_rules_test_57@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc3a058184bb8464' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 15:52:45.685 ***🔗
bOb_unacceptable_rules_test_57@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-15 15:52:45.686 ***🔗
bOb_unacceptable_rules_test_57@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bmFjY2VwdGFibGVfcnVsZXNfdGVzdF81NwBtYWtyb2xpa2E=</auth>
*** User 2024-04-15 15:52:45.686 ***🔗
bOb_unacceptable_rules_test_57@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 15:52:45.686 ***🔗
bOb_unacceptable_rules_test_57@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-15 15:52:45.687 ***🔗
bOb_unacceptable_rules_test_57@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ad8902de3cf9818' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unacceptable_rules_test_57@domain.example.com'>
*** User 2024-04-15 15:52:45.687 ***🔗
bOb_unacceptable_rules_test_57@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-15 15:52:45.687 ***🔗
bOb_unacceptable_rules_test_57@domain.example.com/res1 out
<iq type='set' id='30c8cf9f49ec864057f380eb89d5adf5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 15:52:45.687 ***🔗
bOb_unacceptable_rules_test_57@domain.example.com/res1 in
<iq id='30c8cf9f49ec864057f380eb89d5adf5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unacceptable_rules_test_57@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-15 15:52:45.687 ***🔗
bob_unacceptable_rules_test_57@domain.example.com/res1 out
<iq type='set' id='06400525a59ad37958333b2634bfb72c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:45.688 ***🔗
bob_unacceptable_rules_test_57@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unacceptable_rules_test_57@domain.example.com/res1' id='06400525a59ad37958333b2634bfb72c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:45.688 ***🔗
bob_unacceptable_rules_test_57@domain.example.com/res1 out
<presence/>
*** User 2024-04-15 15:52:45.690 ***🔗
bob_unacceptable_rules_test_57@domain.example.com/res1 in
<presence from='bob_unacceptable_rules_test_57@domain.example.com/res1' to='bob_unacceptable_rules_test_57@domain.example.com/res1'/>
*** User 2024-04-15 15:52:45.690 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 out
<message type='chat' to='bob_unacceptable_rules_test_57@domain.example.com/res1' id='de4ab0d191d907d56b9a7663662ac572'>
<body>Break all the rules!</body>
<amp xmlns='http://jabber.org/protocol/amp'>
<rule condition='broken' value='rule' action='spec'/>
<rule condition='also_broken' value='rule' action='spec'/>
</amp>
</message>
*** User 2024-04-15 15:52:45.691 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 in
<message from='domain.example.com' to='alice_unacceptable_rules_test_57@domain.example.com/res1' id='de4ab0d191d907d56b9a7663662ac572' type='error'>
<error type='modify' code='405'>
<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<invalid-rules xmlns='http://jabber.org/protocol/amp'>
<rule condition='broken' value='rule' action='spec'/>
<rule condition='also_broken' value='rule' action='spec'/>
</invalid-rules>
</error>
<amp xmlns='http://jabber.org/protocol/amp'>
<rule condition='broken' value='rule' action='spec'/>
<rule condition='also_broken' value='rule' action='spec'/>
</amp>
</message>
*** User 2024-04-15 15:52:45.691 ***🔗
bob_unacceptable_rules_test_57@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 15:52:45.692 ***🔗
bob_unacceptable_rules_test_57@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-15 15:52:45.692 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-15 15:52:45.692 ***🔗
alice_unacceptable_rules_test_57@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-15 15:52:45
=== successfully completed test case
=== === Returned value: ok