=== Test case: graphql_offline_SUITE:admin_delete_expired_messages2_test/1 (click for source code)

=== Config value:

    [{watchdog,<0.25636.0>},
     {protocol,http},
     {domain_admin,{<<"admin@localhost">>,<<"6b963cb2849e5baf">>}},
     {schema_endpoint,domain_admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_offline_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ea81bf4ccad.2024-04-24_13.09.55/big_tests.tests.graphql_offline_SUITE.logs/run.2024-04-24_13.14.03/graphql_offline_suite.admin_delete_expired_messages2_test.37891.html"},
     {tc_group_properties,[{name,domain_admin_offline}]},
     {tc_group_path,[[{name,domain_admin}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_offline_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ea81bf4ccad.2024-04-24_13.09.55/big_tests.tests.graphql_offline_SUITE.logs/run.2024-04-24_13.14.03/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_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_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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,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@2ea81bf4ccad.2024-04-24_13.09.55"

=== Started at 2024-04-24 13:14:08


*** CT 2024-04-24 13:14:08.778 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1726.html

*** User 2024-04-24 13:14:08.792 ***🔗
mike_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.793 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a471a8b2acf379e8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:14:08.793 ***🔗
mike_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.793 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRtaW5fZGVsZXRlX2V4cGlyZWRfbWVzc2FnZXMyX3Rlc3RfMTE0MQBuaWNuaWVtYQ==</auth>



*** User 2024-04-24 13:14:08.794 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:14:08.794 ***🔗
mike_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.794 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f99aa62cd08bae4c' from='localhost' version='1.0' xml:lang='en' to='mike_admin_delete_expired_messages2_test_1141@localhost'>

*** User 2024-04-24 13:14:08.794 ***🔗
mike_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.794 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 out
<iq type='set' id='21e481e24151144e09204f45e1916d6a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:14:08.794 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 in
<iq id='21e481e24151144e09204f45e1916d6a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_admin_delete_expired_messages2_test_1141@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:14:08.794 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 out
<iq type='set' id='ef8cd404fd04fa7fcf58c565b1bfa810'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:14:08.795 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 in
<iq from='localhost' to='mike_admin_delete_expired_messages2_test_1141@localhost/res1' id='ef8cd404fd04fa7fcf58c565b1bfa810' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:14:08.795 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 out
<presence/>



*** User 2024-04-24 13:14:08.797 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 in
<presence from='mike_admin_delete_expired_messages2_test_1141@localhost/res1' to='mike_admin_delete_expired_messages2_test_1141@localhost/res1'/>



*** User 2024-04-24 13:14:08.797 ***🔗
kate_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.798 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b1b9bd85a87701a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:14:08.798 ***🔗
kate_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.798 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRtaW5fZGVsZXRlX2V4cGlyZWRfbWVzc2FnZXMyX3Rlc3RfMTE0MQBtYWtyb3dlO3A=</auth>



*** User 2024-04-24 13:14:08.799 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:14:08.799 ***🔗
kate_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.799 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35af7ee2a61074eb' from='localhost' version='1.0' xml:lang='en' to='kate_admin_delete_expired_messages2_test_1141@localhost'>

*** User 2024-04-24 13:14:08.799 ***🔗
kate_admin_delete_expired_messages2_test_1141@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-04-24 13:14:08.799 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 out
<iq type='set' id='60a0535323703ab5c6d226d37f62e240'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:14:08.800 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 in
<iq id='60a0535323703ab5c6d226d37f62e240' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_admin_delete_expired_messages2_test_1141@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:14:08.800 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 out
<iq type='set' id='c6d13ab369b71c00a0988e5c845a5c33'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:14:08.800 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 in
<iq from='localhost' to='kate_admin_delete_expired_messages2_test_1141@localhost/res1' id='c6d13ab369b71c00a0988e5c845a5c33' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:14:08.800 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 out
<presence/>



*** User 2024-04-24 13:14:08.802 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 in
<presence from='kate_admin_delete_expired_messages2_test_1141@localhost/res1' to='kate_admin_delete_expired_messages2_test_1141@localhost/res1'/>



*** User 2024-04-24 13:14:08.812 ***🔗
REST request:
Code: 200
Req: {<0.25670.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1f6a2d4ef01b5858">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OjZiOTYzY2IyODQ5ZTViYWY=">>}],
      <<"{\"variables\":{\"domain\":\"localhost\"},\"query\":\"mutation ($domain: DomainName!) { offline { deleteExpiredMessages(domain: $domain) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:14:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"67">>}],
         <<"{\"data\":{\"offline\":{\"deleteExpiredMessages\":\"Removed 1 messages\"}}}">>,
         205,7072}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{\"domain\":\"localhost\"},\"query\":\"mutation ($domain: DomainName!) { offline { deleteExpiredMessages(domain: $domain) } }\"}">>,
          method => <<"POST">>,
          role => {graphql,domain_admin},
          creds => {<<"admin@localhost">>,<<"6b963cb2849e5baf">>},
          return_maps => true,return_headers => true}


*** User 2024-04-24 13:14:08.822 ***🔗
REST request:
Code: 200
Req: {<0.25672.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"03e1b121a61e4a56">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OjZiOTYzY2IyODQ5ZTViYWY=">>}],
      <<"{\"variables\":{\"domain\":\"Localhost\"},\"query\":\"mutation ($domain: DomainName!) { offline { deleteExpiredMessages(domain: $domain) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:14:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"67">>}],
         <<"{\"data\":{\"offline\":{\"deleteExpiredMessages\":\"Removed 1 messages\"}}}">>,
         205,6914}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{\"domain\":\"Localhost\"},\"query\":\"mutation ($domain: DomainName!) { offline { deleteExpiredMessages(domain: $domain) } }\"}">>,
          method => <<"POST">>,
          role => {graphql,domain_admin},
          creds => {<<"admin@localhost">>,<<"6b963cb2849e5baf">>},
          return_maps => true,return_headers => true}


*** User 2024-04-24 13:14:08.822 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:14:08.823 ***🔗
kate_admin_delete_expired_messages2_test_1141@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:14:08.823 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:14:08.823 ***🔗
mike_admin_delete_expired_messages2_test_1141@localhost/res1 in
</stream:stream>
*** CT 2024-04-24 13:14:08.831 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1726.html



=== Ended at 2024-04-24 13:14:08
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result