=== Test case: pubsub_s2s_SUITE:publish_without_node_attr_test/1 (click for source code)
=== Config value:
[{watchdog,<0.2556.2>},
{s2s_opts,{s2s_opts,"priv/ssl/fake_server.pem",optional,
#{ip_address => "0",
ip_tuple => {0,0,0,0},
ip_version => 4,max_stanza_size => 131072,
module => ejabberd_s2s_in,port => 5269,
proto => tcp,shaper => s2s_shaper,
tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]},
"priv/ssl/fake_server.pem",optional,
#{ip_address => "0",
ip_tuple => {0,0,0,0},
ip_version => 4,max_stanza_size => 131072,
module => ejabberd_s2s_in,port => 5299,
proto => tcp,shaper => s2s_shaper,
tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]}}},
{escalus_user_db,xmpp},
{mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_s2s_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.pubsub_s2s_SUITE.logs/run.2022-01-25_16.33.23/pubsub_s2s_suite.publish_without_node_attr_test.138498.html"},
{tc_group_properties,[{name,'dag+basic'},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/pubsub_s2s_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.pubsub_s2s_SUITE.logs/run.2022-01-25_16.33.23/log_private/"},
{escalus_users,[{alice2,[{username,<<"alice">>},
{server,<<"fed1">>},
{host,<<"localhost">>},
{port,5242},
{password,<<"makota2">>}]},
{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]}]},
{{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@ebe8a8f9fc53.2022-01-25_16.21.59"
=== Started at 2022-01-25 16:33:23
*** User 2022-01-25 16:33:23.270 ***
alice_publish_without_node_attr_test_2060@fed1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-25 16:33:23.271 ***
alice_publish_without_node_attr_test_2060@fed1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c0b2630154859a9' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:23.271 ***
alice_publish_without_node_attr_test_2060@fed1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-512</mechanism>
<mechanism>SCRAM-SHA-384</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>SCRAM-SHA-224</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-25 16:33:23.271 ***
alice_publish_without_node_attr_test_2060@fed1 out
<iq type='get' id='adbc37f389995ba21802c07aa36318f7'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-01-25 16:33:23.271 ***
alice_publish_without_node_attr_test_2060@fed1 in
<iq from='fed1' id='adbc37f389995ba21802c07aa36318f7' 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-25 16:33:23.271 ***
alice_publish_without_node_attr_test_2060@fed1 out
<iq type='set' id='142d4ff2d7167ac1e9f9383a13de20f1'>
<query xmlns='jabber:iq:register'>
<username>alice_publish_without_node_attr_test_2060</username>
<password>makota2</password>
</query>
</iq>
*** User 2022-01-25 16:33:23.290 ***
alice_publish_without_node_attr_test_2060@fed1 in
<iq from='fed1' id='142d4ff2d7167ac1e9f9383a13de20f1' type='result'>
<query xmlns='jabber:iq:register'>
<username>alice_publish_without_node_attr_test_2060</username>
<password>makota2</password>
</query>
</iq>
*** User 2022-01-25 16:33:23.291 ***
alice_publish_without_node_attr_test_2060@fed1 out
</stream:stream>
*** User 2022-01-25 16:33:23.291 ***
alice_publish_without_node_attr_test_2060@fed1 in
</stream:stream>
*** User 2022-01-25 16:33:23.291 ***
alicE_publish_without_node_attr_test_2060@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-25 16:33:23.292 ***
alicE_publish_without_node_attr_test_2060@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='337d988aafeecc70' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:23.292 ***
alicE_publish_without_node_attr_test_2060@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>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-01-25 16:33:23.292 ***
alicE_publish_without_node_attr_test_2060@localhost out
<iq type='get' id='61c3de3c12b347eb3f48dda0651ac32d'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-01-25 16:33:23.293 ***
alicE_publish_without_node_attr_test_2060@localhost in
<iq from='localhost' id='61c3de3c12b347eb3f48dda0651ac32d' 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-25 16:33:23.293 ***
alicE_publish_without_node_attr_test_2060@localhost out
<iq type='set' id='b931558db7d4b992063714f172e24457'>
<query xmlns='jabber:iq:register'>
<username>alicE_publish_without_node_attr_test_2060</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-01-25 16:33:23.295 ***
alicE_publish_without_node_attr_test_2060@localhost in
<iq from='localhost' id='b931558db7d4b992063714f172e24457' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE_publish_without_node_attr_test_2060</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-01-25 16:33:23.295 ***
alicE_publish_without_node_attr_test_2060@localhost out
</stream:stream>
*** User 2022-01-25 16:33:23.295 ***
alicE_publish_without_node_attr_test_2060@localhost in
</stream:stream>
*** User 2022-01-25 16:33:23.296 ***
alicE_publish_without_node_attr_test_2060@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-25 16:33:23.296 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b9d89d721130538' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:23.297 ***
alicE_publish_without_node_attr_test_2060@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-01-25 16:33:23.297 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3B1Ymxpc2hfd2l0aG91dF9ub2RlX2F0dHJfdGVzdF8yMDYwAG1hdHlncnlzYQ==</auth>
*** User 2022-01-25 16:33:23.298 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:23.298 ***
alicE_publish_without_node_attr_test_2060@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-25 16:33:23.298 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe153483e488e343' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:23.298 ***
alicE_publish_without_node_attr_test_2060@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-25 16:33:23.298 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
<iq type='set' id='cb18b2cc5619f6d124c46e95ac44e239'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:23.298 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<iq id='cb18b2cc5619f6d124c46e95ac44e239' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_publish_without_node_attr_test_2060@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:23.298 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
<iq type='set' id='9a314b224f753ba07851db3b4a1f1604'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:23.299 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<iq type='result' id='9a314b224f753ba07851db3b4a1f1604'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:23.299 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:23.300 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<presence from='alicE_publish_without_node_attr_test_2060@localhost/res1' to='alice_publish_without_node_attr_test_2060@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:23.301 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-25 16:33:23.301 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d57b3e063989194' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:23.301 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-512</mechanism>
<mechanism>SCRAM-SHA-384</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>SCRAM-SHA-224</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-25 16:33:23.302 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3B1Ymxpc2hfd2l0aG91dF9ub2RlX2F0dHJfdGVzdF8yMDYwAG1ha290YTI=</auth>
*** User 2022-01-25 16:33:23.304 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:23.304 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-25 16:33:23.304 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e8ff3705f71c873' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:23.304 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<stream:features>
<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'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-25 16:33:23.304 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
<iq type='set' id='81787ca43537d7db5348b6794a64f6a2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:23.304 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<iq id='81787ca43537d7db5348b6794a64f6a2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_publish_without_node_attr_test_2060@fed1/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:23.305 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
<iq type='set' id='693c376419399c275d05af9d43eb4e89'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:23.305 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<iq type='result' id='693c376419399c275d05af9d43eb4e89'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:23.305 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
<presence/>
*** User 2022-01-25 16:33:23.305 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<presence from='alice_publish_without_node_attr_test_2060@fed1/res1' to='alice_publish_without_node_attr_test_2060@fed1/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:23.306 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-create_node' from='alicE_publish_without_node_attr_test_2060@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_qAJnvbaSX9Y='/>
</pubsub>
</iq>
*** User 2022-01-25 16:33:23.312 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_publish_without_node_attr_test_2060@localhost/res1' id='alicE_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_qAJnvbaSX9Y='/>
</pubsub>
</iq>
*** User 2022-01-25 16:33:23.312 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-publish' from='alicE_publish_without_node_attr_test_2060@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish node='princely_musings_qAJnvbaSX9Y='>
<item id='item1'>
<entry xmlns='http://www.w3.org/2005/Atom'/>
</item>
</publish>
</pubsub>
</iq>
*** User 2022-01-25 16:33:23.325 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_publish_without_node_attr_test_2060@localhost/res1' id='alicE_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-publish' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish node='princely_musings_qAJnvbaSX9Y='>
<item id='item1'/>
</publish>
</pubsub>
</iq>
*** User 2022-01-25 16:33:23.325 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
<iq to='pubsub.localhost' type='set' id='alice_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-publish' from='alice_publish_without_node_attr_test_2060@fed1/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish>
<item id='item2'>
<entry xmlns='http://www.w3.org/2005/Atom'/>
</item>
</publish>
</pubsub>
</iq>
*** User 2022-01-25 16:33:23.329 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
<iq from='pubsub.localhost' to='alice_publish_without_node_attr_test_2060@fed1/res1' type='error' xml:lang='en' id='alice_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-publish'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish>
<item id='item2'>
<entry xmlns='http://www.w3.org/2005/Atom'/>
</item>
</publish>
</pubsub>
<error code='400' type='modify'>
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<nodeid-required xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>
</iq>
*** User 2022-01-25 16:33:23.329 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-delete_node' from='alicE_publish_without_node_attr_test_2060@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_qAJnvbaSX9Y='/>
</pubsub>
</iq>
*** User 2022-01-25 16:33:23.339 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_publish_without_node_attr_test_2060@localhost/res1' id='alicE_publish_without_node_attr_test_2060-pubsub.localhost-princely_musings_qAJnvbaSX9Y=-delete_node' type='result'/>
*** User 2022-01-25 16:33:23.339 ***
alice_publish_without_node_attr_test_2060@fed1/res1 out
</stream:stream>
*** User 2022-01-25 16:33:23.339 ***
alice_publish_without_node_attr_test_2060@fed1/res1 in
</stream:stream>
*** User 2022-01-25 16:33:23.339 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:23.342 ***
alicE_publish_without_node_attr_test_2060@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:33:23
=== successfully completed test case
=== === Returned value: ok